Class: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1p5beta1/classes.rb,
lib/google/apis/cloudasset_v1p5beta1/representations.rb,
lib/google/apis/cloudasset_v1p5beta1/representations.rb
Overview
Sub-segment ranges inside of a VPC Network.
Instance Attribute Summary collapse
-
#network ⇒ String
Required.
-
#vpc_ip_subnetworks ⇒ Array<String>
CIDR block IP subnetwork specification.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
constructor
A new instance of GoogleIdentityAccesscontextmanagerV1VpcSubNetwork.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
Returns a new instance of GoogleIdentityAccesscontextmanagerV1VpcSubNetwork.
1962 1963 1964 |
# File 'lib/google/apis/cloudasset_v1p5beta1/classes.rb', line 1962 def initialize(**args) update!(**args) end |
Instance Attribute Details
#network ⇒ String
Required. Network name. If the network is not part of the organization, the
compute.network.get
permission must be granted to the caller. Format: //
compute.googleapis.com/projects/
PROJECT_ID/global/networks/
NETWORK_NAME`
Example:
//compute.googleapis.com/projects/my-project/global/networks/network-
1
Corresponds to the JSON property
network`
1950 1951 1952 |
# File 'lib/google/apis/cloudasset_v1p5beta1/classes.rb', line 1950 def network @network end |
#vpc_ip_subnetworks ⇒ Array<String>
CIDR block IP subnetwork specification. The IP address must be an IPv4 address
and can be a public or private IP address. Note that for a CIDR IP address
block, the specified IP address portion must be properly truncated (i.e. all
the host bits must be zero) or the input is considered malformed. For example,
"192.0.2.0/24" is accepted but "192.0.2.1/24" is not. If empty, all IP
addresses are allowed.
Corresponds to the JSON property vpcIpSubnetworks
1960 1961 1962 |
# File 'lib/google/apis/cloudasset_v1p5beta1/classes.rb', line 1960 def vpc_ip_subnetworks @vpc_ip_subnetworks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1967 1968 1969 1970 |
# File 'lib/google/apis/cloudasset_v1p5beta1/classes.rb', line 1967 def update!(**args) @network = args[:network] if args.key?(:network) @vpc_ip_subnetworks = args[:vpc_ip_subnetworks] if args.key?(:vpc_ip_subnetworks) end |