Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCreateModelMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/representations.rb

Overview

Metadata associated with a create operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2betaCreateModelMetadata

Returns a new instance of GoogleCloudRetailV2betaCreateModelMetadata.



3675
3676
3677
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3675

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

Instance Attribute Details

#modelString

The resource name of the model that this create applies to. Format: projects/ project_number/locations/location_id/catalogs/catalog_id/models/model_id Corresponds to the JSON property model

Returns:

  • (String)


3673
3674
3675
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3673

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3680
3681
3682
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3680

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