Class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb,
generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb,
generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest

Returns a new instance of GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest.



148
149
150
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 148

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

Instance Attribute Details

#destination_product_nameString

The resource name of the destination product that is copied to. Corresponds to the JSON property destinationProductName

Returns:

  • (String)


146
147
148
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 146

def destination_product_name
  @destination_product_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



153
154
155
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 153

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