You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="firstline">Deletes a managed service. This method will change the service to the `Soft-Delete` state for 30 days. Within this period, service producers may call UndeleteService to restore the service. After 30 days, the service will be permanently deleted. Operation</p>
<pclass="firstline">Enables a service for a project, so it can be used for the project. See [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for more information. Operation</p>
<pclass="firstline">Generates and returns a report (errors, warnings and changes from existing configurations) associated with GenerateConfigReportRequest.new_value If GenerateConfigReportRequest.old_value is specified, GenerateConfigReportRequest will contain a single ChangeReport based on the comparison between GenerateConfigReportRequest.new_value and GenerateConfigReportRequest.old_value. If GenerateConfigReportRequest.old_value is not specified, this method will compare GenerateConfigReportRequest.new_value with the last pushed service configuration.</p>
<pre>Enables a service for a project, so it can be used for the project. See [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for more information. Operation
217
-
218
-
Args:
219
-
serviceName: string, Required. Name of the service to enable. Specifying an unknown service name will cause the request to fail. (required)
220
-
body: object, The request body.
221
-
The object takes the form of:
222
-
223
-
{ # Request message for EnableService method.
224
-
"consumerId": "A String", # Required. The identity of consumer resource which service enablement will be applied to. The Google Service Management implementation accepts the following forms: - "project:" Note: this is made compatible with google.api.servicecontrol.v1.Operation.consumer_id.
225
-
}
226
-
227
-
x__xgafv: string, V1 error format.
228
-
Allowed values
229
-
1 - v1 error format
230
-
2 - v2 error format
231
-
232
-
Returns:
233
-
An object of the form:
234
-
235
-
{ # This resource represents a long-running operation that is the result of a network API call.
236
-
"done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
237
-
"error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
238
-
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
239
-
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
240
-
{
241
-
"a_key": "", # Properties of the object. Contains field @type with type URL.
242
-
},
243
-
],
244
-
"message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
245
-
},
246
-
"metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
247
-
"a_key": "", # Properties of the object. Contains field @type with type URL.
248
-
},
249
-
"name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
250
-
"response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
251
-
"a_key": "", # Properties of the object. Contains field @type with type URL.
<pre>Generates and returns a report (errors, warnings and changes from existing configurations) associated with GenerateConfigReportRequest.new_value If GenerateConfigReportRequest.old_value is specified, GenerateConfigReportRequest will contain a single ChangeReport based on the comparison between GenerateConfigReportRequest.new_value and GenerateConfigReportRequest.old_value. If GenerateConfigReportRequest.old_value is not specified, this method will compare GenerateConfigReportRequest.new_value with the last pushed service configuration.
"description": "Enables a service for a project, so it can be used for the project. See [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for more information. Operation",
233
-
"flatPath": "v1/services/{serviceName}:enable",
234
-
"httpMethod": "POST",
235
-
"id": "servicemanagement.services.enable",
236
-
"parameterOrder": [
237
-
"serviceName"
238
-
],
239
-
"parameters": {
240
-
"serviceName": {
241
-
"description": "Required. Name of the service to enable. Specifying an unknown service name will cause the request to fail.",
"description": "Generates and returns a report (errors, warnings and changes from existing configurations) associated with GenerateConfigReportRequest.new_value If GenerateConfigReportRequest.old_value is specified, GenerateConfigReportRequest will contain a single ChangeReport based on the comparison between GenerateConfigReportRequest.new_value and GenerateConfigReportRequest.old_value. If GenerateConfigReportRequest.old_value is not specified, this method will compare GenerateConfigReportRequest.new_value with the last pushed service configuration.",
"description": "Operation payload for DisableService method.",
1464
-
"id": "DisableServiceResponse",
1465
-
"properties": {},
1466
-
"type": "object"
1467
-
},
1468
1434
"Documentation": {
1469
1435
"description": "`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.",
1470
1436
"id": "Documentation",
@@ -1521,17 +1487,6 @@
1521
1487
},
1522
1488
"type": "object"
1523
1489
},
1524
-
"EnableServiceRequest": {
1525
-
"description": "Request message for EnableService method.",
1526
-
"id": "EnableServiceRequest",
1527
-
"properties": {
1528
-
"consumerId": {
1529
-
"description": "Required. The identity of consumer resource which service enablement will be applied to. The Google Service Management implementation accepts the following forms: - \"project:\" Note: this is made compatible with google.api.servicecontrol.v1.Operation.consumer_id.",
1530
-
"type": "string"
1531
-
}
1532
-
},
1533
-
"type": "object"
1534
-
},
1535
1490
"EnableServiceResponse": {
1536
1491
"description": "Operation payload for EnableService method.",
0 commit comments