Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#regionString

Required. The region for the PSC NEG. Corresponds to the JSON property region

Returns:

  • (String)


1634
1635
1636
# File 'lib/google/apis/apigee_v1/classes.rb', line 1634

def region
  @region
end

#subnetString

Required. The subnet for the PSC NEG. Format: projects/project/regions/ region/subnetworks/subnet Corresponds to the JSON property subnet

Returns:

  • (String)


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