Class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest
- 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
-
#destination_product_name ⇒ String
The resource name of the destination product that is copied to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest
constructor
A new instance of GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
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_name ⇒ String
The resource name of the destination product that is copied to.
Corresponds to the JSON property destinationProductName
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 |