Autogenerated update (2020-04-14)
Update: - classroom_v1 - cloudshell_v1 - cloudshell_v1alpha1 - run_v1 - run_v1alpha1 - securitycenter_v1 - securitycenter_v1beta1 - securitycenter_v1p1alpha1 - securitycenter_v1p1beta1 - slides_v1
This commit is contained in:
parent
82d88e420a
commit
5746a799bf
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/classroom/
|
# @see https://developers.google.com/classroom/
|
||||||
module ClassroomV1
|
module ClassroomV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200305'
|
REVISION = '20200408'
|
||||||
|
|
||||||
# View and manage announcements in Google Classroom
|
# View and manage announcements in Google Classroom
|
||||||
AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'
|
AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'
|
||||||
|
|
|
@ -149,7 +149,7 @@ module Google
|
||||||
# assignment in Classroom.
|
# assignment in Classroom.
|
||||||
# Some attachment metadata is only populated if the requesting user has
|
# Some attachment metadata is only populated if the requesting user has
|
||||||
# permission to access it. Identifier and alternate_link fields are always
|
# permission to access it. Identifier and alternate_link fields are always
|
||||||
# available, but others (e.g. title) may not be.
|
# available, but others (for example, title) may not be.
|
||||||
# Corresponds to the JSON property `attachments`
|
# Corresponds to the JSON property `attachments`
|
||||||
# @return [Array<Google::Apis::ClassroomV1::Attachment>]
|
# @return [Array<Google::Apis::ClassroomV1::Attachment>]
|
||||||
attr_accessor :attachments
|
attr_accessor :attachments
|
||||||
|
@ -540,7 +540,7 @@ module Google
|
||||||
|
|
||||||
# Whether this course work item is associated with the Developer Console
|
# Whether this course work item is associated with the Developer Console
|
||||||
# project making the request.
|
# project making the request.
|
||||||
# See google.classroom.Work.CreateCourseWork for more
|
# See CreateCourseWork for more
|
||||||
# details.
|
# details.
|
||||||
# Read-only.
|
# Read-only.
|
||||||
# Corresponds to the JSON property `associatedWithDeveloper`
|
# Corresponds to the JSON property `associatedWithDeveloper`
|
||||||
|
@ -1499,7 +1499,7 @@ module Google
|
||||||
class ModifyAnnouncementAssigneesRequest
|
class ModifyAnnouncementAssigneesRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Mode of the announcement describing whether it will be accessible by all
|
# Mode of the announcement describing whether it is accessible by all
|
||||||
# students or specified individual students.
|
# students or specified individual students.
|
||||||
# Corresponds to the JSON property `assigneeMode`
|
# Corresponds to the JSON property `assigneeMode`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -1575,13 +1575,13 @@ module Google
|
||||||
class ModifyIndividualStudentsOptions
|
class ModifyIndividualStudentsOptions
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Ids of students to be added as having access to this
|
# IDs of students to be added as having access to this
|
||||||
# coursework/announcement.
|
# coursework/announcement.
|
||||||
# Corresponds to the JSON property `addStudentIds`
|
# Corresponds to the JSON property `addStudentIds`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :add_student_ids
|
attr_accessor :add_student_ids
|
||||||
|
|
||||||
# Ids of students to be removed from having access to this
|
# IDs of students to be removed from having access to this
|
||||||
# coursework/announcement.
|
# coursework/announcement.
|
||||||
# Corresponds to the JSON property `removeStudentIds`
|
# Corresponds to the JSON property `removeStudentIds`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
|
@ -1789,7 +1789,7 @@ module Google
|
||||||
class StateHistory
|
class StateHistory
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The teacher or student who made the change
|
# The teacher or student who made the change.
|
||||||
# Corresponds to the JSON property `actorUserId`
|
# Corresponds to the JSON property `actorUserId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :actor_user_id
|
attr_accessor :actor_user_id
|
||||||
|
@ -1873,8 +1873,8 @@ module Google
|
||||||
attr_accessor :alternate_link
|
attr_accessor :alternate_link
|
||||||
|
|
||||||
# Optional grade. If unset, no grade was set.
|
# Optional grade. If unset, no grade was set.
|
||||||
# This value must be non-negative. Decimal (i.e. non-integer) values are
|
# This value must be non-negative. Decimal (that is, non-integer) values are
|
||||||
# allowed, but will be rounded to two decimal places.
|
# allowed, but are rounded to two decimal places.
|
||||||
# This may be modified only by course teachers.
|
# This may be modified only by course teachers.
|
||||||
# Corresponds to the JSON property `assignedGrade`
|
# Corresponds to the JSON property `assignedGrade`
|
||||||
# @return [Float]
|
# @return [Float]
|
||||||
|
@ -1887,7 +1887,7 @@ module Google
|
||||||
|
|
||||||
# Whether this student submission is associated with the Developer Console
|
# Whether this student submission is associated with the Developer Console
|
||||||
# project making the request.
|
# project making the request.
|
||||||
# See google.classroom.Work.CreateCourseWork for more
|
# See CreateCourseWork for more
|
||||||
# details.
|
# details.
|
||||||
# Read-only.
|
# Read-only.
|
||||||
# Corresponds to the JSON property `associatedWithDeveloper`
|
# Corresponds to the JSON property `associatedWithDeveloper`
|
||||||
|
@ -1921,8 +1921,8 @@ module Google
|
||||||
attr_accessor :creation_time
|
attr_accessor :creation_time
|
||||||
|
|
||||||
# Optional pending grade. If unset, no grade was set.
|
# Optional pending grade. If unset, no grade was set.
|
||||||
# This value must be non-negative. Decimal (i.e. non-integer) values are
|
# This value must be non-negative. Decimal (that is, non-integer) values are
|
||||||
# allowed, but will be rounded to two decimal places.
|
# allowed, but are rounded to two decimal places.
|
||||||
# This is only visible to and modifiable by course teachers.
|
# This is only visible to and modifiable by course teachers.
|
||||||
# Corresponds to the JSON property `draftGrade`
|
# Corresponds to the JSON property `draftGrade`
|
||||||
# @return [Float]
|
# @return [Float]
|
||||||
|
@ -2118,8 +2118,8 @@ module Google
|
||||||
attr_accessor :course_id
|
attr_accessor :course_id
|
||||||
|
|
||||||
# The name of the topic, generated by the user.
|
# The name of the topic, generated by the user.
|
||||||
# Leading and trailing whitespaces, if any, will be trimmed. Also, multiple
|
# Leading and trailing whitespaces, if any, are trimmed. Also, multiple
|
||||||
# consecutive whitespaces will be collapsed into one inside the name. The
|
# consecutive whitespaces are collapsed into one inside the name. The
|
||||||
# result must be a non-empty string. Topic names are case sensitive, and must
|
# result must be a non-empty string. Topic names are case sensitive, and must
|
||||||
# be no longer than 100 characters.
|
# be no longer than 100 characters.
|
||||||
# Corresponds to the JSON property `name`
|
# Corresponds to the JSON property `name`
|
||||||
|
@ -2199,7 +2199,7 @@ module Google
|
||||||
|
|
||||||
# Represents whether a G Suite for Education user's domain administrator has
|
# Represents whether a G Suite for Education user's domain administrator has
|
||||||
# explicitly verified them as being a teacher. If the user is not a member of
|
# explicitly verified them as being a teacher. If the user is not a member of
|
||||||
# a G Suite for Education domain, than this field will always be false.
|
# a G Suite for Education domain, than this field is always false.
|
||||||
# Read-only
|
# Read-only
|
||||||
# Corresponds to the JSON property `verifiedTeacher`
|
# Corresponds to the JSON property `verifiedTeacher`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
|
|
|
@ -718,7 +718,7 @@ module Google
|
||||||
# fields are specified. If a field supports empty values, it can be cleared
|
# fields are specified. If a field supports empty values, it can be cleared
|
||||||
# by specifying it in the update mask and not in the Announcement object. If
|
# by specifying it in the update mask and not in the Announcement object. If
|
||||||
# a field that does not support empty values is included in the update mask
|
# a field that does not support empty values is included in the update mask
|
||||||
# and not set in the Announcement object, an `INVALID_ARGUMENT` error will be
|
# and not set in the Announcement object, an `INVALID_ARGUMENT` error is
|
||||||
# returned.
|
# returned.
|
||||||
# The following fields may be specified by teachers:
|
# The following fields may be specified by teachers:
|
||||||
# * `text`
|
# * `text`
|
||||||
|
@ -1028,7 +1028,7 @@ module Google
|
||||||
# fields are specified. If a field supports empty values, it can be cleared
|
# fields are specified. If a field supports empty values, it can be cleared
|
||||||
# by specifying it in the update mask and not in the CourseWork object. If a
|
# by specifying it in the update mask and not in the CourseWork object. If a
|
||||||
# field that does not support empty values is included in the update mask and
|
# field that does not support empty values is included in the update mask and
|
||||||
# not set in the CourseWork object, an `INVALID_ARGUMENT` error will be
|
# not set in the CourseWork object, an `INVALID_ARGUMENT` error is
|
||||||
# returned.
|
# returned.
|
||||||
# The following fields may be specified by teachers:
|
# The following fields may be specified by teachers:
|
||||||
# * `title`
|
# * `title`
|
||||||
|
@ -2038,7 +2038,7 @@ module Google
|
||||||
# fields are specified. If a field supports empty values, it can be cleared
|
# fields are specified. If a field supports empty values, it can be cleared
|
||||||
# by specifying it in the update mask and not in the Topic object. If a
|
# by specifying it in the update mask and not in the Topic object. If a
|
||||||
# field that does not support empty values is included in the update mask and
|
# field that does not support empty values is included in the update mask and
|
||||||
# not set in the Topic object, an `INVALID_ARGUMENT` error will be
|
# not set in the Topic object, an `INVALID_ARGUMENT` error is
|
||||||
# returned.
|
# returned.
|
||||||
# The following fields may be specified:
|
# The following fields may be specified:
|
||||||
# * `name`
|
# * `name`
|
||||||
|
@ -2527,7 +2527,7 @@ module Google
|
||||||
# invitations.
|
# invitations.
|
||||||
# @param [String] invited_email_address
|
# @param [String] invited_email_address
|
||||||
# If specified, only results with the specified `invited_email_address`
|
# If specified, only results with the specified `invited_email_address`
|
||||||
# will be returned.
|
# are returned.
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# Maximum number of items to return. Zero or unspecified indicates that the
|
# Maximum number of items to return. Zero or unspecified indicates that the
|
||||||
# server may assign a maximum.
|
# server may assign a maximum.
|
||||||
|
@ -2535,13 +2535,13 @@ module Google
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# nextPageToken
|
# nextPageToken
|
||||||
# value returned from a previous
|
# value returned from a previous
|
||||||
# list call,
|
# list
|
||||||
# indicating that the subsequent page of results should be returned.
|
# call, indicating that the subsequent page of results should be returned.
|
||||||
# The list request
|
# The list
|
||||||
# must be otherwise identical to the one that resulted in this token.
|
# request must be otherwise identical to the one that resulted in this token.
|
||||||
# @param [Array<String>, String] states
|
# @param [Array<String>, String] states
|
||||||
# If specified, only results with the specified `state` values will be
|
# If specified, only results with the specified `state` values are
|
||||||
# returned. Otherwise, results with a `state` of `PENDING` will be returned.
|
# returned. Otherwise, results with a `state` of `PENDING` are returned.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -2595,7 +2595,7 @@ module Google
|
||||||
# @param [Google::Apis::ClassroomV1::GuardianInvitation] guardian_invitation_object
|
# @param [Google::Apis::ClassroomV1::GuardianInvitation] guardian_invitation_object
|
||||||
# @param [String] update_mask
|
# @param [String] update_mask
|
||||||
# Mask that identifies which fields on the course to update.
|
# Mask that identifies which fields on the course to update.
|
||||||
# This field is required to do an update. The update will fail if invalid
|
# This field is required to do an update. The update fails if invalid
|
||||||
# fields are specified. The following fields are valid:
|
# fields are specified. The following fields are valid:
|
||||||
# * `state`
|
# * `state`
|
||||||
# When set in a query parameter, this field should be specified as
|
# When set in a query parameter, this field should be specified as
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/shell/docs/
|
# @see https://cloud.google.com/shell/docs/
|
||||||
module CloudshellV1
|
module CloudshellV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200405'
|
REVISION = '20200411'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/shell/docs/
|
# @see https://cloud.google.com/shell/docs/
|
||||||
module CloudshellV1alpha1
|
module CloudshellV1alpha1
|
||||||
VERSION = 'V1alpha1'
|
VERSION = 'V1alpha1'
|
||||||
REVISION = '20200405'
|
REVISION = '20200411'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/run/
|
# @see https://cloud.google.com/run/
|
||||||
module RunV1
|
module RunV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200327'
|
REVISION = '20200407'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -1250,45 +1250,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Cloud Run fully managed: not supported
|
|
||||||
# Cloud Run for Anthos: supported
|
|
||||||
# Handler defines a specific action that should be taken
|
|
||||||
class Handler
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# Cloud Run fully managed: not supported
|
|
||||||
# Cloud Run for Anthos: supported
|
|
||||||
# ExecAction describes a "run in container" action.
|
|
||||||
# Corresponds to the JSON property `exec`
|
|
||||||
# @return [Google::Apis::RunV1::ExecAction]
|
|
||||||
attr_accessor :exec
|
|
||||||
|
|
||||||
# Cloud Run fully managed: not supported
|
|
||||||
# Cloud Run for Anthos: supported
|
|
||||||
# HTTPGetAction describes an action based on HTTP Get requests.
|
|
||||||
# Corresponds to the JSON property `httpGet`
|
|
||||||
# @return [Google::Apis::RunV1::HttpGetAction]
|
|
||||||
attr_accessor :http_get
|
|
||||||
|
|
||||||
# Cloud Run fully managed: not supported
|
|
||||||
# Cloud Run for Anthos: supported
|
|
||||||
# TCPSocketAction describes an action based on opening a socket
|
|
||||||
# Corresponds to the JSON property `tcpSocket`
|
|
||||||
# @return [Google::Apis::RunV1::TcpSocketAction]
|
|
||||||
attr_accessor :tcp_socket
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@exec = args[:exec] if args.key?(:exec)
|
|
||||||
@http_get = args[:http_get] if args.key?(:http_get)
|
|
||||||
@tcp_socket = args[:tcp_socket] if args.key?(:tcp_socket)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# IntOrString is a type that can hold an int32 or a string. When used in
|
# IntOrString is a type that can hold an int32 or a string. When used in
|
||||||
# JSON or YAML marshalling and unmarshalling, it produces or consumes the
|
# JSON or YAML marshalling and unmarshalling, it produces or consumes the
|
||||||
# inner type. This allows you to have, for example, a JSON field that can
|
# inner type. This allows you to have, for example, a JSON field that can
|
||||||
|
@ -2260,6 +2221,13 @@ module Google
|
||||||
class Probe
|
class Probe
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Cloud Run fully managed: not supported
|
||||||
|
# Cloud Run for Anthos: supported
|
||||||
|
# ExecAction describes a "run in container" action.
|
||||||
|
# Corresponds to the JSON property `exec`
|
||||||
|
# @return [Google::Apis::RunV1::ExecAction]
|
||||||
|
attr_accessor :exec
|
||||||
|
|
||||||
# (Optional)
|
# (Optional)
|
||||||
# Cloud Run fully managed: not supported
|
# Cloud Run fully managed: not supported
|
||||||
# Cloud Run for Anthos: supported
|
# Cloud Run for Anthos: supported
|
||||||
|
@ -2271,10 +2239,10 @@ module Google
|
||||||
|
|
||||||
# Cloud Run fully managed: not supported
|
# Cloud Run fully managed: not supported
|
||||||
# Cloud Run for Anthos: supported
|
# Cloud Run for Anthos: supported
|
||||||
# Handler defines a specific action that should be taken
|
# HTTPGetAction describes an action based on HTTP Get requests.
|
||||||
# Corresponds to the JSON property `handler`
|
# Corresponds to the JSON property `httpGet`
|
||||||
# @return [Google::Apis::RunV1::Handler]
|
# @return [Google::Apis::RunV1::HttpGetAction]
|
||||||
attr_accessor :handler
|
attr_accessor :http_get
|
||||||
|
|
||||||
# (Optional)
|
# (Optional)
|
||||||
# Cloud Run fully managed: not supported
|
# Cloud Run fully managed: not supported
|
||||||
|
@ -2306,6 +2274,13 @@ module Google
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :success_threshold
|
attr_accessor :success_threshold
|
||||||
|
|
||||||
|
# Cloud Run fully managed: not supported
|
||||||
|
# Cloud Run for Anthos: supported
|
||||||
|
# TCPSocketAction describes an action based on opening a socket
|
||||||
|
# Corresponds to the JSON property `tcpSocket`
|
||||||
|
# @return [Google::Apis::RunV1::TcpSocketAction]
|
||||||
|
attr_accessor :tcp_socket
|
||||||
|
|
||||||
# (Optional)
|
# (Optional)
|
||||||
# Cloud Run fully managed: not supported
|
# Cloud Run fully managed: not supported
|
||||||
# Cloud Run for Anthos: supported
|
# Cloud Run for Anthos: supported
|
||||||
|
@ -2324,11 +2299,13 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@exec = args[:exec] if args.key?(:exec)
|
||||||
@failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
|
@failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
|
||||||
@handler = args[:handler] if args.key?(:handler)
|
@http_get = args[:http_get] if args.key?(:http_get)
|
||||||
@initial_delay_seconds = args[:initial_delay_seconds] if args.key?(:initial_delay_seconds)
|
@initial_delay_seconds = args[:initial_delay_seconds] if args.key?(:initial_delay_seconds)
|
||||||
@period_seconds = args[:period_seconds] if args.key?(:period_seconds)
|
@period_seconds = args[:period_seconds] if args.key?(:period_seconds)
|
||||||
@success_threshold = args[:success_threshold] if args.key?(:success_threshold)
|
@success_threshold = args[:success_threshold] if args.key?(:success_threshold)
|
||||||
|
@tcp_socket = args[:tcp_socket] if args.key?(:tcp_socket)
|
||||||
@timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
|
@timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -166,12 +166,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Handler
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class IntOrString
|
class IntOrString
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -708,18 +702,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Handler
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :exec, as: 'exec', class: Google::Apis::RunV1::ExecAction, decorator: Google::Apis::RunV1::ExecAction::Representation
|
|
||||||
|
|
||||||
property :http_get, as: 'httpGet', class: Google::Apis::RunV1::HttpGetAction, decorator: Google::Apis::RunV1::HttpGetAction::Representation
|
|
||||||
|
|
||||||
property :tcp_socket, as: 'tcpSocket', class: Google::Apis::RunV1::TcpSocketAction, decorator: Google::Apis::RunV1::TcpSocketAction::Representation
|
|
||||||
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class IntOrString
|
class IntOrString
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -923,12 +905,16 @@ module Google
|
||||||
class Probe
|
class Probe
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :exec, as: 'exec', class: Google::Apis::RunV1::ExecAction, decorator: Google::Apis::RunV1::ExecAction::Representation
|
||||||
|
|
||||||
property :failure_threshold, as: 'failureThreshold'
|
property :failure_threshold, as: 'failureThreshold'
|
||||||
property :handler, as: 'handler', class: Google::Apis::RunV1::Handler, decorator: Google::Apis::RunV1::Handler::Representation
|
property :http_get, as: 'httpGet', class: Google::Apis::RunV1::HttpGetAction, decorator: Google::Apis::RunV1::HttpGetAction::Representation
|
||||||
|
|
||||||
property :initial_delay_seconds, as: 'initialDelaySeconds'
|
property :initial_delay_seconds, as: 'initialDelaySeconds'
|
||||||
property :period_seconds, as: 'periodSeconds'
|
property :period_seconds, as: 'periodSeconds'
|
||||||
property :success_threshold, as: 'successThreshold'
|
property :success_threshold, as: 'successThreshold'
|
||||||
|
property :tcp_socket, as: 'tcpSocket', class: Google::Apis::RunV1::TcpSocketAction, decorator: Google::Apis::RunV1::TcpSocketAction::Representation
|
||||||
|
|
||||||
property :timeout_seconds, as: 'timeoutSeconds'
|
property :timeout_seconds, as: 'timeoutSeconds'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/run/
|
# @see https://cloud.google.com/run/
|
||||||
module RunV1alpha1
|
module RunV1alpha1
|
||||||
VERSION = 'V1alpha1'
|
VERSION = 'V1alpha1'
|
||||||
REVISION = '20200302'
|
REVISION = '20200407'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -3349,16 +3349,21 @@ module Google
|
||||||
class Probe
|
class Probe
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# ExecAction describes a "run in container" action.
|
||||||
|
# Corresponds to the JSON property `exec`
|
||||||
|
# @return [Google::Apis::RunV1alpha1::ExecAction]
|
||||||
|
attr_accessor :exec
|
||||||
|
|
||||||
# Minimum consecutive failures for the probe to be considered failed after
|
# Minimum consecutive failures for the probe to be considered failed after
|
||||||
# having succeeded. Defaults to 3. Minimum value is 1. +optional
|
# having succeeded. Defaults to 3. Minimum value is 1. +optional
|
||||||
# Corresponds to the JSON property `failureThreshold`
|
# Corresponds to the JSON property `failureThreshold`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :failure_threshold
|
attr_accessor :failure_threshold
|
||||||
|
|
||||||
# Handler defines a specific action that should be taken
|
# HTTPGetAction describes an action based on HTTP Get requests.
|
||||||
# Corresponds to the JSON property `handler`
|
# Corresponds to the JSON property `httpGet`
|
||||||
# @return [Google::Apis::RunV1alpha1::Handler]
|
# @return [Google::Apis::RunV1alpha1::HttpGetAction]
|
||||||
attr_accessor :handler
|
attr_accessor :http_get
|
||||||
|
|
||||||
# Number of seconds after the container has started before liveness probes
|
# Number of seconds after the container has started before liveness probes
|
||||||
# are initiated. More info:
|
# are initiated. More info:
|
||||||
|
@ -3383,6 +3388,11 @@ module Google
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :success_threshold
|
attr_accessor :success_threshold
|
||||||
|
|
||||||
|
# TCPSocketAction describes an action based on opening a socket
|
||||||
|
# Corresponds to the JSON property `tcpSocket`
|
||||||
|
# @return [Google::Apis::RunV1alpha1::TcpSocketAction]
|
||||||
|
attr_accessor :tcp_socket
|
||||||
|
|
||||||
# Number of seconds after which the probe times out.
|
# Number of seconds after which the probe times out.
|
||||||
# Defaults to 1 second. Minimum value is 1.
|
# Defaults to 1 second. Minimum value is 1.
|
||||||
# More info:
|
# More info:
|
||||||
|
@ -3399,11 +3409,13 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@exec = args[:exec] if args.key?(:exec)
|
||||||
@failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
|
@failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
|
||||||
@handler = args[:handler] if args.key?(:handler)
|
@http_get = args[:http_get] if args.key?(:http_get)
|
||||||
@initial_delay_seconds = args[:initial_delay_seconds] if args.key?(:initial_delay_seconds)
|
@initial_delay_seconds = args[:initial_delay_seconds] if args.key?(:initial_delay_seconds)
|
||||||
@period_seconds = args[:period_seconds] if args.key?(:period_seconds)
|
@period_seconds = args[:period_seconds] if args.key?(:period_seconds)
|
||||||
@success_threshold = args[:success_threshold] if args.key?(:success_threshold)
|
@success_threshold = args[:success_threshold] if args.key?(:success_threshold)
|
||||||
|
@tcp_socket = args[:tcp_socket] if args.key?(:tcp_socket)
|
||||||
@timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
|
@timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1419,12 +1419,16 @@ module Google
|
||||||
class Probe
|
class Probe
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :exec, as: 'exec', class: Google::Apis::RunV1alpha1::ExecAction, decorator: Google::Apis::RunV1alpha1::ExecAction::Representation
|
||||||
|
|
||||||
property :failure_threshold, as: 'failureThreshold'
|
property :failure_threshold, as: 'failureThreshold'
|
||||||
property :handler, as: 'handler', class: Google::Apis::RunV1alpha1::Handler, decorator: Google::Apis::RunV1alpha1::Handler::Representation
|
property :http_get, as: 'httpGet', class: Google::Apis::RunV1alpha1::HttpGetAction, decorator: Google::Apis::RunV1alpha1::HttpGetAction::Representation
|
||||||
|
|
||||||
property :initial_delay_seconds, as: 'initialDelaySeconds'
|
property :initial_delay_seconds, as: 'initialDelaySeconds'
|
||||||
property :period_seconds, as: 'periodSeconds'
|
property :period_seconds, as: 'periodSeconds'
|
||||||
property :success_threshold, as: 'successThreshold'
|
property :success_threshold, as: 'successThreshold'
|
||||||
|
property :tcp_socket, as: 'tcpSocket', class: Google::Apis::RunV1alpha1::TcpSocketAction, decorator: Google::Apis::RunV1alpha1::TcpSocketAction::Representation
|
||||||
|
|
||||||
property :timeout_seconds, as: 'timeoutSeconds'
|
property :timeout_seconds, as: 'timeoutSeconds'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
||||||
module SecuritycenterV1
|
module SecuritycenterV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200406'
|
REVISION = '20200410'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -406,10 +406,6 @@ module Google
|
||||||
# notification, analysis, policy testing, and enforcement. For example, a
|
# notification, analysis, policy testing, and enforcement. For example, a
|
||||||
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
||||||
# finding.
|
# finding.
|
||||||
# When adding a new field hidden behind a visibility label, ensure it is also
|
|
||||||
# hidden from Notifications:
|
|
||||||
# http://google3/java/com/google/cloud/security/riskdashboard/notification/
|
|
||||||
# actions/streaming/FindingTranslator.java?l=26
|
|
||||||
class Finding
|
class Finding
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -559,10 +555,6 @@ module Google
|
||||||
# notification, analysis, policy testing, and enforcement. For example, a
|
# notification, analysis, policy testing, and enforcement. For example, a
|
||||||
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
||||||
# finding.
|
# finding.
|
||||||
# When adding a new field hidden behind a visibility label, ensure it is also
|
|
||||||
# hidden from Notifications:
|
|
||||||
# http://google3/java/com/google/cloud/security/riskdashboard/notification/
|
|
||||||
# actions/streaming/FindingTranslator.java?l=26
|
|
||||||
# Corresponds to the JSON property `finding`
|
# Corresponds to the JSON property `finding`
|
||||||
# @return [Google::Apis::SecuritycenterV1::Finding]
|
# @return [Google::Apis::SecuritycenterV1::Finding]
|
||||||
attr_accessor :finding
|
attr_accessor :finding
|
||||||
|
@ -1538,10 +1530,6 @@ module Google
|
||||||
# notification, analysis, policy testing, and enforcement. For example, a
|
# notification, analysis, policy testing, and enforcement. For example, a
|
||||||
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
||||||
# finding.
|
# finding.
|
||||||
# When adding a new field hidden behind a visibility label, ensure it is also
|
|
||||||
# hidden from Notifications:
|
|
||||||
# http://google3/java/com/google/cloud/security/riskdashboard/notification/
|
|
||||||
# actions/streaming/FindingTranslator.java?l=26
|
|
||||||
# Corresponds to the JSON property `finding`
|
# Corresponds to the JSON property `finding`
|
||||||
# @return [Google::Apis::SecuritycenterV1::Finding]
|
# @return [Google::Apis::SecuritycenterV1::Finding]
|
||||||
attr_accessor :finding
|
attr_accessor :finding
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
||||||
module SecuritycenterV1beta1
|
module SecuritycenterV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20200406'
|
REVISION = '20200410'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -410,10 +410,6 @@ module Google
|
||||||
# notification, analysis, policy testing, and enforcement. For example, a
|
# notification, analysis, policy testing, and enforcement. For example, a
|
||||||
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
||||||
# finding.
|
# finding.
|
||||||
# When adding a new field hidden behind a visibility label, ensure it is also
|
|
||||||
# hidden from Notifications:
|
|
||||||
# http://google3/java/com/google/cloud/security/riskdashboard/notification/
|
|
||||||
# actions/streaming/FindingTranslator.java?l=26
|
|
||||||
class Finding
|
class Finding
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -563,10 +559,6 @@ module Google
|
||||||
# notification, analysis, policy testing, and enforcement. For example, a
|
# notification, analysis, policy testing, and enforcement. For example, a
|
||||||
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
||||||
# finding.
|
# finding.
|
||||||
# When adding a new field hidden behind a visibility label, ensure it is also
|
|
||||||
# hidden from Notifications:
|
|
||||||
# http://google3/java/com/google/cloud/security/riskdashboard/notification/
|
|
||||||
# actions/streaming/FindingTranslator.java?l=26
|
|
||||||
# Corresponds to the JSON property `finding`
|
# Corresponds to the JSON property `finding`
|
||||||
# @return [Google::Apis::SecuritycenterV1beta1::Finding]
|
# @return [Google::Apis::SecuritycenterV1beta1::Finding]
|
||||||
attr_accessor :finding
|
attr_accessor :finding
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
||||||
module SecuritycenterV1p1alpha1
|
module SecuritycenterV1p1alpha1
|
||||||
VERSION = 'V1p1alpha1'
|
VERSION = 'V1p1alpha1'
|
||||||
REVISION = '20200406'
|
REVISION = '20200410'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -47,10 +47,6 @@ module Google
|
||||||
# notification, analysis, policy testing, and enforcement. For example, a
|
# notification, analysis, policy testing, and enforcement. For example, a
|
||||||
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
||||||
# finding.
|
# finding.
|
||||||
# When adding a new field hidden behind a visibility label, ensure it is also
|
|
||||||
# hidden from Notifications:
|
|
||||||
# http://google3/java/com/google/cloud/security/riskdashboard/notification/
|
|
||||||
# actions/streaming/FindingTranslator.java?l=26
|
|
||||||
class Finding
|
class Finding
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -157,10 +153,6 @@ module Google
|
||||||
# notification, analysis, policy testing, and enforcement. For example, a
|
# notification, analysis, policy testing, and enforcement. For example, a
|
||||||
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
||||||
# finding.
|
# finding.
|
||||||
# When adding a new field hidden behind a visibility label, ensure it is also
|
|
||||||
# hidden from Notifications:
|
|
||||||
# http://google3/java/com/google/cloud/security/riskdashboard/notification/
|
|
||||||
# actions/streaming/FindingTranslator.java?l=26
|
|
||||||
# Corresponds to the JSON property `finding`
|
# Corresponds to the JSON property `finding`
|
||||||
# @return [Google::Apis::SecuritycenterV1p1alpha1::Finding]
|
# @return [Google::Apis::SecuritycenterV1p1alpha1::Finding]
|
||||||
attr_accessor :finding
|
attr_accessor :finding
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
||||||
module SecuritycenterV1p1beta1
|
module SecuritycenterV1p1beta1
|
||||||
VERSION = 'V1p1beta1'
|
VERSION = 'V1p1beta1'
|
||||||
REVISION = '20200406'
|
REVISION = '20200410'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -334,10 +334,6 @@ module Google
|
||||||
# notification, analysis, policy testing, and enforcement. For example, a
|
# notification, analysis, policy testing, and enforcement. For example, a
|
||||||
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
||||||
# finding.
|
# finding.
|
||||||
# When adding a new field hidden behind a visibility label, ensure it is also
|
|
||||||
# hidden from Notifications:
|
|
||||||
# http://google3/java/com/google/cloud/security/riskdashboard/notification/
|
|
||||||
# actions/streaming/FindingTranslator.java?l=26
|
|
||||||
class Finding
|
class Finding
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -487,10 +483,6 @@ module Google
|
||||||
# notification, analysis, policy testing, and enforcement. For example, a
|
# notification, analysis, policy testing, and enforcement. For example, a
|
||||||
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
||||||
# finding.
|
# finding.
|
||||||
# When adding a new field hidden behind a visibility label, ensure it is also
|
|
||||||
# hidden from Notifications:
|
|
||||||
# http://google3/java/com/google/cloud/security/riskdashboard/notification/
|
|
||||||
# actions/streaming/FindingTranslator.java?l=26
|
|
||||||
# Corresponds to the JSON property `finding`
|
# Corresponds to the JSON property `finding`
|
||||||
# @return [Google::Apis::SecuritycenterV1p1beta1::Finding]
|
# @return [Google::Apis::SecuritycenterV1p1beta1::Finding]
|
||||||
attr_accessor :finding
|
attr_accessor :finding
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/slides/
|
# @see https://developers.google.com/slides/
|
||||||
module SlidesV1
|
module SlidesV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200214'
|
REVISION = '20200410'
|
||||||
|
|
||||||
# See, edit, create, and delete all of your Google Drive files
|
# See, edit, create, and delete all of your Google Drive files
|
||||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||||
|
|
|
@ -2498,7 +2498,7 @@ module Google
|
||||||
# properties of all placeholder shapes on pages that use that master.
|
# properties of all placeholder shapes on pages that use that master.
|
||||||
# - The master page properties define the common page properties inherited by
|
# - The master page properties define the common page properties inherited by
|
||||||
# its layouts.
|
# its layouts.
|
||||||
# - Any other shapes on the master slide will appear on all slides using that
|
# - Any other shapes on the master slide appear on all slides using that
|
||||||
# master, regardless of their layout.
|
# master, regardless of their layout.
|
||||||
# Corresponds to the JSON property `masters`
|
# Corresponds to the JSON property `masters`
|
||||||
# @return [Array<Google::Apis::SlidesV1::Page>]
|
# @return [Array<Google::Apis::SlidesV1::Page>]
|
||||||
|
|
|
@ -203,7 +203,7 @@ module Google
|
||||||
# The object ID of the page whose thumbnail to retrieve.
|
# The object ID of the page whose thumbnail to retrieve.
|
||||||
# @param [String] thumbnail_properties_mime_type
|
# @param [String] thumbnail_properties_mime_type
|
||||||
# The optional mime type of the thumbnail image.
|
# The optional mime type of the thumbnail image.
|
||||||
# If you don't specify the mime type, the default mime type will be PNG.
|
# If you don't specify the mime type, the mime type defaults to PNG.
|
||||||
# @param [String] thumbnail_properties_thumbnail_size
|
# @param [String] thumbnail_properties_thumbnail_size
|
||||||
# The optional thumbnail image size.
|
# The optional thumbnail image size.
|
||||||
# If you don't specify the size, the server chooses a default size of the
|
# If you don't specify the size, the server chooses a default size of the
|
||||||
|
|
Loading…
Reference in New Issue