Autogenerated update (2019-08-10)

Update:
- containeranalysis_v1alpha1
- containeranalysis_v1beta1
- logging_v2
- monitoring_v3
This commit is contained in:
Google APIs 2019-08-10 00:38:10 +00:00
parent f0be159525
commit 3aa57c64bb
11 changed files with 286 additions and 31 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-analysis/api/reference/rest/
module ContaineranalysisV1alpha1
VERSION = 'V1alpha1'
REVISION = '20190627'
REVISION = '20190805'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -173,7 +173,7 @@ module Google
# `
# "log_type": "DATA_READ",
# "exempted_members": [
# "user:foo@gmail.com"
# "user:jose@example.com"
# ]
# `,
# `
@ -185,7 +185,7 @@ module Google
# ]
# `,
# `
# "service": "fooservice.googleapis.com"
# "service": "sampleservice.googleapis.com"
# "audit_log_configs": [
# `
# "log_type": "DATA_READ",
@ -193,16 +193,16 @@ module Google
# `
# "log_type": "DATA_WRITE",
# "exempted_members": [
# "user:bar@gmail.com"
# "user:aliya@example.com"
# ]
# `
# ]
# `
# ]
# `
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
# bar@gmail.com from DATA_WRITE logging.
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts jose@example.com from DATA_READ logging, and
# aliya@example.com from DATA_WRITE logging.
class AuditConfig
include Google::Apis::Core::Hashable
@ -236,7 +236,7 @@ module Google
# `
# "log_type": "DATA_READ",
# "exempted_members": [
# "user:foo@gmail.com"
# "user:jose@example.com"
# ]
# `,
# `
@ -245,7 +245,7 @@ module Google
# ]
# `
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
# foo@gmail.com from DATA_READ logging.
# jose@example.com from DATA_READ logging.
class AuditLogConfig
include Google::Apis::Core::Hashable
@ -256,6 +256,14 @@ module Google
# @return [Array<String>]
attr_accessor :exempted_members
# Specifies whether principals can be exempted for the same LogType in
# lower-level resource policies. If true, any lower-level exemptions will
# be ignored.
# Corresponds to the JSON property `ignoreChildExemptions`
# @return [Boolean]
attr_accessor :ignore_child_exemptions
alias_method :ignore_child_exemptions?, :ignore_child_exemptions
# The log type that this config enables.
# Corresponds to the JSON property `logType`
# @return [String]
@ -268,6 +276,7 @@ module Google
# Update properties of this object
def update!(**args)
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
@ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
@log_type = args[:log_type] if args.key?(:log_type)
end
end
@ -321,7 +330,7 @@ module Google
# * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google
# account. For example, `alice@gmail.com` .
# account. For example, `alice@example.com` .
# * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
@ -1105,7 +1114,7 @@ module Google
include Google::Apis::Core::Hashable
# Optional. The policy format version to be returned.
# Acceptable values are 0 and 1.
# Acceptable values are 0, 1, and 3.
# If the value is 0, or the field is omitted, policy format version 1 will be
# returned.
# Corresponds to the JSON property `requestedPolicyVersion`
@ -1244,8 +1253,7 @@ module Google
class GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext
include Google::Apis::Core::Hashable
# Required.
# Git commit hash.
# Required. Git commit hash.
# Corresponds to the JSON property `revisionId`
# @return [String]
attr_accessor :revision_id
@ -1671,7 +1679,7 @@ module Google
attr_accessor :long_description
# The name of the note in the form
# "providers/`provider_id`/notes/`NOTE_ID`"
# "projects/`provider_project_id`/notes/`NOTE_ID`"
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -1699,6 +1707,13 @@ module Google
# @return [String]
attr_accessor :update_time
# An Upgrade Note represents a potential upgrade of a package to a given
# version. For each package version combination (i.e. bash 4.0, bash 4.1,
# bash 4.1.2), there will be a Upgrade Note.
# Corresponds to the JSON property `upgrade`
# @return [Google::Apis::ContaineranalysisV1alpha1::UpgradeNote]
attr_accessor :upgrade
# VulnerabilityType provides metadata about a security vulnerability.
# Corresponds to the JSON property `vulnerabilityType`
# @return [Google::Apis::ContaineranalysisV1alpha1::VulnerabilityType]
@ -1724,6 +1739,7 @@ module Google
@related_url = args[:related_url] if args.key?(:related_url)
@short_description = args[:short_description] if args.key?(:short_description)
@update_time = args[:update_time] if args.key?(:update_time)
@upgrade = args[:upgrade] if args.key?(:upgrade)
@vulnerability_type = args[:vulnerability_type] if args.key?(:vulnerability_type)
end
end
@ -1818,6 +1834,13 @@ module Google
# @return [String]
attr_accessor :update_time
# An Upgrade Occurrence represents that a specific resource_url could install a
# specific upgrade. This presence is supplied via local sources (i.e. it is
# present in the mirror and the running system has noticed its availability).
# Corresponds to the JSON property `upgrade`
# @return [Google::Apis::ContaineranalysisV1alpha1::UpgradeOccurrence]
attr_accessor :upgrade
# Used by Occurrence to point to where the vulnerability exists and how
# to fix it.
# Corresponds to the JSON property `vulnerabilityDetails`
@ -1844,6 +1867,7 @@ module Google
@resource = args[:resource] if args.key?(:resource)
@resource_url = args[:resource_url] if args.key?(:resource_url)
@update_time = args[:update_time] if args.key?(:update_time)
@upgrade = args[:upgrade] if args.key?(:upgrade)
@vulnerability_details = args[:vulnerability_details] if args.key?(:vulnerability_details)
end
end
@ -2089,7 +2113,7 @@ module Google
# systems are expected to put that etag in the request to `setIamPolicy` to
# ensure that their change will be applied to the same version of the policy.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten blindly.
# policy is overwritten.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
@ -2551,6 +2575,123 @@ module Google
end
end
# The Upgrade Distribution represents metadata about the Upgrade for each
# operating system (CPE). Some distributions have additional metadata around
# updates, classifying them into various categories and severities.
class UpgradeDistribution
include Google::Apis::Core::Hashable
# The operating system classification of this Upgrade, as specified by the
# upstream operating system upgrade feed.
# Corresponds to the JSON property `classification`
# @return [String]
attr_accessor :classification
# Required - The specific operating system this metadata applies to. See
# https://cpe.mitre.org/specification/.
# Corresponds to the JSON property `cpeUri`
# @return [String]
attr_accessor :cpe_uri
# The cve that would be resolved by this upgrade.
# Corresponds to the JSON property `cve`
# @return [Array<String>]
attr_accessor :cve
# The severity as specified by the upstream operating system.
# Corresponds to the JSON property `severity`
# @return [String]
attr_accessor :severity
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@classification = args[:classification] if args.key?(:classification)
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
@cve = args[:cve] if args.key?(:cve)
@severity = args[:severity] if args.key?(:severity)
end
end
# An Upgrade Note represents a potential upgrade of a package to a given
# version. For each package version combination (i.e. bash 4.0, bash 4.1,
# bash 4.1.2), there will be a Upgrade Note.
class UpgradeNote
include Google::Apis::Core::Hashable
# Metadata about the upgrade for each specific operating system.
# Corresponds to the JSON property `distributions`
# @return [Array<Google::Apis::ContaineranalysisV1alpha1::UpgradeDistribution>]
attr_accessor :distributions
# Required - The package this Upgrade is for.
# Corresponds to the JSON property `package`
# @return [String]
attr_accessor :package
# Version contains structured information about the version of the package.
# For a discussion of this in Debian/Ubuntu:
# http://serverfault.com/questions/604541/debian-packages-version-convention
# For a discussion of this in Redhat/Fedora/Centos:
# http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/
# Corresponds to the JSON property `version`
# @return [Google::Apis::ContaineranalysisV1alpha1::Version]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@distributions = args[:distributions] if args.key?(:distributions)
@package = args[:package] if args.key?(:package)
@version = args[:version] if args.key?(:version)
end
end
# An Upgrade Occurrence represents that a specific resource_url could install a
# specific upgrade. This presence is supplied via local sources (i.e. it is
# present in the mirror and the running system has noticed its availability).
class UpgradeOccurrence
include Google::Apis::Core::Hashable
# The Upgrade Distribution represents metadata about the Upgrade for each
# operating system (CPE). Some distributions have additional metadata around
# updates, classifying them into various categories and severities.
# Corresponds to the JSON property `distribution`
# @return [Google::Apis::ContaineranalysisV1alpha1::UpgradeDistribution]
attr_accessor :distribution
# Required - The package this Upgrade is for.
# Corresponds to the JSON property `package`
# @return [String]
attr_accessor :package
# Version contains structured information about the version of the package.
# For a discussion of this in Debian/Ubuntu:
# http://serverfault.com/questions/604541/debian-packages-version-convention
# For a discussion of this in Redhat/Fedora/Centos:
# http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/
# Corresponds to the JSON property `parsedVersion`
# @return [Google::Apis::ContaineranalysisV1alpha1::Version]
attr_accessor :parsed_version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@distribution = args[:distribution] if args.key?(:distribution)
@package = args[:package] if args.key?(:package)
@parsed_version = args[:parsed_version] if args.key?(:parsed_version)
end
end
# Version contains structured information about the version of the package.
# For a discussion of this in Debian/Ubuntu:
# http://serverfault.com/questions/604541/debian-packages-version-convention

View File

@ -400,6 +400,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class UpgradeDistribution
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UpgradeNote
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UpgradeOccurrence
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Version
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -470,6 +488,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :exempted_members, as: 'exemptedMembers'
property :ignore_child_exemptions, as: 'ignoreChildExemptions'
property :log_type, as: 'logType'
end
end
@ -873,6 +892,8 @@ module Google
property :short_description, as: 'shortDescription'
property :update_time, as: 'updateTime'
property :upgrade, as: 'upgrade', class: Google::Apis::ContaineranalysisV1alpha1::UpgradeNote, decorator: Google::Apis::ContaineranalysisV1alpha1::UpgradeNote::Representation
property :vulnerability_type, as: 'vulnerabilityType', class: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityType, decorator: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityType::Representation
end
@ -902,6 +923,8 @@ module Google
property :resource_url, as: 'resourceUrl'
property :update_time, as: 'updateTime'
property :upgrade, as: 'upgrade', class: Google::Apis::ContaineranalysisV1alpha1::UpgradeOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::UpgradeOccurrence::Representation
property :vulnerability_details, as: 'vulnerabilityDetails', class: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityDetails, decorator: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityDetails::Representation
end
@ -1076,6 +1099,38 @@ module Google
end
end
class UpgradeDistribution
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :classification, as: 'classification'
property :cpe_uri, as: 'cpeUri'
collection :cve, as: 'cve'
property :severity, as: 'severity'
end
end
class UpgradeNote
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :distributions, as: 'distributions', class: Google::Apis::ContaineranalysisV1alpha1::UpgradeDistribution, decorator: Google::Apis::ContaineranalysisV1alpha1::UpgradeDistribution::Representation
property :package, as: 'package'
property :version, as: 'version', class: Google::Apis::ContaineranalysisV1alpha1::Version, decorator: Google::Apis::ContaineranalysisV1alpha1::Version::Representation
end
end
class UpgradeOccurrence
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :distribution, as: 'distribution', class: Google::Apis::ContaineranalysisV1alpha1::UpgradeDistribution, decorator: Google::Apis::ContaineranalysisV1alpha1::UpgradeDistribution::Representation
property :package, as: 'package'
property :parsed_version, as: 'parsedVersion', class: Google::Apis::ContaineranalysisV1alpha1::Version, decorator: Google::Apis::ContaineranalysisV1alpha1::Version::Representation
end
end
class Version
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-analysis/api/reference/rest/
module ContaineranalysisV1beta1
VERSION = 'V1beta1'
REVISION = '20190627'
REVISION = '20190805'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -138,7 +138,7 @@ module Google
# `
# "log_type": "DATA_READ",
# "exempted_members": [
# "user:foo@gmail.com"
# "user:jose@example.com"
# ]
# `,
# `
@ -150,7 +150,7 @@ module Google
# ]
# `,
# `
# "service": "fooservice.googleapis.com"
# "service": "sampleservice.googleapis.com"
# "audit_log_configs": [
# `
# "log_type": "DATA_READ",
@ -158,16 +158,16 @@ module Google
# `
# "log_type": "DATA_WRITE",
# "exempted_members": [
# "user:bar@gmail.com"
# "user:aliya@example.com"
# ]
# `
# ]
# `
# ]
# `
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
# bar@gmail.com from DATA_WRITE logging.
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts jose@example.com from DATA_READ logging, and
# aliya@example.com from DATA_WRITE logging.
class AuditConfig
include Google::Apis::Core::Hashable
@ -201,7 +201,7 @@ module Google
# `
# "log_type": "DATA_READ",
# "exempted_members": [
# "user:foo@gmail.com"
# "user:jose@example.com"
# ]
# `,
# `
@ -210,7 +210,7 @@ module Google
# ]
# `
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
# foo@gmail.com from DATA_READ logging.
# jose@example.com from DATA_READ logging.
class AuditLogConfig
include Google::Apis::Core::Hashable
@ -221,6 +221,14 @@ module Google
# @return [Array<String>]
attr_accessor :exempted_members
# Specifies whether principals can be exempted for the same LogType in
# lower-level resource policies. If true, any lower-level exemptions will
# be ignored.
# Corresponds to the JSON property `ignoreChildExemptions`
# @return [Boolean]
attr_accessor :ignore_child_exemptions
alias_method :ignore_child_exemptions?, :ignore_child_exemptions
# The log type that this config enables.
# Corresponds to the JSON property `logType`
# @return [String]
@ -233,6 +241,7 @@ module Google
# Update properties of this object
def update!(**args)
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
@ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
@log_type = args[:log_type] if args.key?(:log_type)
end
end
@ -394,7 +403,7 @@ module Google
# * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google
# account. For example, `alice@gmail.com` .
# account. For example, `alice@example.com` .
# * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
@ -938,6 +947,13 @@ module Google
# @return [String]
attr_accessor :severity_name
# The time this information was last changed at the source. This is an
# upstream timestamp from the underlying information source - e.g. Ubuntu
# security tracker.
# Corresponds to the JSON property `sourceUpdateTime`
# @return [String]
attr_accessor :source_update_time
def initialize(**args)
update!(**args)
end
@ -953,6 +969,7 @@ module Google
@package = args[:package] if args.key?(:package)
@package_type = args[:package_type] if args.key?(:package_type)
@severity_name = args[:severity_name] if args.key?(:severity_name)
@source_update_time = args[:source_update_time] if args.key?(:source_update_time)
end
end
@ -1363,7 +1380,7 @@ module Google
include Google::Apis::Core::Hashable
# Optional. The policy format version to be returned.
# Acceptable values are 0 and 1.
# Acceptable values are 0, 1, and 3.
# If the value is 0, or the field is omitted, policy format version 1 will be
# returned.
# Corresponds to the JSON property `requestedPolicyVersion`
@ -2290,7 +2307,7 @@ module Google
# systems are expected to put that etag in the request to `setIamPolicy` to
# ensure that their change will be applied to the same version of the policy.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten blindly.
# policy is overwritten.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
@ -2836,6 +2853,13 @@ module Google
# @return [String]
attr_accessor :severity
# The time this information was last changed at the source. This is an
# upstream timestamp from the underlying information source - e.g. Ubuntu
# security tracker.
# Corresponds to the JSON property `sourceUpdateTime`
# @return [String]
attr_accessor :source_update_time
# Windows details get their own format because the information format and
# model don't match a normal detail. Specifically Windows updates are done as
# patches, thus Windows vulnerabilities really are a missing package, rather
@ -2854,6 +2878,7 @@ module Google
@cvss_v3 = args[:cvss_v3] if args.key?(:cvss_v3)
@details = args[:details] if args.key?(:details)
@severity = args[:severity] if args.key?(:severity)
@source_update_time = args[:source_update_time] if args.key?(:source_update_time)
@windows_details = args[:windows_details] if args.key?(:windows_details)
end
end

View File

@ -518,6 +518,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :exempted_members, as: 'exemptedMembers'
property :ignore_child_exemptions, as: 'ignoreChildExemptions'
property :log_type, as: 'logType'
end
end
@ -709,6 +710,7 @@ module Google
property :package, as: 'package'
property :package_type, as: 'packageType'
property :severity_name, as: 'severityName'
property :source_update_time, as: 'sourceUpdateTime'
end
end
@ -1220,6 +1222,7 @@ module Google
collection :details, as: 'details', class: Google::Apis::ContaineranalysisV1beta1::Detail, decorator: Google::Apis::ContaineranalysisV1beta1::Detail::Representation
property :severity, as: 'severity'
property :source_update_time, as: 'sourceUpdateTime'
collection :windows_details, as: 'windowsDetails', class: Google::Apis::ContaineranalysisV1beta1::WindowsDetail, decorator: Google::Apis::ContaineranalysisV1beta1::WindowsDetail::Representation
end

View File

@ -28,7 +28,7 @@ module Google
# @see https://cloud.google.com/logging/docs/
module LoggingV2
VERSION = 'V2'
REVISION = '20190608'
REVISION = '20190803'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -508,8 +508,8 @@ module Google
class ListLogsResponse
include Google::Apis::Core::Hashable
# A list of log names. For example, "projects/my-project/syslog" or "
# organizations/123/cloudresourcemanager.googleapis.com%2Factivity".
# A list of log names. For example, "projects/my-project/logs/syslog" or "
# organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity".
# Corresponds to the JSON property `logNames`
# @return [Array<String>]
attr_accessor :log_names

View File

@ -30,7 +30,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/
module MonitoringV3
VERSION = 'V3'
REVISION = '20190622'
REVISION = '20190805'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -171,6 +171,16 @@ module Google
# @return [Hash<String,String>]
attr_accessor :user_labels
# The Status type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by gRPC
# (https://github.com/grpc). Each Status message contains three pieces of data:
# error code, error message, and error details.You can find out more about this
# error model and how to work with it in the API Design Guide (https://cloud.
# google.com/apis/design/errors).
# Corresponds to the JSON property `validity`
# @return [Google::Apis::MonitoringV3::Status]
attr_accessor :validity
def initialize(**args)
update!(**args)
end
@ -187,6 +197,7 @@ module Google
@name = args[:name] if args.key?(:name)
@notification_channels = args[:notification_channels] if args.key?(:notification_channels)
@user_labels = args[:user_labels] if args.key?(:user_labels)
@validity = args[:validity] if args.key?(:validity)
end
end
@ -506,6 +517,13 @@ module Google
# @return [String]
attr_accessor :content
# The matcher representing content match options which the check will run with.
# If the field is not specified (in previous versions), the option is set to be
# CONTAINS_STRING which performs content substring matching.
# Corresponds to the JSON property `matcher`
# @return [String]
attr_accessor :matcher
def initialize(**args)
update!(**args)
end
@ -513,6 +531,7 @@ module Google
# Update properties of this object
def update!(**args)
@content = args[:content] if args.key?(:content)
@matcher = args[:matcher] if args.key?(:matcher)
end
end
@ -1130,6 +1149,13 @@ module Google
attr_accessor :use_ssl
alias_method :use_ssl?, :use_ssl
# Boolean specifying whether to validate SSL certificates. Only applies to
# uptime_url checks. If use_ssl is false, setting this to true has no effect.
# Corresponds to the JSON property `validateSsl`
# @return [Boolean]
attr_accessor :validate_ssl
alias_method :validate_ssl?, :validate_ssl
def initialize(**args)
update!(**args)
end
@ -1142,6 +1168,7 @@ module Google
@path = args[:path] if args.key?(:path)
@port = args[:port] if args.key?(:port)
@use_ssl = args[:use_ssl] if args.key?(:use_ssl)
@validate_ssl = args[:validate_ssl] if args.key?(:validate_ssl)
end
end

View File

@ -445,6 +445,8 @@ module Google
property :name, as: 'name'
collection :notification_channels, as: 'notificationChannels'
hash :user_labels, as: 'userLabels'
property :validity, as: 'validity', class: Google::Apis::MonitoringV3::Status, decorator: Google::Apis::MonitoringV3::Status::Representation
end
end
@ -530,6 +532,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :content, as: 'content'
property :matcher, as: 'matcher'
end
end
@ -675,6 +678,7 @@ module Google
property :path, as: 'path'
property :port, as: 'port'
property :use_ssl, as: 'useSsl'
property :validate_ssl, as: 'validateSsl'
end
end