Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamNetwork

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

Network to forward traffic to.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamNetwork

Returns a new instance of GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamNetwork.



2677
2678
2679
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2677

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

Instance Attribute Details

#nameString

Required. Network name is of the format: projects/project/global/networks/ network Corresponds to the JSON propertyname`

Returns:

  • (String)


2675
2676
2677
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2675

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2682
2683
2684
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2682

def update!(**args)
  @name = args[:name] if args.key?(:name)
end