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.



12913
12914
12915
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12913

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

Instance Attribute Details

#service_nameString

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

Returns:

  • (String)


12906
12907
12908
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12906

def service_name
  @service_name
end

#service_stateString

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

Returns:

  • (String)


12911
12912
12913
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12911

def service_state
  @service_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12918
12919
12920
12921
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12918

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