Class: Google::Apis::BeyondcorpV1alpha::CloudSecurityZerotrustApplinkAppConnectorProtoGateway
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::CloudSecurityZerotrustApplinkAppConnectorProtoGateway
- 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
Gateway represents a GCE VM Instance endpoint for use by IAP TCP.
Instance Attribute Summary collapse
-
#interface ⇒ String
interface specifies the network interface of the gateway to connect to.
-
#name ⇒ String
name is the name of an instance running a gateway.
-
#port ⇒ Fixnum
port specifies the port of the gateway for tunnel connections from the connectors.
-
#project ⇒ String
project is the tenant project the gateway belongs to.
-
#self_link ⇒ String
self_link is the gateway URL in the form https://www.googleapis.com/compute/$` version
/projects/$
project/zones/$
zone/instances/$
instanceCorresponds to the JSON property
selfLink`. -
#zone ⇒ String
zone represents the zone the instance belongs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudSecurityZerotrustApplinkAppConnectorProtoGateway
constructor
A new instance of CloudSecurityZerotrustApplinkAppConnectorProtoGateway.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudSecurityZerotrustApplinkAppConnectorProtoGateway
Returns a new instance of CloudSecurityZerotrustApplinkAppConnectorProtoGateway.
372 373 374 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 372 def initialize(**args) update!(**args) end |
Instance Attribute Details
#interface ⇒ String
interface specifies the network interface of the gateway to connect to.
Corresponds to the JSON property interface
332 333 334 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 332 def interface @interface end |
#name ⇒ String
name is the name of an instance running a gateway. It is the unique ID for a
gateway. All gateways under the same connection have the same prefix. It is
derived from the gateway URL. For example, name=$instance
assuming a gateway
URL. https://www.googleapis.com/compute/$`version`/projects/$`project`/zones/$`
zone/instances/$
instance
Corresponds to the JSON property
name`
341 342 343 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 341 def name @name end |
#port ⇒ Fixnum
port specifies the port of the gateway for tunnel connections from the
connectors.
Corresponds to the JSON property port
347 348 349 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 347 def port @port end |
#project ⇒ String
project is the tenant project the gateway belongs to. Different from the
project in the connection, it is a BeyondCorpAPI internally created project to
manage all the gateways. It is sharing the same network with the consumer
project user owned. It is derived from the gateway URL. For example, project=$
project
assuming a gateway URL. https://www.googleapis.com/compute/$`version`/
projects/$project
/zones/$zone
/instances/$instance
Corresponds to the JSON property project
357 358 359 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 357 def project @project end |
#self_link ⇒ String
self_link is the gateway URL in the form https://www.googleapis.com/compute/$`
version/projects/$
project/zones/$
zone/instances/$
instance
Corresponds to the JSON property
selfLink`
363 364 365 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 363 def self_link @self_link end |
#zone ⇒ String
zone represents the zone the instance belongs. It is derived from the gateway
URL. For example, zone=$zone
assuming a gateway URL. https://www.googleapis.
com/compute/$version
/projects/$project
/zones/$zone
/instances/$instance
Corresponds to the JSON property zone
370 371 372 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 370 def zone @zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
377 378 379 380 381 382 383 384 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 377 def update!(**args) @interface = args[:interface] if args.key?(:interface) @name = args[:name] if args.key?(:name) @port = args[:port] if args.key?(:port) @project = args[:project] if args.key?(:project) @self_link = args[:self_link] if args.key?(:self_link) @zone = args[:zone] if args.key?(:zone) end |