Class: Google::Apis::MlV1::GoogleCloudMlV1GetConfigResponse

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

Overview

Returns service account information associated with a project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudMlV1GetConfigResponse

Returns a new instance of GoogleCloudMlV1GetConfigResponse.



1145
1146
1147
# File 'lib/google/apis/ml_v1/classes.rb', line 1145

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

Instance Attribute Details

#configGoogle::Apis::MlV1::GoogleCloudMlV1Config

Corresponds to the JSON property config



1133
1134
1135
# File 'lib/google/apis/ml_v1/classes.rb', line 1133

def config
  @config
end

#service_accountString

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

Returns:

  • (String)


1138
1139
1140
# File 'lib/google/apis/ml_v1/classes.rb', line 1138

def 
  @service_account
end

#service_account_projectFixnum

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

Returns:

  • (Fixnum)


1143
1144
1145
# File 'lib/google/apis/ml_v1/classes.rb', line 1143

def 
  @service_account_project
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1150
1151
1152
1153
1154
# File 'lib/google/apis/ml_v1/classes.rb', line 1150

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