Class: Google::Apis::NetworksecurityV1::SacAttachment

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) attachment resource. A Secure Access Connect attachment enables NCC Gateway to process traffic with an SSE product.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SacAttachment

Returns a new instance of SacAttachment.



4383
4384
4385
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4383

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

Instance Attribute Details

#create_timeString

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

Returns:

  • (String)


4346
4347
4348
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4346

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


4351
4352
4353
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4351

def labels
  @labels
end

#nameString

Identifier. Resource name, in the form projects/project/locations/location /sacAttachments/sac_attachment`. Corresponds to the JSON propertyname`

Returns:

  • (String)


4357
4358
4359
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4357

def name
  @name
end

#ncc_gatewayString

Required. NCC Gateway associated with the attachment. This can be input as an ID or a full resource name. The output always has the form projects/ project_number/locations/location/spokes/ncc_gateway`. Corresponds to the JSON propertynccGateway`

Returns:

  • (String)


4364
4365
4366
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4364

def ncc_gateway
  @ncc_gateway
end

#sac_realmString

Required. SAC Realm which owns the attachment. This can be input as an ID or a full resource name. The output always has the form projects/project_number/ locations/location/sacRealms/sac_realm`. Corresponds to the JSON propertysacRealm`

Returns:

  • (String)


4371
4372
4373
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4371

def sac_realm
  @sac_realm
end

#stateString

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

Returns:

  • (String)


4376
4377
4378
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4376

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


4381
4382
4383
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4381

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4388
4389
4390
4391
4392
4393
4394
4395
4396
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4388

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)
  @ncc_gateway = args[:ncc_gateway] if args.key?(:ncc_gateway)
  @sac_realm = args[:sac_realm] if args.key?(:sac_realm)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
end