Class: Google::Apis::MlV1beta1::GoogleCloudMlV1beta1GetConfigResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/ml_v1beta1/classes.rb,
generated/google/apis/ml_v1beta1/representations.rb,
generated/google/apis/ml_v1beta1/representations.rb

Overview

Returns service account information associated with a project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudMlV1beta1GetConfigResponse

Returns a new instance of GoogleCloudMlV1beta1GetConfigResponse



393
394
395
# File 'generated/google/apis/ml_v1beta1/classes.rb', line 393

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#service_accountString

The service account Cloud ML uses to access resources in the project. Corresponds to the JSON property serviceAccount

Returns:

  • (String)


386
387
388
# File 'generated/google/apis/ml_v1beta1/classes.rb', line 386

def 
  @service_account
end

#service_account_projectFixnum

The project number for service_account. Corresponds to the JSON property serviceAccountProject

Returns:

  • (Fixnum)


391
392
393
# File 'generated/google/apis/ml_v1beta1/classes.rb', line 391

def 
  @service_account_project
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



398
399
400
401
# File 'generated/google/apis/ml_v1beta1/classes.rb', line 398

def update!(**args)
  @service_account = args[:service_account] if args.key?(:service_account)
  @service_account_project = args[:service_account_project] if args.key?(:service_account_project)
end