Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1InternalOsServiceStateInstance

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

Overview

Request message for [InternalOsServiceStateInstance].

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1InternalOsServiceStateInstance

Returns a new instance of GoogleCloudAiplatformV1beta1InternalOsServiceStateInstance.



11236
11237
11238
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11236

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

Instance Attribute Details

#service_nameString

Required. internal service name. Corresponds to the JSON property serviceName

Returns:

  • (String)


11229
11230
11231
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11229

def service_name
  @service_name
end

#service_stateString

Required. internal service state. Corresponds to the JSON property serviceState

Returns:

  • (String)


11234
11235
11236
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11234

def service_state
  @service_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11241
11242
11243
11244
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11241

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