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.



4482
4483
4484
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4482

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)


4475
4476
4477
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4475

def expire_time
  @expire_time
end

#keyString

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

Returns:

  • (String)


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

def key
  @key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4487
4488
4489
4490
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4487

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