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.



5603
5604
5605
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5603

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

Instance Attribute Details

#certificate_statusString

Status of the certificate Corresponds to the JSON property certificateStatus

Returns:

  • (String)


5560
5561
5562
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5560

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)


5566
5567
5568
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5566

def credential_id
  @credential_id
end

#descriptionString

Description of the certificate Corresponds to the JSON property description

Returns:

  • (String)


5571
5572
5573
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5571

def description
  @description
end

#display_nameString

Name of the certificate Corresponds to the JSON property displayName

Returns:

  • (String)


5576
5577
5578
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5576

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


5581
5582
5583
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5581

def name
  @name
end

#raw_certificateGoogle::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaClientCertificate

Contains client certificate information Corresponds to the JSON property rawCertificate



5586
5587
5588
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5586

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)


5591
5592
5593
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5591

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)


5596
5597
5598
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5596

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)


5601
5602
5603
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5601

def valid_start_time
  @valid_start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5608

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