Regenerate APIs and bump version
This commit is contained in:
parent
8e1162e2d7
commit
c0e7fc9249
api_names_out.yaml
generated/google/apis
adsense_v1_4.rbadsensehost_v4_1.rbcloudbuild_v1.rblogging_v2beta1.rbpubsub_v1.rb
pubsub_v1
sheets_v4.rbsheets_v4
lib/google/apis
|
@ -25120,6 +25120,12 @@
|
|||
"/pubsub:v1/pubsub.projects.subscriptions.pull/subscription": subscription
|
||||
"/pubsub:v1/pubsub.projects.subscriptions.modifyPushConfig": modify_subscription_push_config
|
||||
"/pubsub:v1/pubsub.projects.subscriptions.modifyPushConfig/subscription": subscription
|
||||
"/pubsub:v1/pubsub.projects.snapshots.setIamPolicy": set_snapshot_iam_policy
|
||||
"/pubsub:v1/pubsub.projects.snapshots.setIamPolicy/resource": resource
|
||||
"/pubsub:v1/pubsub.projects.snapshots.getIamPolicy": get_project_snapshot_iam_policy
|
||||
"/pubsub:v1/pubsub.projects.snapshots.getIamPolicy/resource": resource
|
||||
"/pubsub:v1/pubsub.projects.snapshots.testIamPermissions": test_snapshot_iam_permissions
|
||||
"/pubsub:v1/pubsub.projects.snapshots.testIamPermissions/resource": resource
|
||||
"/pubsub:v1/SetIamPolicyRequest": set_iam_policy_request
|
||||
"/pubsub:v1/SetIamPolicyRequest/policy": policy
|
||||
"/pubsub:v1/Policy": policy
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/adsense/management/
|
||||
module AdsenseV1_4
|
||||
VERSION = 'V1_4'
|
||||
REVISION = '20160926'
|
||||
REVISION = '20161003'
|
||||
|
||||
# View and manage your AdSense data
|
||||
AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/adsense/host/
|
||||
module AdsensehostV4_1
|
||||
VERSION = 'V4_1'
|
||||
REVISION = '20160926'
|
||||
REVISION = '20161003'
|
||||
|
||||
# View and manage your AdSense host data and associated accounts
|
||||
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/container-builder/docs/
|
||||
module CloudbuildV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20161003'
|
||||
REVISION = '20161004'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/logging/docs/
|
||||
module LoggingV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20160926'
|
||||
REVISION = '20161003'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/pubsub/docs
|
||||
module PubsubV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20160317'
|
||||
REVISION = '20161003'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -141,8 +141,8 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The set of permissions to check for the `resource`. Permissions with wildcards
|
||||
# (such as '*' or 'storage.*') are not allowed. For more information see IAM
|
||||
# Overview.
|
||||
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
|
||||
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
||||
# Corresponds to the JSON property `permissions`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :permissions
|
||||
|
@ -223,8 +223,8 @@ module Google
|
|||
class Message
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The message payload. For JSON requests, the value of this field must be base64-
|
||||
# encoded.
|
||||
# The message payload. For JSON requests, the value of this field must be [
|
||||
# base64-encoded](https://tools.ietf.org/html/rfc4648).
|
||||
# Corresponds to the JSON property `data`
|
||||
# @return [String]
|
||||
attr_accessor :data
|
||||
|
@ -383,11 +383,12 @@ module Google
|
|||
# an outstanding message and will not be delivered again during that time (on a
|
||||
# best-effort basis). For pull subscriptions, this value is used as the initial
|
||||
# value for the ack deadline. To override this value for a given message, call `
|
||||
# ModifyAckDeadline` with the corresponding `ack_id` if using pull. For push
|
||||
# delivery, this value is also used to set the request timeout for the call to
|
||||
# the push endpoint. If the subscriber never acknowledges the message, the Pub/
|
||||
# Sub system will eventually redeliver the message. If this parameter is not set,
|
||||
# the default value of 10 seconds is used.
|
||||
# ModifyAckDeadline` with the corresponding `ack_id` if using pull. The maximum
|
||||
# custom deadline you can specify is 600 seconds (10 minutes). For push delivery,
|
||||
# this value is also used to set the request timeout for the call to the push
|
||||
# endpoint. If the subscriber never acknowledges the message, the Pub/Sub system
|
||||
# will eventually redeliver the message. If this parameter is 0, a default value
|
||||
# of 10 seconds is used.
|
||||
# Corresponds to the JSON property `ackDeadlineSeconds`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :ack_deadline_seconds
|
||||
|
|
|
@ -50,9 +50,8 @@ module Google
|
|||
# existing policy.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified. `resource` is
|
||||
# usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
|
||||
# disk*`. The format for the path specified in this value is resource specific
|
||||
# and is specified in the `setIamPolicy` documentation.
|
||||
# usually specified as a path. For example, a Project resource is specified as `
|
||||
# projects/`project``.
|
||||
# @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -83,13 +82,12 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the access control policy for a `resource`. Returns an empty policy if
|
||||
# the resource exists and does not have a policy set.
|
||||
# Gets the access control policy for a resource. Returns an empty policy if the
|
||||
# resource exists and does not have a policy set.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being requested. `resource` is
|
||||
# usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
|
||||
# disk*`. The format for the path specified in this value is resource specific
|
||||
# and is specified in the `getIamPolicy` documentation.
|
||||
# usually specified as a path. For example, a Project resource is specified as `
|
||||
# projects/`project``.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -120,9 +118,8 @@ module Google
|
|||
# Returns permissions that a caller has on the specified resource.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy detail is being requested. `
|
||||
# resource` is usually specified as a path, such as `projects/*project*/zones/*
|
||||
# zone*/disks/*disk*`. The format for the path specified in this value is
|
||||
# resource specific and is specified in the `testIamPermissions` documentation.
|
||||
# resource` is usually specified as a path. For example, a Project resource is
|
||||
# specified as `projects/`project``.
|
||||
# @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -369,9 +366,8 @@ module Google
|
|||
# existing policy.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified. `resource` is
|
||||
# usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
|
||||
# disk*`. The format for the path specified in this value is resource specific
|
||||
# and is specified in the `setIamPolicy` documentation.
|
||||
# usually specified as a path. For example, a Project resource is specified as `
|
||||
# projects/`project``.
|
||||
# @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -402,13 +398,12 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the access control policy for a `resource`. Returns an empty policy if
|
||||
# the resource exists and does not have a policy set.
|
||||
# Gets the access control policy for a resource. Returns an empty policy if the
|
||||
# resource exists and does not have a policy set.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being requested. `resource` is
|
||||
# usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
|
||||
# disk*`. The format for the path specified in this value is resource specific
|
||||
# and is specified in the `getIamPolicy` documentation.
|
||||
# usually specified as a path. For example, a Project resource is specified as `
|
||||
# projects/`project``.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -439,9 +434,8 @@ module Google
|
|||
# Returns permissions that a caller has on the specified resource.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy detail is being requested. `
|
||||
# resource` is usually specified as a path, such as `projects/*project*/zones/*
|
||||
# zone*/disks/*disk*`. The format for the path specified in this value is
|
||||
# resource specific and is specified in the `testIamPermissions` documentation.
|
||||
# resource` is usually specified as a path. For example, a Project resource is
|
||||
# specified as `projects/`project``.
|
||||
# @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -475,7 +469,8 @@ module Google
|
|||
# Creates a subscription to a given topic. If the subscription already exists,
|
||||
# returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `
|
||||
# NOT_FOUND`. If the name is not provided in the request, the server will assign
|
||||
# a random name for this subscription on the same project as the topic.
|
||||
# a random name for this subscription on the same project as the topic. Note
|
||||
# that for REST API requests, you must specify a name.
|
||||
# @param [String] name
|
||||
# The name of the subscription. It must have the format `"projects/`project`/
|
||||
# subscriptions/`subscription`"`. ``subscription`` must start with a letter, and
|
||||
|
@ -581,10 +576,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes an existing subscription. All pending messages in the subscription are
|
||||
# immediately dropped. Calls to `Pull` after deletion will return `NOT_FOUND`.
|
||||
# After a subscription is deleted, a new one may be created with the same name,
|
||||
# but the new one has no association with the old subscription, or its topic
|
||||
# Deletes an existing subscription. All messages retained in the subscription
|
||||
# are immediately dropped. Calls to `Pull` after deletion will return `NOT_FOUND`
|
||||
# . After a subscription is deleted, a new one may be created with the same name,
|
||||
# but the new one has no association with the old subscription or its topic
|
||||
# unless the same topic is specified.
|
||||
# @param [String] subscription
|
||||
# The subscription to delete.
|
||||
|
@ -618,6 +613,8 @@ module Google
|
|||
# Modifies the ack deadline for a specific message. This method is useful to
|
||||
# indicate that more time is needed to process a message by the subscriber, or
|
||||
# to make the message available for redelivery if the processing was interrupted.
|
||||
# Note that this does not modify the subscription-level `ackDeadlineSeconds`
|
||||
# used for subsequent messages.
|
||||
# @param [String] subscription
|
||||
# The name of the subscription.
|
||||
# @param [Google::Apis::PubsubV1::ModifyAckDeadlineRequest] modify_ack_deadline_request_object
|
||||
|
@ -758,6 +755,110 @@ module Google
|
|||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified. `resource` is
|
||||
# usually specified as a path. For example, a Project resource is specified as `
|
||||
# projects/`project``.
|
||||
# @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::PubsubV1::Policy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def set_snapshot_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::PubsubV1::SetIamPolicyRequest::Representation
|
||||
command.request_object = set_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::PubsubV1::Policy::Representation
|
||||
command.response_class = Google::Apis::PubsubV1::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the access control policy for a resource. Returns an empty policy if the
|
||||
# resource exists and does not have a policy set.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being requested. `resource` is
|
||||
# usually specified as a path. For example, a Project resource is specified as `
|
||||
# projects/`project``.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::PubsubV1::Policy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_snapshot_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
||||
command.response_representation = Google::Apis::PubsubV1::Policy::Representation
|
||||
command.response_class = Google::Apis::PubsubV1::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns permissions that a caller has on the specified resource.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy detail is being requested. `
|
||||
# resource` is usually specified as a path. For example, a Project resource is
|
||||
# specified as `projects/`project``.
|
||||
# @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::PubsubV1::TestIamPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::PubsubV1::TestIamPermissionsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def test_snapshot_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::PubsubV1::TestIamPermissionsRequest::Representation
|
||||
command.request_object = test_iam_permissions_request_object
|
||||
command.response_representation = Google::Apis::PubsubV1::TestIamPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::PubsubV1::TestIamPermissionsResponse
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/sheets/
|
||||
module SheetsV4
|
||||
VERSION = 'V4'
|
||||
REVISION = '20160929'
|
||||
REVISION = '20161004'
|
||||
|
||||
# View the files in your Google Drive
|
||||
AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly'
|
||||
|
|
|
@ -3240,6 +3240,8 @@ module Google
|
|||
|
||||
# Pattern string used for formatting. If not set, a default pattern based on
|
||||
# the user's locale will be used if necessary for the given type.
|
||||
# See the [Date and Number Formats guide](/sheets/guides/formats) for more
|
||||
# information about the supported patterns.
|
||||
# Corresponds to the JSON property `pattern`
|
||||
# @return [String]
|
||||
attr_accessor :pattern
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
module Google
|
||||
module Apis
|
||||
# Client library version
|
||||
VERSION = '0.9.15'
|
||||
VERSION = '0.9.16'
|
||||
|
||||
# Current operating system
|
||||
# @private
|
||||
|
|
Loading…
Reference in New Issue