Class: Google::Apis::CertificatemanagerV1::ListCertificatesResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/certificatemanager_v1/classes.rb,
lib/google/apis/certificatemanager_v1/representations.rb,
lib/google/apis/certificatemanager_v1/representations.rb

Overview

Response for the ListCertificates method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListCertificatesResponse

Returns a new instance of ListCertificatesResponse.



737
738
739
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 737

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

Instance Attribute Details

#certificatesArray<Google::Apis::CertificatemanagerV1::Certificate>

A list of certificates for the parent resource. Corresponds to the JSON property certificates



723
724
725
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 723

def certificates
  @certificates
end

#next_page_tokenString

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


730
731
732
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 730

def next_page_token
  @next_page_token
end

#unreachableArray<String>

A list of locations that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


735
736
737
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 735

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



742
743
744
745
746
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 742

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