Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCertificate

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb

Overview

The certificate definition

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaCertificate

Returns a new instance of GoogleCloudIntegrationsV1alphaCertificate.



5703
5704
5705
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5703

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

Instance Attribute Details

#certificate_statusString

Status of the certificate Corresponds to the JSON property certificateStatus

Returns:

  • (String)


5660
5661
5662
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5660

def certificate_status
  @certificate_status
end

#credential_idString

Immutable. Credential id that will be used to register with trawler INTERNAL_ONLY Corresponds to the JSON property credentialId

Returns:

  • (String)


5666
5667
5668
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5666

def credential_id
  @credential_id
end

#descriptionString

Description of the certificate Corresponds to the JSON property description

Returns:

  • (String)


5671
5672
5673
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5671

def description
  @description
end

#display_nameString

Name of the certificate Corresponds to the JSON property displayName

Returns:

  • (String)


5676
5677
5678
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5676

def display_name
  @display_name
end

#nameString

Output only. Auto generated primary key Corresponds to the JSON property name

Returns:

  • (String)


5681
5682
5683
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5681

def name
  @name
end

#raw_certificateGoogle::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaClientCertificate

Contains client certificate information Corresponds to the JSON property rawCertificate



5686
5687
5688
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5686

def raw_certificate
  @raw_certificate
end

#requestor_idString

Immutable. Requestor ID to be used to register certificate with trawler Corresponds to the JSON property requestorId

Returns:

  • (String)


5691
5692
5693
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5691

def requestor_id
  @requestor_id
end

#valid_end_timeString

Output only. The timestamp after which certificate will expire Corresponds to the JSON property validEndTime

Returns:

  • (String)


5696
5697
5698
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5696

def valid_end_time
  @valid_end_time
end

#valid_start_timeString

Output only. The timestamp after which certificate will be valid Corresponds to the JSON property validStartTime

Returns:

  • (String)


5701
5702
5703
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5701

def valid_start_time
  @valid_start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5708

def update!(**args)
  @certificate_status = args[:certificate_status] if args.key?(:certificate_status)
  @credential_id = args[:credential_id] if args.key?(:credential_id)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @raw_certificate = args[:raw_certificate] if args.key?(:raw_certificate)
  @requestor_id = args[:requestor_id] if args.key?(:requestor_id)
  @valid_end_time = args[:valid_end_time] if args.key?(:valid_end_time)
  @valid_start_time = args[:valid_start_time] if args.key?(:valid_start_time)
end