Class: Google::Apis::ContentV2_1::PickupCarrierService
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::PickupCarrierService
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/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.
Constructor Details
#initialize(**args) ⇒ PickupCarrierService
Returns a new instance of PickupCarrierService.
8674 8675 8676 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8674 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
8667 8668 8669 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8667 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
8672 8673 8674 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8672 def service_name @service_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8679 8680 8681 8682 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8679 def update!(**args) @carrier_name = args[:carrier_name] if args.key?(:carrier_name) @service_name = args[:service_name] if args.key?(:service_name) end |