Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGetDefaultBranchResponse
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGetDefaultBranchResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/representations.rb
Overview
Response message of CatalogService.GetDefaultBranch.
Instance Attribute Summary collapse
-
#branch ⇒ String
Full resource name of the branch id currently set as default branch.
-
#note ⇒ String
This corresponds to SetDefaultBranchRequest.note field, when this branch was set as default.
-
#set_time ⇒ String
The time when this branch is set to default.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2betaGetDefaultBranchResponse
constructor
A new instance of GoogleCloudRetailV2betaGetDefaultBranchResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaGetDefaultBranchResponse
Returns a new instance of GoogleCloudRetailV2betaGetDefaultBranchResponse.
4421 4422 4423 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4421 def initialize(**args) update!(**args) end |
Instance Attribute Details
#branch ⇒ String
Full resource name of the branch id currently set as default branch.
Corresponds to the JSON property branch
4408 4409 4410 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4408 def branch @branch end |
#note ⇒ String
This corresponds to SetDefaultBranchRequest.note field, when this branch was
set as default.
Corresponds to the JSON property note
4414 4415 4416 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4414 def note @note end |
#set_time ⇒ String
The time when this branch is set to default.
Corresponds to the JSON property setTime
4419 4420 4421 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4419 def set_time @set_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4426 4427 4428 4429 4430 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4426 def update!(**args) @branch = args[:branch] if args.key?(:branch) @note = args[:note] if args.key?(:note) @set_time = args[:set_time] if args.key?(:set_time) end |