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.



29209
29210
29211
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 29209

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

Instance Attribute Details

#service_nameString

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

Returns:

  • (String)


29202
29203
29204
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 29202

def service_name
  @service_name
end

#service_stateString

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

Returns:

  • (String)


29207
29208
29209
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 29207

def service_state
  @service_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29214
29215
29216
29217
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 29214

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