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 messagegoogle.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 athttps://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 athttps://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 athttps://cloud.google.com/access-approval/docs/supported-services
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Access Approval V1 Client - Class EnrolledService (2.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.5 (latest)](/php/docs/reference/cloud-access-approval/latest/V1.EnrolledService)\n- [2.0.4](/php/docs/reference/cloud-access-approval/2.0.4/V1.EnrolledService)\n- [1.2.5](/php/docs/reference/cloud-access-approval/1.2.5/V1.EnrolledService)\n- [1.1.3](/php/docs/reference/cloud-access-approval/1.1.3/V1.EnrolledService)\n- [1.0.4](/php/docs/reference/cloud-access-approval/1.0.4/V1.EnrolledService) \nReference documentation and code samples for the Google Cloud Access Approval V1 Client class EnrolledService.\n\nRepresents the enrollment of a cloud resource into a specific service.\n\nGenerated from protobuf message `google.cloud.accessapproval.v1.EnrolledService`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AccessApproval \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getCloudProduct\n\nThe product for which Access Approval will be enrolled. Allowed values are\nlisted below (case-sensitive):\n\n- all\n- GA\n- App Engine\n- BigQuery\n- Cloud Bigtable\n- Cloud Key Management Service\n- Compute Engine\n- Cloud Dataflow\n- Cloud Dataproc\n- Cloud DLP\n- Cloud EKM\n- Cloud HSM\n- Cloud Identity and Access Management\n- Cloud Logging\n- Cloud Pub/Sub\n- Cloud Spanner\n- Cloud SQL\n- Cloud Storage\n- Google Kubernetes Engine\n- Organization Policy Serivice\n- Persistent Disk\n- Resource Manager\n- Secret Manager\n- Speaker ID Note: These values are supported as input for legacy purposes, but will not be returned from the API.\n\n\u003c!-- --\u003e\n\n- all\n - ga-only\n - appengine.googleapis.com\n - bigquery.googleapis.com\n - bigtable.googleapis.com\n - container.googleapis.com\n - cloudkms.googleapis.com\n - cloudresourcemanager.googleapis.com\n - cloudsql.googleapis.com\n - compute.googleapis.com\n - dataflow.googleapis.com\n - dataproc.googleapis.com\n - dlp.googleapis.com\n - iam.googleapis.com\n - logging.googleapis.com\n - orgpolicy.googleapis.com\n - pubsub.googleapis.com\n - spanner.googleapis.com\n - secretmanager.googleapis.com\n - speakerid.googleapis.com\n - 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 \u003chttps://cloud.google.com/access-approval/docs/supported-services\u003e\n\n### setCloudProduct\n\nThe product for which Access Approval will be enrolled. Allowed values are\nlisted below (case-sensitive):\n\n- all\n- GA\n- App Engine\n- BigQuery\n- Cloud Bigtable\n- Cloud Key Management Service\n- Compute Engine\n- Cloud Dataflow\n- Cloud Dataproc\n- Cloud DLP\n- Cloud EKM\n- Cloud HSM\n- Cloud Identity and Access Management\n- Cloud Logging\n- Cloud Pub/Sub\n- Cloud Spanner\n- Cloud SQL\n- Cloud Storage\n- Google Kubernetes Engine\n- Organization Policy Serivice\n- Persistent Disk\n- Resource Manager\n- Secret Manager\n- Speaker ID Note: These values are supported as input for legacy purposes, but will not be returned from the API.\n\n\u003c!-- --\u003e\n\n- all\n - ga-only\n - appengine.googleapis.com\n - bigquery.googleapis.com\n - bigtable.googleapis.com\n - container.googleapis.com\n - cloudkms.googleapis.com\n - cloudresourcemanager.googleapis.com\n - cloudsql.googleapis.com\n - compute.googleapis.com\n - dataflow.googleapis.com\n - dataproc.googleapis.com\n - dlp.googleapis.com\n - iam.googleapis.com\n - logging.googleapis.com\n - orgpolicy.googleapis.com\n - pubsub.googleapis.com\n - spanner.googleapis.com\n - secretmanager.googleapis.com\n - speakerid.googleapis.com\n - 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 \u003chttps://cloud.google.com/access-approval/docs/supported-services\u003e\n\n### getEnrollmentLevel\n\nThe enrollment level of the service.\n\n### setEnrollmentLevel\n\nThe enrollment level of the service."]]