Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ServingProfile

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

Configures the serving behavior for a resource-less GenAI serving.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ServingProfile

Returns a new instance of GoogleCloudAiplatformV1beta1ServingProfile.



60167
60168
60169
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60167

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

Instance Attribute Details

#cmek_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ServingProfileCmekConfig

Configuration for Customer-Managed Encryption Keys (CMEK). Corresponds to the JSON property cmekConfig



60134
60135
60136
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60134

def cmek_config
  @cmek_config
end

#create_timeString

Output only. Timestamp when the ServingProfile was created. Corresponds to the JSON property createTime

Returns:

  • (String)


60139
60140
60141
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60139

def create_time
  @create_time
end

#descriptionString

Optional. The description of the ServingProfile. Corresponds to the JSON property description

Returns:

  • (String)


60144
60145
60146
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60144

def description
  @description
end

#display_nameString

Required. The display name of the ServingProfile. The name can be up to 128 characters long and can consist of any UTF-8 characters. Corresponds to the JSON property displayName

Returns:

  • (String)


60150
60151
60152
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60150

def display_name
  @display_name
end

#nameString

Identifier. The resource name of the ServingProfile. Corresponds to the JSON property name

Returns:

  • (String)


60155
60156
60157
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60155

def name
  @name
end

#scopeString

Required. The specific API this ServingProfile applies to. Corresponds to the JSON property scope

Returns:

  • (String)


60160
60161
60162
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60160

def scope
  @scope
end

#update_timeString

Output only. Timestamp when the ServingProfile was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


60165
60166
60167
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60165

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



60172
60173
60174
60175
60176
60177
60178
60179
60180
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60172

def update!(**args)
  @cmek_config = args[:cmek_config] if args.key?(:cmek_config)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @scope = args[:scope] if args.key?(:scope)
  @update_time = args[:update_time] if args.key?(:update_time)
end