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 Details

  • Constructor Details

    • GCPAccount

      public GCPAccount()
  • Method Details

    • authProviderX509CertUrl

      public GCPAccount authProviderX509CertUrl(String authProviderX509CertUrl)
    • getAuthProviderX509CertUrl

      @Nullable public String getAuthProviderX509CertUrl()
      Should be https://www.googleapis.com/oauth2/v1/certs.
      Returns:
      authProviderX509CertUrl
    • setAuthProviderX509CertUrl

      public void setAuthProviderX509CertUrl(String authProviderX509CertUrl)
    • authUri

      public GCPAccount authUri(String authUri)
    • getAuthUri

      @Nullable public String getAuthUri()
      Should be https://accounts.google.com/o/oauth2/auth.
      Returns:
      authUri
    • setAuthUri

      public void setAuthUri(String authUri)
    • automute

      public GCPAccount automute(Boolean automute)
    • getAutomute

      @Nullable public Boolean getAutomute()
      Silence monitors for expected GCE instance shutdowns.
      Returns:
      automute
    • setAutomute

      public void setAutomute(Boolean automute)
    • clientEmail

      public GCPAccount clientEmail(String clientEmail)
    • getClientEmail

      @Nullable public String getClientEmail()
      Your email found in your JSON service account key.
      Returns:
      clientEmail
    • setClientEmail

      public void setClientEmail(String clientEmail)
    • clientId

      public GCPAccount clientId(String clientId)
    • getClientId

      @Nullable public String getClientId()
      Your ID found in your JSON service account key.
      Returns:
      clientId
    • setClientId

      public void setClientId(String clientId)
    • clientX509CertUrl

      public GCPAccount clientX509CertUrl(String clientX509CertUrl)
    • getClientX509CertUrl

      @Nullable public String getClientX509CertUrl()
      Should be https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL where $CLIENT_EMAIL is the email found in your JSON service account key.
      Returns:
      clientX509CertUrl
    • setClientX509CertUrl

      public void setClientX509CertUrl(String clientX509CertUrl)
    • cloudRunRevisionFilters

      public GCPAccount cloudRunRevisionFilters(List<String> cloudRunRevisionFilters)
    • addCloudRunRevisionFiltersItem

      public GCPAccount addCloudRunRevisionFiltersItem(String cloudRunRevisionFiltersItem)
    • getCloudRunRevisionFilters

      @Deprecated @Nullable public List<String> 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, use monitored_resource_configs with type=cloud_run_revision
      Returns:
      cloudRunRevisionFilters
    • setCloudRunRevisionFilters

      @Deprecated public void setCloudRunRevisionFilters(List<String> cloudRunRevisionFilters)
      Deprecated.
    • errors

      public GCPAccount errors(List<String> errors)
    • addErrorsItem

      public GCPAccount addErrorsItem(String errorsItem)
    • getErrors

      @Nullable public List<String> getErrors()
      An array of errors.
      Returns:
      errors
    • setErrors

      public void setErrors(List<String> errors)
    • hostFilters

      public GCPAccount hostFilters(String hostFilters)
    • getHostFilters

      @Deprecated @Nullable public String 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, use monitored_resource_configs with type=gce_instance
      Returns:
      hostFilters
    • setHostFilters

      @Deprecated public void setHostFilters(String hostFilters)
      Deprecated.
    • isCspmEnabled

      public GCPAccount isCspmEnabled(Boolean isCspmEnabled)
    • getIsCspmEnabled

      @Nullable public Boolean 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

      public void setIsCspmEnabled(Boolean isCspmEnabled)
    • isResourceChangeCollectionEnabled

      public GCPAccount isResourceChangeCollectionEnabled(Boolean isResourceChangeCollectionEnabled)
    • getIsResourceChangeCollectionEnabled

      @Nullable public Boolean getIsResourceChangeCollectionEnabled()
      When enabled, Datadog scans for all resource change data in your Google Cloud environment.
      Returns:
      isResourceChangeCollectionEnabled
    • setIsResourceChangeCollectionEnabled

      public void setIsResourceChangeCollectionEnabled(Boolean isResourceChangeCollectionEnabled)
    • isSecurityCommandCenterEnabled

      public GCPAccount isSecurityCommandCenterEnabled(Boolean isSecurityCommandCenterEnabled)
    • getIsSecurityCommandCenterEnabled

      @Nullable public Boolean getIsSecurityCommandCenterEnabled()
      When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account.
      Returns:
      isSecurityCommandCenterEnabled
    • setIsSecurityCommandCenterEnabled

      public void setIsSecurityCommandCenterEnabled(Boolean isSecurityCommandCenterEnabled)
    • monitoredResourceConfigs

      public GCPAccount monitoredResourceConfigs(List<GCPMonitoredResourceConfig> monitoredResourceConfigs)
    • addMonitoredResourceConfigsItem

      public GCPAccount addMonitoredResourceConfigsItem(GCPMonitoredResourceConfig monitoredResourceConfigsItem)
    • getMonitoredResourceConfigs

      @Nullable public List<GCPMonitoredResourceConfig> getMonitoredResourceConfigs()
      Configurations for GCP monitored resources.
      Returns:
      monitoredResourceConfigs
    • setMonitoredResourceConfigs

      public void setMonitoredResourceConfigs(List<GCPMonitoredResourceConfig> monitoredResourceConfigs)
    • privateKey

      public GCPAccount privateKey(String privateKey)
    • getPrivateKey

      @Nullable public String getPrivateKey()
      Your private key name found in your JSON service account key.
      Returns:
      privateKey
    • setPrivateKey

      public void setPrivateKey(String privateKey)
    • privateKeyId

      public GCPAccount privateKeyId(String privateKeyId)
    • getPrivateKeyId

      @Nullable public String getPrivateKeyId()
      Your private key ID found in your JSON service account key.
      Returns:
      privateKeyId
    • setPrivateKeyId

      public void setPrivateKeyId(String privateKeyId)
    • projectId

      public GCPAccount projectId(String projectId)
    • getProjectId

      @Nullable public String getProjectId()
      Your Google Cloud project ID found in your JSON service account key.
      Returns:
      projectId
    • setProjectId

      public void setProjectId(String projectId)
    • resourceCollectionEnabled

      public GCPAccount resourceCollectionEnabled(Boolean resourceCollectionEnabled)
    • getResourceCollectionEnabled

      @Nullable public Boolean getResourceCollectionEnabled()
      When enabled, Datadog scans for all resources in your GCP environment.
      Returns:
      resourceCollectionEnabled
    • setResourceCollectionEnabled

      public void setResourceCollectionEnabled(Boolean resourceCollectionEnabled)
    • tokenUri

      public GCPAccount tokenUri(String tokenUri)
    • getTokenUri

      @Nullable public String getTokenUri()
      Should be https://accounts.google.com/o/oauth2/token.
      Returns:
      tokenUri
    • setTokenUri

      public void setTokenUri(String tokenUri)
    • type

      public GCPAccount type(String type)
    • getType

      @Nullable public String getType()
      The value for service_account found in your JSON service account key.
      Returns:
      type
    • setType

      public void setType(String type)
    • putAdditionalProperty

      public GCPAccount putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      GCPAccount
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this GCPAccount object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object