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.



2669
2670
2671
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2669

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)


2667
2668
2669
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2667

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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