Class: Google::Apis::NetworksecurityV1::SacRealm

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

Represents a Secure Access Connect (SAC) realm resource. A Secure Access Connect realm establishes a connection between your Google Cloud project and an SSE service.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SacRealm

Returns a new instance of SacRealm.



4442
4443
4444
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4442

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

Instance Attribute Details

#create_timeString

Output only. Timestamp when the realm was created. Corresponds to the JSON property createTime

Returns:

  • (String)


4409
4410
4411
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4409

def create_time
  @create_time
end

#labelsHash<String,String>

Optional. Optional list of labels applied to the resource. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


4414
4415
4416
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4414

def labels
  @labels
end

#nameString

Identifier. Resource name, in the form projects/project/locations/global/ sacRealms/sacRealm`. Corresponds to the JSON propertyname`

Returns:

  • (String)


4420
4421
4422
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4420

def name
  @name
end

#pairing_keyGoogle::Apis::NetworksecurityV1::SacRealmPairingKey

Key to be shared with SSE service provider to establish global handshake. Corresponds to the JSON property pairingKey



4425
4426
4427
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4425

def pairing_key
  @pairing_key
end

#security_serviceString

Immutable. SSE service provider associated with the realm. Corresponds to the JSON property securityService

Returns:

  • (String)


4430
4431
4432
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4430

def security_service
  @security_service
end

#stateString

Output only. State of the realm. Corresponds to the JSON property state

Returns:

  • (String)


4435
4436
4437
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4435

def state
  @state
end

#update_timeString

Output only. Timestamp when the realm was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


4440
4441
4442
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4440

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4447
4448
4449
4450
4451
4452
4453
4454
4455
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4447

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @pairing_key = args[:pairing_key] if args.key?(:pairing_key)
  @security_service = args[:security_service] if args.key?(:security_service)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
end