Class: Google::Apis::NetworkconnectivityV1::PscConfig
- Inherits:
-
Object
- Object
- Google::Apis::NetworkconnectivityV1::PscConfig
- 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
Overview
Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
Instance Attribute Summary collapse
-
#limit ⇒ Fixnum
Optional.
-
#subnetworks ⇒ Array<String>
The resource paths of subnetworks to use for IP address management.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PscConfig
constructor
A new instance of PscConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PscConfig
Returns a new instance of PscConfig.
1877 1878 1879 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1877 def initialize(**args) update!(**args) end |
Instance Attribute Details
#limit ⇒ Fixnum
Optional. Max number of PSC connections for this policy.
Corresponds to the JSON property limit
1869 1870 1871 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1869 def limit @limit end |
#subnetworks ⇒ Array<String>
The resource paths of subnetworks to use for IP address management. Example:
projects/projectNumOrId/regions/region/subnetworks/resourceId.
Corresponds to the JSON property subnetworks
1875 1876 1877 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1875 def subnetworks @subnetworks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1882 1883 1884 1885 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1882 def update!(**args) @limit = args[:limit] if args.key?(:limit) @subnetworks = args[:subnetworks] if args.key?(:subnetworks) end |