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.



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

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



1691
1692
1693
# File 'lib/google/apis/privateca_v1/classes.rb', line 1691

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)


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

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>)


1703
1704
1705
# File 'lib/google/apis/privateca_v1/classes.rb', line 1703

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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