Class: Google::Apis::AccessapprovalV1::EnrolledService
- Inherits:
-
Object
- Object
- Google::Apis::AccessapprovalV1::EnrolledService
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/accessapproval_v1/classes.rb,
lib/google/apis/accessapproval_v1/representations.rb,
lib/google/apis/accessapproval_v1/representations.rb
Overview
Represents the enrollment of a cloud resource into a specific service.
Instance Attribute Summary collapse
-
#cloud_product ⇒ String
The product for which Access Approval will be enrolled.
-
#enrollment_level ⇒ String
The enrollment level of the service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnrolledService
constructor
A new instance of EnrolledService.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnrolledService
Returns a new instance of EnrolledService.
498 499 500 |
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 498 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_product ⇒ String
The product for which Access Approval will be enrolled. Allowed values are listed below (case-sensitive): * all * GA * App Engine * Artifact Registry * BigQuery * Certificate Authority Service * Cloud Bigtable * Cloud Key Management Service * Compute Engine * Cloud Composer * Cloud Dataflow * Cloud Dataproc * Cloud DLP * Cloud EKM * Cloud Firestore * Cloud HSM * Cloud Identity and Access Management * Cloud Logging * Cloud NAT * Cloud Pub/Sub * Cloud Spanner * Cloud SQL * Cloud Storage * Eventarc * 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 * artifactregistry.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
Corresponds to the JSON property
cloudProduct
491 492 493 |
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 491 def cloud_product @cloud_product end |
#enrollment_level ⇒ String
The enrollment level of the service.
Corresponds to the JSON property enrollmentLevel
496 497 498 |
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 496 def enrollment_level @enrollment_level end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
503 504 505 506 |
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 503 def update!(**args) @cloud_product = args[:cloud_product] if args.key?(:cloud_product) @enrollment_level = args[:enrollment_level] if args.key?(:enrollment_level) end |