Class: Google::Apis::AppengineV1::AuthorizedCertificate
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1::AuthorizedCertificate
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appengine_v1/classes.rb,
generated/google/apis/appengine_v1/representations.rb,
generated/google/apis/appengine_v1/representations.rb
Overview
An SSL certificate that a user has been authorized to administer. A user is authorized to administer any certificate that applies to one of their authorized domains.
Instance Attribute Summary collapse
-
#certificate_raw_data ⇒ Google::Apis::AppengineV1::CertificateRawData
An SSL certificate obtained from a certificate authority.
-
#display_name ⇒ String
The user-specified display name of the certificate.
-
#domain_mappings_count ⇒ Fixnum
Aggregate count of the domain mappings with this certificate mapped.
-
#domain_names ⇒ Array<String>
Topmost applicable domains of this certificate.
-
#expire_time ⇒ String
The time when this certificate expires.
-
#id ⇒ String
Relative name of the certificate.
-
#name ⇒ String
Full path to the AuthorizedCertificate resource in the API.
-
#visible_domain_mappings ⇒ Array<String>
The full paths to user visible Domain Mapping resources that have this certificate mapped.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthorizedCertificate
constructor
A new instance of AuthorizedCertificate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AuthorizedCertificate
Returns a new instance of AuthorizedCertificate
256 257 258 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 256 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate_raw_data ⇒ Google::Apis::AppengineV1::CertificateRawData
An SSL certificate obtained from a certificate authority.
Corresponds to the JSON property certificateRawData
204 205 206 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 204 def certificate_raw_data @certificate_raw_data end |
#display_name ⇒ String
The user-specified display name of the certificate. This is not guaranteed to
be unique. Example: My Certificate.
Corresponds to the JSON property displayName
210 211 212 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 210 def display_name @display_name end |
#domain_mappings_count ⇒ Fixnum
Aggregate count of the domain mappings with this certificate mapped. This
count includes domain mappings on applications for which the user does not
have VIEWER permissions.Only returned by GET or LIST requests when
specifically requested by the view=FULL_CERTIFICATE option.@OutputOnly
Corresponds to the JSON property domainMappingsCount
218 219 220 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 218 def domain_mappings_count @domain_mappings_count end |
#domain_names ⇒ Array<String>
Topmost applicable domains of this certificate. This certificate applies to
these domains and their subdomains. Example: example.com.@OutputOnly
Corresponds to the JSON property domainNames
224 225 226 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 224 def domain_names @domain_names end |
#expire_time ⇒ String
The time when this certificate expires. To update the renewal time on this
certificate, upload an SSL certificate with a different expiration time using
AuthorizedCertificates.UpdateAuthorizedCertificate.@OutputOnly
Corresponds to the JSON property expireTime
231 232 233 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 231 def expire_time @expire_time end |
#id ⇒ String
Relative name of the certificate. This is a unique value autogenerated on
AuthorizedCertificate resource creation. Example: 12345.@OutputOnly
Corresponds to the JSON property id
237 238 239 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 237 def id @id end |
#name ⇒ String
Full path to the AuthorizedCertificate resource in the API. Example: apps/
myapp/authorizedCertificates/12345.@OutputOnly
Corresponds to the JSON property name
243 244 245 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 243 def name @name end |
#visible_domain_mappings ⇒ Array<String>
The full paths to user visible Domain Mapping resources that have this
certificate mapped. Example: apps/myapp/domainMappings/example.com.This may
not represent the full list of mapped domain mappings if the user does not
have VIEWER permissions on all of the applications that have this certificate
mapped. See domain_mappings_count for a complete count.Only returned by GET or
LIST requests when specifically requested by the view=FULL_CERTIFICATE option.@
OutputOnly
Corresponds to the JSON property visibleDomainMappings
254 255 256 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 254 def visible_domain_mappings @visible_domain_mappings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
261 262 263 264 265 266 267 268 269 270 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 261 def update!(**args) @certificate_raw_data = args[:certificate_raw_data] if args.key?(:certificate_raw_data) @display_name = args[:display_name] if args.key?(:display_name) @domain_mappings_count = args[:domain_mappings_count] if args.key?(:domain_mappings_count) @domain_names = args[:domain_names] if args.key?(:domain_names) @expire_time = args[:expire_time] if args.key?(:expire_time) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) @visible_domain_mappings = args[:visible_domain_mappings] if args.key?(:visible_domain_mappings) end |