feat: Automated regeneration of apigee v1 client

This commit is contained in:
Yoshi Automation Bot 2020-10-20 09:40:54 -07:00 committed by GitHub
parent c8e2367d77
commit 2dc298307c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 29 additions and 87 deletions

View File

@ -29,7 +29,7 @@ module Google
# @see https://cloud.google.com/apigee-api-management/
module ApigeeV1
VERSION = 'V1'
REVISION = '20201002'
REVISION = '20201015'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -4946,7 +4946,7 @@ module Google
# @return [String]
attr_accessor :revision_id
# NEXT ID: 6 RuntimeTraceSamplingConfig represents the detail settings of
# NEXT ID: 3 RuntimeTraceSamplingConfig represents the detail settings of
# distributed tracing. Only the fields that are defined in the distributed trace
# configuration can be overridden using the distribute trace configuration
# override APIs.
@ -4998,7 +4998,7 @@ module Google
# @return [String]
attr_accessor :revision_id
# NEXT ID: 6 RuntimeTraceSamplingConfig represents the detail settings of
# NEXT ID: 3 RuntimeTraceSamplingConfig represents the detail settings of
# distributed tracing. Only the fields that are defined in the distributed trace
# configuration can be overridden using the distribute trace configuration
# override APIs.
@ -5007,7 +5007,7 @@ module Google
attr_accessor :sampling_config
# Unique ID for the configuration override. The ID will only change if the
# override is deleted and recreated.
# override is deleted and recreated. Corresponds to name's "override" field.
# Corresponds to the JSON property `uid`
# @return [String]
attr_accessor :uid
@ -5027,37 +5027,20 @@ module Google
end
end
# NEXT ID: 6 RuntimeTraceSamplingConfig represents the detail settings of
# NEXT ID: 3 RuntimeTraceSamplingConfig represents the detail settings of
# distributed tracing. Only the fields that are defined in the distributed trace
# configuration can be overridden using the distribute trace configuration
# override APIs.
class GoogleCloudApigeeV1RuntimeTraceSamplingConfig
include Google::Apis::Core::Hashable
# Error sources from which to capture errors. If none are specified, error codes
# are captured from all sources.
# Corresponds to the JSON property `errorSources`
# @return [Array<String>]
attr_accessor :error_sources
# List of response code ranges.
# Corresponds to the JSON property `responseCodeRanges`
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange>]
attr_accessor :response_code_ranges
# List of single response codes.
# Corresponds to the JSON property `responseCodes`
# @return [Array<Fixnum>]
attr_accessor :response_codes
# Sampler of distributed tracing. OFF is the default value.
# Corresponds to the JSON property `sampler`
# @return [String]
attr_accessor :sampler
# Field sampling rate. This value is only valid when is only applicable when
# sampling value is probabilistic(PROBABILITY). The supported values are > 0 and
# <= 0.5.
# Field sampling rate. This value is only applicable when using the PROBABILITY
# sampler. The supported values are > 0 and <= 0.5.
# Corresponds to the JSON property `samplingRate`
# @return [Float]
attr_accessor :sampling_rate
@ -5068,42 +5051,11 @@ module Google
# Update properties of this object
def update!(**args)
@error_sources = args[:error_sources] if args.key?(:error_sources)
@response_code_ranges = args[:response_code_ranges] if args.key?(:response_code_ranges)
@response_codes = args[:response_codes] if args.key?(:response_codes)
@sampler = args[:sampler] if args.key?(:sampler)
@sampling_rate = args[:sampling_rate] if args.key?(:sampling_rate)
end
end
# ResponseCodeRange represents a group of response codes to capture, from the
# first response code to the last response code. Each range is a close interval.
# For example, if an interval is [400, 403], then that means 400, 401, 402, 403
# will be all captured.
class GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange
include Google::Apis::Core::Hashable
# The first response code to capture.
# Corresponds to the JSON property `firstResponseCode`
# @return [Fixnum]
attr_accessor :first_response_code
# The last response code to capture.
# Corresponds to the JSON property `lastResponseCode`
# @return [Fixnum]
attr_accessor :last_response_code
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@first_response_code = args[:first_response_code] if args.key?(:first_response_code)
@last_response_code = args[:last_response_code] if args.key?(:last_response_code)
end
end
# Response for Schema call
class GoogleCloudApigeeV1Schema
include Google::Apis::Core::Hashable

View File

@ -742,12 +742,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudApigeeV1Schema
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2263,23 +2257,11 @@ module Google
class GoogleCloudApigeeV1RuntimeTraceSamplingConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :error_sources, as: 'errorSources'
collection :response_code_ranges, as: 'responseCodeRanges', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange::Representation
collection :response_codes, as: 'responseCodes'
property :sampler, as: 'sampler'
property :sampling_rate, as: 'samplingRate'
end
end
class GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :first_response_code, as: 'firstResponseCode'
property :last_response_code, as: 'lastResponseCode'
end
end
class GoogleCloudApigeeV1Schema
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -4259,11 +4259,13 @@ module Google
# controlled by the `format` query parameter: * `keycertfile` - Separate PEM-
# encoded key and certificate files are uploaded. The request must have `Content-
# Type: multipart/form-data` and include fields `keyFile` and `certFile`. If
# uploading to a truststore, omit `keyFile`. * `pkcs12` - A PKCS12 file is
# uploaded. The request must have `Content-Type: multipart/form-data` with the
# file provided in the only field. * `selfsignedcert` - A new private key and
# certificate are generated. The request must have `Content-Type: application/
# json` and a body of CertificateGenerationSpec.
# uploading to a truststore, omit `keyFile`. A `password` field should be
# provided for encrypted keys. * `pkcs12` - A PKCS12 file is uploaded. The
# request must have `Content-Type: multipart/form-data` with the file provided
# in the `file` field and a `password` field if the file is encrypted. * `
# selfsignedcert` - A new private key and certificate are generated. The request
# must have `Content-Type: application/json` and a body of
# CertificateGenerationSpec.
# @param [String] parent
# Required. The name of the keystore. Must be of the form `organizations/`
# organization`/environments/`environment`/keystores/`keystore``.
@ -4936,7 +4938,8 @@ module Google
# Creates a resource file. Specify the `Content-Type` as `application/octet-
# stream` or `multipart/form-data`. For more information about resource files,
# see [Resource files](/api-platform/develop/resource-files).
# see [Resource files](https://cloud.google.com/apigee/docs/api-platform/develop/
# resource-files).
# @param [String] parent
# Required. Name of the environment in which to create the resource file in the
# following format: `organizations/`org`/environments/`env``.
@ -4978,7 +4981,8 @@ module Google
end
# Deletes a resource file. For more information about resource files, see [
# Resource files](/api-platform/develop/resource-files).
# Resource files](https://cloud.google.com/apigee/docs/api-platform/develop/
# resource-files).
# @param [String] parent
# Required. Name of the environment in the following format: `organizations/`org`
# /environments/`env``.
@ -5017,7 +5021,8 @@ module Google
end
# Gets the contents of a resource file. For more information about resource
# files, see [Resource files](/api-platform/develop/resource-files).
# files, see [Resource files](https://cloud.google.com/apigee/docs/api-platform/
# develop/resource-files).
# @param [String] parent
# Required. Name of the environment in the following format: `organizations/`org`
# /environments/`env``.
@ -5055,8 +5060,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists all resource files. For more information about resource files, see [
# Resource files](/api-platform/develop/resource-files).
# Lists all resource files, optionally filtering by type. For more information
# about resource files, see [Resource files](https://cloud.google.com/apigee/
# docs/api-platform/develop/resource-files).
# @param [String] parent
# Required. Name of the environment in which to list resource files in the
# following format: `organizations/`org`/environments/`env``.
@ -5090,8 +5096,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists all resource files. For more information about resource files, see [
# Resource files](/api-platform/develop/resource-files).
# Lists all resource files, optionally filtering by type. For more information
# about resource files, see [Resource files](https://cloud.google.com/apigee/
# docs/api-platform/develop/resource-files).
# @param [String] parent
# Required. Name of the environment in which to list resource files in the
# following format: `organizations/`org`/environments/`env``.
@ -5127,7 +5134,8 @@ module Google
# Updates a resource file. Specify the `Content-Type` as `application/octet-
# stream` or `multipart/form-data`. For more information about resource files,
# see [Resource files](/api-platform/develop/resource-files).
# see [Resource files](https://cloud.google.com/apigee/docs/api-platform/develop/
# resource-files).
# @param [String] parent
# Required. Name of the environment in the following format: `organizations/`org`
# /environments/`env``.

View File

@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "c98c719bbab68d0890524d53f8b629d7858af9c2"
"sha": "9dbe47b50cf9821abd0b99045aefd29e469d2ca4"
}
}
]