Package com.datadog.api.client.v1.model
Class GCPAccount
java.lang.Object
com.datadog.api.client.v1.model.GCPAccount
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class GCPAccount
extends Object
Your Google Cloud Platform Account.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCloudRunRevisionFiltersItem(String cloudRunRevisionFiltersItem) addErrorsItem(String errorsItem) addMonitoredResourceConfigsItem(GCPMonitoredResourceConfig monitoredResourceConfigsItem) authProviderX509CertUrl(String authProviderX509CertUrl) clientEmail(String clientEmail) clientX509CertUrl(String clientX509CertUrl) cloudRunRevisionFilters(List<String> cloudRunRevisionFilters) booleanReturn true if this GCPAccount object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Should behttps://www.googleapis.com/oauth2/v1/certs.Should behttps://accounts.google.com/o/oauth2/auth.Silence monitors for expected GCE instance shutdowns.Your email found in your JSON service account key.Your ID found in your JSON service account key.Should behttps://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAILwhere$CLIENT_EMAILis the email found in your JSON service account key.Deprecated.An array of errors.Deprecated.When enabled, Datadog will activate the Cloud Security Monitoring product for this service account.When enabled, Datadog scans for all resource change data in your Google Cloud environment.When enabled, Datadog will attempt to collect Security Command Center Findings.Configurations for GCP monitored resources.Your private key name found in your JSON service account key.Your private key ID found in your JSON service account key.Your Google Cloud project ID found in your JSON service account key.When enabled, Datadog scans for all resources in your GCP environment.Should behttps://accounts.google.com/o/oauth2/token.getType()The value for service_account found in your JSON service account key.inthashCode()hostFilters(String hostFilters) isCspmEnabled(Boolean isCspmEnabled) isResourceChangeCollectionEnabled(Boolean isResourceChangeCollectionEnabled) isSecurityCommandCenterEnabled(Boolean isSecurityCommandCenterEnabled) monitoredResourceConfigs(List<GCPMonitoredResourceConfig> monitoredResourceConfigs) privateKey(String privateKey) privateKeyId(String privateKeyId) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.resourceCollectionEnabled(Boolean resourceCollectionEnabled) voidsetAuthProviderX509CertUrl(String authProviderX509CertUrl) voidsetAuthUri(String authUri) voidsetAutomute(Boolean automute) voidsetClientEmail(String clientEmail) voidsetClientId(String clientId) voidsetClientX509CertUrl(String clientX509CertUrl) voidsetCloudRunRevisionFilters(List<String> cloudRunRevisionFilters) Deprecated.voidvoidsetHostFilters(String hostFilters) Deprecated.voidsetIsCspmEnabled(Boolean isCspmEnabled) voidsetIsResourceChangeCollectionEnabled(Boolean isResourceChangeCollectionEnabled) voidsetIsSecurityCommandCenterEnabled(Boolean isSecurityCommandCenterEnabled) voidsetMonitoredResourceConfigs(List<GCPMonitoredResourceConfig> monitoredResourceConfigs) voidsetPrivateKey(String privateKey) voidsetPrivateKeyId(String privateKeyId) voidsetProjectId(String projectId) voidsetResourceCollectionEnabled(Boolean resourceCollectionEnabled) voidsetTokenUri(String tokenUri) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTH_PROVIDER_X509_CERT_URL
- See Also:
-
JSON_PROPERTY_AUTH_URI
- See Also:
-
JSON_PROPERTY_AUTOMUTE
- See Also:
-
JSON_PROPERTY_CLIENT_EMAIL
- See Also:
-
JSON_PROPERTY_CLIENT_ID
- See Also:
-
JSON_PROPERTY_CLIENT_X509_CERT_URL
- See Also:
-
JSON_PROPERTY_CLOUD_RUN_REVISION_FILTERS
- See Also:
-
JSON_PROPERTY_ERRORS
- See Also:
-
JSON_PROPERTY_HOST_FILTERS
- See Also:
-
JSON_PROPERTY_IS_CSPM_ENABLED
- See Also:
-
JSON_PROPERTY_IS_RESOURCE_CHANGE_COLLECTION_ENABLED
- See Also:
-
JSON_PROPERTY_IS_SECURITY_COMMAND_CENTER_ENABLED
- See Also:
-
JSON_PROPERTY_MONITORED_RESOURCE_CONFIGS
- See Also:
-
JSON_PROPERTY_PRIVATE_KEY
- See Also:
-
JSON_PROPERTY_PRIVATE_KEY_ID
- See Also:
-
JSON_PROPERTY_PROJECT_ID
- See Also:
-
JSON_PROPERTY_RESOURCE_COLLECTION_ENABLED
- See Also:
-
JSON_PROPERTY_TOKEN_URI
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
GCPAccount
public GCPAccount()
-
-
Method Details
-
authProviderX509CertUrl
-
getAuthProviderX509CertUrl
Should behttps://www.googleapis.com/oauth2/v1/certs.- Returns:
- authProviderX509CertUrl
-
setAuthProviderX509CertUrl
-
authUri
-
getAuthUri
Should behttps://accounts.google.com/o/oauth2/auth.- Returns:
- authUri
-
setAuthUri
-
automute
-
getAutomute
Silence monitors for expected GCE instance shutdowns.- Returns:
- automute
-
setAutomute
-
clientEmail
-
getClientEmail
Your email found in your JSON service account key.- Returns:
- clientEmail
-
setClientEmail
-
clientId
-
getClientId
Your ID found in your JSON service account key.- Returns:
- clientId
-
setClientId
-
clientX509CertUrl
-
getClientX509CertUrl
Should behttps://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAILwhere$CLIENT_EMAILis the email found in your JSON service account key.- Returns:
- clientX509CertUrl
-
setClientX509CertUrl
-
cloudRunRevisionFilters
-
addCloudRunRevisionFiltersItem
-
getCloudRunRevisionFilters
Deprecated.List of filters to limit the Cloud Run revisions that are pulled into Datadog by using tags. Only Cloud Run revision resources that apply to specified filters are imported into Datadog. Note: This field is deprecated. Instead, usemonitored_resource_configswithtype=cloud_run_revision- Returns:
- cloudRunRevisionFilters
-
setCloudRunRevisionFilters
Deprecated. -
errors
-
addErrorsItem
-
getErrors
An array of errors.- Returns:
- errors
-
setErrors
-
hostFilters
-
getHostFilters
Deprecated.A comma-separated list of filters to limit the VM instances that are pulled into Datadog by using tags. Only VM instance resources that apply to specified filters are imported into Datadog. Note: This field is deprecated. Instead, usemonitored_resource_configswithtype=gce_instance- Returns:
- hostFilters
-
setHostFilters
Deprecated. -
isCspmEnabled
-
getIsCspmEnabled
When enabled, Datadog will activate the Cloud Security Monitoring product for this service account. Note: This requires resource_collection_enabled to be set to true.- Returns:
- isCspmEnabled
-
setIsCspmEnabled
-
isResourceChangeCollectionEnabled
-
getIsResourceChangeCollectionEnabled
When enabled, Datadog scans for all resource change data in your Google Cloud environment.- Returns:
- isResourceChangeCollectionEnabled
-
setIsResourceChangeCollectionEnabled
-
isSecurityCommandCenterEnabled
-
getIsSecurityCommandCenterEnabled
When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account.- Returns:
- isSecurityCommandCenterEnabled
-
setIsSecurityCommandCenterEnabled
-
monitoredResourceConfigs
public GCPAccount monitoredResourceConfigs(List<GCPMonitoredResourceConfig> monitoredResourceConfigs) -
addMonitoredResourceConfigsItem
public GCPAccount addMonitoredResourceConfigsItem(GCPMonitoredResourceConfig monitoredResourceConfigsItem) -
getMonitoredResourceConfigs
Configurations for GCP monitored resources.- Returns:
- monitoredResourceConfigs
-
setMonitoredResourceConfigs
-
privateKey
-
getPrivateKey
Your private key name found in your JSON service account key.- Returns:
- privateKey
-
setPrivateKey
-
privateKeyId
-
getPrivateKeyId
Your private key ID found in your JSON service account key.- Returns:
- privateKeyId
-
setPrivateKeyId
-
projectId
-
getProjectId
Your Google Cloud project ID found in your JSON service account key.- Returns:
- projectId
-
setProjectId
-
resourceCollectionEnabled
-
getResourceCollectionEnabled
When enabled, Datadog scans for all resources in your GCP environment.- Returns:
- resourceCollectionEnabled
-
setResourceCollectionEnabled
-
tokenUri
-
getTokenUri
Should behttps://accounts.google.com/o/oauth2/token.- Returns:
- tokenUri
-
setTokenUri
-
type
-
getType
The value for service_account found in your JSON service account key.- Returns:
- type
-
setType
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- GCPAccount
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this GCPAccount object is equal to o. -
hashCode
public int hashCode() -
toString
-