# Access Approval V1 API - Class Google::Cloud::AccessApproval::V1::EnrolledService (v1.6.0)

1.6.0 (latest) 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.2 0.12.0 0.11.2 0.10.0 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.5 Reference documentation and code samples for the Access Approval V1 API class Google::Cloud::AccessApproval::V1::EnrolledService.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cloud_product

    def cloud_product() -> ::String

**Returns**

- (::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

### #cloud_product=

    def cloud_product=(value) -> ::String

**Parameter**

- **value** (::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
**Returns**

- (::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

    def enrollment_level() -> ::Google::Cloud::AccessApproval::V1::EnrollmentLevel

**Returns**

- ([::Google::Cloud::AccessApproval::V1::EnrollmentLevel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-access_approval-v1/latest/Google-Cloud-AccessApproval-V1-EnrollmentLevel)) --- The enrollment level of the service.

### #enrollment_level=

    def enrollment_level=(value) -> ::Google::Cloud::AccessApproval::V1::EnrollmentLevel

**Parameter**

- **value** ([::Google::Cloud::AccessApproval::V1::EnrollmentLevel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-access_approval-v1/latest/Google-Cloud-AccessApproval-V1-EnrollmentLevel)) --- The enrollment level of the service.
**Returns**

- ([::Google::Cloud::AccessApproval::V1::EnrollmentLevel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-access_approval-v1/latest/Google-Cloud-AccessApproval-V1-EnrollmentLevel)) --- The enrollment level of the service.