Class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest
- 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
-
#icon ⇒ String
The raw icon bytes user-supplied to be uploaded to the product.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest
constructor
A new instance of GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest.
-
#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) ⇒ GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest
Returns a new instance of GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest.
496 497 498 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 496 def initialize(**args) update!(**args) end |
Instance Attribute Details
#icon ⇒ String
The raw icon bytes user-supplied to be uploaded to the product. The format
of the icon can only be PNG or JPEG. The minimum allowed dimensions are
130x130 pixels and the maximum dimensions are 10000x10000 pixels.
Required.
Corresponds to the JSON property icon
NOTE: Values are automatically base64 encoded/decoded in the client library.
494 495 496 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 494 def icon @icon end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
501 502 503 |
# File 'generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb', line 501 def update!(**args) @icon = args[:icon] if args.key?(:icon) end |