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.



1651
1652
1653
# File 'lib/google/apis/apigee_v1/classes.rb', line 1651

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)


1643
1644
1645
# File 'lib/google/apis/apigee_v1/classes.rb', line 1643

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)


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