Autogenerated update (2020-01-16)
Update: - accesscontextmanager_v1 - datafusion_v1beta1 - serviceconsumermanagement_v1 - servicenetworking_v1 - servicenetworking_v1beta - serviceusage_v1 - serviceusage_v1beta1
This commit is contained in:
1 parent
0a5261b583
commit
9449867bbe
34 files changed
+6138
-512
No files matched your search
@@ -37,6 +37,13 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language
|
||||
# to represent the necessary conditions for the level to apply to a request.
|
||||
# See CEL spec at: https://github.com/google/cel-spec
|
||||
# Corresponds to the JSON property `custom`
|
||||
# @return [Google::Apis::AccesscontextmanagerV1::CustomLevel]
|
||||
attr_accessor :custom
|
||||
|
||||
# Description of the `AccessLevel` and its use. Does not affect behavior.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
@@ -67,6 +74,7 @@ module Google
|
||||
def update!(**args)
|
||||
@basic = args[:basic] if args.key?(:basic)
|
||||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@custom = args[:custom] if args.key?(:custom)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@title = args[:title] if args.key?(:title)
|
||||
@@ -247,6 +255,30 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language
|
||||
# to represent the necessary conditions for the level to apply to a request.
|
||||
# See CEL spec at: https://github.com/google/cel-spec
|
||||
class CustomLevel
|
||||
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 `expr`
|
||||
# @return [Google::Apis::AccesscontextmanagerV1::Expr]
|
||||
attr_accessor :expr
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@expr = args[:expr] if args.key?(:expr)
|
||||
end
|
||||
end
|
||||
|
||||
# `DevicePolicy` specifies device specific restrictions necessary to acquire a
|
||||
# given access level. A `DevicePolicy` specifies requirements for requests from
|
||||
# devices to be granted access levels, it does not do any enforcement on the
|
||||
@@ -328,6 +360,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
|
||||
|
||||
# A response to `ListAccessLevelsRequest`.
|
||||
class ListAccessLevelsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -52,6 +52,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CustomLevel
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DevicePolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -64,6 +70,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 ListAccessLevelsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -124,6 +136,8 @@ module Google
|
||||
property :basic, as: 'basic', class: Google::Apis::AccesscontextmanagerV1::BasicLevel, decorator: Google::Apis::AccesscontextmanagerV1::BasicLevel::Representation
|
||||
|
||||
property :create_time, as: 'createTime'
|
||||
property :custom, as: 'custom', class: Google::Apis::AccesscontextmanagerV1::CustomLevel, decorator: Google::Apis::AccesscontextmanagerV1::CustomLevel::Representation
|
||||
|
||||
property :description, as: 'description'
|
||||
property :name, as: 'name'
|
||||
property :title, as: 'title'
|
||||
@@ -170,6 +184,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class CustomLevel
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :expr, as: 'expr', class: Google::Apis::AccesscontextmanagerV1::Expr, decorator: Google::Apis::AccesscontextmanagerV1::Expr::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class DevicePolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -189,6 +211,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 ListAccessLevelsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
Reference in new issue
Block a user