Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpNetconnectionsV1alphaNetConnection

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/beyondcorp_v1alpha/classes.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb

Overview

A BeyondCorp NetConnection resource represents a BeyondCorp protected connection from BeyondCorp Client Connector to a remote application through a BeyondCorp AppConnector gateway.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpNetconnectionsV1alphaNetConnection

Returns a new instance of GoogleCloudBeyondcorpNetconnectionsV1alphaNetConnection.



2389
2390
2391
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2389

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

Instance Attribute Details

#connectorsArray<String>

Optional. List of [google.cloud.beyondcorp.v1main.AppConnector.name] that are authorized to be associated with this NetConnection. e.g. projects/project/ locations/location/appConnectors/app_connector Corresponds to the JSON property connectors

Returns:

  • (Array<String>)


2338
2339
2340
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2338

def connectors
  @connectors
end

#create_timeString

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

Returns:

  • (String)


2343
2344
2345
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2343

def create_time
  @create_time
end

#destination_cidrsArray<String>

Required. CIDRs for the remote networks to connect to. e.g. IPv4: 198.51.100. 14/24 IPv6: 2001:db8::/48 Corresponds to the JSON property destinationCidrs

Returns:

  • (Array<String>)


2349
2350
2351
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2349

def destination_cidrs
  @destination_cidrs
end

#display_nameString

Optional. An arbitrary user-provided name for the NetConnection. Cannot exceed 64 characters. Corresponds to the JSON property displayName

Returns:

  • (String)


2355
2356
2357
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2355

def display_name
  @display_name
end

#labelsHash<String,String>

Optional. Resource labels to represent user provided metadata. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


2360
2361
2362
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2360

def labels
  @labels
end

#nameString

Required. Unique resource name of the NetConnection. The name is ignored when creating a NetConnection. Corresponds to the JSON property name

Returns:

  • (String)


2366
2367
2368
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2366

def name
  @name
end

#network_vpcString

Output only. The full name of the VPC network connected to the applications. Client Connector will send traffic here. Corresponds to the JSON property networkVpc

Returns:

  • (String)


2372
2373
2374
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2372

def network_vpc
  @network_vpc
end

#stateString

Output only. The current state of the NetConnection. Corresponds to the JSON property state

Returns:

  • (String)


2377
2378
2379
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2377

def state
  @state
end

#uidString

Output only. A unique identifier for the instance generated by the system. Corresponds to the JSON property uid

Returns:

  • (String)


2382
2383
2384
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2382

def uid
  @uid
end

#update_timeString

Output only. Timestamp when the resource was last modified. Corresponds to the JSON property updateTime

Returns:

  • (String)


2387
2388
2389
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2387

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2394

def update!(**args)
  @connectors = args[:connectors] if args.key?(:connectors)
  @create_time = args[:create_time] if args.key?(:create_time)
  @destination_cidrs = args[:destination_cidrs] if args.key?(:destination_cidrs)
  @display_name = args[:display_name] if args.key?(:display_name)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @network_vpc = args[:network_vpc] if args.key?(:network_vpc)
  @state = args[:state] if args.key?(:state)
  @uid = args[:uid] if args.key?(:uid)
  @update_time = args[:update_time] if args.key?(:update_time)
end