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.



22638
22639
22640
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22638

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

Instance Attribute Details

#service_nameString

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

Returns:

  • (String)


22631
22632
22633
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22631

def service_name
  @service_name
end

#service_stateString

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

Returns:

  • (String)


22636
22637
22638
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22636

def service_state
  @service_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22643
22644
22645
22646
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22643

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