Class: Google::Apis::AccesscontextmanagerV1::VpcNetworkSource

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

Overview

The originating network source in Google Cloud.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VpcNetworkSource

Returns a new instance of VpcNetworkSource.



2341
2342
2343
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 2341

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

Instance Attribute Details

#vpc_subnetworkGoogle::Apis::AccesscontextmanagerV1::VpcSubNetwork

Sub-segment ranges inside of a VPC Network. Corresponds to the JSON property vpcSubnetwork



2339
2340
2341
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 2339

def vpc_subnetwork
  @vpc_subnetwork
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2346
2347
2348
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 2346

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