Class: Google::Apis::CertificatemanagerV1::CertificateMapEntry
- Inherits:
-
Object
- Object
- Google::Apis::CertificatemanagerV1::CertificateMapEntry
- 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
Defines a certificate map entry.
Instance Attribute Summary collapse
-
#certificates ⇒ Array<String>
A set of Certificates defines for the given
hostname
. -
#create_time ⇒ String
Output only.
-
#description ⇒ String
One or more paragraphs of text description of a certificate map entry.
-
#hostname ⇒ String
A Hostname (FQDN, e.g.
example.com
) or a wildcard hostname expression (*. example.com
) for a set of hostnames with common suffix. -
#labels ⇒ Hash<String,String>
Set of labels associated with a Certificate Map Entry.
-
#matcher ⇒ String
A predefined matcher for particular cases, other than SNI selection.
-
#name ⇒ String
A user-defined name of the Certificate Map Entry.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CertificateMapEntry
constructor
A new instance of CertificateMapEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CertificateMapEntry
Returns a new instance of CertificateMapEntry.
403 404 405 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 403 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificates ⇒ Array<String>
A set of Certificates defines for the given hostname
. There can be defined
up to four certificates in each Certificate Map Entry. Each certificate must
match pattern projects/*/locations/*/certificates/*
.
Corresponds to the JSON property certificates
357 358 359 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 357 def certificates @certificates end |
#create_time ⇒ String
Output only. The creation timestamp of a Certificate Map Entry.
Corresponds to the JSON property createTime
362 363 364 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 362 def create_time @create_time end |
#description ⇒ String
One or more paragraphs of text description of a certificate map entry.
Corresponds to the JSON property description
367 368 369 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 367 def description @description end |
#hostname ⇒ String
A Hostname (FQDN, e.g. example.com
) or a wildcard hostname expression (*.
example.com
) for a set of hostnames with common suffix. Used as Server Name
Indication (SNI) for selecting a proper certificate.
Corresponds to the JSON property hostname
374 375 376 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 374 def hostname @hostname end |
#labels ⇒ Hash<String,String>
Set of labels associated with a Certificate Map Entry.
Corresponds to the JSON property labels
379 380 381 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 379 def labels @labels end |
#matcher ⇒ String
A predefined matcher for particular cases, other than SNI selection.
Corresponds to the JSON property matcher
384 385 386 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 384 def matcher @matcher end |
#name ⇒ String
A user-defined name of the Certificate Map Entry. Certificate Map Entry names
must be unique globally and match pattern projects/*/locations/*/
certificateMaps/*/certificateMapEntries/*
.
Corresponds to the JSON property name
391 392 393 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 391 def name @name end |
#state ⇒ String
Output only. A serving state of this Certificate Map Entry.
Corresponds to the JSON property state
396 397 398 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 396 def state @state end |
#update_time ⇒ String
Output only. The update timestamp of a Certificate Map Entry.
Corresponds to the JSON property updateTime
401 402 403 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 401 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
408 409 410 411 412 413 414 415 416 417 418 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 408 def update!(**args) @certificates = args[:certificates] if args.key?(:certificates) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @hostname = args[:hostname] if args.key?(:hostname) @labels = args[:labels] if args.key?(:labels) @matcher = args[:matcher] if args.key?(:matcher) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end |