Synchronize new proto/yaml changes.

PiperOrigin-RevId: 275543900
This commit is contained in:
Google APIs 2019-10-18 14:12:43 -07:00 committed by Copybara-Service
parent 906335b5a9
commit 0e9a6d15fc
8 changed files with 17 additions and 906 deletions

View File

@ -1,34 +0,0 @@
common:
api_name: resultstore
api_version: v2
organization_name: google-cloud
proto_deps:
- name: google-common-protos
src_proto_paths:
- v2
service_yaml: resultstore-service.yaml
gapic_yaml: v2/resultstore_gapic.yaml
artifacts:
- name: gapic_config
type: GAPIC_CONFIG
- name: java_gapic
type: GAPIC
language: JAVA
- name: python_gapic
type: GAPIC
language: PYTHON
- name: nodejs_gapic
type: GAPIC
language: NODEJS
- name: php_gapic
type: GAPIC
language: PHP
- name: go_gapic
type: GAPIC
language: GO
- name: ruby_gapic
type: GAPIC
language: RUBY
- name: csharp_gapic
type: GAPIC
language: CSHARP

View File

@ -146,6 +146,9 @@ enum Language {
// Protocol Buffer
PROTO = 21;
// Extensible Markup Language
XML = 22;
}
// Status of a resource.

View File

@ -66,9 +66,9 @@ message BranchCoverage {
// As each branch can have any one of the following three states: not
// executed, executed but not taken, executed and taken.
//
// This is a bitfield where i-th bit corresponds to the i-th line. Divide line
// number by 8 to get index into byte array. Mod line number by 8 to get bit
// number (0 = LSB, 7 = MSB).
// This is a bitfield where i-th bit corresponds to the i-th branch. Divide
// branch number by 8 to get index into byte array. Mod branch number by 8 to
// get bit number (0 = LSB, 7 = MSB).
//
// i-th bit of the following two byte arrays are used to denote the above
// mentioned states.

View File

@ -142,14 +142,16 @@ message CommandLine {
// Attributes that apply to all invocations.
message InvocationAttributes {
// Immutable.
// The Cloud Project that owns this invocation (this is different than the
// Immutable. The Cloud Project that owns this invocation (this is different than the
// Consumer Cloud Project that calls this API).
// This must be set in the CreateInvocation call, and can't be changed.
string project_id = 1;
// The list of users in the command chain. The first user in this sequence
// is the one who instigated the first command in the chain.
// is the one who instigated the first command in the chain. For example,
// this might contain just the user that ran a Bazel command, or a robot
// that tested a change as part of a CI system. It could also contain the user
// that manually triggered a CI test, then the robot that ran the test.
repeated string users = 2;
// Labels to categorize this invocation.

View File

@ -277,6 +277,10 @@ message SearchInvocationsRequest {
// Fields that support comparison ("<", "<=", ">", ">=") restrictions;
//
// timing.start_time
//
// Supported custom function global restrictions:
//
// propertyEquals("key", "value")
string query = 4;
// The project id to search under.
@ -538,7 +542,7 @@ message TraverseFileSetsRequest {
// This returns the transitive closure of FileSets referenced by the given
// FileSet, including itself.
//
// invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${Curl_encode(CONFIGURATION_ID)}/actions/${url_encode(ACTION_ID)}
// invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${url_encode(CONFIGURATION_ID)}/actions/${url_encode(ACTION_ID)}
// This returns the transitive closure of FileSets referenced by the given
// Action. If ${ACTION_ID} is "-", this returns the transitive closure of
// FileSets referenced by all Actions under the given ConfiguredTarget.

View File

@ -1,864 +0,0 @@
type: com.google.api.codegen.ConfigProto
config_schema_version: 1.0.0
# The settings of generated code in a specific language.
language_settings:
java:
package_name: com.google.cloud.devtools.resultstore.v2
python:
package_name: google.cloud.devtools.resultstore_v2.gapic
go:
package_name: cloud.google.com/go/devtools/resultstore/apiv2
csharp:
package_name: Google.Devtools.Resultstore.V2
ruby:
package_name: Google::Cloud::Devtools::Resultstore::V2
php:
package_name: Google\Cloud\Devtools\Resultstore\V2
nodejs:
package_name: resultstore.v2
# A list of API interface configurations.
interfaces:
# The fully qualified name of the API interface.
- name: google.devtools.resultstore.v2.ResultStoreDownload
# A list of resource collection configurations.
# Consists of a name_pattern and an entity_name.
# The name_pattern is a pattern to describe the names of the resources of this
# collection, using the platform's conventions for URI patterns. A generator
# may use this to generate methods to compose and decompose such names. The
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
# those will be taken as hints for the parameter names of the generated
# methods. If empty, no name methods are generated.
# The entity_name is the name to be used as a basis for generated methods and
# classes.
collections:
- name_pattern: invocations/{invocation}
entity_name: invocation
- name_pattern: invocations/{invocation}/configs/{config}
entity_name: config
- name_pattern: invocations/{invocation}/downloadMetadata
entity_name: invocation_download_metadata
- name_pattern: invocations/{invocation}/fileSets/{file_set}
entity_name: file_set
- name_pattern: invocations/{invocation}/targets/{target}
entity_name: target
- name_pattern: invocations/{invocation}/targets/{target}/configuredTargets/{configured_target}
entity_name: configured_target
- name_pattern: invocations/{invocation}/targets/{target}/configuredTargets/{configured_target}/actions/{action}
entity_name: action
# Definition for retryable codes.
retry_codes_def:
- name: idempotent
retry_codes:
- UNAVAILABLE
- DEADLINE_EXCEEDED
- name: non_idempotent
retry_codes: []
# Definition for retry/backoff parameters.
retry_params_def:
- name: default
initial_retry_delay_millis: 100
retry_delay_multiplier: 1.3
max_retry_delay_millis: 60000
initial_rpc_timeout_millis: 20000
rpc_timeout_multiplier: 1
max_rpc_timeout_millis: 20000
total_timeout_millis: 600000
# A list of method configurations.
# Common properties:
#
# name - The simple name of the method.
#
# flattening - Specifies the configuration for parameter flattening.
# Describes the parameter groups for which a generator should produce method
# overloads which allow a client to directly pass request message fields as
# method parameters. This information may or may not be used, depending on
# the target language.
# Consists of groups, which each represent a list of parameters to be
# flattened. Each parameter listed must be a field of the request message.
#
# required_fields - Fields that are always required for a request to be
# valid.
#
# page_streaming - Specifies the configuration for paging.
# Describes information for generating a method which transforms a paging
# list RPC into a stream of resources.
# Consists of a request and a response.
# The request specifies request information of the list method. It defines
# which fields match the paging pattern in the request. The request consists
# of a page_size_field and a token_field. The page_size_field is the name of
# the optional field specifying the maximum number of elements to be
# returned in the response. The token_field is the name of the field in the
# request containing the page token.
# The response specifies response information of the list method. It defines
# which fields match the paging pattern in the response. The response
# consists of a token_field and a resources_field. The token_field is the
# name of the field in the response containing the next page token. The
# resources_field is the name of the field in the response containing the
# list of resources belonging to the page.
#
# retry_codes_name - Specifies the configuration for retryable codes. The
# name must be defined in interfaces.retry_codes_def.
#
# retry_params_name - Specifies the configuration for retry/backoff
# parameters. The name must be defined in interfaces.retry_params_def.
#
# field_name_patterns - Maps the field name of the request type to
# entity_name of interfaces.collections.
# Specifies the string pattern that the field must follow.
#
# timeout_millis - Specifies the default timeout for a non-retrying call. If
# the call is retrying, refer to retry_params_name instead.
methods:
- name: GetInvocation
flattening:
groups:
- parameters:
- name
required_fields:
- name
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
name: invocation
timeout_millis: 60000
- name: SearchInvocations
flattening:
groups:
- parameters:
- query
- project_id
- exact_match
required_fields:
- query
- project_id
- exact_match
page_streaming:
request:
page_size_field: page_size
token_field: page_token
response:
token_field: next_page_token
resources_field: invocations
retry_codes_name: idempotent
retry_params_name: default
timeout_millis: 60000
- name: GetInvocationDownloadMetadata
flattening:
groups:
- parameters:
- name
required_fields:
- name
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
name: invocation_download_metadata
timeout_millis: 60000
- name: GetConfiguration
flattening:
groups:
- parameters:
- name
required_fields:
- name
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
name: config
timeout_millis: 60000
- name: ListConfigurations
flattening:
groups:
- parameters:
- parent
- filter
required_fields:
- parent
page_streaming:
request:
page_size_field: page_size
token_field: page_token
response:
token_field: next_page_token
resources_field: configurations
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
parent: invocation
timeout_millis: 60000
- name: GetTarget
flattening:
groups:
- parameters:
- name
required_fields:
- name
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
name: target
timeout_millis: 60000
- name: ListTargets
flattening:
groups:
- parameters:
- parent
- filter
required_fields:
- parent
page_streaming:
request:
page_size_field: page_size
token_field: page_token
response:
token_field: next_page_token
resources_field: targets
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
parent: invocation
timeout_millis: 60000
- name: GetConfiguredTarget
flattening:
groups:
- parameters:
- name
required_fields:
- name
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
name: configured_target
timeout_millis: 60000
- name: ListConfiguredTargets
flattening:
groups:
- parameters:
- parent
- filter
required_fields:
- parent
page_streaming:
request:
page_size_field: page_size
token_field: page_token
response:
token_field: next_page_token
resources_field: configured_targets
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
parent: target
timeout_millis: 60000
- name: GetAction
flattening:
groups:
- parameters:
- name
required_fields:
- name
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
name: action
timeout_millis: 60000
- name: ListActions
flattening:
groups:
- parameters:
- parent
- filter
required_fields:
- parent
page_streaming:
request:
page_size_field: page_size
token_field: page_token
response:
token_field: next_page_token
resources_field: actions
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
parent: configured_target
timeout_millis: 60000
- name: GetFileSet
flattening:
groups:
- parameters:
- name
required_fields:
- name
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
name: file_set
timeout_millis: 60000
- name: ListFileSets
flattening:
groups:
- parameters:
- parent
- filter
required_fields:
- parent
page_streaming:
request:
page_size_field: page_size
token_field: page_token
response:
token_field: next_page_token
resources_field: file_sets
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
parent: invocation
timeout_millis: 60000
- name: TraverseFileSets
flattening:
groups:
- parameters:
- name
required_fields:
- name
page_streaming:
request:
page_size_field: page_size
token_field: page_token
response:
token_field: next_page_token
resources_field: file_sets
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
name: file_set
timeout_millis: 60000
# The fully qualified name of the API interface.
- name: google.devtools.resultstore.v2.ResultStoreFileDownload
# A list of resource collection configurations.
# Consists of a name_pattern and an entity_name.
# The name_pattern is a pattern to describe the names of the resources of this
# collection, using the platform's conventions for URI patterns. A generator
# may use this to generate methods to compose and decompose such names. The
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
# those will be taken as hints for the parameter names of the generated
# methods. If empty, no name methods are generated.
# The entity_name is the name to be used as a basis for generated methods and
# classes.
collections:
- name_pattern: file/tail/{tail}
entity_name: tail
- name_pattern: file/{file}
entity_name: file
# Definition for retryable codes.
retry_codes_def:
- name: idempotent
retry_codes:
- UNAVAILABLE
- DEADLINE_EXCEEDED
- name: non_idempotent
retry_codes: []
# Definition for retry/backoff parameters.
retry_params_def:
- name: default
initial_retry_delay_millis: 100
retry_delay_multiplier: 1.3
max_retry_delay_millis: 60000
initial_rpc_timeout_millis: 20000
rpc_timeout_multiplier: 1
max_rpc_timeout_millis: 20000
total_timeout_millis: 600000
# A list of method configurations.
# Common properties:
#
# name - The simple name of the method.
#
# flattening - Specifies the configuration for parameter flattening.
# Describes the parameter groups for which a generator should produce method
# overloads which allow a client to directly pass request message fields as
# method parameters. This information may or may not be used, depending on
# the target language.
# Consists of groups, which each represent a list of parameters to be
# flattened. Each parameter listed must be a field of the request message.
#
# required_fields - Fields that are always required for a request to be
# valid.
#
# page_streaming - Specifies the configuration for paging.
# Describes information for generating a method which transforms a paging
# list RPC into a stream of resources.
# Consists of a request and a response.
# The request specifies request information of the list method. It defines
# which fields match the paging pattern in the request. The request consists
# of a page_size_field and a token_field. The page_size_field is the name of
# the optional field specifying the maximum number of elements to be
# returned in the response. The token_field is the name of the field in the
# request containing the page token.
# The response specifies response information of the list method. It defines
# which fields match the paging pattern in the response. The response
# consists of a token_field and a resources_field. The token_field is the
# name of the field in the response containing the next page token. The
# resources_field is the name of the field in the response containing the
# list of resources belonging to the page.
#
# retry_codes_name - Specifies the configuration for retryable codes. The
# name must be defined in interfaces.retry_codes_def.
#
# retry_params_name - Specifies the configuration for retry/backoff
# parameters. The name must be defined in interfaces.retry_params_def.
#
# field_name_patterns - Maps the field name of the request type to
# entity_name of interfaces.collections.
# Specifies the string pattern that the field must follow.
#
# timeout_millis - Specifies the default timeout for a non-retrying call. If
# the call is retrying, refer to retry_params_name instead.
methods:
- name: GetFile
flattening:
groups:
- parameters:
- uri
- read_offset
- read_limit
required_fields:
- uri
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
uri: file
timeout_millis: 60000
- name: GetFileTail
flattening:
groups:
- parameters:
- uri
- read_offset
- read_limit
required_fields:
- uri
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
uri: tail
timeout_millis: 60000
# The fully qualified name of the API interface.
- name: google.devtools.resultstore.v2.ResultStoreUpload
# A list of resource collection configurations.
# Consists of a name_pattern and an entity_name.
# The name_pattern is a pattern to describe the names of the resources of this
# collection, using the platform's conventions for URI patterns. A generator
# may use this to generate methods to compose and decompose such names. The
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
# those will be taken as hints for the parameter names of the generated
# methods. If empty, no name methods are generated.
# The entity_name is the name to be used as a basis for generated methods and
# classes.
collections:
- name_pattern: invocations/{invocation}
entity_name: invocation
- name_pattern: invocations/{invocation}/configs/{config}
entity_name: config
- name_pattern: invocations/{invocation}/fileSets/{file_set}
entity_name: file_set
- name_pattern: invocations/{invocation}/targets/{target}
entity_name: target
- name_pattern: invocations/{invocation}/targets/{target}/configuredTargets/{configured_target}
entity_name: configured_target
- name_pattern: invocations/{invocation}/targets/{target}/configuredTargets/{configured_target}/actions/{action}
entity_name: action
- name_pattern: invocations/{invocation}/uploadMetadata
entity_name: invocation_upload_metadata
# Definition for retryable codes.
retry_codes_def:
- name: idempotent
retry_codes:
- DEADLINE_EXCEEDED
- UNAVAILABLE
- name: non_idempotent
retry_codes: []
# Definition for retry/backoff parameters.
retry_params_def:
- name: default
initial_retry_delay_millis: 100
retry_delay_multiplier: 1.3
max_retry_delay_millis: 60000
initial_rpc_timeout_millis: 20000
rpc_timeout_multiplier: 1
max_rpc_timeout_millis: 20000
total_timeout_millis: 600000
# A list of method configurations.
# Common properties:
#
# name - The simple name of the method.
#
# flattening - Specifies the configuration for parameter flattening.
# Describes the parameter groups for which a generator should produce method
# overloads which allow a client to directly pass request message fields as
# method parameters. This information may or may not be used, depending on
# the target language.
# Consists of groups, which each represent a list of parameters to be
# flattened. Each parameter listed must be a field of the request message.
#
# required_fields - Fields that are always required for a request to be
# valid.
#
# page_streaming - Specifies the configuration for paging.
# Describes information for generating a method which transforms a paging
# list RPC into a stream of resources.
# Consists of a request and a response.
# The request specifies request information of the list method. It defines
# which fields match the paging pattern in the request. The request consists
# of a page_size_field and a token_field. The page_size_field is the name of
# the optional field specifying the maximum number of elements to be
# returned in the response. The token_field is the name of the field in the
# request containing the page token.
# The response specifies response information of the list method. It defines
# which fields match the paging pattern in the response. The response
# consists of a token_field and a resources_field. The token_field is the
# name of the field in the response containing the next page token. The
# resources_field is the name of the field in the response containing the
# list of resources belonging to the page.
#
# retry_codes_name - Specifies the configuration for retryable codes. The
# name must be defined in interfaces.retry_codes_def.
#
# retry_params_name - Specifies the configuration for retry/backoff
# parameters. The name must be defined in interfaces.retry_params_def.
#
# field_name_patterns - Maps the field name of the request type to
# entity_name of interfaces.collections.
# Specifies the string pattern that the field must follow.
#
# timeout_millis - Specifies the default timeout for a non-retrying call. If
# the call is retrying, refer to retry_params_name instead.
methods:
- name: CreateInvocation
required_fields:
- request_id
- invocation
- authorization_token
retry_codes_name: non_idempotent
retry_params_name: default
timeout_millis: 60000
- name: UpdateInvocation
flattening:
groups:
- parameters:
- update_mask
- authorization_token
required_fields:
- invocation
- update_mask
- authorization_token
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
invocation.name: invocation
timeout_millis: 60000
- name: MergeInvocation
flattening:
groups:
- parameters:
- request_id
- invocation
- update_mask
- authorization_token
required_fields:
- request_id
- invocation
- update_mask
- authorization_token
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
invocation.name: invocation
timeout_millis: 60000
- name: TouchInvocation
flattening:
groups:
- parameters:
- name
- authorization_token
required_fields:
- name
- authorization_token
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
name: invocation
timeout_millis: 60000
- name: FinalizeInvocation
flattening:
groups:
- parameters:
- name
- authorization_token
required_fields:
- name
- authorization_token
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
name: invocation
timeout_millis: 60000
- name: DeleteInvocation
flattening:
groups:
- parameters:
- name
required_fields:
- name
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
name: invocation
timeout_millis: 60000
- name: CreateTarget
required_fields:
- request_id
- parent
- target_id
- target
- authorization_token
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
parent: invocation
timeout_millis: 60000
- name: UpdateTarget
flattening:
groups:
- parameters:
- update_mask
- authorization_token
- create_if_not_found
required_fields:
- target
- update_mask
- authorization_token
- create_if_not_found
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
target.name: target
timeout_millis: 60000
- name: MergeTarget
required_fields:
- request_id
- target
- update_mask
- authorization_token
- create_if_not_found
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
target.name: target
timeout_millis: 60000
- name: FinalizeTarget
flattening:
groups:
- parameters:
- name
- authorization_token
required_fields:
- name
- authorization_token
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
name: target
timeout_millis: 60000
- name: CreateConfiguredTarget
required_fields:
- request_id
- parent
- config_id
- configured_target
- authorization_token
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
parent: target
timeout_millis: 60000
- name: UpdateConfiguredTarget
flattening:
groups:
- parameters:
- update_mask
- authorization_token
- create_if_not_found
required_fields:
- configured_target
- update_mask
- authorization_token
- create_if_not_found
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
configured_target.name: configured_target
timeout_millis: 60000
- name: MergeConfiguredTarget
required_fields:
- request_id
- configured_target
- update_mask
- authorization_token
- create_if_not_found
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
configured_target.name: configured_target
timeout_millis: 60000
- name: FinalizeConfiguredTarget
flattening:
groups:
- parameters:
- name
- authorization_token
required_fields:
- name
- authorization_token
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
name: configured_target
timeout_millis: 60000
- name: CreateAction
required_fields:
- request_id
- parent
- action_id
- action
- authorization_token
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
parent: configured_target
timeout_millis: 60000
- name: UpdateAction
flattening:
groups:
- parameters:
- update_mask
- authorization_token
- create_if_not_found
required_fields:
- action
- update_mask
- authorization_token
- create_if_not_found
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
action.name: action
timeout_millis: 60000
- name: MergeAction
required_fields:
- request_id
- action
- update_mask
- authorization_token
- create_if_not_found
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
action.name: action
timeout_millis: 60000
- name: CreateConfiguration
required_fields:
- request_id
- parent
- config_id
- configuration
- authorization_token
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
parent: invocation
timeout_millis: 60000
- name: UpdateConfiguration
flattening:
groups:
- parameters:
- update_mask
- authorization_token
- create_if_not_found
required_fields:
- configuration
- update_mask
- authorization_token
- create_if_not_found
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
configuration.name: config
timeout_millis: 60000
- name: CreateFileSet
required_fields:
- request_id
- parent
- file_set_id
- file_set
- authorization_token
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
parent: invocation
timeout_millis: 60000
- name: UpdateFileSet
flattening:
groups:
- parameters:
- update_mask
- authorization_token
- create_if_not_found
required_fields:
- file_set
- update_mask
- authorization_token
- create_if_not_found
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
file_set.name: file_set
timeout_millis: 60000
- name: MergeFileSet
required_fields:
- request_id
- file_set
- update_mask
- authorization_token
- create_if_not_found
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
file_set.name: file_set
timeout_millis: 60000
- name: UploadBatch
required_fields:
- parent
- authorization_token
- next_resume_token
- resume_token
- uploader_state
- upload_requests
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
parent: invocation
timeout_millis: 60000
- name: GetInvocationUploadMetadata
flattening:
groups:
- parameters:
- name
- authorization_token
required_fields:
- name
- authorization_token
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
name: invocation_upload_metadata
timeout_millis: 60000

View File

@ -1159,7 +1159,7 @@ message UploadRequest {
google.protobuf.FieldMask update_mask = 3;
// If true then the Update, Merge operation will become a Create operation if
// the resource is NOT_FOUND.
// the resource is NOT_FOUND. Not supported for Invocation resource.
bool create_if_not_found = 10;
// The proto of the resource being uploaded.