Class: Google::Apis::CertificatemanagerV1::CertificateMap

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

Defines a collection of certificate configurations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CertificateMap

Returns a new instance of CertificateMap.



313
314
315
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 313

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

Instance Attribute Details

#create_timeString

Output only. The creation timestamp of a Certificate Map. Corresponds to the JSON property createTime

Returns:

  • (String)


284
285
286
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 284

def create_time
  @create_time
end

#descriptionString

One or more paragraphs of text description of a certificate map. Corresponds to the JSON property description

Returns:

  • (String)


289
290
291
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 289

def description
  @description
end

#gclb_targetsArray<Google::Apis::CertificatemanagerV1::GclbTarget>

Output only. A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule. Corresponds to the JSON property gclbTargets



295
296
297
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 295

def gclb_targets
  @gclb_targets
end

#labelsHash<String,String>

Set of labels associated with a Certificate Map. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


300
301
302
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 300

def labels
  @labels
end

#nameString

A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match pattern projects/*/locations/*/certificateMaps/*. Corresponds to the JSON property name

Returns:

  • (String)


306
307
308
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 306

def name
  @name
end

#update_timeString

Output only. The update timestamp of a Certificate Map. Corresponds to the JSON property updateTime

Returns:

  • (String)


311
312
313
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 311

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



318
319
320
321
322
323
324
325
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 318

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @gclb_targets = args[:gclb_targets] if args.key?(:gclb_targets)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
end