Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpNetconnectionsV1alphaNetConnection
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpNetconnectionsV1alphaNetConnection
- 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
-
#connectors ⇒ Array<String>
Optional.
-
#create_time ⇒ String
Output only.
-
#destination_cidrs ⇒ Array<String>
Required.
-
#display_name ⇒ String
Optional.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Required.
-
#network_vpc ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#uid ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBeyondcorpNetconnectionsV1alphaNetConnection
constructor
A new instance of GoogleCloudBeyondcorpNetconnectionsV1alphaNetConnection.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#connectors ⇒ Array<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
2338 2339 2340 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2338 def connectors @connectors end |
#create_time ⇒ String
Output only. Timestamp when the resource was created.
Corresponds to the JSON property createTime
2343 2344 2345 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2343 def create_time @create_time end |
#destination_cidrs ⇒ Array<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
2349 2350 2351 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2349 def destination_cidrs @destination_cidrs end |
#display_name ⇒ String
Optional. An arbitrary user-provided name for the NetConnection. Cannot exceed
64 characters.
Corresponds to the JSON property displayName
2355 2356 2357 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2355 def display_name @display_name end |
#labels ⇒ Hash<String,String>
Optional. Resource labels to represent user provided metadata.
Corresponds to the JSON property labels
2360 2361 2362 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2360 def labels @labels end |
#name ⇒ String
Required. Unique resource name of the NetConnection. The name is ignored when
creating a NetConnection.
Corresponds to the JSON property name
2366 2367 2368 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2366 def name @name end |
#network_vpc ⇒ String
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
2372 2373 2374 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2372 def network_vpc @network_vpc end |
#state ⇒ String
Output only. The current state of the NetConnection.
Corresponds to the JSON property state
2377 2378 2379 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2377 def state @state end |
#uid ⇒ String
Output only. A unique identifier for the instance generated by the system.
Corresponds to the JSON property uid
2382 2383 2384 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2382 def uid @uid end |
#update_time ⇒ String
Output only. Timestamp when the resource was last modified.
Corresponds to the JSON property updateTime
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 |