Create a connector action by connector ID.
GcpConnectorActionsApi.createGCPConnectorAction([param1, param2, ...])
GCPConnectorActionsApi.create_gcp_connector_action([param1, param2, ...])
GCPConnectorActionsApi.createGCPConnectorAction([param1, param2, ...])
The property of the new GCP Connector action.
successful operation
Not authorized to view the action.
The action does not exist.
{- "type": "synchronize",
- "status": "SUBMITTED",
- "submittedTime": 0
}
{- "type": "synchronize",
- "status": "SUBMITTED",
- "submittedTime": 0,
- "ID": 0
}
Describe a connector action by connector ID and action ID.
GcpConnectorActionsApi.describeGCPConnectorAction([param1, param2, ...])
GCPConnectorActionsApi.describe_gcp_connector_action([param1, param2, ...])
GCPConnectorActionsApi.describeGCPConnectorAction([param1, param2, ...])
successful operation
Not authorized to view the action.
The action does not exist.
import com.trendmicro.deepsecurity.ApiClient; import com.trendmicro.deepsecurity.Configuration; import com.trendmicro.deepsecurity.auth.ApiKeyAuth; import com.trendmicro.deepsecurity.ApiException; import com.trendmicro.deepsecurity.api.GcpConnectorActionsApi; import com.trendmicro.deepsecurity.model.Action; public class DescribeGCPConnectorActionExample { public static void main(String[] args) { // Setup ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("YOUR HOST"); // Authentication ApiKeyAuth DefaultAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("DefaultAuthentication"); DefaultAuthentication.setApiKey("YOUR API KEY"); try { defaultClient.trustAllCertificates(false); } catch (Exception e) { System.err.println("An exception occurred when calling ApiClient.trustAllCertificates"); e.printStackTrace(); } // Initialization // Set Any Required Values GcpConnectorActionsApi instance = new GcpConnectorActionsApi(); Integer gcpConnectorID = 1; Long actionID = 1L; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours Action result = instance.describeGCPConnectorAction(gcpConnectorID, actionID, apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling GcpConnectorActionsApi.describeGCPConnectorAction"); e.printStackTrace(); } } }
{- "type": "synchronize",
- "status": "SUBMITTED",
- "submittedTime": 0,
- "ID": 0
}