Autogenerated update (2018-08-31)

Update:
- appengine_v1
- appengine_v1beta
- appengine_v1beta4
- appengine_v1beta5
- bigquery_v2
- cloudtasks_v2beta3
- content_v2
- content_v2sandbox
- dlp_v2
- iamcredentials_v1
- language_v1beta2
- servicecontrol_v1
- spanner_v1
- youtube_partner_v1
This commit is contained in:
Google APIs committed 2018-08-31 00:36:52 +00:00
1 parent 9d1a0e4b9e
commit ae3634f2ee
40 files changed
+869 -87

No files matched your search

+56 -1
View File
@@ -213,6 +213,14 @@ module Google
class Binding
include Google::Apis::Core::Hashable
# Represents an expression text. Example:
# title: "User account presence"
# description: "Determines whether the request has a user account"
# expression: "size(request.user) > 0"
# Corresponds to the JSON property `condition`
# @return [Google::Apis::SpannerV1::Expr]
attr_accessor :condition
# Specifies the identities requesting access for a Cloud Platform resource.
# `members` can have the following values:
# * `allUsers`: A special identifier that represents anyone who is
@@ -233,7 +241,6 @@ module Google
# Role that is assigned to `members`.
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
# Required
# Corresponds to the JSON property `role`
# @return [String]
attr_accessor :role
@@ -244,6 +251,7 @@ module Google
# Update properties of this object
def update!(**args)
@condition = args[:condition] if args.key?(:condition)
@members = args[:members] if args.key?(:members)
@role = args[:role] if args.key?(:role)
end
@@ -817,6 +825,53 @@ module Google
end
end
# Represents an expression text. Example:
# title: "User account presence"
# description: "Determines whether the request has a user account"
# expression: "size(request.user) > 0"
class Expr
include Google::Apis::Core::Hashable
# An optional description of the expression. This is a longer text which
# describes the expression, e.g. when hovered over it in a UI.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# Textual representation of an expression in
# Common Expression Language syntax.
# The application context of the containing message determines which
# well-known feature set of CEL is supported.
# Corresponds to the JSON property `expression`
# @return [String]
attr_accessor :expression
# An optional string indicating the location of the expression for error
# reporting, e.g. a file name and a position in the file.
# Corresponds to the JSON property `location`
# @return [String]
attr_accessor :location
# An optional title for the expression, i.e. a short string describing
# its purpose. This can be used e.g. in UIs which allow to enter the
# expression.
# Corresponds to the JSON property `title`
# @return [String]
attr_accessor :title
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@description = args[:description] if args.key?(:description)
@expression = args[:expression] if args.key?(:expression)
@location = args[:location] if args.key?(:location)
@title = args[:title] if args.key?(:title)
end
end
# Message representing a single field of a struct.
class Field
include Google::Apis::Core::Hashable
@@ -106,6 +106,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Expr
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Field
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -393,6 +399,8 @@ module Google
class Binding
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :condition, as: 'condition', class: Google::Apis::SpannerV1::Expr, decorator: Google::Apis::SpannerV1::Expr::Representation
collection :members, as: 'members'
property :role, as: 'role'
end
@@ -506,6 +514,16 @@ module Google
end
end
class Expr
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :expression, as: 'expression'
property :location, as: 'location'
property :title, as: 'title'
end
end
class Field
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+9 -3
View File
@@ -1291,7 +1291,9 @@ module Google
# must be used by the PartitionQueryRequest used to create the
# partition tokens and the ExecuteSqlRequests that use the partition tokens.
# Partition tokens become invalid when the session used to create them
# is deleted or begins a new transaction.
# is deleted, is idle for too long, begins a new transaction, or becomes too
# old. When any of these happen, it is not possible to resume the query, and
# the whole operation must be restarted from the beginning.
# @param [String] session
# Required. The session used to create the partitions.
# @param [Google::Apis::SpannerV1::PartitionQueryRequest] partition_query_request_object
@@ -1329,9 +1331,13 @@ module Google
# by StreamingRead to specify a subset of the read
# result to read. The same session and read-only transaction must be used by
# the PartitionReadRequest used to create the partition tokens and the
# ReadRequests that use the partition tokens.
# ReadRequests that use the partition tokens. There are no ordering
# guarantees on rows returned among the returned partition tokens, or even
# within each individual StreamingRead call issued with a partition_token.
# Partition tokens become invalid when the session used to create them
# is deleted or begins a new transaction.
# is deleted, is idle for too long, begins a new transaction, or becomes too
# old. When any of these happen, it is not possible to resume the read, and
# the whole operation must be restarted from the beginning.
# @param [String] session
# Required. The session used to create the partitions.
# @param [Google::Apis::SpannerV1::PartitionReadRequest] partition_read_request_object