Class: Google::Apis::NetworksecurityV1::SacRealmPairingKey

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



4473
4474
4475
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4473

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)


4466
4467
4468
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4466

def expire_time
  @expire_time
end

#keyString

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

Returns:

  • (String)


4471
4472
4473
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4471

def key
  @key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4478
4479
4480
4481
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4478

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