Google Cloud Access Approval V1 Client - Class EnrolledService (2.0.1)

Reference documentation and code samples for the Google Cloud Access Approval V1 Client class EnrolledService.

Represents the enrollment of a cloud resource into a specific service.

Generated from protobuf message google.cloud.accessapproval.v1.EnrolledService

Namespace

Google \ Cloud \ AccessApproval \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cloud_product string

The product for which Access Approval will be enrolled. Allowed values are listed below (case-sensitive): * all * GA * App Engine * BigQuery * Cloud Bigtable * Cloud Key Management Service * Compute Engine * Cloud Dataflow * Cloud Dataproc * Cloud DLP * Cloud EKM * Cloud HSM * Cloud Identity and Access Management * Cloud Logging * Cloud Pub/Sub * Cloud Spanner * Cloud SQL * Cloud Storage * Google Kubernetes Engine * Organization Policy Serivice * Persistent Disk * Resource Manager * Secret Manager * Speaker ID Note: These values are supported as input for legacy purposes, but will not be returned from the API. * all * ga-only * appengine.googleapis.com * bigquery.googleapis.com * bigtable.googleapis.com * container.googleapis.com * cloudkms.googleapis.com * cloudresourcemanager.googleapis.com * cloudsql.googleapis.com * compute.googleapis.com * dataflow.googleapis.com * dataproc.googleapis.com * dlp.googleapis.com * iam.googleapis.com * logging.googleapis.com * orgpolicy.googleapis.com * pubsub.googleapis.com * spanner.googleapis.com * secretmanager.googleapis.com * speakerid.googleapis.com * storage.googleapis.com Calls to UpdateAccessApprovalSettings using 'all' or any of the XXX.googleapis.com will be translated to the associated product name ('all', 'App Engine', etc.). Note: 'all' will enroll the resource in all products supported at both 'GA' and 'Preview' levels. More information about levels of support is available at https://cloud.google.com/access-approval/docs/supported-services

↳ enrollment_level int

The enrollment level of the service.

getCloudProduct

The product for which Access Approval will be enrolled. Allowed values are listed below (case-sensitive):

  • all
  • GA
  • App Engine
  • BigQuery
  • Cloud Bigtable
  • Cloud Key Management Service
  • Compute Engine
  • Cloud Dataflow
  • Cloud Dataproc
  • Cloud DLP
  • Cloud EKM
  • Cloud HSM
  • Cloud Identity and Access Management
  • Cloud Logging
  • Cloud Pub/Sub
  • Cloud Spanner
  • Cloud SQL
  • Cloud Storage
  • Google Kubernetes Engine
  • Organization Policy Serivice
  • Persistent Disk
  • Resource Manager
  • Secret Manager
  • Speaker ID Note: These values are supported as input for legacy purposes, but will not be returned from the API.
  • all
    • ga-only
    • appengine.googleapis.com
    • bigquery.googleapis.com
    • bigtable.googleapis.com
    • container.googleapis.com
    • cloudkms.googleapis.com
    • cloudresourcemanager.googleapis.com
    • cloudsql.googleapis.com
    • compute.googleapis.com
    • dataflow.googleapis.com
    • dataproc.googleapis.com
    • dlp.googleapis.com
    • iam.googleapis.com
    • logging.googleapis.com
    • orgpolicy.googleapis.com
    • pubsub.googleapis.com
    • spanner.googleapis.com
    • secretmanager.googleapis.com
    • speakerid.googleapis.com
    • storage.googleapis.com Calls to UpdateAccessApprovalSettings using 'all' or any of the XXX.googleapis.com will be translated to the associated product name ('all', 'App Engine', etc.). Note: 'all' will enroll the resource in all products supported at both 'GA' and 'Preview' levels. More information about levels of support is available at https://cloud.google.com/access-approval/docs/supported-services
Returns
Type Description
string

setCloudProduct

The product for which Access Approval will be enrolled. Allowed values are listed below (case-sensitive):

  • all
  • GA
  • App Engine
  • BigQuery
  • Cloud Bigtable
  • Cloud Key Management Service
  • Compute Engine
  • Cloud Dataflow
  • Cloud Dataproc
  • Cloud DLP
  • Cloud EKM
  • Cloud HSM
  • Cloud Identity and Access Management
  • Cloud Logging
  • Cloud Pub/Sub
  • Cloud Spanner
  • Cloud SQL
  • Cloud Storage
  • Google Kubernetes Engine
  • Organization Policy Serivice
  • Persistent Disk
  • Resource Manager
  • Secret Manager
  • Speaker ID Note: These values are supported as input for legacy purposes, but will not be returned from the API.
  • all
    • ga-only
    • appengine.googleapis.com
    • bigquery.googleapis.com
    • bigtable.googleapis.com
    • container.googleapis.com
    • cloudkms.googleapis.com
    • cloudresourcemanager.googleapis.com
    • cloudsql.googleapis.com
    • compute.googleapis.com
    • dataflow.googleapis.com
    • dataproc.googleapis.com
    • dlp.googleapis.com
    • iam.googleapis.com
    • logging.googleapis.com
    • orgpolicy.googleapis.com
    • pubsub.googleapis.com
    • spanner.googleapis.com
    • secretmanager.googleapis.com
    • speakerid.googleapis.com
    • storage.googleapis.com Calls to UpdateAccessApprovalSettings using 'all' or any of the XXX.googleapis.com will be translated to the associated product name ('all', 'App Engine', etc.). Note: 'all' will enroll the resource in all products supported at both 'GA' and 'Preview' levels. More information about levels of support is available at https://cloud.google.com/access-approval/docs/supported-services
Parameter
Name Description
var string
Returns
Type Description
$this

getEnrollmentLevel

The enrollment level of the service.

Returns
Type Description
int

setEnrollmentLevel

The enrollment level of the service.

Parameter
Name Description
var int
Returns
Type Description
$this