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.



60995
60996
60997
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60995

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



60962
60963
60964
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60962

def cmek_config
  @cmek_config
end

#create_timeString

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

Returns:

  • (String)


60967
60968
60969
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60967

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


60972
60973
60974
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60972

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)


60978
60979
60980
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60978

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


60983
60984
60985
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60983

def name
  @name
end

#scopeString

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

Returns:

  • (String)


60988
60989
60990
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60988

def scope
  @scope
end

#update_timeString

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

Returns:

  • (String)


60993
60994
60995
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60993

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



61000
61001
61002
61003
61004
61005
61006
61007
61008
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 61000

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