Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Overview
Network configuration for the APIM service extension.
Instance Attribute Summary collapse
-
#region ⇒ String
Required.
-
#subnet ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig
constructor
A new instance of GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig
Returns a new instance of GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig.
1642 1643 1644 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1642 def initialize(**args) update!(**args) end |
Instance Attribute Details
#region ⇒ String
Required. The region for the PSC NEG.
Corresponds to the JSON property region
1634 1635 1636 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1634 def region @region end |
#subnet ⇒ String
Required. The subnet for the PSC NEG. Format: projects/project/regions/
region/subnetworks/subnet
Corresponds to the JSON property subnet
1640 1641 1642 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1640 def subnet @subnet end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1647 1648 1649 1650 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1647 def update!(**args) @region = args[:region] if args.key?(:region) @subnet = args[:subnet] if args.key?(:subnet) end |