Class: Google::Apis::ComputeAlpha::NetworkPlacementNetworkFeatures

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworkPlacementNetworkFeatures

Returns a new instance of NetworkPlacementNetworkFeatures.



29578
29579
29580
# File 'lib/google/apis/compute_alpha/classes.rb', line 29578

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#allow_auto_mode_subnetString

Specifies whether auto mode subnet creation is allowed. Corresponds to the JSON property allowAutoModeSubnet

Returns:

  • (String)


29490
29491
29492
# File 'lib/google/apis/compute_alpha/classes.rb', line 29490

def allow_auto_mode_subnet
  @allow_auto_mode_subnet
end

#allow_cloud_natString

Specifies whether cloud NAT creation is allowed. Corresponds to the JSON property allowCloudNat

Returns:

  • (String)


29495
29496
29497
# File 'lib/google/apis/compute_alpha/classes.rb', line 29495

def allow_cloud_nat
  @allow_cloud_nat
end

#allow_cloud_routerString

Specifies whether cloud router creation is allowed. Corresponds to the JSON property allowCloudRouter

Returns:

  • (String)


29500
29501
29502
# File 'lib/google/apis/compute_alpha/classes.rb', line 29500

def allow_cloud_router
  @allow_cloud_router
end

#allow_interconnectString

Specifies whether Cloud Interconnect creation is allowed. Corresponds to the JSON property allowInterconnect

Returns:

  • (String)


29505
29506
29507
# File 'lib/google/apis/compute_alpha/classes.rb', line 29505

def allow_interconnect
  @allow_interconnect
end

#allow_load_balancingString

Specifies whether cloud load balancing is allowed. Corresponds to the JSON property allowLoadBalancing

Returns:

  • (String)


29510
29511
29512
# File 'lib/google/apis/compute_alpha/classes.rb', line 29510

def allow_load_balancing
  @allow_load_balancing
end

#allow_multi_nic_in_same_networkString

Specifies whether multi-nic in the same network is allowed. Corresponds to the JSON property allowMultiNicInSameNetwork

Returns:

  • (String)


29515
29516
29517
# File 'lib/google/apis/compute_alpha/classes.rb', line 29515

def allow_multi_nic_in_same_network
  @allow_multi_nic_in_same_network
end

#allow_packet_mirroringString

Specifies whether Packet Mirroring 1.0 is supported. Corresponds to the JSON property allowPacketMirroring

Returns:

  • (String)


29520
29521
29522
# File 'lib/google/apis/compute_alpha/classes.rb', line 29520

def allow_packet_mirroring
  @allow_packet_mirroring
end

#allow_private_google_accessString

Specifies whether private Google access is allowed. Corresponds to the JSON property allowPrivateGoogleAccess

Returns:

  • (String)


29525
29526
29527
# File 'lib/google/apis/compute_alpha/classes.rb', line 29525

def allow_private_google_access
  @allow_private_google_access
end

#allow_pscString

Specifies whether PSC creation is allowed. Corresponds to the JSON property allowPsc

Returns:

  • (String)


29530
29531
29532
# File 'lib/google/apis/compute_alpha/classes.rb', line 29530

def allow_psc
  @allow_psc
end

#allow_same_network_unicastString

Specifies whether unicast within the same network is allowed. Corresponds to the JSON property allowSameNetworkUnicast

Returns:

  • (String)


29535
29536
29537
# File 'lib/google/apis/compute_alpha/classes.rb', line 29535

def allow_same_network_unicast
  @allow_same_network_unicast
end

#allow_static_routesString

Specifies whether static route creation is allowed. Corresponds to the JSON property allowStaticRoutes

Returns:

  • (String)


29540
29541
29542
# File 'lib/google/apis/compute_alpha/classes.rb', line 29540

def allow_static_routes
  @allow_static_routes
end

#allow_vpc_peeringString

Specifies whether VPC peering is allowed. Corresponds to the JSON property allowVpcPeering

Returns:

  • (String)


29545
29546
29547
# File 'lib/google/apis/compute_alpha/classes.rb', line 29545

def allow_vpc_peering
  @allow_vpc_peering
end

#allow_vpnString

Specifies whether VPN creation is allowed. Corresponds to the JSON property allowVpn

Returns:

  • (String)


29550
29551
29552
# File 'lib/google/apis/compute_alpha/classes.rb', line 29550

def allow_vpn
  @allow_vpn
end

#allowed_subnet_purposesArray<String>

Specifies which subnetwork purposes are supported. Corresponds to the JSON property allowedSubnetPurposes

Returns:

  • (Array<String>)


29555
29556
29557
# File 'lib/google/apis/compute_alpha/classes.rb', line 29555

def allowed_subnet_purposes
  @allowed_subnet_purposes
end

#allowed_subnet_stack_typesArray<String>

Specifies which subnetwork stack types are supported. Corresponds to the JSON property allowedSubnetStackTypes

Returns:

  • (Array<String>)


29560
29561
29562
# File 'lib/google/apis/compute_alpha/classes.rb', line 29560

def allowed_subnet_stack_types
  @allowed_subnet_stack_types
end

#interface_typesArray<String>

If set, limits the interface types that the network supports. If empty, all interface types are supported. Corresponds to the JSON property interfaceTypes

Returns:

  • (Array<String>)


29566
29567
29568
# File 'lib/google/apis/compute_alpha/classes.rb', line 29566

def interface_types
  @interface_types
end

#multicastString

Specifies which type of multicast is supported. Corresponds to the JSON property multicast

Returns:

  • (String)


29571
29572
29573
# File 'lib/google/apis/compute_alpha/classes.rb', line 29571

def multicast
  @multicast
end

#unicastString

Specifies which type of unicast is supported. Corresponds to the JSON property unicast

Returns:

  • (String)


29576
29577
29578
# File 'lib/google/apis/compute_alpha/classes.rb', line 29576

def unicast
  @unicast
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29583
29584
29585
29586
29587
29588
29589
29590
29591
29592
29593
29594
29595
29596
29597
29598
29599
29600
29601
29602
# File 'lib/google/apis/compute_alpha/classes.rb', line 29583

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