Autogenerated update (2018-10-18)

Delete:
- content_v2sandbox

Update:
- abusiveexperiencereport_v1
- adexperiencereport_v1
- appengine_v1
- appengine_v1alpha
- appengine_v1beta
- appengine_v1beta4
- appengine_v1beta5
- cloudbuild_v1
- cloudfunctions_v1beta2
- cloudresourcemanager_v1
- cloudresourcemanager_v1beta1
- cloudresourcemanager_v2
- cloudresourcemanager_v2beta1
- content_v2
- dialogflow_v2beta1
- genomics_v1
- genomics_v1alpha2
- genomics_v2alpha1
- logging_v2
- logging_v2beta1
This commit is contained in:
Google APIs 2018-10-18 00:36:35 +00:00
parent 6e108eac21
commit 65a6a9fe46
56 changed files with 297 additions and 11203 deletions

View File

@ -14597,6 +14597,7 @@
"/cloudbuild:v1/BuildOptions/substitutionOption": substitution_option
"/cloudbuild:v1/BuildOptions/volumes": volumes
"/cloudbuild:v1/BuildOptions/volumes/volume": volume
"/cloudbuild:v1/BuildOptions/workerPool": worker_pool
"/cloudbuild:v1/BuildStep": build_step
"/cloudbuild:v1/BuildStep/args": args
"/cloudbuild:v1/BuildStep/args/arg": arg
@ -15172,6 +15173,7 @@
"/cloudfunctions:v1beta2/CloudFunction/timeout": timeout
"/cloudfunctions:v1beta2/CloudFunction/updateTime": update_time
"/cloudfunctions:v1beta2/CloudFunction/versionId": version_id
"/cloudfunctions:v1beta2/CloudFunction/vpcConnector": vpc_connector
"/cloudfunctions:v1beta2/EventTrigger": event_trigger
"/cloudfunctions:v1beta2/EventTrigger/eventType": event_type
"/cloudfunctions:v1beta2/EventTrigger/failurePolicy": failure_policy
@ -36804,6 +36806,11 @@
"/content:v2/Installment/months": months
"/content:v2/Inventory": inventory
"/content:v2/Inventory/availability": availability
"/content:v2/Inventory/customLabel0": custom_label0
"/content:v2/Inventory/customLabel1": custom_label1
"/content:v2/Inventory/customLabel2": custom_label2
"/content:v2/Inventory/customLabel3": custom_label3
"/content:v2/Inventory/customLabel4": custom_label4
"/content:v2/Inventory/installment": installment
"/content:v2/Inventory/kind": kind
"/content:v2/Inventory/loyaltyPoints": loyalty_points
@ -36835,6 +36842,11 @@
"/content:v2/InventoryPickup/pickupSla": pickup_sla
"/content:v2/InventorySetRequest": set_inventory_request
"/content:v2/InventorySetRequest/availability": availability
"/content:v2/InventorySetRequest/customLabel0": custom_label0
"/content:v2/InventorySetRequest/customLabel1": custom_label1
"/content:v2/InventorySetRequest/customLabel2": custom_label2
"/content:v2/InventorySetRequest/customLabel3": custom_label3
"/content:v2/InventorySetRequest/customLabel4": custom_label4
"/content:v2/InventorySetRequest/installment": installment
"/content:v2/InventorySetRequest/loyaltyPoints": loyalty_points
"/content:v2/InventorySetRequest/pickup": pickup
@ -57223,6 +57235,10 @@
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1Conversation/name": name
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1Conversation/phoneNumber": phone_number
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1Conversation/startTime": start_time
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ConversationEvent": google_cloud_dialogflow_v2beta1_conversation_event
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ConversationEvent/conversation": conversation
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ConversationEvent/errorStatus": error_status
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ConversationEvent/type": type
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ConversationPhoneNumber": google_cloud_dialogflow_v2beta1_conversation_phone_number
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ConversationPhoneNumber/phoneNumber": phone_number
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ConversationProfile": google_cloud_dialogflow_v2beta1_conversation_profile
@ -57288,6 +57304,9 @@
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig": google_cloud_dialogflow_v2beta1_human_agent_assistant_config
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig/name": name
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig/notificationConfig": notification_config
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent": google_cloud_dialogflow_v2beta1_human_agent_assistant_event
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent/conversation": conversation
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent/type": type
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ImportAgentRequest": google_cloud_dialogflow_v2beta1_import_agent_request
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ImportAgentRequest/agentContent": agent_content
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ImportAgentRequest/agentUri": agent_uri

View File

@ -20,13 +20,13 @@ module Google
module Apis
# Abusive Experience Report API
#
# View Abusive Experience Report data, and get a list of sites that have a
# Views Abusive Experience Report data, and gets a list of sites that have a
# significant number of abusive experiences.
#
# @see https://developers.google.com/abusive-experience-report/
module AbusiveexperiencereportV1
VERSION = 'V1'
REVISION = '20180807'
REVISION = '20181017'
# Test scope for access to the Zoo service
AUTH_XAPI_ZOO = 'https://www.googleapis.com/auth/xapi.zoo'

View File

@ -23,7 +23,6 @@ module Google
module AbusiveexperiencereportV1
# Response message for GetSiteSummary.
# Do not confuse with same message in google.ads.experiencereport.v1
class SiteSummaryResponse
include Google::Apis::Core::Hashable

View File

@ -22,7 +22,7 @@ module Google
module AbusiveexperiencereportV1
# Abusive Experience Report API
#
# View Abusive Experience Report data, and get a list of sites that have a
# Views Abusive Experience Report data, and gets a list of sites that have a
# significant number of abusive experiences.
#
# @example

View File

@ -20,13 +20,13 @@ module Google
module Apis
# Ad Experience Report API
#
# View Ad Experience Report data, and get a list of sites that have a
# Views Ad Experience Report data, and gets a list of sites that have a
# significant number of annoying ads.
#
# @see https://developers.google.com/ad-experience-report/
module AdexperiencereportV1
VERSION = 'V1'
REVISION = '20180911'
REVISION = '20181017'
# Test scope for access to the Zoo service
AUTH_XAPI_ZOO = 'https://www.googleapis.com/auth/xapi.zoo'

View File

@ -22,7 +22,7 @@ module Google
module AdexperiencereportV1
# Ad Experience Report API
#
# View Ad Experience Report data, and get a list of sites that have a
# Views Ad Experience Report data, and gets a list of sites that have a
# significant number of annoying ads.
#
# @example

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -408,6 +408,13 @@ module Google
# @return [Array<Google::Apis::CloudbuildV1::Volume>]
attr_accessor :volumes
# Option to specify a `WorkerPool` for the build. User specifies the pool
# with the format "[WORKERPOOL_PROJECT_ID]/[WORKERPOOL_NAME]".
# This is an experimental field.
# Corresponds to the JSON property `workerPool`
# @return [String]
attr_accessor :worker_pool
def initialize(**args)
update!(**args)
end
@ -424,6 +431,7 @@ module Google
@source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
@substitution_option = args[:substitution_option] if args.key?(:substitution_option)
@volumes = args[:volumes] if args.key?(:volumes)
@worker_pool = args[:worker_pool] if args.key?(:worker_pool)
end
end

View File

@ -276,6 +276,7 @@ module Google
property :substitution_option, as: 'substitutionOption'
collection :volumes, as: 'volumes', class: Google::Apis::CloudbuildV1::Volume, decorator: Google::Apis::CloudbuildV1::Volume::Representation
property :worker_pool, as: 'workerPool'
end
end

View File

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

View File

@ -145,6 +145,8 @@ module Google
# `projects/`project`/global/networks/`network`` or ``network``, where
# `project` is a project id where the network is defined, and `network` is
# the short name of the network.
# This field is mutually exclusive with `vpc_connector` and will be replaced
# by it.
# See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
# more information on connecting Cloud projects.
# This feature is currently in alpha, available only for whitelisted users.
@ -221,6 +223,19 @@ module Google
# @return [Fixnum]
attr_accessor :version_id
# The VPC Network Connector that this cloud function can connect to. It can
# be either the fully-qualified URI, or the short name of the network
# connector resource. The format of this field is
# `projects/*/locations/*/connectors/*`
# This field is mutually exclusive with `network` field and will eventually
# replace it.
# See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
# more information on connecting Cloud projects.
# This feature is currently in alpha, available only for whitelisted users.
# Corresponds to the JSON property `vpcConnector`
# @return [String]
attr_accessor :vpc_connector
def initialize(**args)
update!(**args)
end
@ -247,6 +262,7 @@ module Google
@timeout = args[:timeout] if args.key?(:timeout)
@update_time = args[:update_time] if args.key?(:update_time)
@version_id = args[:version_id] if args.key?(:version_id)
@vpc_connector = args[:vpc_connector] if args.key?(:vpc_connector)
end
end

View File

@ -184,6 +184,7 @@ module Google
property :timeout, as: 'timeout'
property :update_time, as: 'updateTime'
property :version_id, :numeric_string => true, as: 'versionId'
property :vpc_connector, as: 'vpcConnector'
end
end

View File

@ -20,13 +20,13 @@ module Google
module Apis
# Cloud Resource Manager API
#
# The Google Cloud Resource Manager API provides methods for creating, reading,
# and updating project metadata.
# Creates, reads, and updates metadata for Google Cloud Platform resource
# containers.
#
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV1
VERSION = 'V1'
REVISION = '20180820'
REVISION = '20181015'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1393,7 +1393,8 @@ module Google
# Label keys must be between 1 and 63 characters long and must conform
# to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
# Label values must be between 0 and 63 characters long and must conform
# to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
# to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. A label
# value can be empty.
# No more than 256 labels can be associated with a given resource.
# Clients should store labels in a representation such as JSON that does not
# depend on specific characters being disallowed.

View File

@ -22,8 +22,8 @@ module Google
module CloudresourcemanagerV1
# Cloud Resource Manager API
#
# The Google Cloud Resource Manager API provides methods for creating, reading,
# and updating project metadata.
# Creates, reads, and updates metadata for Google Cloud Platform resource
# containers.
#
# @example
# require 'google/apis/cloudresourcemanager_v1'

View File

@ -20,13 +20,13 @@ module Google
module Apis
# Cloud Resource Manager API
#
# The Google Cloud Resource Manager API provides methods for creating, reading,
# and updating project metadata.
# Creates, reads, and updates metadata for Google Cloud Platform resource
# containers.
#
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV1beta1
VERSION = 'V1beta1'
REVISION = '20180806'
REVISION = '20181015'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -632,7 +632,8 @@ module Google
# Label keys must be between 1 and 63 characters long and must conform
# to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
# Label values must be between 0 and 63 characters long and must conform
# to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
# to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. A label
# value can be empty.
# No more than 256 labels can be associated with a given resource.
# Clients should store labels in a representation such as JSON that does not
# depend on specific characters being disallowed.

View File

@ -22,8 +22,8 @@ module Google
module CloudresourcemanagerV1beta1
# Cloud Resource Manager API
#
# The Google Cloud Resource Manager API provides methods for creating, reading,
# and updating project metadata.
# Creates, reads, and updates metadata for Google Cloud Platform resource
# containers.
#
# @example
# require 'google/apis/cloudresourcemanager_v1beta1'

View File

@ -20,13 +20,13 @@ module Google
module Apis
# Cloud Resource Manager API
#
# The Google Cloud Resource Manager API provides methods for creating, reading,
# and updating project metadata.
# Creates, reads, and updates metadata for Google Cloud Platform resource
# containers.
#
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV2
VERSION = 'V2'
REVISION = '20180815'
REVISION = '20181015'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,8 +22,8 @@ module Google
module CloudresourcemanagerV2
# Cloud Resource Manager API
#
# The Google Cloud Resource Manager API provides methods for creating, reading,
# and updating project metadata.
# Creates, reads, and updates metadata for Google Cloud Platform resource
# containers.
#
# @example
# require 'google/apis/cloudresourcemanager_v2'

View File

@ -20,13 +20,13 @@ module Google
module Apis
# Cloud Resource Manager API
#
# The Google Cloud Resource Manager API provides methods for creating, reading,
# and updating project metadata.
# Creates, reads, and updates metadata for Google Cloud Platform resource
# containers.
#
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV2beta1
VERSION = 'V2beta1'
REVISION = '20180815'
REVISION = '20181015'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,8 +22,8 @@ module Google
module CloudresourcemanagerV2beta1
# Cloud Resource Manager API
#
# The Google Cloud Resource Manager API provides methods for creating, reading,
# and updating project metadata.
# Creates, reads, and updates metadata for Google Cloud Platform resource
# containers.
#
# @example
# require 'google/apis/cloudresourcemanager_v2beta1'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2
VERSION = 'V2'
REVISION = '20181009'
REVISION = '20181016'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -22,7 +22,8 @@ module Google
module Apis
module ContentV2
# Account data.
# Account data. After the creation of a new account it may take a few minutes
# before it is fully operational.
class Account
include Google::Apis::Core::Hashable
@ -896,7 +897,8 @@ module Google
class AccountsBatchRequestEntry
include Google::Apis::Core::Hashable
# Account data.
# Account data. After the creation of a new account it may take a few minutes
# before it is fully operational.
# Corresponds to the JSON property `account`
# @return [Google::Apis::ContentV2::Account]
attr_accessor :account
@ -1019,7 +1021,8 @@ module Google
class AccountsBatchResponseEntry
include Google::Apis::Core::Hashable
# Account data.
# Account data. After the creation of a new account it may take a few minutes
# before it is fully operational.
# Corresponds to the JSON property `account`
# @return [Google::Apis::ContentV2::Account]
attr_accessor :account
@ -2726,6 +2729,36 @@ module Google
# @return [String]
attr_accessor :availability
# Custom label 0 for custom grouping of items in a Shopping campaign. Only
# supported for online products.
# Corresponds to the JSON property `customLabel0`
# @return [String]
attr_accessor :custom_label0
# Custom label 1 for custom grouping of items in a Shopping campaign. Only
# supported for online products.
# Corresponds to the JSON property `customLabel1`
# @return [String]
attr_accessor :custom_label1
# Custom label 2 for custom grouping of items in a Shopping campaign. Only
# supported for online products.
# Corresponds to the JSON property `customLabel2`
# @return [String]
attr_accessor :custom_label2
# Custom label 3 for custom grouping of items in a Shopping campaign. Only
# supported for online products.
# Corresponds to the JSON property `customLabel3`
# @return [String]
attr_accessor :custom_label3
# Custom label 3 for custom grouping of items in a Shopping campaign. Only
# supported for online products.
# Corresponds to the JSON property `customLabel4`
# @return [String]
attr_accessor :custom_label4
# Number and amount of installments to pay for an item. Brazil only.
# Corresponds to the JSON property `installment`
# @return [Google::Apis::ContentV2::Installment]
@ -2786,6 +2819,11 @@ module Google
# Update properties of this object
def update!(**args)
@availability = args[:availability] if args.key?(:availability)
@custom_label0 = args[:custom_label0] if args.key?(:custom_label0)
@custom_label1 = args[:custom_label1] if args.key?(:custom_label1)
@custom_label2 = args[:custom_label2] if args.key?(:custom_label2)
@custom_label3 = args[:custom_label3] if args.key?(:custom_label3)
@custom_label4 = args[:custom_label4] if args.key?(:custom_label4)
@installment = args[:installment] if args.key?(:installment)
@kind = args[:kind] if args.key?(:kind)
@loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points)
@ -2958,6 +2996,36 @@ module Google
# @return [String]
attr_accessor :availability
# Custom label 0 for custom grouping of items in a Shopping campaign. Only
# supported for online products.
# Corresponds to the JSON property `customLabel0`
# @return [String]
attr_accessor :custom_label0
# Custom label 1 for custom grouping of items in a Shopping campaign. Only
# supported for online products.
# Corresponds to the JSON property `customLabel1`
# @return [String]
attr_accessor :custom_label1
# Custom label 2 for custom grouping of items in a Shopping campaign. Only
# supported for online products.
# Corresponds to the JSON property `customLabel2`
# @return [String]
attr_accessor :custom_label2
# Custom label 3 for custom grouping of items in a Shopping campaign. Only
# supported for online products.
# Corresponds to the JSON property `customLabel3`
# @return [String]
attr_accessor :custom_label3
# Custom label 3 for custom grouping of items in a Shopping campaign. Only
# supported for online products.
# Corresponds to the JSON property `customLabel4`
# @return [String]
attr_accessor :custom_label4
# Number and amount of installments to pay for an item. Brazil only.
# Corresponds to the JSON property `installment`
# @return [Google::Apis::ContentV2::Installment]
@ -3012,6 +3080,11 @@ module Google
# Update properties of this object
def update!(**args)
@availability = args[:availability] if args.key?(:availability)
@custom_label0 = args[:custom_label0] if args.key?(:custom_label0)
@custom_label1 = args[:custom_label1] if args.key?(:custom_label1)
@custom_label2 = args[:custom_label2] if args.key?(:custom_label2)
@custom_label3 = args[:custom_label3] if args.key?(:custom_label3)
@custom_label4 = args[:custom_label4] if args.key?(:custom_label4)
@installment = args[:installment] if args.key?(:installment)
@loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points)
@pickup = args[:pickup] if args.key?(:pickup)

View File

@ -2363,6 +2363,11 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :availability, as: 'availability'
property :custom_label0, as: 'customLabel0'
property :custom_label1, as: 'customLabel1'
property :custom_label2, as: 'customLabel2'
property :custom_label3, as: 'customLabel3'
property :custom_label4, as: 'customLabel4'
property :installment, as: 'installment', class: Google::Apis::ContentV2::Installment, decorator: Google::Apis::ContentV2::Installment::Representation
property :kind, as: 'kind'
@ -2431,6 +2436,11 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :availability, as: 'availability'
property :custom_label0, as: 'customLabel0'
property :custom_label1, as: 'customLabel1'
property :custom_label2, as: 'customLabel2'
property :custom_label3, as: 'customLabel3'
property :custom_label4, as: 'customLabel4'
property :installment, as: 'installment', class: Google::Apis::ContentV2::Installment, decorator: Google::Apis::ContentV2::Installment::Representation
property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation

View File

@ -2039,7 +2039,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves a list of transactions for an disbursement from your Merchant Center
# Retrieves a list of transactions for a disbursement from your Merchant Center
# account.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client

View File

@ -1,35 +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/content_v2sandbox/service.rb'
require 'google/apis/content_v2sandbox/classes.rb'
require 'google/apis/content_v2sandbox/representations.rb'
module Google
module Apis
# Content API for Shopping
#
# Manages product items, inventory, and Merchant Center accounts for Google
# Shopping.
#
# @see https://developers.google.com/shopping-content
module ContentV2sandbox
VERSION = 'V2sandbox'
REVISION = '20181002'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
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

@ -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 DialogflowV2beta1
VERSION = 'V2beta1'
REVISION = '20181009'
REVISION = '20181017'
# 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

File diff suppressed because it is too large Load Diff

View File

@ -232,48 +232,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1AddConversationPhoneNumberRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1Agent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1AnalyzeContentRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1AnalyzeContentResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1ArticleSuggestionConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1AutomatedAgentConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1AutomatedAgentReply
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -328,49 +292,13 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1CancelPhoneNumberOrderRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1CompileSuggestionsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1CompileSuggestionsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1CompleteConversationRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1Context
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1Conversation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1ConversationPhoneNumber
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1ConversationProfile
class GoogleCloudDialogflowV2beta1ConversationEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
@ -430,19 +358,7 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1FaqAnswersConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1HumanAgentAssistant
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig
class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
@ -454,30 +370,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1InputAudio
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1InputAudioConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1InputText
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1InputTextConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1Intent
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -676,18 +574,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1ListConversationProfilesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1ListConversationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1ListDocumentsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -700,12 +586,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1ListHumanAgentAssistantsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1ListIntentsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -718,102 +598,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1ListMessagesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1ListParticipantsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1ListPhoneNumberOrdersResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1ListPhoneNumbersResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1ListSuggestionsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1LoggingConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1Message
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1NotificationConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1OutputAudio
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1OutputAudioConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1Participant
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1PhoneNumber
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1PhoneNumberOrder
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1PhoneNumberSpec
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1QueryInput
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -868,42 +670,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1StreamingAnalyzeContentRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1StreamingAnalyzeContentResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1StreamingRecognitionResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1Suggestion
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1SuggestionArticle
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1SuggestionFaqAnswer
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -922,12 +688,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1VoiceSelectionParams
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1351,12 +1111,6 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1AddConversationPhoneNumberRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDialogflowV2beta1Agent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1373,51 +1127,6 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1AnalyzeContentRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :audio, as: 'audio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudio::Representation
property :reply_audio_config, as: 'replyAudioConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig::Representation
property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputText::Representation
end
end
class GoogleCloudDialogflowV2beta1AnalyzeContentResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :automated_agent_reply, as: 'automatedAgentReply', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentReply, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentReply::Representation
property :reply_audio, as: 'replyAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudio::Representation
property :reply_text, as: 'replyText'
end
end
class GoogleCloudDialogflowV2beta1ArticleSuggestionConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :knowledge_base_name, as: 'knowledgeBaseName'
end
end
class GoogleCloudDialogflowV2beta1AutomatedAgentConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :agent, as: 'agent'
end
end
class GoogleCloudDialogflowV2beta1AutomatedAgentReply
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :detect_intent_response, as: 'detectIntentResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse::Representation
end
end
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1499,34 +1208,6 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1CancelPhoneNumberOrderRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDialogflowV2beta1CompileSuggestionsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message::Representation
end
end
class GoogleCloudDialogflowV2beta1CompileSuggestionsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :suggestions, as: 'suggestions', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Suggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Suggestion::Representation
end
end
class GoogleCloudDialogflowV2beta1CompleteConversationRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDialogflowV2beta1Context
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1536,39 +1217,13 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1Conversation
class GoogleCloudDialogflowV2beta1ConversationEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :conversation_profile, as: 'conversationProfile'
property :end_time, as: 'endTime'
property :lifecycle_state, as: 'lifecycleState'
property :name, as: 'name'
property :phone_number, as: 'phoneNumber', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationPhoneNumber, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationPhoneNumber::Representation
property :start_time, as: 'startTime'
end
end
class GoogleCloudDialogflowV2beta1ConversationPhoneNumber
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :phone_number, as: 'phoneNumber'
end
end
class GoogleCloudDialogflowV2beta1ConversationProfile
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :automated_agent_config, as: 'automatedAgentConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentConfig::Representation
property :display_name, as: 'displayName'
property :human_agent_assistant_config, as: 'humanAgentAssistantConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig::Representation
property :logging_config, as: 'loggingConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1LoggingConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1LoggingConfig::Representation
property :name, as: 'name'
property :notification_config, as: 'notificationConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig::Representation
property :conversation, as: 'conversation'
property :error_status, as: 'errorStatus', class: Google::Apis::DialogflowV2beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2beta1::GoogleRpcStatus::Representation
property :type, as: 'type'
end
end
@ -1666,31 +1321,11 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1FaqAnswersConfig
class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :knowledge_base_name, as: 'knowledgeBaseName'
property :max_results, as: 'maxResults'
end
end
class GoogleCloudDialogflowV2beta1HumanAgentAssistant
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :article_suggestion_config, as: 'articleSuggestionConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ArticleSuggestionConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ArticleSuggestionConfig::Representation
property :faq_answers_config, as: 'faqAnswersConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FaqAnswersConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FaqAnswersConfig::Representation
property :name, as: 'name'
end
end
class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :notification_config, as: 'notificationConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig::Representation
property :conversation, as: 'conversation'
property :type, as: 'type'
end
end
@ -1702,15 +1337,6 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1InputAudio
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :audio, :base64 => true, as: 'audio'
property :config, as: 'config', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig::Representation
end
end
class GoogleCloudDialogflowV2beta1InputAudioConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1722,21 +1348,6 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1InputText
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :language_code, as: 'languageCode'
property :text, as: 'text'
end
end
class GoogleCloudDialogflowV2beta1InputTextConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :language_code, as: 'languageCode'
end
end
class GoogleCloudDialogflowV2beta1Intent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2078,24 +1689,6 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1ListConversationProfilesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :conversation_profiles, as: 'conversationProfiles', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationProfile, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationProfile::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class GoogleCloudDialogflowV2beta1ListConversationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :conversations, as: 'conversations', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Conversation, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Conversation::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class GoogleCloudDialogflowV2beta1ListDocumentsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2114,15 +1707,6 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1ListHumanAgentAssistantsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :human_agent_assistants, as: 'humanAgentAssistants', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistant, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistant::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class GoogleCloudDialogflowV2beta1ListIntentsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2141,42 +1725,6 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1ListMessagesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class GoogleCloudDialogflowV2beta1ListParticipantsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :participants, as: 'participants', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Participant, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Participant::Representation
end
end
class GoogleCloudDialogflowV2beta1ListPhoneNumberOrdersResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :phone_number_orders, as: 'phoneNumberOrders', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1PhoneNumberOrder, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1PhoneNumberOrder::Representation
end
end
class GoogleCloudDialogflowV2beta1ListPhoneNumbersResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :phone_numbers, as: 'phoneNumbers', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1PhoneNumber, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1PhoneNumber::Representation
end
end
class GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2186,40 +1734,6 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1ListSuggestionsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :suggestions, as: 'suggestions', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Suggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Suggestion::Representation
end
end
class GoogleCloudDialogflowV2beta1LoggingConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDialogflowV2beta1Message
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :content, as: 'content'
property :create_time, as: 'createTime'
property :language_code, as: 'languageCode'
property :name, as: 'name'
property :participant, as: 'participant'
property :participant_role, as: 'participantRole'
end
end
class GoogleCloudDialogflowV2beta1NotificationConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :topic, as: 'topic'
end
end
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2229,15 +1743,6 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1OutputAudio
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :audio, :base64 => true, as: 'audio'
property :config, as: 'config', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig::Representation
end
end
class GoogleCloudDialogflowV2beta1OutputAudioConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2248,46 +1753,6 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1Participant
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :role, as: 'role'
end
end
class GoogleCloudDialogflowV2beta1PhoneNumber
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :conversation_profile, as: 'conversationProfile'
property :lifecycle_state, as: 'lifecycleState'
property :name, as: 'name'
property :phone_number, as: 'phoneNumber'
end
end
class GoogleCloudDialogflowV2beta1PhoneNumberOrder
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :description, as: 'description'
property :lifecycle_state, as: 'lifecycleState'
property :name, as: 'name'
property :phone_number_spec, as: 'phoneNumberSpec', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1PhoneNumberSpec, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1PhoneNumberSpec::Representation
hash :phone_numbers, as: 'phoneNumbers'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudDialogflowV2beta1PhoneNumberSpec
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :count, as: 'count'
collection :preferred_area_codes, as: 'preferredAreaCodes'
end
end
class GoogleCloudDialogflowV2beta1QueryInput
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2395,76 +1860,6 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1StreamingAnalyzeContentRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :audio_config, as: 'audioConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig::Representation
property :input_audio, :base64 => true, as: 'inputAudio'
property :input_text, as: 'inputText'
property :reply_audio_config, as: 'replyAudioConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig::Representation
property :text_config, as: 'textConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputTextConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputTextConfig::Representation
end
end
class GoogleCloudDialogflowV2beta1StreamingAnalyzeContentResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :automated_agent_reply, as: 'automatedAgentReply', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentReply, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentReply::Representation
property :recognition_result, as: 'recognitionResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1StreamingRecognitionResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1StreamingRecognitionResult::Representation
property :reply_audio, as: 'replyAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudio::Representation
property :reply_text, as: 'replyText'
end
end
class GoogleCloudDialogflowV2beta1StreamingRecognitionResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :confidence, as: 'confidence'
property :is_final, as: 'isFinal'
property :message_type, as: 'messageType'
property :transcript, as: 'transcript'
end
end
class GoogleCloudDialogflowV2beta1Suggestion
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :articles, as: 'articles', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionArticle, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionArticle::Representation
property :create_time, as: 'createTime'
collection :faq_answers, as: 'faqAnswers', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionFaqAnswer, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionFaqAnswer::Representation
property :name, as: 'name'
end
end
class GoogleCloudDialogflowV2beta1SuggestionArticle
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :metadata, as: 'metadata'
collection :snippets, as: 'snippets'
property :title, as: 'title'
property :uri, as: 'uri'
end
end
class GoogleCloudDialogflowV2beta1SuggestionFaqAnswer
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :answer, as: 'answer'
property :confidence, as: 'confidence'
hash :metadata, as: 'metadata'
property :question, as: 'question'
property :source, as: 'source'
end
end
class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2491,12 +1886,6 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDialogflowV2beta1VoiceSelectionParams
# @private
class Representation < Google::Apis::Core::JsonRepresentation

File diff suppressed because it is too large Load Diff

View File

@ -20,12 +20,12 @@ module Google
module Apis
# Genomics API
#
# Upload, process, query, and search Genomics data in the cloud.
# Uploads, processes, queries, and searches Genomics data in the cloud.
#
# @see https://cloud.google.com/genomics
module GenomicsV1
VERSION = 'V1'
REVISION = '20180919'
REVISION = '20181017'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -22,7 +22,7 @@ module Google
module GenomicsV1
# Genomics API
#
# Upload, process, query, and search Genomics data in the cloud.
# Uploads, processes, queries, and searches Genomics data in the cloud.
#
# @example
# require 'google/apis/genomics_v1'

View File

@ -20,12 +20,12 @@ module Google
module Apis
# Genomics API
#
# Upload, process, query, and search Genomics data in the cloud.
# Uploads, processes, queries, and searches Genomics data in the cloud.
#
# @see https://cloud.google.com/genomics
module GenomicsV1alpha2
VERSION = 'V1alpha2'
REVISION = '20180919'
REVISION = '20181017'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,7 +22,7 @@ module Google
module GenomicsV1alpha2
# Genomics API
#
# Upload, process, query, and search Genomics data in the cloud.
# Uploads, processes, queries, and searches Genomics data in the cloud.
#
# @example
# require 'google/apis/genomics_v1alpha2'

View File

@ -20,12 +20,12 @@ module Google
module Apis
# Genomics API
#
# Upload, process, query, and search Genomics data in the cloud.
# Uploads, processes, queries, and searches Genomics data in the cloud.
#
# @see https://cloud.google.com/genomics
module GenomicsV2alpha1
VERSION = 'V2alpha1'
REVISION = '20180919'
REVISION = '20181017'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,7 +22,7 @@ module Google
module GenomicsV2alpha1
# Genomics API
#
# Upload, process, query, and search Genomics data in the cloud.
# Uploads, processes, queries, and searches Genomics data in the cloud.
#
# @example
# require 'google/apis/genomics_v2alpha1'

View File

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

View File

@ -959,7 +959,8 @@ module Google
# @return [Google::Apis::LoggingV2::BucketOptions]
attr_accessor :bucket_options
# Optional. A description of this metric, which is used in documentation.
# Optional. A description of this metric, which is used in documentation. The
# maximum length of the description is 8000 characters.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/logging/docs/
module LoggingV2beta1
VERSION = 'V2beta1'
REVISION = '20180922'
REVISION = '20181013'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -478,34 +478,6 @@ module Google
end
end
# Result returned from ListLogs.
class ListLogsResponse
include Google::Apis::Core::Hashable
# A list of log names. For example, "projects/my-project/syslog" or "
# organizations/123/cloudresourcemanager.googleapis.com%2Factivity".
# Corresponds to the JSON property `logNames`
# @return [Array<String>]
attr_accessor :log_names
# If there might be more results than those appearing in this response, then
# nextPageToken is included. To get the next set of results, call this method
# again using the value of nextPageToken as pageToken.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@log_names = args[:log_names] if args.key?(:log_names)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# Result returned from ListMonitoredResourceDescriptors.
class ListMonitoredResourceDescriptorsResponse
include Google::Apis::Core::Hashable
@ -882,7 +854,8 @@ module Google
# @return [Google::Apis::LoggingV2beta1::BucketOptions]
attr_accessor :bucket_options
# Optional. A description of this metric, which is used in documentation.
# Optional. A description of this metric, which is used in documentation. The
# maximum length of the description is 8000 characters.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description

View File

@ -82,12 +82,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ListLogsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListMonitoredResourceDescriptorsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -299,14 +293,6 @@ module Google
end
end
class ListLogsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :log_names, as: 'logNames'
property :next_page_token, as: 'nextPageToken'
end
end
class ListMonitoredResourceDescriptorsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -47,91 +47,6 @@ module Google
@batch_path = 'batch'
end
# Deletes all the log entries in a log. The log reappears if it receives new
# entries. Log entries written shortly before the delete operation might not be
# deleted.
# @param [String] log_name
# Required. The resource name of the log to delete:
# "projects/[PROJECT_ID]/logs/[LOG_ID]"
# "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
# "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
# "folders/[FOLDER_ID]/logs/[LOG_ID]"
# [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog"
# , "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%
# 2Factivity". For more information about log names, see LogEntry.
# @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::LoggingV2beta1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2beta1::Empty]
#
# @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 delete_billing_account_log(log_name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2beta1/{+logName}', options)
command.response_representation = Google::Apis::LoggingV2beta1::Empty::Representation
command.response_class = Google::Apis::LoggingV2beta1::Empty
command.params['logName'] = log_name unless log_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
# Lists the logs in projects, organizations, folders, or billing accounts. Only
# logs that have entries are listed.
# @param [String] parent
# Required. The resource name that owns the logs:
# "projects/[PROJECT_ID]"
# "organizations/[ORGANIZATION_ID]"
# "billingAccounts/[BILLING_ACCOUNT_ID]"
# "folders/[FOLDER_ID]"
# @param [Fixnum] page_size
# Optional. The maximum number of results to return from this request. Non-
# positive values are ignored. The presence of nextPageToken in the response
# indicates that more results might be available.
# @param [String] page_token
# Optional. If present, then retrieve the next batch of results from the
# preceding call to this method. pageToken must be the value of nextPageToken
# from the previous response. The values of other method parameters should be
# identical to those in the previous 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::LoggingV2beta1::ListLogsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2beta1::ListLogsResponse]
#
# @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_billing_account_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+parent}/logs', options)
command.response_representation = Google::Apis::LoggingV2beta1::ListLogsResponse::Representation
command.response_class = Google::Apis::LoggingV2beta1::ListLogsResponse
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
# Lists log entries. Use this method to retrieve log entries from Logging. For
# ways to export log entries, see Exporting Logs.
# @param [Google::Apis::LoggingV2beta1::ListLogEntriesRequest] list_log_entries_request_object
@ -235,176 +150,6 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes all the log entries in a log. The log reappears if it receives new
# entries. Log entries written shortly before the delete operation might not be
# deleted.
# @param [String] log_name
# Required. The resource name of the log to delete:
# "projects/[PROJECT_ID]/logs/[LOG_ID]"
# "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
# "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
# "folders/[FOLDER_ID]/logs/[LOG_ID]"
# [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog"
# , "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%
# 2Factivity". For more information about log names, see LogEntry.
# @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::LoggingV2beta1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2beta1::Empty]
#
# @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 delete_organization_log(log_name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2beta1/{+logName}', options)
command.response_representation = Google::Apis::LoggingV2beta1::Empty::Representation
command.response_class = Google::Apis::LoggingV2beta1::Empty
command.params['logName'] = log_name unless log_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
# Lists the logs in projects, organizations, folders, or billing accounts. Only
# logs that have entries are listed.
# @param [String] parent
# Required. The resource name that owns the logs:
# "projects/[PROJECT_ID]"
# "organizations/[ORGANIZATION_ID]"
# "billingAccounts/[BILLING_ACCOUNT_ID]"
# "folders/[FOLDER_ID]"
# @param [Fixnum] page_size
# Optional. The maximum number of results to return from this request. Non-
# positive values are ignored. The presence of nextPageToken in the response
# indicates that more results might be available.
# @param [String] page_token
# Optional. If present, then retrieve the next batch of results from the
# preceding call to this method. pageToken must be the value of nextPageToken
# from the previous response. The values of other method parameters should be
# identical to those in the previous 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::LoggingV2beta1::ListLogsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2beta1::ListLogsResponse]
#
# @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_organization_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+parent}/logs', options)
command.response_representation = Google::Apis::LoggingV2beta1::ListLogsResponse::Representation
command.response_class = Google::Apis::LoggingV2beta1::ListLogsResponse
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
# Deletes all the log entries in a log. The log reappears if it receives new
# entries. Log entries written shortly before the delete operation might not be
# deleted.
# @param [String] log_name
# Required. The resource name of the log to delete:
# "projects/[PROJECT_ID]/logs/[LOG_ID]"
# "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
# "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
# "folders/[FOLDER_ID]/logs/[LOG_ID]"
# [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog"
# , "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%
# 2Factivity". For more information about log names, see LogEntry.
# @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::LoggingV2beta1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2beta1::Empty]
#
# @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 delete_log(log_name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2beta1/{+logName}', options)
command.response_representation = Google::Apis::LoggingV2beta1::Empty::Representation
command.response_class = Google::Apis::LoggingV2beta1::Empty
command.params['logName'] = log_name unless log_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
# Lists the logs in projects, organizations, folders, or billing accounts. Only
# logs that have entries are listed.
# @param [String] parent
# Required. The resource name that owns the logs:
# "projects/[PROJECT_ID]"
# "organizations/[ORGANIZATION_ID]"
# "billingAccounts/[BILLING_ACCOUNT_ID]"
# "folders/[FOLDER_ID]"
# @param [Fixnum] page_size
# Optional. The maximum number of results to return from this request. Non-
# positive values are ignored. The presence of nextPageToken in the response
# indicates that more results might be available.
# @param [String] page_token
# Optional. If present, then retrieve the next batch of results from the
# preceding call to this method. pageToken must be the value of nextPageToken
# from the previous response. The values of other method parameters should be
# identical to those in the previous 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::LoggingV2beta1::ListLogsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2beta1::ListLogsResponse]
#
# @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_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+parent}/logs', options)
command.response_representation = Google::Apis::LoggingV2beta1::ListLogsResponse::Representation
command.response_class = Google::Apis::LoggingV2beta1::ListLogsResponse
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
# Creates a logs-based metric.
# @param [String] parent
# The resource name of the project in which to create the metric: