ServicesResourceApi class

Constructors

ServicesResourceApi(ApiRequester client)

Properties

connections ServicesConnectionsResourceApi
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
roles ServicesRolesResourceApi
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addSubnetwork(AddSubnetworkRequest request, String parent, {String $fields}) Future<Operation>
For service producers, provisions a new subnet in a peered service's shared VPC network in the requested region and with the requested size that's expressed as a CIDR range (number of leading bits of ipV4 network mask). The method checks against the assigned allocated ranges to find a non-conflicting IP address range. The method will reuse a subnet if subsequent calls contain the same subnet name, region, and prefix length. This method will make producer's tenant project to be a shared VPC service project as needed. [...]
disableVpcServiceControls(DisableVpcServiceControlsRequest request, String parent, {String $fields}) Future<Operation>
Disables VPC service controls for a connection. [...]
enableVpcServiceControls(EnableVpcServiceControlsRequest request, String parent, {String $fields}) Future<Operation>
Enables VPC service controls for a connection. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
searchRange(SearchRangeRequest request, String parent, {String $fields}) Future<Operation>
Service producers can use this method to find a currently unused range within consumer allocated ranges. This returned range is not reserved, and not guaranteed to remain unused. It will validate previously provided allocated ranges, find non-conflicting sub-range of requested size (expressed in number of leading bits of ipv4 network mask, as in CIDR range notation). [...]
toString() String
Returns a string representation of this object.
inherited
validate(ValidateConsumerConfigRequest request, String parent, {String $fields}) Future<ValidateConsumerConfigResponse>
Service producers use this method to validate if the consumer provided network, project and requested range are valid. This allows them to use a fail-fast mechanism for consumer requests, and not have to wait for AddSubnetwork operation completion to determine if user request is invalid. [...]

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited