Class: Google::Apis::ScriptV1::ListDeploymentsResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListDeploymentsResponse

Returns a new instance of ListDeploymentsResponse.



706
707
708
# File 'generated/google/apis/script_v1/classes.rb', line 706

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#deploymentsArray<Google::Apis::ScriptV1::Deployment>

The list of deployments. Corresponds to the JSON property deployments



698
699
700
# File 'generated/google/apis/script_v1/classes.rb', line 698

def deployments
  @deployments
end

#next_page_tokenString

The token that can be used in the next call to get the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


704
705
706
# File 'generated/google/apis/script_v1/classes.rb', line 704

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



711
712
713
714
# File 'generated/google/apis/script_v1/classes.rb', line 711

def update!(**args)
  @deployments = args[:deployments] if args.key?(:deployments)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end