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.



4451
4452
4453
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4451

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)


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

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>)


4423
4424
4425
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4423

def labels
  @labels
end

#nameString

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

Returns:

  • (String)


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

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



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

def pairing_key
  @pairing_key
end

#security_serviceString

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

Returns:

  • (String)


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

def security_service
  @security_service
end

#stateString

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

Returns:

  • (String)


4444
4445
4446
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4444

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


4449
4450
4451
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4449

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4456
4457
4458
4459
4460
4461
4462
4463
4464
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4456

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