Autogenerated update (2018-10-17)

Delete:
- serviceuser_v1

Update:
- appengine_v1
- appengine_v1alpha
- appengine_v1beta
- appengine_v1beta4
- appengine_v1beta5
- dialogflow_v2
- dns_v1beta2
- jobs_v3
- script_v1
- toolresults_v1beta3
This commit is contained in:
Google APIs 2018-10-17 00:36:31 +00:00
parent 6cb5c96af2
commit 6e108eac21
29 changed files with 324 additions and 4802 deletions

View File

@ -56471,6 +56471,10 @@
"/dialogflow:v2/GoogleCloudDialogflowV2beta1Context/name": name
"/dialogflow:v2/GoogleCloudDialogflowV2beta1Context/parameters": parameters
"/dialogflow:v2/GoogleCloudDialogflowV2beta1Context/parameters/parameter": parameter
"/dialogflow:v2/GoogleCloudDialogflowV2beta1ConversationEvent": google_cloud_dialogflow_v2beta1_conversation_event
"/dialogflow:v2/GoogleCloudDialogflowV2beta1ConversationEvent/conversation": conversation
"/dialogflow:v2/GoogleCloudDialogflowV2beta1ConversationEvent/errorStatus": error_status
"/dialogflow:v2/GoogleCloudDialogflowV2beta1ConversationEvent/type": type
"/dialogflow:v2/GoogleCloudDialogflowV2beta1EntityType": google_cloud_dialogflow_v2beta1_entity_type
"/dialogflow:v2/GoogleCloudDialogflowV2beta1EntityType/autoExpansionMode": auto_expansion_mode
"/dialogflow:v2/GoogleCloudDialogflowV2beta1EntityType/displayName": display_name
@ -56490,6 +56494,9 @@
"/dialogflow:v2/GoogleCloudDialogflowV2beta1ExportAgentResponse": google_cloud_dialogflow_v2beta1_export_agent_response
"/dialogflow:v2/GoogleCloudDialogflowV2beta1ExportAgentResponse/agentContent": agent_content
"/dialogflow:v2/GoogleCloudDialogflowV2beta1ExportAgentResponse/agentUri": agent_uri
"/dialogflow:v2/GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent": google_cloud_dialogflow_v2beta1_human_agent_assistant_event
"/dialogflow:v2/GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent/conversation": conversation
"/dialogflow:v2/GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent/type": type
"/dialogflow:v2/GoogleCloudDialogflowV2beta1Intent": google_cloud_dialogflow_v2beta1_intent
"/dialogflow:v2/GoogleCloudDialogflowV2beta1Intent/action": action
"/dialogflow:v2/GoogleCloudDialogflowV2beta1Intent/defaultResponsePlatforms": default_response_platforms
@ -61084,6 +61091,8 @@
"/dns:v1beta2/ManagedZone/nameServerSet": name_server_set
"/dns:v1beta2/ManagedZone/nameServers": name_servers
"/dns:v1beta2/ManagedZone/nameServers/name_server": name_server
"/dns:v1beta2/ManagedZone/privateVisibilityConfig": private_visibility_config
"/dns:v1beta2/ManagedZone/visibility": visibility
"/dns:v1beta2/ManagedZoneDnsSecConfig": managed_zone_dns_sec_config
"/dns:v1beta2/ManagedZoneDnsSecConfig/defaultKeySpecs": default_key_specs
"/dns:v1beta2/ManagedZoneDnsSecConfig/defaultKeySpecs/default_key_spec": default_key_spec
@ -61096,6 +61105,13 @@
"/dns:v1beta2/ManagedZoneOperationsListResponse/nextPageToken": next_page_token
"/dns:v1beta2/ManagedZoneOperationsListResponse/operations": operations
"/dns:v1beta2/ManagedZoneOperationsListResponse/operations/operation": operation
"/dns:v1beta2/ManagedZonePrivateVisibilityConfig": managed_zone_private_visibility_config
"/dns:v1beta2/ManagedZonePrivateVisibilityConfig/kind": kind
"/dns:v1beta2/ManagedZonePrivateVisibilityConfig/networks": networks
"/dns:v1beta2/ManagedZonePrivateVisibilityConfig/networks/network": network
"/dns:v1beta2/ManagedZonePrivateVisibilityConfigNetwork": managed_zone_private_visibility_config_network
"/dns:v1beta2/ManagedZonePrivateVisibilityConfigNetwork/kind": kind
"/dns:v1beta2/ManagedZonePrivateVisibilityConfigNetwork/networkUrl": network_url
"/dns:v1beta2/ManagedZonesDeleteResponse": managed_zones_delete_response
"/dns:v1beta2/ManagedZonesDeleteResponse/header": header
"/dns:v1beta2/ManagedZonesListResponse": managed_zones_list_response
@ -61129,6 +61145,8 @@
"/dns:v1beta2/Quota/dnsKeysPerManagedZone": dns_keys_per_managed_zone
"/dns:v1beta2/Quota/kind": kind
"/dns:v1beta2/Quota/managedZones": managed_zones
"/dns:v1beta2/Quota/managedZonesPerNetwork": managed_zones_per_network
"/dns:v1beta2/Quota/networksPerManagedZone": networks_per_managed_zone
"/dns:v1beta2/Quota/resourceRecordsPerRrset": resource_records_per_rrset
"/dns:v1beta2/Quota/rrsetAdditionsPerChange": rrset_additions_per_change
"/dns:v1beta2/Quota/rrsetDeletionsPerChange": rrset_deletions_per_change
@ -68974,6 +68992,7 @@
"/jobs:v3/jobs.projects.complete": complete_project
"/jobs:v3/jobs.projects.complete/companyName": company_name
"/jobs:v3/jobs.projects.complete/languageCode": language_code
"/jobs:v3/jobs.projects.complete/languageCodes": language_codes
"/jobs:v3/jobs.projects.complete/name": name
"/jobs:v3/jobs.projects.complete/pageSize": page_size
"/jobs:v3/jobs.projects.complete/query": query

View File

@ -20,13 +20,12 @@ module Google
module Apis
# App Engine Admin API
#
# The App Engine Admin API enables developers to provision and manage their App
# Engine applications.
# Provisions and manages developers' App Engine applications.
#
# @see https://cloud.google.com/appengine/docs/admin-api/
module AppengineV1
VERSION = 'V1'
REVISION = '20181001'
REVISION = '20181011'
# View and manage your applications deployed on Google App Engine
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'

View File

@ -22,8 +22,7 @@ module Google
module AppengineV1
# App Engine Admin API
#
# The App Engine Admin API enables developers to provision and manage their App
# Engine applications.
# Provisions and manages developers' App Engine applications.
#
# @example
# require 'google/apis/appengine_v1'

View File

@ -20,13 +20,12 @@ module Google
module Apis
# App Engine Admin API
#
# The App Engine Admin API enables developers to provision and manage their App
# Engine applications.
# Provisions and manages developers' App Engine applications.
#
# @see https://cloud.google.com/appengine/docs/admin-api/
module AppengineV1alpha
VERSION = 'V1alpha'
REVISION = '20180607'
REVISION = '20181011'
# View and manage your applications deployed on Google App Engine
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'

View File

@ -22,8 +22,7 @@ module Google
module AppengineV1alpha
# App Engine Admin API
#
# The App Engine Admin API enables developers to provision and manage their App
# Engine applications.
# Provisions and manages developers' App Engine applications.
#
# @example
# require 'google/apis/appengine_v1alpha'

View File

@ -20,13 +20,12 @@ module Google
module Apis
# App Engine Admin API
#
# The App Engine Admin API enables developers to provision and manage their App
# Engine applications.
# Provisions and manages developers' App Engine applications.
#
# @see https://cloud.google.com/appengine/docs/admin-api/
module AppengineV1beta
VERSION = 'V1beta'
REVISION = '20181001'
REVISION = '20181011'
# View and manage your applications deployed on Google App Engine
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'

View File

@ -22,8 +22,7 @@ module Google
module AppengineV1beta
# App Engine Admin API
#
# The App Engine Admin API enables developers to provision and manage their App
# Engine applications.
# Provisions and manages developers' App Engine applications.
#
# @example
# require 'google/apis/appengine_v1beta'

View File

@ -20,13 +20,12 @@ module Google
module Apis
# App Engine Admin API
#
# The App Engine Admin API enables developers to provision and manage their App
# Engine applications.
# Provisions and manages developers' App Engine applications.
#
# @see https://cloud.google.com/appengine/docs/admin-api/
module AppengineV1beta4
VERSION = 'V1beta4'
REVISION = '20180823'
REVISION = '20181011'
# View and manage your applications deployed on Google App Engine
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'

View File

@ -22,8 +22,7 @@ module Google
module AppengineV1beta4
# App Engine Admin API
#
# The App Engine Admin API enables developers to provision and manage their App
# Engine applications.
# Provisions and manages developers' App Engine applications.
#
# @example
# require 'google/apis/appengine_v1beta4'

View File

@ -20,13 +20,12 @@ module Google
module Apis
# App Engine Admin API
#
# The App Engine Admin API enables developers to provision and manage their App
# Engine applications.
# Provisions and manages developers' App Engine applications.
#
# @see https://cloud.google.com/appengine/docs/admin-api/
module AppengineV1beta5
VERSION = 'V1beta5'
REVISION = '20180823'
REVISION = '20181011'
# View and manage your applications deployed on Google App Engine
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'

View File

@ -22,8 +22,7 @@ module Google
module AppengineV1beta5
# App Engine Admin API
#
# The App Engine Admin API enables developers to provision and manage their App
# Engine applications.
# Provisions and manages developers' App Engine applications.
#
# @example
# require 'google/apis/appengine_v1beta5'

View File

@ -20,16 +20,19 @@ module Google
module Apis
# Dialogflow API
#
# An end-to-end development suite for conversational interfaces (e.g., chatbots,
# voice-powered apps and devices).
# Builds conversational interfaces (for example, chatbots, and voice-powered
# apps and devices).
#
# @see https://cloud.google.com/dialogflow-enterprise/
module DialogflowV2
VERSION = 'V2'
REVISION = '20181009'
REVISION = '20181015'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
# View, manage and query your Dialogflow agents
AUTH_DIALOGFLOW = 'https://www.googleapis.com/auth/dialogflow'
end
end
end

View File

@ -2312,7 +2312,9 @@ module Google
# The unique identifier of detectIntent request session.
# Can be used to identify end-user inside webhook implementation.
# Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
# Format: `projects/<Project ID>/agent/sessions/<Session ID>`, or
# `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
# ID>/sessions/<Session ID>`.
# Corresponds to the JSON property `session`
# @return [String]
attr_accessor :session
@ -2487,6 +2489,77 @@ module Google
end
end
# Represents a notification sent to Cloud Pub/Sub subscribers for conversation
# lifecycle events.
class GoogleCloudDialogflowV2beta1ConversationEvent
include Google::Apis::Core::Hashable
# Required. The unique identifier of the conversation this notification
# refers to. Format: `projects/<Project ID>/conversations/<Conversation ID>`.
# Corresponds to the JSON property `conversation`
# @return [String]
attr_accessor :conversation
# 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). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
# error message is needed, put the localized message in the error details or
# localize it in the client. The optional error details may contain arbitrary
# information about the error. There is a predefined set of error detail types
# in the package `google.rpc` that can be used for common error conditions.
# # Language mapping
# The `Status` message is the logical representation of the error model, but it
# is not necessarily the actual wire format. When the `Status` message is
# exposed in different client libraries and different wire protocols, it can be
# mapped differently. For example, it will likely be mapped to some exceptions
# in Java, but more likely mapped to some error codes in C.
# # Other uses
# The error model and the `Status` message can be used in a variety of
# environments, either with or without APIs, to provide a
# consistent developer experience across different environments.
# Example uses of this error model include:
# - Partial errors. If a service needs to return partial errors to the client,
# it may embed the `Status` in the normal response to indicate the partial
# errors.
# - Workflow errors. A typical workflow has multiple steps. Each step may
# have a `Status` message for error reporting.
# - Batch operations. If a client uses batch request and batch response, the
# `Status` message should be used directly inside batch response, one for
# each error sub-response.
# - Asynchronous operations. If an API call embeds asynchronous operation
# results in its response, the status of those operations should be
# represented directly using the `Status` message.
# - Logging. If some API errors are stored in logs, the message `Status` could
# be used directly after any stripping needed for security/privacy reasons.
# Corresponds to the JSON property `errorStatus`
# @return [Google::Apis::DialogflowV2::GoogleRpcStatus]
attr_accessor :error_status
# Required. The type of the event that this notification refers to.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@conversation = args[:conversation] if args.key?(:conversation)
@error_status = args[:error_status] if args.key?(:error_status)
@type = args[:type] if args.key?(:type)
end
end
# Represents an entity type.
# Entity types serve as a tool for extracting parameter values from natural
# language queries.
@ -2645,6 +2718,33 @@ module Google
end
end
# Represents a notification sent to Cloud Pub/Sub subscribers for
# agent assistant events in a specific conversation.
class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
include Google::Apis::Core::Hashable
# Required. The conversation this notification refers to.
# Format: `projects/<Project ID>/conversations/<Conversation ID>`.
# Corresponds to the JSON property `conversation`
# @return [String]
attr_accessor :conversation
# Required. The type of the event that this notification refers to.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@conversation = args[:conversation] if args.key?(:conversation)
@type = args[:type] if args.key?(:type)
end
end
# Represents an intent.
# Intents convert a number of user expressions or patterns into an action. An
# action is an extraction of a user command or sentence semantics.
@ -4057,7 +4157,9 @@ module Google
# The unique identifier of detectIntent request session.
# Can be used to identify end-user inside webhook implementation.
# Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
# Format: `projects/<Project ID>/agent/sessions/<Session ID>`, or
# `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
# ID>/sessions/<Session ID>`.
# Corresponds to the JSON property `session`
# @return [String]
attr_accessor :session

View File

@ -406,6 +406,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1ConversationEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1EntityType
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -430,6 +436,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1Intent
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1324,6 +1336,16 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1ConversationEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :conversation, as: 'conversation'
property :error_status, as: 'errorStatus', class: Google::Apis::DialogflowV2::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2::GoogleRpcStatus::Representation
property :type, as: 'type'
end
end
class GoogleCloudDialogflowV2beta1EntityType
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1361,6 +1383,14 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :conversation, as: 'conversation'
property :type, as: 'type'
end
end
class GoogleCloudDialogflowV2beta1Intent
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -22,8 +22,8 @@ module Google
module DialogflowV2
# Dialogflow API
#
# An end-to-end development suite for conversational interfaces (e.g., chatbots,
# voice-powered apps and devices).
# Builds conversational interfaces (for example, chatbots, and voice-powered
# apps and devices).
#
# @example
# require 'google/apis/dialogflow_v2'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/cloud-dns
module DnsV1beta2
VERSION = 'V1beta2'
REVISION = '20180813'
REVISION = '20181015'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -397,6 +397,18 @@ module Google
# @return [Array<String>]
attr_accessor :name_servers
# For privately visible zones, the set of GCP resources that the zone is visible
# from.
# Corresponds to the JSON property `privateVisibilityConfig`
# @return [Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig]
attr_accessor :private_visibility_config
# The zone's visibility: public zones are exposed to the Internet, while private
# zones are visible only to GCP resources.
# Corresponds to the JSON property `visibility`
# @return [String]
attr_accessor :visibility
def initialize(**args)
update!(**args)
end
@ -413,6 +425,8 @@ module Google
@name = args[:name] if args.key?(:name)
@name_server_set = args[:name_server_set] if args.key?(:name_server_set)
@name_servers = args[:name_servers] if args.key?(:name_servers)
@private_visibility_config = args[:private_visibility_config] if args.key?(:private_visibility_config)
@visibility = args[:visibility] if args.key?(:visibility)
end
end
@ -501,6 +515,60 @@ module Google
end
end
#
class ManagedZonePrivateVisibilityConfig
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "dns#
# managedZonePrivateVisibilityConfig".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# The list of GCE private network IDs that can see this zone.
# Corresponds to the JSON property `networks`
# @return [Array<Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfigNetwork>]
attr_accessor :networks
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@networks = args[:networks] if args.key?(:networks)
end
end
#
class ManagedZonePrivateVisibilityConfigNetwork
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "dns#
# managedZonePrivateVisibilityConfigNetwork".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# The fully qualified URL of the GCE private network to bind to. This should be
# formatted like https://www.googleapis.com/compute/v1/projects/`project`/global/
# networks/`network`
# Corresponds to the JSON property `networkUrl`
# @return [String]
attr_accessor :network_url
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@network_url = args[:network_url] if args.key?(:network_url)
end
end
#
class ManagedZonesListResponse
include Google::Apis::Core::Hashable
@ -732,6 +800,17 @@ module Google
# @return [Fixnum]
attr_accessor :managed_zones
# Maximum allowed number of managed zones which can be attached to a network.
# Corresponds to the JSON property `managedZonesPerNetwork`
# @return [Fixnum]
attr_accessor :managed_zones_per_network
# Maximum allowed number of networks to which a privately scoped zone can be
# attached.
# Corresponds to the JSON property `networksPerManagedZone`
# @return [Fixnum]
attr_accessor :networks_per_managed_zone
# Maximum allowed number of ResourceRecords per ResourceRecordSet.
# Corresponds to the JSON property `resourceRecordsPerRrset`
# @return [Fixnum]
@ -772,6 +851,8 @@ module Google
@dns_keys_per_managed_zone = args[:dns_keys_per_managed_zone] if args.key?(:dns_keys_per_managed_zone)
@kind = args[:kind] if args.key?(:kind)
@managed_zones = args[:managed_zones] if args.key?(:managed_zones)
@managed_zones_per_network = args[:managed_zones_per_network] if args.key?(:managed_zones_per_network)
@networks_per_managed_zone = args[:networks_per_managed_zone] if args.key?(:networks_per_managed_zone)
@resource_records_per_rrset = args[:resource_records_per_rrset] if args.key?(:resource_records_per_rrset)
@rrset_additions_per_change = args[:rrset_additions_per_change] if args.key?(:rrset_additions_per_change)
@rrset_deletions_per_change = args[:rrset_deletions_per_change] if args.key?(:rrset_deletions_per_change)

View File

@ -76,6 +76,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ManagedZonePrivateVisibilityConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ManagedZonePrivateVisibilityConfigNetwork
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ManagedZonesListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -219,6 +231,9 @@ module Google
property :name, as: 'name'
property :name_server_set, as: 'nameServerSet'
collection :name_servers, as: 'nameServers'
property :private_visibility_config, as: 'privateVisibilityConfig', class: Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig, decorator: Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig::Representation
property :visibility, as: 'visibility'
end
end
@ -245,6 +260,23 @@ module Google
end
end
class ManagedZonePrivateVisibilityConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
collection :networks, as: 'networks', class: Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfigNetwork, decorator: Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfigNetwork::Representation
end
end
class ManagedZonePrivateVisibilityConfigNetwork
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :network_url, as: 'networkUrl'
end
end
class ManagedZonesListResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -310,6 +342,8 @@ module Google
property :dns_keys_per_managed_zone, as: 'dnsKeysPerManagedZone'
property :kind, as: 'kind'
property :managed_zones, as: 'managedZones'
property :managed_zones_per_network, as: 'managedZonesPerNetwork'
property :networks_per_managed_zone, as: 'networksPerManagedZone'
property :resource_records_per_rrset, as: 'resourceRecordsPerRrset'
property :rrset_additions_per_change, as: 'rrsetAdditionsPerChange'
property :rrset_deletions_per_change, as: 'rrsetDeletionsPerChange'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV3
VERSION = 'V3'
REVISION = '20180927'
REVISION = '20181011'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1409,9 +1409,9 @@ module Google
# perform a case insensitive match and `EMPTY([field_name])` to filter on the
# existence of a key.
# Boolean expressions (AND/OR/NOT) are supported up to 3 levels of
# nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 50
# nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100
# comparisons or functions are allowed in the expression. The expression
# must be < 3000 characters in length.
# must be < 3000 bytes in length.
# Sample Query:
# `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND
# driving_years > 10`

View File

@ -61,7 +61,8 @@ module Google
# The format is "projects/`project_id`/companies/`company_id`", for example,
# "projects/api-test-project/companies/foo".
# @param [String] language_code
# Required.
# Deprecated. Use language_codes instead.
# Optional.
# The language of the query. This is
# the BCP-47 language code, such as "en-US" or "sr-Latn".
# For more information, see
@ -75,6 +76,21 @@ module Google
# language_code or companies having open jobs with same
# language_code are returned.
# The maximum number of allowed characters is 255.
# @param [Array<String>, String] language_codes
# Optional.
# The list of languages of the query. This is
# the BCP-47 language code, such as "en-US" or "sr-Latn".
# For more information, see
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
# For CompletionType.JOB_TITLE type, only open jobs with same
# language_codes are returned.
# For CompletionType.COMPANY_NAME type,
# only companies having open jobs with same language_codes are
# returned.
# For CompletionType.COMBINED type, only open jobs with same
# language_codes or companies having open jobs with same
# language_codes are returned.
# The maximum number of allowed characters is 255.
# @param [Fixnum] page_size
# Required.
# Completion result count.
@ -106,13 +122,14 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def complete_project(name, company_name: nil, language_code: nil, page_size: nil, query: nil, scope: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
def complete_project(name, company_name: nil, language_code: nil, language_codes: nil, page_size: nil, query: nil, scope: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v3/{+name}:complete', options)
command.response_representation = Google::Apis::JobsV3::CompleteQueryResponse::Representation
command.response_class = Google::Apis::JobsV3::CompleteQueryResponse
command.params['name'] = name unless name.nil?
command.query['companyName'] = company_name unless company_name.nil?
command.query['languageCode'] = language_code unless language_code.nil?
command.query['languageCodes'] = language_codes unless language_codes.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['query'] = query unless query.nil?
command.query['scope'] = scope unless scope.nil?
@ -159,6 +176,7 @@ module Google
end
# Deletes specified company.
# Prerequisite: The company has no jobs associated with it.
# @param [String] name
# Required.
# The resource name of the company to be deleted.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/apps-script/api/
module ScriptV1
VERSION = 'V1'
REVISION = '20181013'
REVISION = '20181015'
# Read, send, delete, and manage your email
AUTH_SCOPE = 'https://mail.google.com/'

View File

@ -632,14 +632,18 @@ module Google
execute_or_queue_command(command, &block)
end
# Runs a function in an Apps Script project. The project must be deployed
# for use with the Apps Script API.
# Runs a function in an Apps Script project. The script project must be
# deployed for use with the Apps Script API and the calling application must
# share the same Cloud Platform project.
# This method requires authorization with an OAuth 2.0 token that includes at
# least one of the scopes listed in the [Authorization](#authorization)
# section; script projects that do not require authorization cannot be
# executed through this API. To find the correct scopes to include in the
# authentication token, open the project in the script editor, then select
# **File > Project properties** and click the **Scopes** tab.
# The error `403, PERMISSION_DENIED: The caller does not have permission`
# indicates that the Cloud Platform project used to authorize the request is
# not the same as the one used by the script.
# @param [String] script_id
# The script ID of the script to be executed. To find the script ID, open
# the project in the script editor and select **File > Project properties**.

View File

@ -1,42 +0,0 @@
# 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/serviceuser_v1/service.rb'
require 'google/apis/serviceuser_v1/classes.rb'
require 'google/apis/serviceuser_v1/representations.rb'
module Google
module Apis
# Service User API
#
# Enables services that service consumers want to use on Google Cloud Platform,
# lists the available or enabled services, or disables services that service
# consumers no longer use.
#
# @see https://cloud.google.com/service-management/
module ServiceuserV1
VERSION = 'V1'
REVISION = '20181005'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
# View your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
# Manage your Google API service configuration
AUTH_SERVICE_MANAGEMENT = 'https://www.googleapis.com/auth/service.management'
end
end
end

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,215 +0,0 @@
# 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/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module ServiceuserV1
# Service User API
#
# Enables services that service consumers want to use on Google Cloud Platform,
# lists the available or enabled services, or disables services that service
# consumers no longer use.
#
# @example
# require 'google/apis/serviceuser_v1'
#
# Serviceuser = Google::Apis::ServiceuserV1 # Alias the module
# service = Serviceuser::ServiceUserService.new
#
# @see https://cloud.google.com/service-management/
class ServiceUserService < Google::Apis::Core::BaseService
# @return [String]
# API key. Your API key identifies your project and provides you with API access,
# quota, and reports. Required unless you provide an OAuth 2.0 token.
attr_accessor :key
# @return [String]
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
attr_accessor :quota_user
def initialize
super('https://serviceuser.googleapis.com/', '')
@batch_path = 'batch'
end
# Disable a service so it can no longer be used with a
# project. This prevents unintended usage that may cause unexpected billing
# charges or security leaks.
# Operation<response: google.protobuf.Empty>
# @param [String] name
# Name of the consumer and the service to disable for that consumer.
# The Service User implementation accepts the following forms for consumer:
# - "project:<project_id>"
# A valid path would be:
# - projects/my-project/services/servicemanagement.googleapis.com
# @param [Google::Apis::ServiceuserV1::DisableServiceRequest] disable_service_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ServiceuserV1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ServiceuserV1::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def disable_service(name, disable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:disable', options)
command.request_representation = Google::Apis::ServiceuserV1::DisableServiceRequest::Representation
command.request_object = disable_service_request_object
command.response_representation = Google::Apis::ServiceuserV1::Operation::Representation
command.response_class = Google::Apis::ServiceuserV1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Enable a service so it can be used with a project.
# See [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for
# more information.
# Operation<response: google.protobuf.Empty>
# @param [String] name
# Name of the consumer and the service to enable for that consumer.
# A valid path would be:
# - projects/my-project/services/servicemanagement.googleapis.com
# @param [Google::Apis::ServiceuserV1::EnableServiceRequest] enable_service_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ServiceuserV1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ServiceuserV1::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def enable_service(name, enable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:enable', options)
command.request_representation = Google::Apis::ServiceuserV1::EnableServiceRequest::Representation
command.request_object = enable_service_request_object
command.response_representation = Google::Apis::ServiceuserV1::Operation::Representation
command.response_class = Google::Apis::ServiceuserV1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# List enabled services for the specified consumer.
# @param [String] parent
# List enabled services for the specified parent.
# An example valid parent would be:
# - projects/my-project
# @param [Fixnum] page_size
# Requested size of the next page of data.
# @param [String] page_token
# Token identifying which result to start with; returned by a previous list
# call.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ServiceuserV1::ListEnabledServicesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ServiceuserV1::ListEnabledServicesResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_services(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/services', options)
command.response_representation = Google::Apis::ServiceuserV1::ListEnabledServicesResponse::Representation
command.response_class = Google::Apis::ServiceuserV1::ListEnabledServicesResponse
command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Search available services.
# When no filter is specified, returns all accessible services. For
# authenticated users, also returns all services the calling user has
# "servicemanagement.services.bind" permission for.
# @param [Fixnum] page_size
# Requested size of the next page of data.
# @param [String] page_token
# Token identifying which result to start with; returned by a previous list
# call.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ServiceuserV1::SearchServicesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ServiceuserV1::SearchServicesResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_services(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/services:search', options)
command.response_representation = Google::Apis::ServiceuserV1::SearchServicesResponse::Representation
command.response_class = Google::Apis::ServiceuserV1::SearchServicesResponse
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
protected
def apply_command_defaults(command)
command.query['key'] = key unless key.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
end
end
end
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/test-lab/
module ToolresultsV1beta3
VERSION = 'V1beta3'
REVISION = '20181008'
REVISION = '20181015'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -380,7 +380,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists Histories for a given Project.
# Lists Executions for a given History.
# The executions are sorted by creation_time in descending order. The
# execution_id key will be used to order the executions with the same
# creation_time.