Class GCPWIF

java.lang.Object
com.strongdm.api.GCPWIF
All Implemented Interfaces:
Resource

public class GCPWIF extends Object implements Resource
  • Constructor Details

    • GCPWIF

      public GCPWIF()
  • Method Details

    • getBindInterface

      public String getBindInterface()
      The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
      Specified by:
      getBindInterface in interface Resource
    • setBindInterface

      public void setBindInterface(String in)
      The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
      Specified by:
      setBindInterface in interface Resource
    • getEgressFilter

      public String getEgressFilter()
      A filter applied to the routing logic to pin datasource to nodes.
      Specified by:
      getEgressFilter in interface Resource
    • setEgressFilter

      public void setEgressFilter(String in)
      A filter applied to the routing logic to pin datasource to nodes.
      Specified by:
      setEgressFilter in interface Resource
    • getHealthy

      public boolean getHealthy()
      True if the datasource is reachable and the credentials are valid.
    • setHealthy

      public void setHealthy(boolean in)
      True if the datasource is reachable and the credentials are valid.
    • getId

      public String getId()
      Unique identifier of the Resource.
      Specified by:
      getId in interface Resource
    • setId

      public void setId(String in)
      Unique identifier of the Resource.
    • getIdentityAliasHealthcheckUsername

      public String getIdentityAliasHealthcheckUsername()
      The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
    • setIdentityAliasHealthcheckUsername

      public void setIdentityAliasHealthcheckUsername(String in)
      The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
    • getIdentitySetId

      public String getIdentitySetId()
      The ID of the identity set to use for identity connections.
    • setIdentitySetId

      public void setIdentitySetId(String in)
      The ID of the identity set to use for identity connections.
    • getName

      public String getName()
      Unique human-readable name of the Resource.
      Specified by:
      getName in interface Resource
    • setName

      public void setName(String in)
      Unique human-readable name of the Resource.
      Specified by:
      setName in interface Resource
    • getPortOverride

      public int getPortOverride()
      The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
    • setPortOverride

      public void setPortOverride(int in)
      The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
    • getProjectId

      public String getProjectId()
      When specified, all project scoped requests will use this Project ID, overriding the project ID specified by clients
    • setProjectId

      public void setProjectId(String in)
      When specified, all project scoped requests will use this Project ID, overriding the project ID specified by clients
    • getProxyClusterId

      public String getProxyClusterId()
      ID of the proxy cluster for this resource, if any.
    • setProxyClusterId

      public void setProxyClusterId(String in)
      ID of the proxy cluster for this resource, if any.
    • getScopes

      public String getScopes()
      Space separated scopes that this login should assume into when authenticating.
    • setScopes

      public void setScopes(String in)
      Space separated scopes that this login should assume into when authenticating.
    • getSecretStoreId

      public String getSecretStoreId()
      ID of the secret store containing credentials for this resource, if any.
      Specified by:
      getSecretStoreId in interface Resource
    • setSecretStoreId

      public void setSecretStoreId(String in)
      ID of the secret store containing credentials for this resource, if any.
      Specified by:
      setSecretStoreId in interface Resource
    • getSessionExpiry

      public int getSessionExpiry()
      The length of time in seconds console sessions will live before needing to reauthenticate.
    • setSessionExpiry

      public void setSessionExpiry(int in)
      The length of time in seconds console sessions will live before needing to reauthenticate.
    • getSubdomain

      public String getSubdomain()
      DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
    • setSubdomain

      public void setSubdomain(String in)
      DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
    • getTags

      public Map<String,String> getTags()
      Tags is a map of key, value pairs.
      Specified by:
      getTags in interface Resource
    • setTags

      public void setTags(Map<String,String> in)
      Tags is a map of key, value pairs.
      Specified by:
      setTags in interface Resource
    • getWorkforcePoolId

      public String getWorkforcePoolId()
      The ID of the Workforce Identity Pool in GCP to use for federated authentication.
    • setWorkforcePoolId

      public void setWorkforcePoolId(String in)
      The ID of the Workforce Identity Pool in GCP to use for federated authentication.
    • getWorkforceProviderId

      public String getWorkforceProviderId()
      The ID of the Workforce Identity Provider in GCP to use for federated authentication.
    • setWorkforceProviderId

      public void setWorkforceProviderId(String in)
      The ID of the Workforce Identity Provider in GCP to use for federated authentication.