Class: Google::Apis::ComputeAlpha::NetworkPlacementNetworkFeatures
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::NetworkPlacementNetworkFeatures
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#allow_auto_mode_subnet ⇒ String
Specifies whether auto mode subnet creation is allowed.
-
#allow_cloud_nat ⇒ String
Specifies whether cloud NAT creation is allowed.
-
#allow_cloud_router ⇒ String
Specifies whether cloud router creation is allowed.
-
#allow_interconnect ⇒ String
Specifies whether Cloud Interconnect creation is allowed.
-
#allow_load_balancing ⇒ String
Specifies whether cloud load balancing is allowed.
-
#allow_multi_nic_in_same_network ⇒ String
Specifies whether multi-nic in the same network is allowed.
-
#allow_packet_mirroring ⇒ String
Specifies whether Packet Mirroring 1.0 is supported.
-
#allow_private_google_access ⇒ String
Specifies whether private Google access is allowed.
-
#allow_psc ⇒ String
Specifies whether PSC creation is allowed.
-
#allow_same_network_unicast ⇒ String
Specifies whether unicast within the same network is allowed.
-
#allow_static_routes ⇒ String
Specifies whether static route creation is allowed.
-
#allow_vpc_peering ⇒ String
Specifies whether VPC peering is allowed.
-
#allow_vpn ⇒ String
Specifies whether VPN creation is allowed.
-
#allowed_subnet_purposes ⇒ Array<String>
Specifies which subnetwork purposes are supported.
-
#allowed_subnet_stack_types ⇒ Array<String>
Specifies which subnetwork stack types are supported.
-
#interface_types ⇒ Array<String>
If set, limits the interface types that the network supports.
-
#multicast ⇒ String
Specifies which type of multicast is supported.
-
#unicast ⇒ String
Specifies which type of unicast is supported.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NetworkPlacementNetworkFeatures
constructor
A new instance of NetworkPlacementNetworkFeatures.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NetworkPlacementNetworkFeatures
Returns a new instance of NetworkPlacementNetworkFeatures.
29855 29856 29857 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29855 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_auto_mode_subnet ⇒ String
Specifies whether auto mode subnet creation is allowed.
Corresponds to the JSON property allowAutoModeSubnet
29767 29768 29769 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29767 def allow_auto_mode_subnet @allow_auto_mode_subnet end |
#allow_cloud_nat ⇒ String
Specifies whether cloud NAT creation is allowed.
Corresponds to the JSON property allowCloudNat
29772 29773 29774 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29772 def allow_cloud_nat @allow_cloud_nat end |
#allow_cloud_router ⇒ String
Specifies whether cloud router creation is allowed.
Corresponds to the JSON property allowCloudRouter
29777 29778 29779 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29777 def allow_cloud_router @allow_cloud_router end |
#allow_interconnect ⇒ String
Specifies whether Cloud Interconnect creation is allowed.
Corresponds to the JSON property allowInterconnect
29782 29783 29784 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29782 def allow_interconnect @allow_interconnect end |
#allow_load_balancing ⇒ String
Specifies whether cloud load balancing is allowed.
Corresponds to the JSON property allowLoadBalancing
29787 29788 29789 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29787 def allow_load_balancing @allow_load_balancing end |
#allow_multi_nic_in_same_network ⇒ String
Specifies whether multi-nic in the same network is allowed.
Corresponds to the JSON property allowMultiNicInSameNetwork
29792 29793 29794 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29792 def allow_multi_nic_in_same_network @allow_multi_nic_in_same_network end |
#allow_packet_mirroring ⇒ String
Specifies whether Packet Mirroring 1.0 is supported.
Corresponds to the JSON property allowPacketMirroring
29797 29798 29799 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29797 def allow_packet_mirroring @allow_packet_mirroring end |
#allow_private_google_access ⇒ String
Specifies whether private Google access is allowed.
Corresponds to the JSON property allowPrivateGoogleAccess
29802 29803 29804 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29802 def allow_private_google_access @allow_private_google_access end |
#allow_psc ⇒ String
Specifies whether PSC creation is allowed.
Corresponds to the JSON property allowPsc
29807 29808 29809 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29807 def allow_psc @allow_psc end |
#allow_same_network_unicast ⇒ String
Specifies whether unicast within the same network is allowed.
Corresponds to the JSON property allowSameNetworkUnicast
29812 29813 29814 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29812 def allow_same_network_unicast @allow_same_network_unicast end |
#allow_static_routes ⇒ String
Specifies whether static route creation is allowed.
Corresponds to the JSON property allowStaticRoutes
29817 29818 29819 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29817 def allow_static_routes @allow_static_routes end |
#allow_vpc_peering ⇒ String
Specifies whether VPC peering is allowed.
Corresponds to the JSON property allowVpcPeering
29822 29823 29824 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29822 def allow_vpc_peering @allow_vpc_peering end |
#allow_vpn ⇒ String
Specifies whether VPN creation is allowed.
Corresponds to the JSON property allowVpn
29827 29828 29829 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29827 def allow_vpn @allow_vpn end |
#allowed_subnet_purposes ⇒ Array<String>
Specifies which subnetwork purposes are supported.
Corresponds to the JSON property allowedSubnetPurposes
29832 29833 29834 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29832 def allowed_subnet_purposes @allowed_subnet_purposes end |
#allowed_subnet_stack_types ⇒ Array<String>
Specifies which subnetwork stack types are supported.
Corresponds to the JSON property allowedSubnetStackTypes
29837 29838 29839 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29837 def allowed_subnet_stack_types @allowed_subnet_stack_types end |
#interface_types ⇒ Array<String>
If set, limits the interface types that the network supports. If empty, all
interface types are supported.
Corresponds to the JSON property interfaceTypes
29843 29844 29845 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29843 def interface_types @interface_types end |
#multicast ⇒ String
Specifies which type of multicast is supported.
Corresponds to the JSON property multicast
29848 29849 29850 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29848 def multicast @multicast end |
#unicast ⇒ String
Specifies which type of unicast is supported.
Corresponds to the JSON property unicast
29853 29854 29855 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29853 def unicast @unicast end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
29860 29861 29862 29863 29864 29865 29866 29867 29868 29869 29870 29871 29872 29873 29874 29875 29876 29877 29878 29879 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29860 def update!(**args) @allow_auto_mode_subnet = args[:allow_auto_mode_subnet] if args.key?(:allow_auto_mode_subnet) @allow_cloud_nat = args[:allow_cloud_nat] if args.key?(:allow_cloud_nat) @allow_cloud_router = args[:allow_cloud_router] if args.key?(:allow_cloud_router) @allow_interconnect = args[:allow_interconnect] if args.key?(:allow_interconnect) @allow_load_balancing = args[:allow_load_balancing] if args.key?(:allow_load_balancing) @allow_multi_nic_in_same_network = args[:allow_multi_nic_in_same_network] if args.key?(:allow_multi_nic_in_same_network) @allow_packet_mirroring = args[:allow_packet_mirroring] if args.key?(:allow_packet_mirroring) @allow_private_google_access = args[:allow_private_google_access] if args.key?(:allow_private_google_access) @allow_psc = args[:allow_psc] if args.key?(:allow_psc) @allow_same_network_unicast = args[:allow_same_network_unicast] if args.key?(:allow_same_network_unicast) @allow_static_routes = args[:allow_static_routes] if args.key?(:allow_static_routes) @allow_vpc_peering = args[:allow_vpc_peering] if args.key?(:allow_vpc_peering) @allow_vpn = args[:allow_vpn] if args.key?(:allow_vpn) @allowed_subnet_purposes = args[:allowed_subnet_purposes] if args.key?(:allowed_subnet_purposes) @allowed_subnet_stack_types = args[:allowed_subnet_stack_types] if args.key?(:allowed_subnet_stack_types) @interface_types = args[:interface_types] if args.key?(:interface_types) @multicast = args[:multicast] if args.key?(:multicast) @unicast = args[:unicast] if args.key?(:unicast) end |