Class: Google::Apis::ServicenetworkingV1beta::ConsumerConfig
- Inherits:
-
Object
- Object
- Google::Apis::ServicenetworkingV1beta::ConsumerConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/servicenetworking_v1beta/classes.rb,
generated/google/apis/servicenetworking_v1beta/representations.rb,
generated/google/apis/servicenetworking_v1beta/representations.rb
Overview
Configuration information for a private service access connection.
Instance Attribute Summary collapse
-
#consumer_export_custom_routes ⇒ Boolean
(also: #consumer_export_custom_routes?)
Export custom routes flag value for peering from consumer to producer.
-
#consumer_export_subnet_routes_with_public_ip ⇒ Boolean
(also: #consumer_export_subnet_routes_with_public_ip?)
Export subnet routes with public ip flag value for peering from consumer to producer.
-
#consumer_import_custom_routes ⇒ Boolean
(also: #consumer_import_custom_routes?)
Import custom routes flag value for peering from consumer to producer.
-
#consumer_import_subnet_routes_with_public_ip ⇒ Boolean
(also: #consumer_import_subnet_routes_with_public_ip?)
Import subnet routes with public ip flag value for peering from consumer to producer.
-
#producer_export_custom_routes ⇒ Boolean
(also: #producer_export_custom_routes?)
Export custom routes flag value for peering from producer to consumer.
-
#producer_export_subnet_routes_with_public_ip ⇒ Boolean
(also: #producer_export_subnet_routes_with_public_ip?)
Export subnet routes with public ip flag value for peering from producer to consumer.
-
#producer_import_custom_routes ⇒ Boolean
(also: #producer_import_custom_routes?)
Import custom routes flag value for peering from producer to consumer.
-
#producer_import_subnet_routes_with_public_ip ⇒ Boolean
(also: #producer_import_subnet_routes_with_public_ip?)
Import subnet routes with public ip flag value for peering from producer to consumer.
-
#producer_network ⇒ String
Output only.
-
#reserved_ranges ⇒ Array<Google::Apis::ServicenetworkingV1beta::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConsumerConfig
constructor
A new instance of ConsumerConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConsumerConfig
Returns a new instance of ConsumerConfig.
757 758 759 |
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 757 def initialize(**args) update!(**args) end |
Instance Attribute Details
#consumer_export_custom_routes ⇒ Boolean Also known as: consumer_export_custom_routes?
Export custom routes flag value for peering from consumer to producer.
Corresponds to the JSON property consumerExportCustomRoutes
695 696 697 |
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 695 def consumer_export_custom_routes @consumer_export_custom_routes end |
#consumer_export_subnet_routes_with_public_ip ⇒ Boolean Also known as: consumer_export_subnet_routes_with_public_ip?
Export subnet routes with public ip flag value for peering from consumer to
producer.
Corresponds to the JSON property consumerExportSubnetRoutesWithPublicIp
702 703 704 |
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 702 def consumer_export_subnet_routes_with_public_ip @consumer_export_subnet_routes_with_public_ip end |
#consumer_import_custom_routes ⇒ Boolean Also known as: consumer_import_custom_routes?
Import custom routes flag value for peering from consumer to producer.
Corresponds to the JSON property consumerImportCustomRoutes
708 709 710 |
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 708 def consumer_import_custom_routes @consumer_import_custom_routes end |
#consumer_import_subnet_routes_with_public_ip ⇒ Boolean Also known as: consumer_import_subnet_routes_with_public_ip?
Import subnet routes with public ip flag value for peering from consumer to
producer.
Corresponds to the JSON property consumerImportSubnetRoutesWithPublicIp
715 716 717 |
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 715 def consumer_import_subnet_routes_with_public_ip @consumer_import_subnet_routes_with_public_ip end |
#producer_export_custom_routes ⇒ Boolean Also known as: producer_export_custom_routes?
Export custom routes flag value for peering from producer to consumer.
Corresponds to the JSON property producerExportCustomRoutes
721 722 723 |
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 721 def producer_export_custom_routes @producer_export_custom_routes end |
#producer_export_subnet_routes_with_public_ip ⇒ Boolean Also known as: producer_export_subnet_routes_with_public_ip?
Export subnet routes with public ip flag value for peering from producer to
consumer.
Corresponds to the JSON property producerExportSubnetRoutesWithPublicIp
728 729 730 |
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 728 def producer_export_subnet_routes_with_public_ip @producer_export_subnet_routes_with_public_ip end |
#producer_import_custom_routes ⇒ Boolean Also known as: producer_import_custom_routes?
Import custom routes flag value for peering from producer to consumer.
Corresponds to the JSON property producerImportCustomRoutes
734 735 736 |
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 734 def producer_import_custom_routes @producer_import_custom_routes end |
#producer_import_subnet_routes_with_public_ip ⇒ Boolean Also known as: producer_import_subnet_routes_with_public_ip?
Import subnet routes with public ip flag value for peering from producer to
consumer.
Corresponds to the JSON property producerImportSubnetRoutesWithPublicIp
741 742 743 |
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 741 def producer_import_subnet_routes_with_public_ip @producer_import_subnet_routes_with_public_ip end |
#producer_network ⇒ String
Output only. The VPC host network that is used to host managed service
instances. In the format, projects/project
/global/networks/network
where
project
is the project number e.g. '12345' and network
is the network name.
Corresponds to the JSON property producerNetwork
749 750 751 |
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 749 def producer_network @producer_network end |
#reserved_ranges ⇒ Array<Google::Apis::ServicenetworkingV1beta::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange>
Output only. The reserved ranges associated with this private service access
connection.
Corresponds to the JSON property reservedRanges
755 756 757 |
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 755 def reserved_ranges @reserved_ranges end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
762 763 764 765 766 767 768 769 770 771 772 773 |
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 762 def update!(**args) @consumer_export_custom_routes = args[:consumer_export_custom_routes] if args.key?(:consumer_export_custom_routes) @consumer_export_subnet_routes_with_public_ip = args[:consumer_export_subnet_routes_with_public_ip] if args.key?(:consumer_export_subnet_routes_with_public_ip) @consumer_import_custom_routes = args[:consumer_import_custom_routes] if args.key?(:consumer_import_custom_routes) @consumer_import_subnet_routes_with_public_ip = args[:consumer_import_subnet_routes_with_public_ip] if args.key?(:consumer_import_subnet_routes_with_public_ip) @producer_export_custom_routes = args[:producer_export_custom_routes] if args.key?(:producer_export_custom_routes) @producer_export_subnet_routes_with_public_ip = args[:producer_export_subnet_routes_with_public_ip] if args.key?(:producer_export_subnet_routes_with_public_ip) @producer_import_custom_routes = args[:producer_import_custom_routes] if args.key?(:producer_import_custom_routes) @producer_import_subnet_routes_with_public_ip = args[:producer_import_subnet_routes_with_public_ip] if args.key?(:producer_import_subnet_routes_with_public_ip) @producer_network = args[:producer_network] if args.key?(:producer_network) @reserved_ranges = args[:reserved_ranges] if args.key?(:reserved_ranges) end |