Class: Google::Cloud::Batch::V1::ServiceAccount
- Inherits:
-
Object
- Object
- Google::Cloud::Batch::V1::ServiceAccount
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/batch/v1/job.rb
Overview
Carries information about a Google Cloud service account.
Instance Attribute Summary collapse
-
#email ⇒ ::String
Email address of the service account.
-
#scopes ⇒ ::Array<::String>
List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
Instance Attribute Details
#email ⇒ ::String
Returns Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
699 700 701 702 |
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 699 class ServiceAccount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#scopes ⇒ ::Array<::String>
Returns List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
699 700 701 702 |
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 699 class ServiceAccount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |