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.



1660
1661
1662
# File 'lib/google/apis/apigee_v1/classes.rb', line 1660

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)


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

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)


1658
1659
1660
# File 'lib/google/apis/apigee_v1/classes.rb', line 1658

def subnet
  @subnet
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1665
1666
1667
1668
# File 'lib/google/apis/apigee_v1/classes.rb', line 1665

def update!(**args)
  @region = args[:region] if args.key?(:region)
  @subnet = args[:subnet] if args.key?(:subnet)
end