Class: Google::Apis::NetworksecurityV1beta1::SacAttachment

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networksecurity_v1beta1/classes.rb,
lib/google/apis/networksecurity_v1beta1/representations.rb,
lib/google/apis/networksecurity_v1beta1/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.



4287
4288
4289
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4287

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

Instance Attribute Details

#countryString

Optional. Case-insensitive ISO-3166 alpha-2 country code used for localization. Only valid for Symantec attachments. Corresponds to the JSON property country

Returns:

  • (String)


4234
4235
4236
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4234

def country
  @country
end

#create_timeString

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

Returns:

  • (String)


4239
4240
4241
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4239

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


4244
4245
4246
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4244

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)


4250
4251
4252
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4250

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)


4257
4258
4259
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4257

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)


4264
4265
4266
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4264

def sac_realm
  @sac_realm
end

#stateString

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

Returns:

  • (String)


4269
4270
4271
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4269

def state
  @state
end

#symantec_optionsGoogle::Apis::NetworksecurityV1beta1::SacAttachmentSacAttachmentSymantecOptions

Fields specific to attachments associated with Symantec Cloud SWG. Corresponds to the JSON property symantecOptions



4274
4275
4276
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4274

def symantec_options
  @symantec_options
end

#time_zoneString

Optional. Case-sensitive tzinfo identifier used for localization. Only valid for Symantec attachments. Corresponds to the JSON property timeZone

Returns:

  • (String)


4280
4281
4282
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4280

def time_zone
  @time_zone
end

#update_timeString

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

Returns:

  • (String)


4285
4286
4287
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4285

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4292

def update!(**args)
  @country = args[:country] if args.key?(:country)
  @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)
  @symantec_options = args[:symantec_options] if args.key?(:symantec_options)
  @time_zone = args[:time_zone] if args.key?(:time_zone)
  @update_time = args[:update_time] if args.key?(:update_time)
end