Class: Google::Apis::BigqueryV2::GetServiceAccountResponse
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::GetServiceAccountResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Overview
Response object of GetServiceAccount
Instance Attribute Summary collapse
-
#email ⇒ String
The service account email address.
-
#kind ⇒ String
The resource type of the response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetServiceAccountResponse
constructor
A new instance of GetServiceAccountResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GetServiceAccountResponse
Returns a new instance of GetServiceAccountResponse.
4215 4216 4217 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4215 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
The service account email address.
Corresponds to the JSON property email
4208 4209 4210 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4208 def email @email end |
#kind ⇒ String
The resource type of the response.
Corresponds to the JSON property kind
4213 4214 4215 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4213 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4220 4221 4222 4223 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4220 def update!(**args) @email = args[:email] if args.key?(:email) @kind = args[:kind] if args.key?(:kind) end |