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.



12952
12953
12954
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12952

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

Instance Attribute Details

#service_nameString

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

Returns:

  • (String)


12945
12946
12947
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12945

def service_name
  @service_name
end

#service_stateString

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

Returns:

  • (String)


12950
12951
12952
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12950

def service_state
  @service_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12957
12958
12959
12960
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12957

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