Class: Google::Apis::PrivatecaV1::ListCertificateTemplatesResponse

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

Overview

Response message for CertificateAuthorityService.ListCertificateTemplates.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListCertificateTemplatesResponse

Returns a new instance of ListCertificateTemplatesResponse.



1713
1714
1715
# File 'lib/google/apis/privateca_v1/classes.rb', line 1713

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

Instance Attribute Details

#certificate_templatesArray<Google::Apis::PrivatecaV1::CertificateTemplate>

The list of CertificateTemplates. Corresponds to the JSON property certificateTemplates



1699
1700
1701
# File 'lib/google/apis/privateca_v1/classes.rb', line 1699

def certificate_templates
  @certificate_templates
end

#next_page_tokenString

A token to retrieve next page of results. Pass this value in ListCertificateTemplatesRequest.next_page_token to retrieve the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1706
1707
1708
# File 'lib/google/apis/privateca_v1/classes.rb', line 1706

def next_page_token
  @next_page_token
end

#unreachableArray<String>

A list of locations (e.g. "us-west1") that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


1711
1712
1713
# File 'lib/google/apis/privateca_v1/classes.rb', line 1711

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1718
1719
1720
1721
1722
# File 'lib/google/apis/privateca_v1/classes.rb', line 1718

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