Class: Google::Apis::NetworkconnectivityV1::LinkedProducerVpcNetwork
- Inherits:
-
Object
- Object
- Google::Apis::NetworkconnectivityV1::LinkedProducerVpcNetwork
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkconnectivity_v1/classes.rb,
lib/google/apis/networkconnectivity_v1/representations.rb,
lib/google/apis/networkconnectivity_v1/representations.rb
Instance Attribute Summary collapse
-
#exclude_export_ranges ⇒ Array<String>
Optional.
-
#include_export_ranges ⇒ Array<String>
Optional.
-
#network ⇒ String
Immutable.
-
#peering ⇒ String
Immutable.
-
#producer_network ⇒ String
Output only.
-
#proposed_exclude_export_ranges ⇒ Array<String>
Output only.
-
#proposed_include_export_ranges ⇒ Array<String>
Output only.
-
#service_consumer_vpc_spoke ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LinkedProducerVpcNetwork
constructor
A new instance of LinkedProducerVpcNetwork.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LinkedProducerVpcNetwork
Returns a new instance of LinkedProducerVpcNetwork.
1664 1665 1666 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1664 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exclude_export_ranges ⇒ Array<String>
Optional. IP ranges encompassing the subnets to be excluded from peering.
Corresponds to the JSON property excludeExportRanges
1622 1623 1624 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1622 def exclude_export_ranges @exclude_export_ranges end |
#include_export_ranges ⇒ Array<String>
Optional. IP ranges allowed to be included from peering.
Corresponds to the JSON property includeExportRanges
1627 1628 1629 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1627 def include_export_ranges @include_export_ranges end |
#network ⇒ String
Immutable. The URI of the Service Consumer VPC that the Producer VPC is peered
with.
Corresponds to the JSON property network
1633 1634 1635 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1633 def network @network end |
#peering ⇒ String
Immutable. The name of the VPC peering between the Service Consumer VPC and
the Producer VPC (defined in the Tenant project) which is added to the NCC hub.
This peering must be in ACTIVE state.
Corresponds to the JSON property peering
1640 1641 1642 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1640 def peering @peering end |
#producer_network ⇒ String
Output only. The URI of the Producer VPC.
Corresponds to the JSON property producerNetwork
1645 1646 1647 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1645 def producer_network @producer_network end |
#proposed_exclude_export_ranges ⇒ Array<String>
Output only. The proposed exclude export IP ranges waiting for hub
administration's approval.
Corresponds to the JSON property proposedExcludeExportRanges
1651 1652 1653 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1651 def proposed_exclude_export_ranges @proposed_exclude_export_ranges end |
#proposed_include_export_ranges ⇒ Array<String>
Output only. The proposed include export IP ranges waiting for hub
administration's approval.
Corresponds to the JSON property proposedIncludeExportRanges
1657 1658 1659 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1657 def proposed_include_export_ranges @proposed_include_export_ranges end |
#service_consumer_vpc_spoke ⇒ String
Output only. The Service Consumer Network spoke.
Corresponds to the JSON property serviceConsumerVpcSpoke
1662 1663 1664 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1662 def service_consumer_vpc_spoke @service_consumer_vpc_spoke end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1669 def update!(**args) @exclude_export_ranges = args[:exclude_export_ranges] if args.key?(:exclude_export_ranges) @include_export_ranges = args[:include_export_ranges] if args.key?(:include_export_ranges) @network = args[:network] if args.key?(:network) @peering = args[:peering] if args.key?(:peering) @producer_network = args[:producer_network] if args.key?(:producer_network) @proposed_exclude_export_ranges = args[:proposed_exclude_export_ranges] if args.key?(:proposed_exclude_export_ranges) @proposed_include_export_ranges = args[:proposed_include_export_ranges] if args.key?(:proposed_include_export_ranges) @service_consumer_vpc_spoke = args[:service_consumer_vpc_spoke] if args.key?(:service_consumer_vpc_spoke) end |