Google Cloud Service Usage V1 Client - Class EnableServiceResponse (2.1.0)

Reference documentation and code samples for the Google Cloud Service Usage V1 Client class EnableServiceResponse.

Response message for the EnableService method.

This response message is assigned to the response field of the returned Operation when that operation is done.

Generated from protobuf message google.api.serviceusage.v1.EnableServiceResponse

Namespace

Google \ Cloud \ ServiceUsage \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ service Service

The new state of the service after enabling.

getService

The new state of the service after enabling.

Returns
Type Description
Service|null

hasService

clearService

setService

The new state of the service after enabling.

Parameter
Name Description
var Service
Returns
Type Description
$this

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.