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.



333
334
335
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 333

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)


304
305
306
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 304

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)


309
310
311
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 309

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



315
316
317
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 315

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


320
321
322
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 320

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)


326
327
328
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 326

def name
  @name
end

#update_timeString

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

Returns:

  • (String)


331
332
333
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 331

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



338
339
340
341
342
343
344
345
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 338

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