Class: Google::Apis::MlV1::GoogleCloudMlV1GetConfigResponse
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleCloudMlV1GetConfigResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/ml_v1/classes.rb,
generated/google/apis/ml_v1/representations.rb,
generated/google/apis/ml_v1/representations.rb
Overview
Returns service account information associated with a project.
Instance Attribute Summary collapse
-
#config ⇒ Google::Apis::MlV1::GoogleCloudMlV1Config
Corresponds to the JSON property
config
. -
#service_account ⇒ String
The service account Cloud ML uses to access resources in the project.
-
#service_account_project ⇒ Fixnum
The project number for
service_account
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMlV1GetConfigResponse
constructor
A new instance of GoogleCloudMlV1GetConfigResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1GetConfigResponse
Returns a new instance of GoogleCloudMlV1GetConfigResponse
220 221 222 |
# File 'generated/google/apis/ml_v1/classes.rb', line 220 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config ⇒ Google::Apis::MlV1::GoogleCloudMlV1Config
Corresponds to the JSON property config
208 209 210 |
# File 'generated/google/apis/ml_v1/classes.rb', line 208 def config @config end |
#service_account ⇒ String
The service account Cloud ML uses to access resources in the project.
Corresponds to the JSON property serviceAccount
213 214 215 |
# File 'generated/google/apis/ml_v1/classes.rb', line 213 def service_account @service_account end |
#service_account_project ⇒ Fixnum
The project number for service_account
.
Corresponds to the JSON property serviceAccountProject
218 219 220 |
# File 'generated/google/apis/ml_v1/classes.rb', line 218 def service_account_project @service_account_project end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
225 226 227 228 229 |
# File 'generated/google/apis/ml_v1/classes.rb', line 225 def update!(**args) @config = args[:config] if args.key?(:config) @service_account = args[:service_account] if args.key?(:service_account) @service_account_project = args[:service_account_project] if args.key?(:service_account_project) end |