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.



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

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)


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

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


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

def labels
  @labels
end

#nameString

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

Returns:

  • (String)


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

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



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

def pairing_key
  @pairing_key
end

#security_serviceString

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

Returns:

  • (String)


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

def security_service
  @security_service
end

#stateString

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

Returns:

  • (String)


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

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


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

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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