Class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork

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

Overview

Network to forward traffic to.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork

Returns a new instance of GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork.



1810
1811
1812
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1810

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)


1808
1809
1810
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1808

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1815
1816
1817
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1815

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