Class: Google::Apis::NetworksecurityV1beta1::SacRealmPairingKey

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

Overview

Key to be shared with SSE service provider to establish global handshake.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SacRealmPairingKey

Returns a new instance of SacRealmPairingKey.



4412
4413
4414
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4412

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

Instance Attribute Details

#expire_timeString

Output only. Timestamp in UTC of when this resource is considered expired. It expires 7 days after creation. Corresponds to the JSON property expireTime

Returns:

  • (String)


4405
4406
4407
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4405

def expire_time
  @expire_time
end

#keyString

Output only. Key value. Corresponds to the JSON property key

Returns:

  • (String)


4410
4411
4412
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4410

def key
  @key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4417
4418
4419
4420
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4417

def update!(**args)
  @expire_time = args[:expire_time] if args.key?(:expire_time)
  @key = args[:key] if args.key?(:key)
end