Synchronize new proto/yaml changes.

PiperOrigin-RevId: 219884369
This commit is contained in:
Google APIs 2018-11-02 16:53:58 -07:00 committed by Copybara-Service
parent c44d1e89a3
commit 58ecdb1f0c
5 changed files with 1202 additions and 3245 deletions

View File

@ -1,7 +1,7 @@
type: google.api.Service
config_version: 3
name: container.googleapis.com
title: Kubernetes Engine API
title: Google Container Engine API
apis:
- name: google.container.v1.ClusterManager
@ -11,69 +11,6 @@ documentation:
The Google Kubernetes Engine API is used for building and managing container
based applications, powered by the open source Kubernetes technology.
backend:
rules:
- selector: google.container.v1.ClusterManager.ListClusters
deadline: 20.0
- selector: google.container.v1.ClusterManager.GetCluster
deadline: 20.0
- selector: google.container.v1.ClusterManager.CreateCluster
deadline: 45.0
- selector: google.container.v1.ClusterManager.UpdateCluster
deadline: 20.0
- selector: google.container.v1.ClusterManager.UpdateNodePool
deadline: 20.0
- selector: google.container.v1.ClusterManager.SetNodePoolAutoscaling
deadline: 20.0
- selector: google.container.v1.ClusterManager.SetLoggingService
deadline: 20.0
- selector: google.container.v1.ClusterManager.SetMonitoringService
deadline: 20.0
- selector: google.container.v1.ClusterManager.SetAddonsConfig
deadline: 20.0
- selector: google.container.v1.ClusterManager.SetLocations
deadline: 20.0
- selector: google.container.v1.ClusterManager.UpdateMaster
deadline: 20.0
- selector: google.container.v1.ClusterManager.SetMasterAuth
deadline: 20.0
- selector: google.container.v1.ClusterManager.DeleteCluster
deadline: 20.0
- selector: google.container.v1.ClusterManager.ListOperations
deadline: 20.0
- selector: google.container.v1.ClusterManager.GetOperation
deadline: 20.0
- selector: google.container.v1.ClusterManager.CancelOperation
deadline: 20.0
- selector: google.container.v1.ClusterManager.GetServerConfig
deadline: 20.0
- selector: google.container.v1.ClusterManager.ListNodePools
deadline: 20.0
- selector: google.container.v1.ClusterManager.GetNodePool
deadline: 20.0
- selector: google.container.v1.ClusterManager.CreateNodePool
deadline: 20.0
- selector: google.container.v1.ClusterManager.DeleteNodePool
deadline: 20.0
- selector: google.container.v1.ClusterManager.RollbackNodePoolUpgrade
deadline: 20.0
- selector: google.container.v1.ClusterManager.SetNodePoolManagement
deadline: 20.0
- selector: google.container.v1.ClusterManager.SetLabels
deadline: 20.0
- selector: google.container.v1.ClusterManager.SetLegacyAbac
deadline: 20.0
- selector: google.container.v1.ClusterManager.StartIPRotation
deadline: 20.0
- selector: google.container.v1.ClusterManager.CompleteIPRotation
deadline: 20.0
- selector: google.container.v1.ClusterManager.SetNodePoolSize
deadline: 20.0
- selector: google.container.v1.ClusterManager.SetNetworkPolicy
deadline: 20.0
- selector: google.container.v1.ClusterManager.SetMaintenancePolicy
deadline: 20.0
authentication:
rules:
- selector: '*'

File diff suppressed because it is too large Load Diff

View File

@ -38,15 +38,7 @@ interfaces:
# 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: projects/{project}/locations/{location}
entity_name: location
- name_pattern: projects/{project}/locations/{location}/clusters/{cluster}
entity_name: cluster
- name_pattern: projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}
entity_name: node_pool
- name_pattern: projects/{project}/locations/{location}/operations/{operation}
entity_name: operation
collections: []
# Definition for smoke test
smoke_test:
method: ListClusters
@ -57,8 +49,8 @@ interfaces:
retry_codes_def:
- name: idempotent
retry_codes:
- DEADLINE_EXCEEDED
- UNAVAILABLE
- DEADLINE_EXCEEDED
- name: non_idempotent
retry_codes: []
# Definition for retry/backoff parameters.
@ -73,358 +65,499 @@ interfaces:
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.
#
# 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.
#
# resource_name_treatment - An enum that specifies how to treat the resource
# name formats defined in the field_name_patterns and
# response_field_name_patterns fields.
# UNSET: default value
# NONE: the collection configs will not be used by the generated code.
# VALIDATE: string fields will be validated by the client against the
# specified resource name formats.
# STATIC_TYPES: the client will use generated types for resource names.
#
# valid.
# request_object_method - Turns on or off the generation of a method whose
# sole parameter is a request object. Not all languages will generate
# this method.
# resource_name_treatment - An enum that specifies how to treat the
# resource name formats defined in the field_name_patterns
# and response_field_name_patterns fields.
# UNSET: default value
# NONE: the collection configs will not be used by the generated code.
# VALIDATE: string fields will be validated by the client against the
# specified resource name formats.
# STATIC_TYPES: the client will use generated types for resource names.
# 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.
#
# 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.
#
# 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.
#
# 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.
#
# 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.
# the call is retrying, refer to retry_params_name instead.
methods:
- name: ListClusters
flattening:
groups:
- parameters:
- parent
- project_id
- zone
required_fields:
- parent
- project_id
- zone
request_object_method: true
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
parent: location
timeout_millis: 20000
timeout_millis: 10000
- name: GetCluster
flattening:
groups:
- parameters:
- name
- project_id
- zone
- cluster_id
required_fields:
- name
- project_id
- zone
- cluster_id
request_object_method: true
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
name: cluster
timeout_millis: 20000
timeout_millis: 10000
- name: CreateCluster
flattening:
groups:
- parameters:
- project_id
- zone
- cluster
- parent
required_fields:
- project_id
- zone
- cluster
- parent
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
parent: location
timeout_millis: 45000
timeout_millis: 60000
- name: UpdateCluster
flattening:
groups:
- parameters:
- project_id
- zone
- cluster_id
- update
required_fields:
- project_id
- zone
- cluster_id
- update
- name
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
name: cluster
timeout_millis: 20000
timeout_millis: 60000
- name: UpdateNodePool
required_fields:
- project_id
- zone
- cluster_id
- node_pool_id
- node_version
- image_type
- name
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
name: node_pool
timeout_millis: 20000
timeout_millis: 60000
- name: SetNodePoolAutoscaling
required_fields:
- project_id
- zone
- cluster_id
- node_pool_id
- autoscaling
- name
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
name: node_pool
timeout_millis: 20000
timeout_millis: 60000
- name: SetLoggingService
flattening:
groups:
- parameters:
- project_id
- zone
- cluster_id
- logging_service
required_fields:
- project_id
- zone
- cluster_id
- logging_service
- name
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
name: cluster
timeout_millis: 20000
timeout_millis: 60000
- name: SetMonitoringService
flattening:
groups:
- parameters:
- project_id
- zone
- cluster_id
- monitoring_service
required_fields:
- project_id
- zone
- cluster_id
- monitoring_service
- name
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
name: cluster
timeout_millis: 20000
timeout_millis: 60000
- name: SetAddonsConfig
flattening:
groups:
- parameters:
- project_id
- zone
- cluster_id
- addons_config
required_fields:
- project_id
- zone
- cluster_id
- addons_config
- name
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
name: cluster
timeout_millis: 20000
timeout_millis: 60000
- name: SetLocations
flattening:
groups:
- parameters:
- project_id
- zone
- cluster_id
- locations
required_fields:
- project_id
- zone
- cluster_id
- locations
- name
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
name: cluster
timeout_millis: 20000
timeout_millis: 60000
- name: UpdateMaster
flattening:
groups:
- parameters:
- project_id
- zone
- cluster_id
- master_version
required_fields:
- project_id
- zone
- cluster_id
- master_version
- name
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
name: cluster
timeout_millis: 20000
timeout_millis: 60000
- name: SetMasterAuth
required_fields:
- project_id
- zone
- cluster_id
- action
- update
- name
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
name: cluster
timeout_millis: 20000
timeout_millis: 60000
- name: DeleteCluster
flattening:
groups:
- parameters:
- name
- project_id
- zone
- cluster_id
required_fields:
- name
- project_id
- zone
- cluster_id
request_object_method: true
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
name: cluster
timeout_millis: 20000
timeout_millis: 30000
- name: ListOperations
flattening:
groups:
- parameters:
- parent
- project_id
- zone
required_fields:
- parent
- project_id
- zone
request_object_method: true
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
parent: location
timeout_millis: 20000
timeout_millis: 10000
- name: GetOperation
flattening:
groups:
- parameters:
- name
- project_id
- zone
- operation_id
required_fields:
- name
- project_id
- zone
- operation_id
request_object_method: true
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
name: operation
timeout_millis: 20000
timeout_millis: 10000
- name: CancelOperation
flattening:
groups:
- parameters:
- name
- project_id
- zone
- operation_id
required_fields:
- name
- project_id
- zone
- operation_id
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
name: operation
timeout_millis: 20000
timeout_millis: 30000
- name: GetServerConfig
flattening:
groups:
- parameters:
- name
- project_id
- zone
required_fields:
- name
- project_id
- zone
request_object_method: true
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
name: location
timeout_millis: 20000
timeout_millis: 10000
- name: ListNodePools
flattening:
groups:
- parameters:
- parent
- project_id
- zone
- cluster_id
required_fields:
- parent
- project_id
- zone
- cluster_id
request_object_method: true
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
parent: cluster
timeout_millis: 20000
timeout_millis: 10000
- name: GetNodePool
flattening:
groups:
- parameters:
- project_id
- zone
- cluster_id
- node_pool_id
required_fields:
- name
- project_id
- zone
- cluster_id
- node_pool_id
request_object_method: true
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
name: node_pool
timeout_millis: 20000
timeout_millis: 10000
- name: CreateNodePool
flattening:
groups:
- parameters:
- project_id
- zone
- cluster_id
- node_pool
required_fields:
- project_id
- zone
- cluster_id
- node_pool
- parent
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
parent: cluster
timeout_millis: 20000
timeout_millis: 60000
- name: DeleteNodePool
flattening:
groups:
- parameters:
- project_id
- zone
- cluster_id
- node_pool_id
required_fields:
- name
- project_id
- zone
- cluster_id
- node_pool_id
request_object_method: true
retry_codes_name: idempotent
retry_params_name: default
field_name_patterns:
name: node_pool
timeout_millis: 20000
timeout_millis: 30000
- name: RollbackNodePoolUpgrade
flattening:
groups:
- parameters:
- project_id
- zone
- cluster_id
- node_pool_id
required_fields:
- name
- project_id
- zone
- cluster_id
- node_pool_id
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
name: node_pool
timeout_millis: 20000
timeout_millis: 60000
- name: SetNodePoolManagement
required_fields:
- project_id
- zone
- cluster_id
- node_pool_id
- management
- name
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
name: node_pool
timeout_millis: 20000
timeout_millis: 60000
- name: SetLabels
required_fields:
- project_id
- zone
- cluster_id
- resource_labels
- label_fingerprint
- name
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
name: cluster
timeout_millis: 20000
timeout_millis: 60000
- name: SetLegacyAbac
flattening:
groups:
- parameters:
- project_id
- zone
- cluster_id
- enabled
required_fields:
- project_id
- zone
- cluster_id
- enabled
- name
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
name: cluster
timeout_millis: 20000
timeout_millis: 60000
- name: StartIPRotation
flattening:
groups:
- parameters:
- project_id
- zone
- cluster_id
required_fields:
- name
- rotate_credentials
- project_id
- zone
- cluster_id
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
name: cluster
timeout_millis: 20000
timeout_millis: 60000
- name: CompleteIPRotation
flattening:
groups:
- parameters:
- name
- project_id
- zone
- cluster_id
required_fields:
- name
- project_id
- zone
- cluster_id
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
name: cluster
timeout_millis: 20000
timeout_millis: 60000
- name: SetNodePoolSize
required_fields:
- project_id
- zone
- cluster_id
- node_pool_id
- node_count
- name
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
name: node_pool
timeout_millis: 20000
timeout_millis: 60000
- name: SetNetworkPolicy
flattening:
groups:
- parameters:
- project_id
- zone
- cluster_id
- network_policy
required_fields:
- project_id
- zone
- cluster_id
- network_policy
- name
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
name: cluster
timeout_millis: 20000
timeout_millis: 60000
- name: SetMaintenancePolicy
flattening:
groups:
- parameters:
- project_id
- zone
- cluster_id
- maintenance_policy
required_fields:
- project_id
- zone
- cluster_id
- maintenance_policy
- name
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
field_name_patterns:
name: cluster
timeout_millis: 20000
timeout_millis: 60000

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff