Autogenerated update (2018-05-24)

Update:
- androidmanagement_v1
- container_v1beta1
- dlp_v2
- ml_v1
- monitoring_v3
This commit is contained in:
Google APIs 2018-05-24 00:36:39 +00:00
parent a8a0389881
commit a7af5bb8fc
14 changed files with 187 additions and 37 deletions

View File

@ -6174,6 +6174,7 @@
"/androidmanagement:v1/ApplicationPolicy/defaultPermissionPolicy": default_permission_policy
"/androidmanagement:v1/ApplicationPolicy/delegatedScopes": delegated_scopes
"/androidmanagement:v1/ApplicationPolicy/delegatedScopes/delegated_scope": delegated_scope
"/androidmanagement:v1/ApplicationPolicy/disabled": disabled
"/androidmanagement:v1/ApplicationPolicy/installType": install_type
"/androidmanagement:v1/ApplicationPolicy/lockTaskAllowed": lock_task_allowed
"/androidmanagement:v1/ApplicationPolicy/managedConfiguration": managed_configuration
@ -32294,6 +32295,8 @@
"/container:v1beta1/AutoUpgradeOptions": auto_upgrade_options
"/container:v1beta1/AutoUpgradeOptions/autoUpgradeStartTime": auto_upgrade_start_time
"/container:v1beta1/AutoUpgradeOptions/description": description
"/container:v1beta1/BinaryAuthorization": binary_authorization
"/container:v1beta1/BinaryAuthorization/enabled": enabled
"/container:v1beta1/CancelOperationRequest": cancel_operation_request
"/container:v1beta1/CancelOperationRequest/name": name
"/container:v1beta1/CancelOperationRequest/operationId": operation_id
@ -32306,6 +32309,7 @@
"/container:v1beta1/ClientCertificateConfig/issueClientCertificate": issue_client_certificate
"/container:v1beta1/Cluster": cluster
"/container:v1beta1/Cluster/addonsConfig": addons_config
"/container:v1beta1/Cluster/binaryAuthorization": binary_authorization
"/container:v1beta1/Cluster/clusterIpv4Cidr": cluster_ipv4_cidr
"/container:v1beta1/Cluster/createTime": create_time
"/container:v1beta1/Cluster/currentMasterVersion": current_master_version
@ -32351,6 +32355,7 @@
"/container:v1beta1/Cluster/zone": zone
"/container:v1beta1/ClusterUpdate": cluster_update
"/container:v1beta1/ClusterUpdate/desiredAddonsConfig": desired_addons_config
"/container:v1beta1/ClusterUpdate/desiredBinaryAuthorization": desired_binary_authorization
"/container:v1beta1/ClusterUpdate/desiredImageType": desired_image_type
"/container:v1beta1/ClusterUpdate/desiredLocations": desired_locations
"/container:v1beta1/ClusterUpdate/desiredLocations/desired_location": desired_location
@ -62451,6 +62456,8 @@
"/monitoring:v3/Distribution/bucketCounts/bucket_count": bucket_count
"/monitoring:v3/Distribution/bucketOptions": bucket_options
"/monitoring:v3/Distribution/count": count
"/monitoring:v3/Distribution/exemplars": exemplars
"/monitoring:v3/Distribution/exemplars/exemplar": exemplar
"/monitoring:v3/Distribution/mean": mean
"/monitoring:v3/Distribution/range": range
"/monitoring:v3/Distribution/sumOfSquaredDeviation": sum_of_squared_deviation
@ -62458,6 +62465,12 @@
"/monitoring:v3/Documentation/content": content
"/monitoring:v3/Documentation/mimeType": mime_type
"/monitoring:v3/Empty": empty
"/monitoring:v3/Exemplar": exemplar
"/monitoring:v3/Exemplar/attachments": attachments
"/monitoring:v3/Exemplar/attachments/attachment": attachment
"/monitoring:v3/Exemplar/attachments/attachment/attachment": attachment
"/monitoring:v3/Exemplar/timestamp": timestamp
"/monitoring:v3/Exemplar/value": value
"/monitoring:v3/Explicit": explicit
"/monitoring:v3/Explicit/bounds": bounds
"/monitoring:v3/Explicit/bounds/bound": bound

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/android/management
module AndroidmanagementV1
VERSION = 'V1'
REVISION = '20180514'
REVISION = '20180523'
# Manage Android devices and apps for your customers
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'

View File

@ -182,6 +182,12 @@ module Google
# @return [Array<String>]
attr_accessor :delegated_scopes
# Whether the app should be disabled, but app data is preserved.
# Corresponds to the JSON property `disabled`
# @return [Boolean]
attr_accessor :disabled
alias_method :disabled?, :disabled
# The type of installation to perform.
# Corresponds to the JSON property `installType`
# @return [String]
@ -237,6 +243,7 @@ module Google
def update!(**args)
@default_permission_policy = args[:default_permission_policy] if args.key?(:default_permission_policy)
@delegated_scopes = args[:delegated_scopes] if args.key?(:delegated_scopes)
@disabled = args[:disabled] if args.key?(:disabled)
@install_type = args[:install_type] if args.key?(:install_type)
@lock_task_allowed = args[:lock_task_allowed] if args.key?(:lock_task_allowed)
@managed_configuration = args[:managed_configuration] if args.key?(:managed_configuration)
@ -458,12 +465,6 @@ module Google
# @return [Google::Apis::AndroidmanagementV1::NonComplianceDetailCondition]
attr_accessor :non_compliance_detail_condition
# If set, the rule includes a mitigating action to disable apps specified in the
# list, but app data is preserved.
# Corresponds to the JSON property `packageNamesToDisable`
# @return [Array<String>]
attr_accessor :package_names_to_disable
def initialize(**args)
update!(**args)
end
@ -473,7 +474,6 @@ module Google
@api_level_condition = args[:api_level_condition] if args.key?(:api_level_condition)
@disable_apps = args[:disable_apps] if args.key?(:disable_apps)
@non_compliance_detail_condition = args[:non_compliance_detail_condition] if args.key?(:non_compliance_detail_condition)
@package_names_to_disable = args[:package_names_to_disable] if args.key?(:package_names_to_disable)
end
end

View File

@ -341,6 +341,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :default_permission_policy, as: 'defaultPermissionPolicy'
collection :delegated_scopes, as: 'delegatedScopes'
property :disabled, as: 'disabled'
property :install_type, as: 'installType'
property :lock_task_allowed, as: 'lockTaskAllowed'
hash :managed_configuration, as: 'managedConfiguration'
@ -398,7 +399,6 @@ module Google
property :disable_apps, as: 'disableApps'
property :non_compliance_detail_condition, as: 'nonComplianceDetailCondition', class: Google::Apis::AndroidmanagementV1::NonComplianceDetailCondition, decorator: Google::Apis::AndroidmanagementV1::NonComplianceDetailCondition::Representation
collection :package_names_to_disable, as: 'packageNamesToDisable'
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/
module ContainerV1beta1
VERSION = 'V1beta1'
REVISION = '20180504'
REVISION = '20180518'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -120,6 +120,27 @@ module Google
end
end
# Configuration for Binary Authorization.
class BinaryAuthorization
include Google::Apis::Core::Hashable
# Enable Binary Authorization for this cluster. If enabled, all container
# images will be validated by Google Binauthz.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enabled = args[:enabled] if args.key?(:enabled)
end
end
# CancelOperationRequest cancels a single operation.
class CancelOperationRequest
include Google::Apis::Core::Hashable
@ -218,6 +239,11 @@ module Google
# @return [Google::Apis::ContainerV1beta1::AddonsConfig]
attr_accessor :addons_config
# Configuration for Binary Authorization.
# Corresponds to the JSON property `binaryAuthorization`
# @return [Google::Apis::ContainerV1beta1::BinaryAuthorization]
attr_accessor :binary_authorization
# The IP address range of the container pods in this cluster, in
# [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
# notation (e.g. `10.96.0.0/14`). Leave blank to have
@ -503,6 +529,7 @@ module Google
# Update properties of this object
def update!(**args)
@addons_config = args[:addons_config] if args.key?(:addons_config)
@binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization)
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
@create_time = args[:create_time] if args.key?(:create_time)
@current_master_version = args[:current_master_version] if args.key?(:current_master_version)
@ -557,6 +584,11 @@ module Google
# @return [Google::Apis::ContainerV1beta1::AddonsConfig]
attr_accessor :desired_addons_config
# Configuration for Binary Authorization.
# Corresponds to the JSON property `desiredBinaryAuthorization`
# @return [Google::Apis::ContainerV1beta1::BinaryAuthorization]
attr_accessor :desired_binary_authorization
# The desired image type for the node pool.
# NOTE: Set the "desired_node_pool" field as well.
# Corresponds to the JSON property `desiredImageType`
@ -641,6 +673,7 @@ module Google
# Update properties of this object
def update!(**args)
@desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
@desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
@desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
@desired_locations = args[:desired_locations] if args.key?(:desired_locations)
@desired_master_authorized_networks_config = args[:desired_master_authorized_networks_config] if args.key?(:desired_master_authorized_networks_config)

View File

@ -40,6 +40,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class BinaryAuthorization
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CancelOperationRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -400,6 +406,13 @@ module Google
end
end
class BinaryAuthorization
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
end
end
class CancelOperationRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -430,6 +443,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1beta1::AddonsConfig, decorator: Google::Apis::ContainerV1beta1::AddonsConfig::Representation
property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::ContainerV1beta1::BinaryAuthorization, decorator: Google::Apis::ContainerV1beta1::BinaryAuthorization::Representation
property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr'
property :create_time, as: 'createTime'
property :current_master_version, as: 'currentMasterVersion'
@ -487,6 +502,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :desired_addons_config, as: 'desiredAddonsConfig', class: Google::Apis::ContainerV1beta1::AddonsConfig, decorator: Google::Apis::ContainerV1beta1::AddonsConfig::Representation
property :desired_binary_authorization, as: 'desiredBinaryAuthorization', class: Google::Apis::ContainerV1beta1::BinaryAuthorization, decorator: Google::Apis::ContainerV1beta1::BinaryAuthorization::Representation
property :desired_image_type, as: 'desiredImageType'
collection :desired_locations, as: 'desiredLocations'
property :desired_master_authorized_networks_config, as: 'desiredMasterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig::Representation

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/dlp/docs/
module DlpV2
VERSION = 'V2'
REVISION = '20180515'
REVISION = '20180522'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -126,7 +126,13 @@ module Google
end
end
#
# An auxiliary table contains statistical information on the relative
# frequency of different quasi-identifiers values. It has one or several
# quasi-identifiers columns, and one column that indicates the relative
# frequency of each quasi-identifier tuple.
# If a tuple is present in the data but not in the auxiliary table, the
# corresponding relative frequency is assumed to be zero (and thus, the
# tuple is highly reidentifiable).
class GooglePrivacyDlpV2AuxiliaryTable
include Google::Apis::Core::Hashable
@ -1100,9 +1106,9 @@ module Google
class GooglePrivacyDlpV2CustomInfoType
include Google::Apis::Core::Hashable
# Set of detection rules to apply to all findings of this custom info type.
# Set of detection rules to apply to all findings of this CustomInfoType.
# Rules are applied in order that they are specified. Not supported for the
# `surrogate_type` custom info type.
# `surrogate_type` CustomInfoType.
# Corresponds to the JSON property `detectionRules`
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2DetectionRule>]
attr_accessor :detection_rules
@ -1134,7 +1140,7 @@ module Google
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
attr_accessor :info_type
# Likelihood to return for this custom info type. This base value can be
# Likelihood to return for this CustomInfoType. This base value can be
# altered by a detection rule if the finding meets the criteria specified by
# the rule. Defaults to `VERY_LIKELY` if not specified.
# Corresponds to the JSON property `likelihood`
@ -1153,7 +1159,7 @@ module Google
# These types of transformations are
# those that perform pseudonymization, thereby producing a "surrogate" as
# output. This should be used in conjunction with a field on the
# transformation such as `surrogate_info_type`. This custom info type does
# transformation such as `surrogate_info_type`. This CustomInfoType does
# not support the use of `detection_rules`.
# Corresponds to the JSON property `surrogateType`
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SurrogateType]
@ -1476,7 +1482,7 @@ module Google
end
end
# Rule for modifying a custom info type to alter behavior under certain
# Rule for modifying a CustomInfoType to alter behavior under certain
# circumstances, depending on the specific details of the rule. Not supported
# for the `surrogate_type` custom info type.
class GooglePrivacyDlpV2DetectionRule
@ -2061,7 +2067,10 @@ module Google
class GooglePrivacyDlpV2InfoType
include Google::Apis::Core::Hashable
# Name of the information type.
# Name of the information type. Either a name of your choosing when
# creating a CustomInfoType, or one of the names listed
# at https://cloud.google.com/dlp/docs/infotypes-reference when specifying
# a built-in type.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -2239,7 +2248,8 @@ module Google
alias_method :include_quote?, :include_quote
# Restricts what info_types to look for. The values must correspond to
# InfoType values returned by ListInfoTypes or found in documentation.
# InfoType values returned by ListInfoTypes or listed at
# https://cloud.google.com/dlp/docs/infotypes-reference.
# Corresponds to the JSON property `infoTypes`
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
attr_accessor :info_types
@ -4281,7 +4291,7 @@ module Google
# These types of transformations are
# those that perform pseudonymization, thereby producing a "surrogate" as
# output. This should be used in conjunction with a field on the
# transformation such as `surrogate_info_type`. This custom info type does
# transformation such as `surrogate_info_type`. This CustomInfoType does
# not support the use of `detection_rules`.
class GooglePrivacyDlpV2SurrogateType
include Google::Apis::Core::Hashable

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/ml/
module MlV1
VERSION = 'V1'
REVISION = '20180507'
REVISION = '20180521'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -112,8 +112,8 @@ module Google
include Google::Apis::Core::Hashable
# Optional. The minimum number of nodes to allocate for this model. These
# nodes are always up, starting from the time the model is deployed, so the
# cost of operating this model will be at least
# nodes are always up, starting from the time the model is deployed.
# Therefore, the cost of operating this model will be at least
# `rate` * `min_nodes` * number of hours since last billing cycle,
# where `rate` is the cost per node-hour as documented in the
# [pricing guide](/ml-engine/docs/pricing),
@ -127,6 +127,21 @@ module Google
# If not specified, `min_nodes` defaults to 0, in which case, when traffic
# to a model stops (and after a cool-down period), nodes will be shut down
# and no charges will be incurred until traffic to the model resumes.
# You can set `min_nodes` when creating the model version, and you can also
# update `min_nodes` for an existing version:
# <pre>
# update_body.json:
# `
# 'autoScaling': `
# 'minNodes': 5
# `
# `
# </pre>
# HTTP request:
# <pre>
# PATCH https://ml.googleapis.com/v1/`name=projects/*/models/*/versions/*`?
# update_mask=autoScaling.minNodes -d @./update_body.json
# </pre>
# Corresponds to the JSON property `minNodes`
# @return [Fixnum]
attr_accessor :min_nodes
@ -1039,46 +1054,43 @@ module Google
# <dt>complex_model_m</dt>
# <dd>
# A machine with roughly twice the number of cores and roughly double the
# memory of <code suppresswarning="true">complex_model_s</code>.
# memory of <i>complex_model_s</i>.
# </dd>
# <dt>complex_model_l</dt>
# <dd>
# A machine with roughly twice the number of cores and roughly double the
# memory of <code suppresswarning="true">complex_model_m</code>.
# memory of <i>complex_model_m</i>.
# </dd>
# <dt>standard_gpu</dt>
# <dd>
# A machine equivalent to <code suppresswarning="true">standard</code> that
# A machine equivalent to <i>standard</i> that
# also includes a single NVIDIA Tesla K80 GPU. See more about
# <a href="/ml-engine/docs/tensorflow/using-gpus">using GPUs to
# train your model</a>.
# </dd>
# <dt>complex_model_m_gpu</dt>
# <dd>
# A machine equivalent to
# <code suppresswarning="true">complex_model_m</code> that also includes
# A machine equivalent to <i>complex_model_m</i> that also includes
# four NVIDIA Tesla K80 GPUs.
# </dd>
# <dt>complex_model_l_gpu</dt>
# <dd>
# A machine equivalent to
# <code suppresswarning="true">complex_model_l</code> that also includes
# A machine equivalent to <i>complex_model_l</i> that also includes
# eight NVIDIA Tesla K80 GPUs.
# </dd>
# <dt>standard_p100</dt>
# <dd>
# A machine equivalent to <code suppresswarning="true">standard</code> that
# A machine equivalent to <i>standard</i> that
# also includes a single NVIDIA Tesla P100 GPU. The availability of these
# GPUs is in the Beta launch stage.
# GPUs is in the <i>Beta</i> launch stage.
# </dd>
# <dt>complex_model_m_p100</dt>
# <dd>
# A machine equivalent to
# <code suppresswarning="true">complex_model_m</code> that also includes
# A machine equivalent to <i>complex_model_m</i> that also includes
# four NVIDIA Tesla P100 GPUs. The availability of these GPUs is in
# the Beta launch stage.
# the <i>Beta</i> launch stage.
# </dd>
# <dt>standard_tpu</dt>
# <dt>cloud_tpu</dt>
# <dd>
# A TPU VM including one Cloud TPU. The availability of Cloud TPU is in
# <i>Beta</i> launch stage. See more about

View File

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

View File

@ -711,6 +711,12 @@ module Google
# @return [Fixnum]
attr_accessor :count
# Must be in increasing order of |value| field. The current requirement enforced
# by the backend is that at most one Exemplar will fall into any bucket.
# Corresponds to the JSON property `exemplars`
# @return [Array<Google::Apis::MonitoringV3::Exemplar>]
attr_accessor :exemplars
# The arithmetic mean of the values in the population. If count is zero then
# this field must be zero.
# Corresponds to the JSON property `mean`
@ -741,6 +747,7 @@ module Google
@bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts)
@bucket_options = args[:bucket_options] if args.key?(:bucket_options)
@count = args[:count] if args.key?(:count)
@exemplars = args[:exemplars] if args.key?(:exemplars)
@mean = args[:mean] if args.key?(:mean)
@range = args[:range] if args.key?(:range)
@sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation)
@ -795,6 +802,47 @@ module Google
end
end
# Exemplars are example points that may be used to annotate aggregated
# distribution values. They are metadata that gives information about a
# particular value added to a Distribution bucket, such as a trace ID that was
# active when a value was added. They may contain further information, such as a
# example values and timestamps, origin, etc.
class Exemplar
include Google::Apis::Core::Hashable
# Contextual information about the example value. Examples are:Trace ID: type.
# googleapis.com/google.devtools.cloudtrace.v1.TraceLiteral string: type.
# googleapis.com/google.protobuf.StringValueLabels dropped during aggregation:
# type.googleapis.com/google.monitoring.v3.DroppedLabelsThere may be only a
# single attachment of any given message type in a single exemplar, and this is
# enforced by the system.
# Corresponds to the JSON property `attachments`
# @return [Array<Hash<String,Object>>]
attr_accessor :attachments
# The observation (sampling) time of the above value.
# Corresponds to the JSON property `timestamp`
# @return [String]
attr_accessor :timestamp
# Value of the exemplar point. This value determines to which bucket the
# exemplar belongs.
# Corresponds to the JSON property `value`
# @return [Float]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@attachments = args[:attachments] if args.key?(:attachments)
@timestamp = args[:timestamp] if args.key?(:timestamp)
@value = args[:value] if args.key?(:value)
end
end
# Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (=
# N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1):
# boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at

View File

@ -118,6 +118,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Exemplar
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Explicit
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -543,6 +549,8 @@ module Google
property :bucket_options, as: 'bucketOptions', class: Google::Apis::MonitoringV3::BucketOptions, decorator: Google::Apis::MonitoringV3::BucketOptions::Representation
property :count, :numeric_string => true, as: 'count'
collection :exemplars, as: 'exemplars', class: Google::Apis::MonitoringV3::Exemplar, decorator: Google::Apis::MonitoringV3::Exemplar::Representation
property :mean, as: 'mean'
property :range, as: 'range', class: Google::Apis::MonitoringV3::Range, decorator: Google::Apis::MonitoringV3::Range::Representation
@ -564,6 +572,15 @@ module Google
end
end
class Exemplar
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :attachments, as: 'attachments'
property :timestamp, as: 'timestamp'
property :value, as: 'value'
end
end
class Explicit
# @private
class Representation < Google::Apis::Core::JsonRepresentation