Class: Google::Apis::ContentV2::PickupCarrierService
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::PickupCarrierService
- Defined in:
- generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#carrier_name ⇒ String
The name of the pickup carrier (e.g., "UPS").
-
#service_name ⇒ String
The name of the pickup service (e.g., "Access point").
Instance Method Summary collapse
-
#initialize(**args) ⇒ PickupCarrierService
constructor
A new instance of PickupCarrierService.
-
#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) ⇒ PickupCarrierService
Returns a new instance of PickupCarrierService.
7683 7684 7685 |
# File 'generated/google/apis/content_v2/classes.rb', line 7683 def initialize(**args) update!(**args) end |
Instance Attribute Details
#carrier_name ⇒ String
The name of the pickup carrier (e.g., "UPS"). Required.
Corresponds to the JSON property carrierName
7676 7677 7678 |
# File 'generated/google/apis/content_v2/classes.rb', line 7676 def carrier_name @carrier_name end |
#service_name ⇒ String
The name of the pickup service (e.g., "Access point"). Required.
Corresponds to the JSON property serviceName
7681 7682 7683 |
# File 'generated/google/apis/content_v2/classes.rb', line 7681 def service_name @service_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7688 7689 7690 7691 |
# File 'generated/google/apis/content_v2/classes.rb', line 7688 def update!(**args) @carrier_name = args[:carrier_name] if args.key?(:carrier_name) @service_name = args[:service_name] if args.key?(:service_name) end |