Class: Google::Apis::ScriptV1::ListDeploymentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ScriptV1::ListDeploymentsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/script_v1/classes.rb,
generated/google/apis/script_v1/representations.rb,
generated/google/apis/script_v1/representations.rb
Overview
Response with the list of deployments for the specified Apps Script project.
Instance Attribute Summary collapse
-
#deployments ⇒ Array<Google::Apis::ScriptV1::Deployment>
The list of deployments.
-
#next_page_token ⇒ String
The token that can be used in the next call to get the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListDeploymentsResponse
constructor
A new instance of ListDeploymentsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListDeploymentsResponse
Returns a new instance of ListDeploymentsResponse
744 745 746 |
# File 'generated/google/apis/script_v1/classes.rb', line 744 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deployments ⇒ Array<Google::Apis::ScriptV1::Deployment>
The list of deployments.
Corresponds to the JSON property deployments
736 737 738 |
# File 'generated/google/apis/script_v1/classes.rb', line 736 def deployments @deployments end |
#next_page_token ⇒ String
The token that can be used in the next call to get the next page of
results.
Corresponds to the JSON property nextPageToken
742 743 744 |
# File 'generated/google/apis/script_v1/classes.rb', line 742 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
749 750 751 752 |
# File 'generated/google/apis/script_v1/classes.rb', line 749 def update!(**args) @deployments = args[:deployments] if args.key?(:deployments) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |