Autogenerated update (2019-05-15)

Update:
- androidmanagement_v1
- binaryauthorization_v1beta1
- cloudprivatecatalog_v1beta1
- cloudprivatecatalogproducer_v1beta1
- container_v1beta1
- dialogflow_v2
- dlp_v2
- testing_v1
This commit is contained in:
Google APIs 2019-05-15 00:38:02 +00:00
parent 67f507b479
commit ad7ce6e120
24 changed files with 8289 additions and 37 deletions

View File

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

View File

@ -1794,8 +1794,8 @@ module Google
attr_accessor :metadata attr_accessor :metadata
# The server-assigned name, which is only unique within the same service that # The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the name should # originally returns it. If you use the default HTTP mapping, the name should be
# have the format of operations/some/unique/name. # a resource name ending with operations/`unique_id`.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/binary-authorization/ # @see https://cloud.google.com/binary-authorization/
module BinaryauthorizationV1beta1 module BinaryauthorizationV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20190412' REVISION = '20190511'
# 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'

View File

@ -48,6 +48,10 @@ module Google
@batch_path = 'batch' @batch_path = 'batch'
end end
# A policy specifies the attestors that must attest to
# a container image, before the project is allowed to deploy that
# image. There is at most one policy per project. All image admission
# requests are permitted if a project has no policy.
# Gets the policy for this project. Returns a default # Gets the policy for this project. Returns a default
# policy if the project does not have one. # policy if the project does not have one.
# @param [String] name # @param [String] name

View File

@ -23,10 +23,10 @@ module Google
# Enable cloud users to discover enterprise catalogs and products in their # Enable cloud users to discover enterprise catalogs and products in their
# organizations. # organizations.
# #
# @see https://sites.google.com/corp/google.com/cloudprivatecatalog # @see https://cloud.google.com/private-catalog/
module CloudprivatecatalogV1beta1 module CloudprivatecatalogV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20190304' REVISION = '20190511'
# 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'

View File

@ -31,7 +31,7 @@ module Google
# Cloudprivatecatalog = Google::Apis::CloudprivatecatalogV1beta1 # Alias the module # Cloudprivatecatalog = Google::Apis::CloudprivatecatalogV1beta1 # Alias the module
# service = Cloudprivatecatalog::CloudPrivateCatalogService.new # service = Cloudprivatecatalog::CloudPrivateCatalogService.new
# #
# @see https://sites.google.com/corp/google.com/cloudprivatecatalog # @see https://cloud.google.com/private-catalog/
class CloudPrivateCatalogService < Google::Apis::Core::BaseService class CloudPrivateCatalogService < Google::Apis::Core::BaseService
# @return [String] # @return [String]
# API key. Your API key identifies your project and provides you with API access, # API key. Your API key identifies your project and provides you with API access,

View File

@ -23,10 +23,10 @@ module Google
# Enables cloud users to manage and share enterprise catalogs intheir # Enables cloud users to manage and share enterprise catalogs intheir
# organizations. # organizations.
# #
# @see https://sites.google.com/corp/google.com/cloudprivatecatalog # @see https://cloud.google.com/private-catalog/
module CloudprivatecatalogproducerV1beta1 module CloudprivatecatalogproducerV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20190413' REVISION = '20190511'
# 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'

View File

@ -1039,7 +1039,7 @@ module Google
# The server-assigned name, which is only unique within the same service that # The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the # originally returns it. If you use the default HTTP mapping, the
# `name` should have the format of `operations/some/unique/name`. # `name` should be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name

View File

@ -31,7 +31,7 @@ module Google
# Cloudprivatecatalogproducer = Google::Apis::CloudprivatecatalogproducerV1beta1 # Alias the module # Cloudprivatecatalogproducer = Google::Apis::CloudprivatecatalogproducerV1beta1 # Alias the module
# service = Cloudprivatecatalogproducer::CloudPrivateCatalogProducerService.new # service = Cloudprivatecatalogproducer::CloudPrivateCatalogProducerService.new
# #
# @see https://sites.google.com/corp/google.com/cloudprivatecatalog # @see https://cloud.google.com/private-catalog/
class CloudPrivateCatalogProducerService < Google::Apis::Core::BaseService class CloudPrivateCatalogProducerService < Google::Apis::Core::BaseService
# @return [String] # @return [String]
# API key. Your API key identifies your project and provides you with API access, # API key. Your API key identifies your project and provides you with API access,

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/ # @see https://cloud.google.com/container-engine/
module ContainerV1beta1 module ContainerV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20190418' REVISION = '20190423'
# 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'

View File

@ -598,7 +598,8 @@ module Google
# [Output only] The size of the address space on each node for hosting # [Output only] The size of the address space on each node for hosting
# containers. This is provisioned from within the `container_ipv4_cidr` # containers. This is provisioned from within the `container_ipv4_cidr`
# range. # range. This field will only be set when cluster is in route-based network
# mode.
# Corresponds to the JSON property `nodeIpv4CidrSize` # Corresponds to the JSON property `nodeIpv4CidrSize`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :node_ipv4_cidr_size attr_accessor :node_ipv4_cidr_size
@ -688,6 +689,12 @@ module Google
# @return [Google::Apis::ContainerV1beta1::VerticalPodAutoscaling] # @return [Google::Apis::ContainerV1beta1::VerticalPodAutoscaling]
attr_accessor :vertical_pod_autoscaling attr_accessor :vertical_pod_autoscaling
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
# policies.
# Corresponds to the JSON property `workloadIdentityConfig`
# @return [Google::Apis::ContainerV1beta1::WorkloadIdentityConfig]
attr_accessor :workload_identity_config
# [Output only] The name of the Google Compute Engine # [Output only] The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
@ -752,6 +759,7 @@ module Google
@subnetwork = args[:subnetwork] if args.key?(:subnetwork) @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
@tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block) @tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
@vertical_pod_autoscaling = args[:vertical_pod_autoscaling] if args.key?(:vertical_pod_autoscaling) @vertical_pod_autoscaling = args[:vertical_pod_autoscaling] if args.key?(:vertical_pod_autoscaling)
@workload_identity_config = args[:workload_identity_config] if args.key?(:workload_identity_config)
@zone = args[:zone] if args.key?(:zone) @zone = args[:zone] if args.key?(:zone)
end end
end end
@ -893,9 +901,9 @@ module Google
attr_accessor :desired_node_pool_autoscaling attr_accessor :desired_node_pool_autoscaling
# The node pool to be upgraded. This field is mandatory if # The node pool to be upgraded. This field is mandatory if
# "desired_node_version", "desired_image_family" or # "desired_node_version", "desired_image_family",
# "desired_node_pool_autoscaling" is specified and there is more than one # "desired_node_pool_autoscaling", or "desired_workload_metadata_config"
# node pool on the cluster. # is specified and there is more than one node pool on the cluster.
# Corresponds to the JSON property `desiredNodePoolId` # Corresponds to the JSON property `desiredNodePoolId`
# @return [String] # @return [String]
attr_accessor :desired_node_pool_id attr_accessor :desired_node_pool_id
@ -918,6 +926,11 @@ module Google
# @return [Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig] # @return [Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig]
attr_accessor :desired_pod_security_policy_config attr_accessor :desired_pod_security_policy_config
# Configuration options for private clusters.
# Corresponds to the JSON property `desiredPrivateClusterConfig`
# @return [Google::Apis::ContainerV1beta1::PrivateClusterConfig]
attr_accessor :desired_private_cluster_config
# Configuration for exporting cluster resource usages. # Configuration for exporting cluster resource usages.
# Corresponds to the JSON property `desiredResourceUsageExportConfig` # Corresponds to the JSON property `desiredResourceUsageExportConfig`
# @return [Google::Apis::ContainerV1beta1::ResourceUsageExportConfig] # @return [Google::Apis::ContainerV1beta1::ResourceUsageExportConfig]
@ -930,6 +943,12 @@ module Google
# @return [Google::Apis::ContainerV1beta1::VerticalPodAutoscaling] # @return [Google::Apis::ContainerV1beta1::VerticalPodAutoscaling]
attr_accessor :desired_vertical_pod_autoscaling attr_accessor :desired_vertical_pod_autoscaling
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
# policies.
# Corresponds to the JSON property `desiredWorkloadIdentityConfig`
# @return [Google::Apis::ContainerV1beta1::WorkloadIdentityConfig]
attr_accessor :desired_workload_identity_config
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -951,8 +970,10 @@ module Google
@desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id) @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
@desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version) @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
@desired_pod_security_policy_config = args[:desired_pod_security_policy_config] if args.key?(:desired_pod_security_policy_config) @desired_pod_security_policy_config = args[:desired_pod_security_policy_config] if args.key?(:desired_pod_security_policy_config)
@desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config)
@desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config) @desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
@desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling) @desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling)
@desired_workload_identity_config = args[:desired_workload_identity_config] if args.key?(:desired_workload_identity_config)
end end
end end
@ -2611,6 +2632,12 @@ module Google
class PrivateClusterConfig class PrivateClusterConfig
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Whether to enable route sharing over the network peering.
# Corresponds to the JSON property `enablePeeringRouteSharing`
# @return [Boolean]
attr_accessor :enable_peering_route_sharing
alias_method :enable_peering_route_sharing?, :enable_peering_route_sharing
# Whether the master's internal IP address is used as the cluster endpoint. # Whether the master's internal IP address is used as the cluster endpoint.
# Corresponds to the JSON property `enablePrivateEndpoint` # Corresponds to the JSON property `enablePrivateEndpoint`
# @return [Boolean] # @return [Boolean]
@ -2649,6 +2676,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@enable_peering_route_sharing = args[:enable_peering_route_sharing] if args.key?(:enable_peering_route_sharing)
@enable_private_endpoint = args[:enable_private_endpoint] if args.key?(:enable_private_endpoint) @enable_private_endpoint = args[:enable_private_endpoint] if args.key?(:enable_private_endpoint)
@enable_private_nodes = args[:enable_private_nodes] if args.key?(:enable_private_nodes) @enable_private_nodes = args[:enable_private_nodes] if args.key?(:enable_private_nodes)
@master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block) @master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block)
@ -3856,6 +3884,26 @@ module Google
end end
end end
# Configuration for the use of Kubernetes Service Accounts in GCP IAM
# policies.
class WorkloadIdentityConfig
include Google::Apis::Core::Hashable
# IAM Identity Namespace to attach all Kubernetes Service Accounts to.
# Corresponds to the JSON property `identityNamespace`
# @return [String]
attr_accessor :identity_namespace
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@identity_namespace = args[:identity_namespace] if args.key?(:identity_namespace)
end
end
# WorkloadMetadataConfig defines the metadata configuration to expose to # WorkloadMetadataConfig defines the metadata configuration to expose to
# workloads on the node pool. # workloads on the node pool.
class WorkloadMetadataConfig class WorkloadMetadataConfig

View File

@ -496,6 +496,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class WorkloadIdentityConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WorkloadMetadataConfig class WorkloadMetadataConfig
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -671,6 +677,8 @@ module Google
property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock' property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock'
property :vertical_pod_autoscaling, as: 'verticalPodAutoscaling', class: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling::Representation property :vertical_pod_autoscaling, as: 'verticalPodAutoscaling', class: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling::Representation
property :workload_identity_config, as: 'workloadIdentityConfig', class: Google::Apis::ContainerV1beta1::WorkloadIdentityConfig, decorator: Google::Apis::ContainerV1beta1::WorkloadIdentityConfig::Representation
property :zone, as: 'zone' property :zone, as: 'zone'
end end
end end
@ -712,10 +720,14 @@ module Google
property :desired_node_version, as: 'desiredNodeVersion' property :desired_node_version, as: 'desiredNodeVersion'
property :desired_pod_security_policy_config, as: 'desiredPodSecurityPolicyConfig', class: Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig, decorator: Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig::Representation property :desired_pod_security_policy_config, as: 'desiredPodSecurityPolicyConfig', class: Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig, decorator: Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig::Representation
property :desired_private_cluster_config, as: 'desiredPrivateClusterConfig', class: Google::Apis::ContainerV1beta1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1beta1::PrivateClusterConfig::Representation
property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig::Representation property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig::Representation
property :desired_vertical_pod_autoscaling, as: 'desiredVerticalPodAutoscaling', class: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling::Representation property :desired_vertical_pod_autoscaling, as: 'desiredVerticalPodAutoscaling', class: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling::Representation
property :desired_workload_identity_config, as: 'desiredWorkloadIdentityConfig', class: Google::Apis::ContainerV1beta1::WorkloadIdentityConfig, decorator: Google::Apis::ContainerV1beta1::WorkloadIdentityConfig::Representation
end end
end end
@ -1128,6 +1140,7 @@ module Google
class PrivateClusterConfig class PrivateClusterConfig
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :enable_peering_route_sharing, as: 'enablePeeringRouteSharing'
property :enable_private_endpoint, as: 'enablePrivateEndpoint' property :enable_private_endpoint, as: 'enablePrivateEndpoint'
property :enable_private_nodes, as: 'enablePrivateNodes' property :enable_private_nodes, as: 'enablePrivateNodes'
property :master_ipv4_cidr_block, as: 'masterIpv4CidrBlock' property :master_ipv4_cidr_block, as: 'masterIpv4CidrBlock'
@ -1409,6 +1422,13 @@ module Google
end end
end end
class WorkloadIdentityConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :identity_namespace, as: 'identityNamespace'
end
end
class WorkloadMetadataConfig class WorkloadMetadataConfig
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow-enterprise/ # @see https://cloud.google.com/dialogflow-enterprise/
module DialogflowV2 module DialogflowV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20190506' REVISION = '20190514'
# 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'

View File

@ -882,8 +882,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :action attr_accessor :action
# Optional. The list of platforms for which the first response will be # Optional. The list of platforms for which the first responses will be
# taken from among the messages assigned to the DEFAULT_PLATFORM. # copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
# Corresponds to the JSON property `defaultResponsePlatforms` # Corresponds to the JSON property `defaultResponsePlatforms`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :default_response_platforms attr_accessor :default_response_platforms
@ -2948,8 +2948,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :action attr_accessor :action
# Optional. The list of platforms for which the first response will be # Optional. The list of platforms for which the first responses will be
# taken from among the messages assigned to the DEFAULT_PLATFORM. # copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
# Corresponds to the JSON property `defaultResponsePlatforms` # Corresponds to the JSON property `defaultResponsePlatforms`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :default_response_platforms attr_accessor :default_response_platforms

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/dlp/docs/ # @see https://cloud.google.com/dlp/docs/
module DlpV2 module DlpV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20190422' REVISION = '20190511'
# 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'

View File

@ -33,7 +33,10 @@ module Google
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobNotificationEmails] # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobNotificationEmails]
attr_accessor :job_notification_emails attr_accessor :job_notification_emails
# Publish the results of a DlpJob to a pub sub channel. # Publish a message into given Pub/Sub topic when DlpJob has completed. The
# message contains a single field, `DlpJobName`, which is equal to the
# finished job's
# [`DlpJob.name`](/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
# Compatible with: Inspect, Risk # Compatible with: Inspect, Risk
# Corresponds to the JSON property `pubSub` # Corresponds to the JSON property `pubSub`
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub] # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub]
@ -4360,7 +4363,10 @@ module Google
end end
end end
# Publish the results of a DlpJob to a pub sub channel. # Publish a message into given Pub/Sub topic when DlpJob has completed. The
# message contains a single field, `DlpJobName`, which is equal to the
# finished job's
# [`DlpJob.name`](/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
# Compatible with: Inspect, Risk # Compatible with: Inspect, Risk
class GooglePrivacyDlpV2PublishToPubSub class GooglePrivacyDlpV2PublishToPubSub
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -1135,13 +1135,18 @@ module Google
# - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED # - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
# - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY # - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
# - `trigger_name` - The resource name of the trigger that created job. # - `trigger_name` - The resource name of the trigger that created job.
# - 'end_time` - Corresponds to time the job finished.
# - 'start_time` - Corresponds to time the job finished.
# * Supported fields for risk analysis jobs: # * Supported fields for risk analysis jobs:
# - `state` - RUNNING|CANCELED|FINISHED|FAILED # - `state` - RUNNING|CANCELED|FINISHED|FAILED
# - 'end_time` - Corresponds to time the job finished.
# - 'start_time` - Corresponds to time the job finished.
# * The operator must be `=` or `!=`. # * The operator must be `=` or `!=`.
# Examples: # Examples:
# * inspected_storage = cloud_storage AND state = done # * inspected_storage = cloud_storage AND state = done
# * inspected_storage = cloud_storage OR inspected_storage = bigquery # * inspected_storage = cloud_storage OR inspected_storage = bigquery
# * inspected_storage = cloud_storage AND (state = done OR state = canceled) # * inspected_storage = cloud_storage AND (state = done OR state = canceled)
# * end_time > \"2017-12-12T00:00:00+00:00\"
# The length of this field should be no more than 500 characters. # The length of this field should be no more than 500 characters.
# @param [String] order_by # @param [String] order_by
# Optional comma separated list of fields to order by, # Optional comma separated list of fields to order by,

View File

@ -0,0 +1,34 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/healthcare_v1alpha2/service.rb'
require 'google/apis/healthcare_v1alpha2/classes.rb'
require 'google/apis/healthcare_v1alpha2/representations.rb'
module Google
module Apis
# Cloud Healthcare API
#
# Manage, store, and access healthcare data in Google Cloud Platform.
#
# @see https://cloud.google.com/healthcare
module HealthcareV1alpha2
VERSION = 'V1alpha2'
REVISION = '20190503'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
end
end
end

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/cloud-test-lab/ # @see https://developers.google.com/cloud-test-lab/
module TestingV1 module TestingV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190424' REVISION = '20190514'
# 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'

View File

@ -27,7 +27,7 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Enables automatic Google account login. # Enables automatic Google account login.
# If set, the service will automatically generate a Google test account and add # If set, the service automatically generates a Google test account and adds
# it to the device, before executing the test. Note that test accounts might be # it to the device, before executing the test. Note that test accounts might be
# reused. # reused.
# Many applications show their full set of functionalities when an account is # Many applications show their full set of functionalities when an account is
@ -1027,7 +1027,7 @@ module Google
end end
# Enables automatic Google account login. # Enables automatic Google account login.
# If set, the service will automatically generate a Google test account and add # If set, the service automatically generates a Google test account and adds
# it to the device, before executing the test. Note that test accounts might be # it to the device, before executing the test. Note that test accounts might be
# reused. # reused.
# Many applications show their full set of functionalities when an account is # Many applications show their full set of functionalities when an account is
@ -1277,7 +1277,7 @@ module Google
end end
end end
# A description of how to set up an iOS device prior to a test. # A description of how to set up an iOS device prior to running the test.
class IosTestSetup class IosTestSetup
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1627,6 +1627,11 @@ module Google
# @return [Google::Apis::TestingV1::GoogleCloudStorage] # @return [Google::Apis::TestingV1::GoogleCloudStorage]
attr_accessor :google_cloud_storage attr_accessor :google_cloud_storage
# Output only. URL to the results in the Firebase Web Console.
# Corresponds to the JSON property `resultsUrl`
# @return [String]
attr_accessor :results_url
# Represents a tool results execution resource. # Represents a tool results execution resource.
# This has the results of a TestMatrix. # This has the results of a TestMatrix.
# Corresponds to the JSON property `toolResultsExecution` # Corresponds to the JSON property `toolResultsExecution`
@ -1645,6 +1650,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@google_cloud_storage = args[:google_cloud_storage] if args.key?(:google_cloud_storage) @google_cloud_storage = args[:google_cloud_storage] if args.key?(:google_cloud_storage)
@results_url = args[:results_url] if args.key?(:results_url)
@tool_results_execution = args[:tool_results_execution] if args.key?(:tool_results_execution) @tool_results_execution = args[:tool_results_execution] if args.key?(:tool_results_execution)
@tool_results_history = args[:tool_results_history] if args.key?(:tool_results_history) @tool_results_history = args[:tool_results_history] if args.key?(:tool_results_history)
end end
@ -1819,7 +1825,7 @@ module Google
end end
end end
# Specifies a single test to be executed in a single environment. # A single test executed in a single environment.
class TestExecution class TestExecution
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1828,7 +1834,7 @@ module Google
# @return [Google::Apis::TestingV1::Environment] # @return [Google::Apis::TestingV1::Environment]
attr_accessor :environment attr_accessor :environment
# Output only. Unique id set by the backend. # Output only. Unique id set by the service.
# Corresponds to the JSON property `id` # Corresponds to the JSON property `id`
# @return [String] # @return [String]
attr_accessor :id attr_accessor :id
@ -1888,8 +1894,9 @@ module Google
end end
end end
# A group of one or more TestExecutions, built by taking a # TestMatrix captures all details about a test. It contains the environment
# product of values over a pre-defined set of axes. # configuration, test specification, test executions and overall state and
# outcome.
class TestMatrix class TestMatrix
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1917,6 +1924,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :invalid_matrix_details attr_accessor :invalid_matrix_details
# Output Only. The overall outcome of the test.
# Only set when the test matrix state is FINISHED.
# Corresponds to the JSON property `outcomeSummary`
# @return [String]
attr_accessor :outcome_summary
# The cloud project that owns the test matrix. # The cloud project that owns the test matrix.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
@ -1927,8 +1940,7 @@ module Google
# @return [Google::Apis::TestingV1::ResultStorage] # @return [Google::Apis::TestingV1::ResultStorage]
attr_accessor :result_storage attr_accessor :result_storage
# Output only. Indicates the current progress of the test matrix # Output only. Indicates the current progress of the test matrix.
# (e.g., FINISHED).
# Corresponds to the JSON property `state` # Corresponds to the JSON property `state`
# @return [String] # @return [String]
attr_accessor :state attr_accessor :state
@ -1964,6 +1976,7 @@ module Google
@environment_matrix = args[:environment_matrix] if args.key?(:environment_matrix) @environment_matrix = args[:environment_matrix] if args.key?(:environment_matrix)
@flaky_test_attempts = args[:flaky_test_attempts] if args.key?(:flaky_test_attempts) @flaky_test_attempts = args[:flaky_test_attempts] if args.key?(:flaky_test_attempts)
@invalid_matrix_details = args[:invalid_matrix_details] if args.key?(:invalid_matrix_details) @invalid_matrix_details = args[:invalid_matrix_details] if args.key?(:invalid_matrix_details)
@outcome_summary = args[:outcome_summary] if args.key?(:outcome_summary)
@project_id = args[:project_id] if args.key?(:project_id) @project_id = args[:project_id] if args.key?(:project_id)
@result_storage = args[:result_storage] if args.key?(:result_storage) @result_storage = args[:result_storage] if args.key?(:result_storage)
@state = args[:state] if args.key?(:state) @state = args[:state] if args.key?(:state)
@ -2063,19 +2076,19 @@ module Google
# @return [Google::Apis::TestingV1::AndroidTestLoop] # @return [Google::Apis::TestingV1::AndroidTestLoop]
attr_accessor :android_test_loop attr_accessor :android_test_loop
# Disables performance metrics recording; may reduce test latency. # Disables performance metrics recording. May reduce test latency.
# Corresponds to the JSON property `disablePerformanceMetrics` # Corresponds to the JSON property `disablePerformanceMetrics`
# @return [Boolean] # @return [Boolean]
attr_accessor :disable_performance_metrics attr_accessor :disable_performance_metrics
alias_method :disable_performance_metrics?, :disable_performance_metrics alias_method :disable_performance_metrics?, :disable_performance_metrics
# Disables video recording; may reduce test latency. # Disables video recording. May reduce test latency.
# Corresponds to the JSON property `disableVideoRecording` # Corresponds to the JSON property `disableVideoRecording`
# @return [Boolean] # @return [Boolean]
attr_accessor :disable_video_recording attr_accessor :disable_video_recording
alias_method :disable_video_recording?, :disable_video_recording alias_method :disable_video_recording?, :disable_video_recording
# A description of how to set up an iOS device prior to a test. # A description of how to set up an iOS device prior to running the test.
# Corresponds to the JSON property `iosTestSetup` # Corresponds to the JSON property `iosTestSetup`
# @return [Google::Apis::TestingV1::IosTestSetup] # @return [Google::Apis::TestingV1::IosTestSetup]
attr_accessor :ios_test_setup attr_accessor :ios_test_setup

View File

@ -839,6 +839,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :google_cloud_storage, as: 'googleCloudStorage', class: Google::Apis::TestingV1::GoogleCloudStorage, decorator: Google::Apis::TestingV1::GoogleCloudStorage::Representation property :google_cloud_storage, as: 'googleCloudStorage', class: Google::Apis::TestingV1::GoogleCloudStorage, decorator: Google::Apis::TestingV1::GoogleCloudStorage::Representation
property :results_url, as: 'resultsUrl'
property :tool_results_execution, as: 'toolResultsExecution', class: Google::Apis::TestingV1::ToolResultsExecution, decorator: Google::Apis::TestingV1::ToolResultsExecution::Representation property :tool_results_execution, as: 'toolResultsExecution', class: Google::Apis::TestingV1::ToolResultsExecution, decorator: Google::Apis::TestingV1::ToolResultsExecution::Representation
property :tool_results_history, as: 'toolResultsHistory', class: Google::Apis::TestingV1::ToolResultsHistory, decorator: Google::Apis::TestingV1::ToolResultsHistory::Representation property :tool_results_history, as: 'toolResultsHistory', class: Google::Apis::TestingV1::ToolResultsHistory, decorator: Google::Apis::TestingV1::ToolResultsHistory::Representation
@ -925,6 +926,7 @@ module Google
property :flaky_test_attempts, as: 'flakyTestAttempts' property :flaky_test_attempts, as: 'flakyTestAttempts'
property :invalid_matrix_details, as: 'invalidMatrixDetails' property :invalid_matrix_details, as: 'invalidMatrixDetails'
property :outcome_summary, as: 'outcomeSummary'
property :project_id, as: 'projectId' property :project_id, as: 'projectId'
property :result_storage, as: 'resultStorage', class: Google::Apis::TestingV1::ResultStorage, decorator: Google::Apis::TestingV1::ResultStorage::Representation property :result_storage, as: 'resultStorage', class: Google::Apis::TestingV1::ResultStorage, decorator: Google::Apis::TestingV1::ResultStorage::Representation