Class: Google::Apis::AccessapprovalV1::AccessApprovalServiceAccount
- Inherits:
-
Object
- Object
- Google::Apis::AccessapprovalV1::AccessApprovalServiceAccount
- 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
Access Approval service account related to a project/folder/organization.
Instance Attribute Summary collapse
-
#account_email ⇒ String
Email address of the service account.
-
#name ⇒ String
The resource name of the Access Approval service account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccessApprovalServiceAccount
constructor
A new instance of AccessApprovalServiceAccount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccessApprovalServiceAccount
Returns a new instance of AccessApprovalServiceAccount.
41 42 43 |
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 41 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_email ⇒ String
Email address of the service account.
Corresponds to the JSON property accountEmail
32 33 34 |
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 32 def account_email @account_email end |
#name ⇒ String
The resource name of the Access Approval service account. Format is one of: * "
projects/project
/serviceAccount" * "folders/folder
/serviceAccount" * "
organizations/organization
/serviceAccount"
Corresponds to the JSON property name
39 40 41 |
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 39 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
46 47 48 49 |
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 46 def update!(**args) @account_email = args[:account_email] if args.key?(:account_email) @name = args[:name] if args.key?(:name) end |