Interface UpdateServiceRequestOrBuilder (0.8.0)

publicinterface UpdateServiceRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowMissing()

publicabstractbooleangetAllowMissing()

If set to true, and if the Service does not exist, it will create a new one. Caller must have both create and update permissions for this call if this is set to true.

bool allow_missing = 4;

Returns
Type Description
boolean

The allowMissing.

getService()

publicabstractServicegetService()

Required. The Service to be updated.

.google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Service

The service.

getServiceOrBuilder()

publicabstractServiceOrBuildergetServiceOrBuilder()

Required. The Service to be updated.

.google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description

getValidateOnly()

publicabstractbooleangetValidateOnly()

Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.

bool validate_only = 3;

Returns
Type Description
boolean

The validateOnly.

hasService()

publicabstractbooleanhasService()

Required. The Service to be updated.

.google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the service field is set.

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.