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.



5669
5670
5671
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5669

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

Instance Attribute Details

#certificate_statusString

Status of the certificate Corresponds to the JSON property certificateStatus

Returns:

  • (String)


5626
5627
5628
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5626

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)


5632
5633
5634
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5632

def credential_id
  @credential_id
end

#descriptionString

Description of the certificate Corresponds to the JSON property description

Returns:

  • (String)


5637
5638
5639
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5637

def description
  @description
end

#display_nameString

Name of the certificate Corresponds to the JSON property displayName

Returns:

  • (String)


5642
5643
5644
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5642

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


5647
5648
5649
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5647

def name
  @name
end

#raw_certificateGoogle::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaClientCertificate

Contains client certificate information Corresponds to the JSON property rawCertificate



5652
5653
5654
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5652

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)


5657
5658
5659
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5657

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)


5662
5663
5664
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5662

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)


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

def valid_start_time
  @valid_start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5674

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