Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/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.



6788
6789
6790
# File 'lib/google/apis/integrations_v1/classes.rb', line 6788

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

Instance Attribute Details

#certificate_statusString

Status of the certificate Corresponds to the JSON property certificateStatus

Returns:

  • (String)


6746
6747
6748
# File 'lib/google/apis/integrations_v1/classes.rb', line 6746

def certificate_status
  @certificate_status
end

#credential_idString

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

Returns:

  • (String)


6751
6752
6753
# File 'lib/google/apis/integrations_v1/classes.rb', line 6751

def credential_id
  @credential_id
end

#descriptionString

Description of the certificate Corresponds to the JSON property description

Returns:

  • (String)


6756
6757
6758
# File 'lib/google/apis/integrations_v1/classes.rb', line 6756

def description
  @description
end

#display_nameString

Required. Name of the certificate Corresponds to the JSON property displayName

Returns:

  • (String)


6761
6762
6763
# File 'lib/google/apis/integrations_v1/classes.rb', line 6761

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


6766
6767
6768
# File 'lib/google/apis/integrations_v1/classes.rb', line 6766

def name
  @name
end

#raw_certificateGoogle::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaClientCertificate

Contains client certificate information Corresponds to the JSON property rawCertificate



6771
6772
6773
# File 'lib/google/apis/integrations_v1/classes.rb', line 6771

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)


6776
6777
6778
# File 'lib/google/apis/integrations_v1/classes.rb', line 6776

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)


6781
6782
6783
# File 'lib/google/apis/integrations_v1/classes.rb', line 6781

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)


6786
6787
6788
# File 'lib/google/apis/integrations_v1/classes.rb', line 6786

def valid_start_time
  @valid_start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
# File 'lib/google/apis/integrations_v1/classes.rb', line 6793

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