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.



2278
2279
2280
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 2278

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



2276
2277
2278
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 2276

def vpc_subnetwork
  @vpc_subnetwork
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2283
2284
2285
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 2283

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