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.
1651 1652 1653 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1651 def initialize(**args) update!(**args) end |
Instance Attribute Details
#region ⇒ String
Required. The region for the PSC NEG.
Corresponds to the JSON property region
1643 1644 1645 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1643 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
1649 1650 1651 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1649 def subnet @subnet end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1656 1657 1658 1659 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1656 def update!(**args) @region = args[:region] if args.key?(:region) @subnet = args[:subnet] if args.key?(:subnet) end |