Autogenerated update (2020-08-08)

Update:
- bigqueryreservation_v1alpha2
- cloudprofiler_v2
- displayvideo_v1
- dlp_v2
- logging_v2
- oslogin_v1alpha
- oslogin_v1beta
- pubsub_v1
- pubsublite_v1
- texttospeech_v1beta1
This commit is contained in:
Google APIs 2020-08-08 00:38:23 +00:00
parent 929dd28e95
commit 889330f35e
32 changed files with 3427 additions and 3425 deletions

View File

@ -104749,6 +104749,7 @@
"/logging:v2/LogBucket/createTime": create_time
"/logging:v2/LogBucket/description": description
"/logging:v2/LogBucket/lifecycleState": lifecycle_state
"/logging:v2/LogBucket/locked": locked
"/logging:v2/LogBucket/name": name
"/logging:v2/LogBucket/retentionDays": retention_days
"/logging:v2/LogBucket/updateTime": update_time
@ -104814,6 +104815,8 @@
"/logging:v2/LogSink/destination": destination
"/logging:v2/LogSink/disabled": disabled
"/logging:v2/LogSink/endTime": end_time
"/logging:v2/LogSink/exclusions": exclusions
"/logging:v2/LogSink/exclusions/exclusion": exclusion
"/logging:v2/LogSink/filter": filter
"/logging:v2/LogSink/includeChildren": include_children
"/logging:v2/LogSink/name": name
@ -104899,6 +104902,7 @@
"/logging:v2/SourceReference": source_reference
"/logging:v2/SourceReference/repository": repository
"/logging:v2/SourceReference/revisionId": revision_id
"/logging:v2/UndeleteBucketRequest": undelete_bucket_request
"/logging:v2/WriteLogEntriesRequest": write_log_entries_request
"/logging:v2/WriteLogEntriesRequest/dryRun": dry_run
"/logging:v2/WriteLogEntriesRequest/entries": entries
@ -104927,6 +104931,11 @@
"/logging:v2/logging.billingAccounts.exclusions.patch": patch_billing_account_exclusion
"/logging:v2/logging.billingAccounts.exclusions.patch/name": name
"/logging:v2/logging.billingAccounts.exclusions.patch/updateMask": update_mask
"/logging:v2/logging.billingAccounts.locations.buckets.create": create_billing_account_location_bucket
"/logging:v2/logging.billingAccounts.locations.buckets.create/bucketId": bucket_id
"/logging:v2/logging.billingAccounts.locations.buckets.create/parent": parent
"/logging:v2/logging.billingAccounts.locations.buckets.delete": delete_billing_account_location_bucket
"/logging:v2/logging.billingAccounts.locations.buckets.delete/name": name
"/logging:v2/logging.billingAccounts.locations.buckets.list": list_billing_account_location_buckets
"/logging:v2/logging.billingAccounts.locations.buckets.list/pageSize": page_size
"/logging:v2/logging.billingAccounts.locations.buckets.list/pageToken": page_token
@ -104934,6 +104943,8 @@
"/logging:v2/logging.billingAccounts.locations.buckets.patch": patch_billing_account_location_bucket
"/logging:v2/logging.billingAccounts.locations.buckets.patch/name": name
"/logging:v2/logging.billingAccounts.locations.buckets.patch/updateMask": update_mask
"/logging:v2/logging.billingAccounts.locations.buckets.undelete": undelete_billing_account_location_bucket
"/logging:v2/logging.billingAccounts.locations.buckets.undelete/name": name
"/logging:v2/logging.billingAccounts.logs.delete": delete_billing_account_log
"/logging:v2/logging.billingAccounts.logs.delete/logName": log_name
"/logging:v2/logging.billingAccounts.logs.list": list_billing_account_logs
@ -104987,6 +104998,11 @@
"/logging:v2/logging.folders.exclusions.patch": patch_folder_exclusion
"/logging:v2/logging.folders.exclusions.patch/name": name
"/logging:v2/logging.folders.exclusions.patch/updateMask": update_mask
"/logging:v2/logging.folders.locations.buckets.create": create_folder_location_bucket
"/logging:v2/logging.folders.locations.buckets.create/bucketId": bucket_id
"/logging:v2/logging.folders.locations.buckets.create/parent": parent
"/logging:v2/logging.folders.locations.buckets.delete": delete_folder_location_bucket
"/logging:v2/logging.folders.locations.buckets.delete/name": name
"/logging:v2/logging.folders.locations.buckets.get": get_folder_location_bucket
"/logging:v2/logging.folders.locations.buckets.get/name": name
"/logging:v2/logging.folders.locations.buckets.list": list_folder_location_buckets
@ -104996,6 +105012,8 @@
"/logging:v2/logging.folders.locations.buckets.patch": patch_folder_location_bucket
"/logging:v2/logging.folders.locations.buckets.patch/name": name
"/logging:v2/logging.folders.locations.buckets.patch/updateMask": update_mask
"/logging:v2/logging.folders.locations.buckets.undelete": undelete_folder_location_bucket
"/logging:v2/logging.folders.locations.buckets.undelete/name": name
"/logging:v2/logging.folders.logs.delete": delete_folder_log
"/logging:v2/logging.folders.logs.delete/logName": log_name
"/logging:v2/logging.folders.logs.list": list_folder_logs
@ -105022,6 +105040,11 @@
"/logging:v2/logging.folders.sinks.update/uniqueWriterIdentity": unique_writer_identity
"/logging:v2/logging.folders.sinks.update/updateMask": update_mask
"/logging:v2/logging.getCmekSettings/name": name
"/logging:v2/logging.locations.buckets.create": create_location_bucket
"/logging:v2/logging.locations.buckets.create/bucketId": bucket_id
"/logging:v2/logging.locations.buckets.create/parent": parent
"/logging:v2/logging.locations.buckets.delete": delete_location_bucket
"/logging:v2/logging.locations.buckets.delete/name": name
"/logging:v2/logging.locations.buckets.get": get_location_bucket
"/logging:v2/logging.locations.buckets.get/name": name
"/logging:v2/logging.locations.buckets.list": list_location_buckets
@ -105031,6 +105054,8 @@
"/logging:v2/logging.locations.buckets.patch": patch_location_bucket
"/logging:v2/logging.locations.buckets.patch/name": name
"/logging:v2/logging.locations.buckets.patch/updateMask": update_mask
"/logging:v2/logging.locations.buckets.undelete": undelete_location_bucket
"/logging:v2/logging.locations.buckets.undelete/name": name
"/logging:v2/logging.logs.delete": delete_log
"/logging:v2/logging.logs.delete/logName": log_name
"/logging:v2/logging.logs.list": list_logs
@ -105055,6 +105080,11 @@
"/logging:v2/logging.organizations.exclusions.patch/updateMask": update_mask
"/logging:v2/logging.organizations.getCmekSettings": get_organization_cmek_settings
"/logging:v2/logging.organizations.getCmekSettings/name": name
"/logging:v2/logging.organizations.locations.buckets.create": create_organization_location_bucket
"/logging:v2/logging.organizations.locations.buckets.create/bucketId": bucket_id
"/logging:v2/logging.organizations.locations.buckets.create/parent": parent
"/logging:v2/logging.organizations.locations.buckets.delete": delete_organization_location_bucket
"/logging:v2/logging.organizations.locations.buckets.delete/name": name
"/logging:v2/logging.organizations.locations.buckets.get": get_organization_location_bucket
"/logging:v2/logging.organizations.locations.buckets.get/name": name
"/logging:v2/logging.organizations.locations.buckets.list": list_organization_location_buckets
@ -105064,6 +105094,8 @@
"/logging:v2/logging.organizations.locations.buckets.patch": patch_organization_location_bucket
"/logging:v2/logging.organizations.locations.buckets.patch/name": name
"/logging:v2/logging.organizations.locations.buckets.patch/updateMask": update_mask
"/logging:v2/logging.organizations.locations.buckets.undelete": undelete_organization_location_bucket
"/logging:v2/logging.organizations.locations.buckets.undelete/name": name
"/logging:v2/logging.organizations.logs.delete": delete_organization_log
"/logging:v2/logging.organizations.logs.delete/logName": log_name
"/logging:v2/logging.organizations.logs.list": list_organization_logs
@ -105105,6 +105137,11 @@
"/logging:v2/logging.projects.exclusions.patch": patch_project_exclusion
"/logging:v2/logging.projects.exclusions.patch/name": name
"/logging:v2/logging.projects.exclusions.patch/updateMask": update_mask
"/logging:v2/logging.projects.locations.buckets.create": create_project_location_bucket
"/logging:v2/logging.projects.locations.buckets.create/bucketId": bucket_id
"/logging:v2/logging.projects.locations.buckets.create/parent": parent
"/logging:v2/logging.projects.locations.buckets.delete": delete_project_location_bucket
"/logging:v2/logging.projects.locations.buckets.delete/name": name
"/logging:v2/logging.projects.locations.buckets.get": get_project_location_bucket
"/logging:v2/logging.projects.locations.buckets.get/name": name
"/logging:v2/logging.projects.locations.buckets.list": list_project_location_buckets
@ -105114,6 +105151,8 @@
"/logging:v2/logging.projects.locations.buckets.patch": patch_project_location_bucket
"/logging:v2/logging.projects.locations.buckets.patch/name": name
"/logging:v2/logging.projects.locations.buckets.patch/updateMask": update_mask
"/logging:v2/logging.projects.locations.buckets.undelete": undelete_project_location_bucket
"/logging:v2/logging.projects.locations.buckets.undelete/name": name
"/logging:v2/logging.projects.logs.delete": delete_project_log
"/logging:v2/logging.projects.logs.delete/logName": log_name
"/logging:v2/logging.projects.logs.list": list_project_logs
@ -114178,6 +114217,7 @@
"/pubsub:v1/Subscription": subscription
"/pubsub:v1/Subscription/ackDeadlineSeconds": ack_deadline_seconds
"/pubsub:v1/Subscription/deadLetterPolicy": dead_letter_policy
"/pubsub:v1/Subscription/detached": detached
"/pubsub:v1/Subscription/enableMessageOrdering": enable_message_ordering
"/pubsub:v1/Subscription/expirationPolicy": expiration_policy
"/pubsub:v1/Subscription/filter": filter
@ -134977,10 +135017,18 @@
"/texttospeech:v1beta1/SynthesisInput/text": text
"/texttospeech:v1beta1/SynthesizeSpeechRequest": synthesize_speech_request
"/texttospeech:v1beta1/SynthesizeSpeechRequest/audioConfig": audio_config
"/texttospeech:v1beta1/SynthesizeSpeechRequest/enableTimePointing": enable_time_pointing
"/texttospeech:v1beta1/SynthesizeSpeechRequest/enableTimePointing/enable_time_pointing": enable_time_pointing
"/texttospeech:v1beta1/SynthesizeSpeechRequest/input": input
"/texttospeech:v1beta1/SynthesizeSpeechRequest/voice": voice
"/texttospeech:v1beta1/SynthesizeSpeechResponse": synthesize_speech_response
"/texttospeech:v1beta1/SynthesizeSpeechResponse/audioConfig": audio_config
"/texttospeech:v1beta1/SynthesizeSpeechResponse/audioContent": audio_content
"/texttospeech:v1beta1/SynthesizeSpeechResponse/timepoints": timepoints
"/texttospeech:v1beta1/SynthesizeSpeechResponse/timepoints/timepoint": timepoint
"/texttospeech:v1beta1/Timepoint": timepoint
"/texttospeech:v1beta1/Timepoint/markName": mark_name
"/texttospeech:v1beta1/Timepoint/timeSeconds": time_seconds
"/texttospeech:v1beta1/Voice": voice
"/texttospeech:v1beta1/Voice/languageCodes": language_codes
"/texttospeech:v1beta1/Voice/languageCodes/language_code": language_code

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/bigquery/
module BigqueryreservationV1alpha2
VERSION = 'V1alpha2'
REVISION = '20200509'
REVISION = '20200801'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -22,13 +22,12 @@ module Google
module Apis
module BigqueryreservationV1alpha2
# The metadata for operation returned from
# ReservationService.CreateSlotPool.
# The metadata for operation returned from ReservationService.CreateSlotPool.
class CreateSlotPoolMetadata
include Google::Apis::Core::Hashable
# Resource name of the slot pool that is being created. E.g.,
# projects/myproject/locations/us-central1/reservations/foo/slotPools/123
# Resource name of the slot pool that is being created. E.g., projects/myproject/
# locations/us-central1/reservations/foo/slotPools/123
# Corresponds to the JSON property `slotPool`
# @return [String]
attr_accessor :slot_pool
@ -43,13 +42,11 @@ module Google
end
end
# A generic empty message that you can re-use to avoid defining duplicated
# empty messages in your APIs. A typical example is to use it as the request
# or the response type of an API method. For instance:
# service Foo `
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
# `
# The JSON representation for `Empty` is empty JSON object ````.
# A generic empty message that you can re-use to avoid defining duplicated empty
# messages in your APIs. A typical example is to use it as the request or the
# response type of an API method. For instance: service Foo ` rpc Bar(google.
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
# `Empty` is empty JSON object ````.
class Empty
include Google::Apis::Core::Hashable
@ -66,8 +63,8 @@ module Google
class ListReservationGrantsResponse
include Google::Apis::Core::Hashable
# Token to retrieve the next page of results, or empty if there are no
# more results in the list.
# Token to retrieve the next page of results, or empty if there are no more
# results in the list.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -92,8 +89,8 @@ module Google
class ListReservationsResponse
include Google::Apis::Core::Hashable
# Token to retrieve the next page of results, or empty if there are no
# more results in the list.
# Token to retrieve the next page of results, or empty if there are no more
# results in the list.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -118,8 +115,8 @@ module Google
class ListSlotPoolsResponse
include Google::Apis::Core::Hashable
# Token to retrieve the next page of results, or empty if there are no
# more results in the list.
# Token to retrieve the next page of results, or empty if there are no more
# results in the list.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -145,47 +142,45 @@ module Google
class Operation
include Google::Apis::Core::Hashable
# If the value is `false`, it means the operation is still in progress.
# If `true`, the operation is completed, and either `error` or `response` is
# available.
# If the value is `false`, it means the operation is still in progress. If `true`
# , the operation is completed, and either `error` or `response` is available.
# Corresponds to the JSON property `done`
# @return [Boolean]
attr_accessor :done
alias_method :done?, :done
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
# three pieces of data: error code, error message, and error details.
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by [
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
# data: error code, error message, and error details. You can find out more
# about this error model and how to work with it in the [API Design Guide](https:
# //cloud.google.com/apis/design/errors).
# Corresponds to the JSON property `error`
# @return [Google::Apis::BigqueryreservationV1alpha2::Status]
attr_accessor :error
# Service-specific metadata associated with the operation. It typically
# contains progress information and common metadata such as create time.
# Some services might not provide such metadata. Any method that returns a
# long-running operation should document the metadata type, if any.
# Service-specific metadata associated with the operation. It typically contains
# progress information and common metadata such as create time. Some services
# might not provide such metadata. Any method that returns a long-running
# operation should document the metadata type, if any.
# Corresponds to the JSON property `metadata`
# @return [Hash<String,Object>]
attr_accessor :metadata
# The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should be a resource name ending with `operations/`unique_id``.
# originally returns it. If you use the default HTTP mapping, the `name` should
# be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The normal response of the operation in case of success. If the original
# method returns no data on success, such as `Delete`, the response is
# `google.protobuf.Empty`. If the original method is standard
# `Get`/`Create`/`Update`, the response should be the resource. For other
# methods, the response should have the type `XxxResponse`, where `Xxx`
# is the original method name. For example, if the original method name
# is `TakeSnapshot()`, the inferred response type is
# `TakeSnapshotResponse`.
# The normal response of the operation in case of success. If the original
# method returns no data on success, such as `Delete`, the response is `google.
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
# the response should be the resource. For other methods, the response should
# have the type `XxxResponse`, where `Xxx` is the original method name. For
# example, if the original method name is `TakeSnapshot()`, the inferred
# response type is `TakeSnapshotResponse`.
# Corresponds to the JSON property `response`
# @return [Hash<String,Object>]
attr_accessor :response
@ -208,35 +203,31 @@ module Google
class Reservation
include Google::Apis::Core::Hashable
# The resource name of the reservation, e.g.,
# "projects/*/locations/*/reservations/dev/team/product". Reservation names
# (e.g., "dev/team/product") exceeding a depth of six will fail with
# `google.rpc.Code.INVALID_ARGUMENT`.
# The resource name of the reservation, e.g., "projects/*/locations/*/
# reservations/dev/team/product". Reservation names (e.g., "dev/team/product")
# exceeding a depth of six will fail with `google.rpc.Code.INVALID_ARGUMENT`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Maximum slots available to this reservation and its children. A slot is a
# unit of computational power in BigQuery, and serves as the unit of
# parallelism. In a scan of a multi-partitioned table, a single slot operates
# on a single partition of the table.
# If the new reservation's slot capacity exceed the parent's slot capacity or
# if total slot capacity of the new reservation and its siblings exceeds the
# parent's slot capacity, the request will fail with
# `google.rpc.Code.RESOURCE_EXHAUSTED`.
# Maximum slots available to this reservation and its children. A slot is a unit
# of computational power in BigQuery, and serves as the unit of parallelism. In
# a scan of a multi-partitioned table, a single slot operates on a single
# partition of the table. If the new reservation's slot capacity exceed the
# parent's slot capacity or if total slot capacity of the new reservation and
# its siblings exceeds the parent's slot capacity, the request will fail with `
# google.rpc.Code.RESOURCE_EXHAUSTED`.
# Corresponds to the JSON property `slotCapacity`
# @return [Fixnum]
attr_accessor :slot_capacity
# If true, any query using this reservation will also be submitted to the
# parent reservation. This allows the query to share the additional slot
# capacity of the parent with other queries in the parent reservation. If the
# parent also has this field set to true, then this process will continue
# until it encounters a reservation for which this is false.
# If false, a query using this reservation will
# execute with the maximum slot capacity as specified above.
# If not specified, default value is true.
# Ignored for top-level reservation.
# If true, any query using this reservation will also be submitted to the parent
# reservation. This allows the query to share the additional slot capacity of
# the parent with other queries in the parent reservation. If the parent also
# has this field set to true, then this process will continue until it
# encounters a reservation for which this is false. If false, a query using this
# reservation will execute with the maximum slot capacity as specified above. If
# not specified, default value is true. Ignored for top-level reservation.
# Corresponds to the JSON property `useParentReservation`
# @return [Boolean]
attr_accessor :use_parent_reservation
@ -254,13 +245,13 @@ module Google
end
end
# A ReservationGrant allows a project to submit jobs
# of a certain type using slots from the specified reservation.
# A ReservationGrant allows a project to submit jobs of a certain type using
# slots from the specified reservation.
class ReservationGrant
include Google::Apis::Core::Hashable
# The resource which will use the reservation. E.g.
# projects/myproject, folders/123, organizations/456.
# The resource which will use the reservation. E.g. projects/myproject, folders/
# 123, organizations/456.
# Corresponds to the JSON property `grantee`
# @return [String]
attr_accessor :grantee
@ -270,16 +261,15 @@ module Google
# @return [String]
attr_accessor :job_type
# Output only. Name of the resource. E.g.:
# projects/myproject/locations/eu/reservationGrants/123.
# Output only. Name of the resource. E.g.: projects/myproject/locations/eu/
# reservationGrants/123.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Resource name of the reservation.
# E.g., projects/myproject/locations/eu/reservations/my_reservation.
# This reservation must be in the same location as the grant.
# This reservation should belong to the same parent project.
# Resource name of the reservation. E.g., projects/myproject/locations/eu/
# reservations/my_reservation. This reservation must be in the same location as
# the grant. This reservation should belong to the same parent project.
# Corresponds to the JSON property `reservation`
# @return [String]
attr_accessor :reservation
@ -307,8 +297,8 @@ module Google
class SearchReservationGrantsResponse
include Google::Apis::Core::Hashable
# Token to retrieve the next page of results, or empty if there are no
# more results in the list.
# Token to retrieve the next page of results, or empty if there are no more
# results in the list.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -333,34 +323,32 @@ module Google
# usage. Slot pool is immutable and cannot be deleted until the end of the
# commitment period. After the end of the commitment period, slots are still
# available but can be freely removed any time. Annual commitments will
# automatically be downgraded to monthly after the commitment ends.
# A slot pool resource exists as a child resource of a top-level reservation.
# Sum of all the ACTIVE pools slot_count is always equal to the reservation
# slot_capacity.
# automatically be downgraded to monthly after the commitment ends. A slot pool
# resource exists as a child resource of a top-level reservation. Sum of all the
# ACTIVE pools slot_count is always equal to the reservation slot_capacity.
class SlotPool
include Google::Apis::Core::Hashable
# Output only. The end of the commitment period. Slot pool cannot be
# removed before commitment_end_time. It is applicable only for ACTIVE slot
# pools and is computed as a combination of the plan and the time when the
# slot pool became ACTIVE.
# Output only. The end of the commitment period. Slot pool cannot be removed
# before commitment_end_time. It is applicable only for ACTIVE slot pools and is
# computed as a combination of the plan and the time when the slot pool became
# ACTIVE.
# Corresponds to the JSON property `commitmentEndTime`
# @return [String]
attr_accessor :commitment_end_time
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
# three pieces of data: error code, error message, and error details.
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by [
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
# data: error code, error message, and error details. You can find out more
# about this error model and how to work with it in the [API Design Guide](https:
# //cloud.google.com/apis/design/errors).
# Corresponds to the JSON property `failureStatus`
# @return [Google::Apis::BigqueryreservationV1alpha2::Status]
attr_accessor :failure_status
# Output only. The resource name of the slot pool, e.g.,
# projects/myproject/locations/us-central1/reservations/myreservation/
# slotPools/123
# Output only. The resource name of the slot pool, e.g., projects/myproject/
# locations/us-central1/reservations/myreservation/slotPools/123
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -395,12 +383,12 @@ module Google
end
end
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
# three pieces of data: error code, error message, and error details.
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by [
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
# data: error code, error message, and error details. You can find out more
# about this error model and how to work with it in the [API Design Guide](https:
# //cloud.google.com/apis/design/errors).
class Status
include Google::Apis::Core::Hashable
@ -409,15 +397,15 @@ module Google
# @return [Fixnum]
attr_accessor :code
# A list of messages that carry the error details. There is a common set of
# A list of messages that carry the error details. There is a common set of
# message types for APIs to use.
# Corresponds to the JSON property `details`
# @return [Array<Hash<String,Object>>]
attr_accessor :details
# A developer-facing error message, which should be in English. Any
# user-facing error message should be localized and sent in the
# google.rpc.Status.details field, or localized by the client.
# A developer-facing error message, which should be in English. Any user-facing
# error message should be localized and sent in the google.rpc.Status.details
# field, or localized by the client.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message

View File

@ -47,31 +47,26 @@ module Google
@batch_path = 'batch'
end
# Look up grants for a specified resource for a particular region.
# If the request is about a project:
# 1) Grants created on the project will be returned if they exist.
# 2) Otherwise grants created on the closest ancestor will be returned.
# 3) Grants for different JobTypes will all be returned.
# Same logic applies if the request is about a folder.
# If the request is about an organization, then grants created on the
# organization will be returned (organization doesn't have ancestors).
# Comparing to ListReservationGrants, there are two behavior
# differences:
# 1) permission on the grantee will be verified in this API.
# 2) Hierarchy lookup (project->folder->organization) happens in this API.
# Look up grants for a specified resource for a particular region. If the
# request is about a project: 1) Grants created on the project will be returned
# if they exist. 2) Otherwise grants created on the closest ancestor will be
# returned. 3) Grants for different JobTypes will all be returned. Same logic
# applies if the request is about a folder. If the request is about an
# organization, then grants created on the organization will be returned (
# organization doesn't have ancestors). Comparing to ListReservationGrants,
# there are two behavior differences: 1) permission on the grantee will be
# verified in this API. 2) Hierarchy lookup (project->folder->organization)
# happens in this API.
# @param [String] parent
# The parent resource name (containing project and location), which owns the
# grants. e.g.:
# "projects/myproject/locations/us-central1".
# grants. e.g.: "projects/myproject/locations/us-central1".
# @param [Fixnum] page_size
# The maximum number of items to return.
# @param [String] page_token
# The next_page_token value returned from a previous List request, if any.
# @param [String] query
# Please specify resource name as grantee in the query.
# e.g., "grantee=projects/myproject"
# "grantee=folders/123"
# "grantee=organizations/456"
# Please specify resource name as grantee in the query. e.g., "grantee=projects/
# myproject" "grantee=folders/123" "grantee=organizations/456"
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -102,15 +97,13 @@ module Google
execute_or_queue_command(command, &block)
end
# Starts asynchronous cancellation on a long-running operation. The server
# makes a best effort to cancel the operation, but success is not
# guaranteed. If the server doesn't support this method, it returns
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
# Operations.GetOperation or
# other methods to check whether the cancellation succeeded or whether the
# operation completed despite cancellation. On successful cancellation,
# the operation is not deleted; instead, it becomes an operation with
# an Operation.error value with a google.rpc.Status.code of 1,
# Starts asynchronous cancellation on a long-running operation. The server makes
# a best effort to cancel the operation, but success is not guaranteed. If the
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
# Clients can use Operations.GetOperation or other methods to check whether the
# cancellation succeeded or whether the operation completed despite cancellation.
# On successful cancellation, the operation is not deleted; instead, it becomes
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
# corresponding to `Code.CANCELLED`.
# @param [String] name
# The name of the operation resource to be cancelled.
@ -141,9 +134,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the latest state of a long-running operation. Clients can use this
# method to poll the operation result at intervals as recommended by the API
# service.
# Gets the latest state of a long-running operation. Clients can use this method
# to poll the operation result at intervals as recommended by the API service.
# @param [String] name
# The name of the operation resource.
# @param [String] fields
@ -173,14 +165,13 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns `google.rpc.Code.PERMISSION_DENIED` if user does not have
# 'bigquery.admin' permissions on the project using the reservation
# and the project that owns this reservation.
# Returns `google.rpc.Code.INVALID_ARGUMENT` when location of the grant
# does not match location of the reservation.
# Returns `google.rpc.Code.PERMISSION_DENIED` if user does not have 'bigquery.
# admin' permissions on the project using the reservation and the project that
# owns this reservation. Returns `google.rpc.Code.INVALID_ARGUMENT` when
# location of the grant does not match location of the reservation.
# @param [String] parent
# The parent resource name of the reservation grant
# E.g.: projects/myproject/location/eu.
# The parent resource name of the reservation grant E.g.: projects/myproject/
# location/eu.
# @param [Google::Apis::BigqueryreservationV1alpha2::ReservationGrant] reservation_grant_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -211,19 +202,15 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes a reservation grant. No expansion will happen.
# E.g:
# organizationA contains project1 and project2. Reservation res1 exists.
# Deletes a reservation grant. No expansion will happen. E.g: organizationA
# contains project1 and project2. Reservation res1 exists.
# CreateReservationGrant was invoked previously and following grants were
# created explicitly:
# <organizationA, res1>
# <project1, res1>
# Then deletion of <organizationA, res1> won't affect <project1, res1>. After
# deletion of <organizationA, res1>, queries from project1 will still use
# res1, while queries from project2 will use on-demand mode.
# created explicitly: Then deletion of won't affect . After deletion of ,
# queries from project1 will still use res1, while queries from project2 will
# use on-demand mode.
# @param [String] name
# Name of the resource, e.g.:
# projects/myproject/locations/eu/reservationGrants/123
# Name of the resource, e.g.: projects/myproject/locations/eu/reservationGrants/
# 123
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -251,15 +238,11 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists reservation grants.
# Only explicitly created grants will be returned. E.g:
# Lists reservation grants. Only explicitly created grants will be returned. E.g:
# organizationA contains project1 and project2. Reservation res1 exists.
# CreateReservationGrant was invoked previously and following grants were
# created explicitly:
# <organizationA, res1>
# <project1, res1>
# Then this API will just return the above two grants for reservation res1,
# and no expansion/merge will happen.
# created explicitly: Then this API will just return the above two grants for
# reservation res1, and no expansion/merge will happen.
# @param [String] parent
# The parent resource name e.g.: projects/myproject/location/eu.
# @param [Fixnum] page_size
@ -295,15 +278,15 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a new reservation resource. Multiple reservations are created if
# the ancestor reservations do not exist.
# Creates a new reservation resource. Multiple reservations are created if the
# ancestor reservations do not exist.
# @param [String] parent
# Project, location, and (optionally) reservation name. E.g.,
# projects/myproject/locations/us-central1/reservations/parent
# Project, location, and (optionally) reservation name. E.g., projects/myproject/
# locations/us-central1/reservations/parent
# @param [Google::Apis::BigqueryreservationV1alpha2::Reservation] reservation_object
# @param [String] reservation_id
# The reservation ID relative to the parent, e.g., "dev". This field must
# only contain alphanumeric characters.
# The reservation ID relative to the parent, e.g., "dev". This field must only
# contain alphanumeric characters.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -334,15 +317,15 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a new reservation resource. Multiple reservations are created if
# the ancestor reservations do not exist.
# Creates a new reservation resource. Multiple reservations are created if the
# ancestor reservations do not exist.
# @param [String] parent
# Project, location, and (optionally) reservation name. E.g.,
# projects/myproject/locations/us-central1/reservations/parent
# Project, location, and (optionally) reservation name. E.g., projects/myproject/
# locations/us-central1/reservations/parent
# @param [Google::Apis::BigqueryreservationV1alpha2::Reservation] reservation_object
# @param [String] reservation_id
# The reservation ID relative to the parent, e.g., "dev". This field must
# only contain alphanumeric characters.
# The reservation ID relative to the parent, e.g., "dev". This field must only
# contain alphanumeric characters.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -373,19 +356,17 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes a reservation.
# Returns `google.rpc.Code.FAILED_PRECONDITION` in the following cases:
# 1. When reservation has child reservations. This check can be bypassed by
# setting DeleteReservationRequest.force flag to true.
# 2. When top-level reservation with slot pools is being deleted.
# Deletes a reservation. Returns `google.rpc.Code.FAILED_PRECONDITION` in the
# following cases: 1. When reservation has child reservations. This check can be
# bypassed by setting DeleteReservationRequest.force flag to true. 2. When top-
# level reservation with slot pools is being deleted.
# @param [String] name
# Resource name of the reservation to retrieve. E.g.,
# projects/myproject/locations/us-central1/reservations/my_reservation
# Resource name of the reservation to retrieve. E.g., projects/myproject/
# locations/us-central1/reservations/my_reservation
# @param [Boolean] force
# If true, deletes all the child reservations of the given reservation.
# Otherwise, attempting to delete a reservation that has child
# reservations will fail with error code
# `google.rpc.Code.FAILED_PRECONDITION`.
# Otherwise, attempting to delete a reservation that has child reservations will
# fail with error code `google.rpc.Code.FAILED_PRECONDITION`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -416,8 +397,8 @@ module Google
# Returns information about the reservation.
# @param [String] name
# Resource name of the reservation to retrieve. E.g.,
# projects/myproject/locations/us-central1/reservations/path/to/reserv
# Resource name of the reservation to retrieve. E.g., projects/myproject/
# locations/us-central1/reservations/path/to/reserv
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -447,14 +428,13 @@ module Google
# Lists all the reservations for the project in the specified location.
# @param [String] parent
# The parent resource name containing project and location, e.g.:
# "projects/myproject/locations/us-central1"
# The parent resource name containing project and location, e.g.: "projects/
# myproject/locations/us-central1"
# @param [String] filter
# Can be used to filter out reservations based on names, capacity, etc, e.g.:
# filter="reservation.slot_capacity > 200"
# filter="reservation.name = \"*dev/*\""
# Advanced filtering syntax can be
# [here](https://cloud.google.com/logging/docs/view/advanced-filters).
# filter="reservation.slot_capacity > 200" filter="reservation.name = \"*dev/*\""
# Advanced filtering syntax can be [here](https://cloud.google.com/logging/docs/
# view/advanced-filters).
# @param [Fixnum] page_size
# The maximum number of items to return.
# @param [String] page_token
@ -492,10 +472,9 @@ module Google
# Updates an existing reservation resource. Applicable only for child
# reservations.
# @param [String] name
# The resource name of the reservation, e.g.,
# "projects/*/locations/*/reservations/dev/team/product". Reservation names
# (e.g., "dev/team/product") exceeding a depth of six will fail with
# `google.rpc.Code.INVALID_ARGUMENT`.
# The resource name of the reservation, e.g., "projects/*/locations/*/
# reservations/dev/team/product". Reservation names (e.g., "dev/team/product")
# exceeding a depth of six will fail with `google.rpc.Code.INVALID_ARGUMENT`.
# @param [Google::Apis::BigqueryreservationV1alpha2::Reservation] reservation_object
# @param [String] update_mask
# Standard field mask for the set of fields to be updated.
@ -530,12 +509,11 @@ module Google
end
# Deletes a slot pool. Attempting to delete slot pool before its
# commitment_end_time will fail with the error code
# `google.rpc.Code.FAILED_PRECONDITION`.
# commitment_end_time will fail with the error code `google.rpc.Code.
# FAILED_PRECONDITION`.
# @param [String] name
# Resource name of the slot pool to delete. E.g.,
# projects/myproject/locations/us-central1/reservations/my_reservation/
# slotPools/123
# Resource name of the slot pool to delete. E.g., projects/myproject/locations/
# us-central1/reservations/my_reservation/slotPools/123
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -565,9 +543,8 @@ module Google
# Returns information about the slot pool.
# @param [String] name
# Resource name of the slot pool to retrieve. E.g.,
# projects/myproject/locations/us-central1/reservations/my_reservation/
# slotPools/123
# Resource name of the slot pool to retrieve. E.g., projects/myproject/locations/
# us-central1/reservations/my_reservation/slotPools/123
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -597,9 +574,9 @@ module Google
# Lists all the slot pools for the reservation.
# @param [String] parent
# Resource name of the parent reservation. Only top-level reservations can
# have slot pools. E.g.,
# projects/myproject/locations/us-central1/reservations/my_reservation
# Resource name of the parent reservation. Only top-level reservations can have
# slot pools. E.g., projects/myproject/locations/us-central1/reservations/
# my_reservation
# @param [Fixnum] page_size
# The maximum number of items to return.
# @param [String] page_token

View File

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

View File

@ -22,9 +22,9 @@ module Google
module Apis
module CloudprofilerV2
# CreateProfileRequest describes a profile resource online creation request.
# The deployment field must be populated. The profile_type specifies the list
# of profile types supported by the agent. The creation call will hang until a
# CreateProfileRequest describes a profile resource online creation request. The
# deployment field must be populated. The profile_type specifies the list of
# profile types supported by the agent. The creation call will hang until a
# profile of one of these types needs to be collected.
class CreateProfileRequest
include Google::Apis::Core::Hashable
@ -56,30 +56,27 @@ module Google
# Labels identify the deployment within the user universe and same target.
# Validation regex for label names: `^[a-z0-9]([a-z0-9-]`0,61`[a-z0-9])?$`.
# Value for an individual label must be <= 512 bytes, the total
# size of all label names and values must be <= 1024 bytes.
# Label named "language" can be used to record the programming language of
# the profiled deployment. The standard choices for the value include "java",
# "go", "python", "ruby", "nodejs", "php", "dotnet".
# For deployments running on Google Cloud Platform, "zone" or "region" label
# should be present describing the deployment location. An example of a zone
# is "us-central1-a", an example of a region is "us-central1" or
# "us-central".
# Value for an individual label must be <= 512 bytes, the total size of all
# label names and values must be <= 1024 bytes. Label named "language" can be
# used to record the programming language of the profiled deployment. The
# standard choices for the value include "java", "go", "python", "ruby", "nodejs"
# , "php", "dotnet". For deployments running on Google Cloud Platform, "zone" or
# "region" label should be present describing the deployment location. An
# example of a zone is "us-central1-a", an example of a region is "us-central1"
# or "us-central".
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# Project ID is the ID of a cloud project.
# Validation regex: `^a-z`4,61`[a-z0-9]$`.
# Project ID is the ID of a cloud project. Validation regex: `^a-z`4,61`[a-z0-9]$
# `.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
# Target is the service name used to group related deployments:
# * Service name for GAE Flex / Standard.
# * Cluster and container name for GKE.
# * User-specified string for direct GCE profiling (e.g. Java).
# * Job name for Dataflow.
# Target is the service name used to group related deployments: * Service name
# for GAE Flex / Standard. * Cluster and container name for GKE. * User-
# specified string for direct GCE profiling (e.g. Java). * Job name for Dataflow.
# Validation regex: `^[a-z]([-a-z0-9_.]`0,253`[a-z0-9])?$`.
# Corresponds to the JSON property `target`
# @return [String]
@ -106,19 +103,18 @@ module Google
# @return [Google::Apis::CloudprofilerV2::Deployment]
attr_accessor :deployment
# Duration of the profiling session.
# Input (for the offline mode) or output (for the online mode).
# The field represents requested profiling duration. It may slightly differ
# from the effective profiling duration, which is recorded in the profile
# data, in case the profiling can't be stopped immediately (e.g. in case
# stopping the profiling is handled asynchronously).
# Duration of the profiling session. Input (for the offline mode) or output (for
# the online mode). The field represents requested profiling duration. It may
# slightly differ from the effective profiling duration, which is recorded in
# the profile data, in case the profiling can't be stopped immediately (e.g. in
# case stopping the profiling is handled asynchronously).
# Corresponds to the JSON property `duration`
# @return [String]
attr_accessor :duration
# Input only. Labels associated to this specific profile. These labels will
# get merged with the deployment labels for the final data set. See
# documentation on deployment labels for validation rules and limits.
# Input only. Labels associated to this specific profile. These labels will get
# merged with the deployment labels for the final data set. See documentation on
# deployment labels for validation rules and limits.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
@ -128,16 +124,15 @@ module Google
# @return [String]
attr_accessor :name
# Input only. Profile bytes, as a gzip compressed serialized proto, the
# format is https://github.com/google/pprof/blob/master/proto/profile.proto.
# Input only. Profile bytes, as a gzip compressed serialized proto, the format
# is https://github.com/google/pprof/blob/master/proto/profile.proto.
# Corresponds to the JSON property `profileBytes`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :profile_bytes
# Type of profile.
# For offline mode, this must be specified when creating the profile. For
# online mode it is assigned and returned by the server.
# Type of profile. For offline mode, this must be specified when creating the
# profile. For online mode it is assigned and returned by the server.
# Corresponds to the JSON property `profileType`
# @return [String]
attr_accessor :profile_type

View File

@ -47,17 +47,15 @@ module Google
@batch_path = 'batch'
end
# CreateProfile creates a new profile resource in the online mode.
# The server ensures that the new profiles are created at a constant rate per
# deployment, so the creation request may hang for some time until the next
# profile session is available.
# The request may fail with ABORTED error if the creation is not available
# within ~1m, the response will indicate the duration of the backoff the
# client should take before attempting creating a profile again. The backoff
# duration is returned in google.rpc.RetryInfo extension on the response
# status. To a gRPC client, the extension will be return as a
# binary-serialized proto in the trailing metadata item named
# "google.rpc.retryinfo-bin".
# CreateProfile creates a new profile resource in the online mode. The server
# ensures that the new profiles are created at a constant rate per deployment,
# so the creation request may hang for some time until the next profile session
# is available. The request may fail with ABORTED error if the creation is not
# available within ~1m, the response will indicate the duration of the backoff
# the client should take before attempting creating a profile again. The backoff
# duration is returned in google.rpc.RetryInfo extension on the response status.
# To a gRPC client, the extension will be return as a binary-serialized proto in
# the trailing metadata item named "google.rpc.retryinfo-bin".
# @param [String] parent
# Parent project to create the profile in.
# @param [Google::Apis::CloudprofilerV2::CreateProfileRequest] create_profile_request_object
@ -90,9 +88,9 @@ module Google
execute_or_queue_command(command, &block)
end
# CreateOfflineProfile creates a new profile resource in the offline mode.
# The client provides the profile to create along with the profile bytes, the
# server records it.
# CreateOfflineProfile creates a new profile resource in the offline mode. The
# client provides the profile to create along with the profile bytes, the server
# records it.
# @param [String] parent
# Parent project to create the profile in.
# @param [Google::Apis::CloudprofilerV2::Profile] profile_object
@ -127,16 +125,16 @@ module Google
# UpdateProfile updates the profile bytes and labels on the profile resource
# created in the online mode. Updating the bytes for profiles created in the
# offline mode is currently not supported: the profile content must be
# provided at the time of the profile creation.
# offline mode is currently not supported: the profile content must be provided
# at the time of the profile creation.
# @param [String] name
# Output only. Opaque, server-assigned, unique ID for this profile.
# @param [Google::Apis::CloudprofilerV2::Profile] profile_object
# @param [String] update_mask
# Field mask used to specify the fields to be overwritten. Currently only
# profile_bytes and labels fields are supported by UpdateProfile, so only
# those fields can be specified in the mask. When no mask is provided, all
# fields are overwritten.
# profile_bytes and labels fields are supported by UpdateProfile, so only those
# fields can be specified in the mask. When no mask is provided, all fields are
# overwritten.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/display-video/
module DisplayvideoV1
VERSION = 'V1'
REVISION = '20200804'
REVISION = '20200806'
# Create, see, edit, and permanently delete your Display & Video 360 entities and reports
AUTH_DISPLAY_VIDEO = 'https://www.googleapis.com/auth/display-video'

View File

@ -1117,20 +1117,20 @@ module Google
include Google::Apis::Core::Hashable
# The number of ACTIVE and PAUSED campaigns under this advertiser. These
# campaigns count towards the limit of 9,999 campaigns per advertiser.
# campaigns count towards the limit of 9999 campaigns per advertiser.
# Corresponds to the JSON property `usedCampaignsCount`
# @return [Fixnum]
attr_accessor :used_campaigns_count
# The number of ACTIVE, PAUSED and DRAFT insertion orders under this advertiser.
# These insertion orders count towards the limit of 9,999 insertion orders per
# These insertion orders count towards the limit of 9999 insertion orders per
# advertiser.
# Corresponds to the JSON property `usedInsertionOrdersCount`
# @return [Fixnum]
attr_accessor :used_insertion_orders_count
# The number of ACTIVE, PAUSED, and DRAFT line items under this advertiser.
# These line items count towards the limit of 9,999 line items per advertiser.
# These line items count towards the limit of 9999 line items per advertiser.
# Corresponds to the JSON property `usedLineItemsCount`
# @return [Fixnum]
attr_accessor :used_line_items_count
@ -1469,7 +1469,7 @@ module Google
end
end
# Response message for BulkEditAssignedUserRoles.
#
class BulkEditAssignedUserRolesResponse
include Google::Apis::Core::Hashable
@ -5579,7 +5579,7 @@ module Google
end
end
# Response message for CustomBiddingAlgorithmService.ListCustomBiddingAlgorithms.
#
class ListCustomBiddingAlgorithmsResponse
include Google::Apis::Core::Hashable
@ -5906,7 +5906,7 @@ module Google
end
end
# Response message for ListPartnerAssignedTargetingOptions.
#
class ListPartnerAssignedTargetingOptionsResponse
include Google::Apis::Core::Hashable
@ -5934,7 +5934,7 @@ module Google
end
end
# Response message for ListPartners.
#
class ListPartnersResponse
include Google::Apis::Core::Hashable
@ -6015,7 +6015,7 @@ module Google
end
end
# Response message for ListUsers.
#
class ListUsersResponse
include Google::Apis::Core::Hashable

View File

@ -49,8 +49,8 @@ module Google
end
# Audits an advertiser. Returns the counts of used entities per resource type
# under the advertiser provided. Used entities count towards their [respective
# resource limit]: (https://support.google.com/displayvideo/answer/6071450?hl=en)
# under the advertiser provided. Used entities count towards their respective
# resource limit. See https://support.google.com/displayvideo/answer/6071450.
# @param [Fixnum] advertiser_id
# Required. The ID of the advertiser to audit.
# @param [String] read_mask
@ -2845,9 +2845,9 @@ module Google
# @param [Fixnum] custom_bidding_algorithm_id
# Required. The ID of the custom bidding algorithm to fetch.
# @param [Fixnum] advertiser_id
# The ID of the DV3 partner that has access to the custom bidding algorithm.
# The ID of the DV360 partner that has access to the custom bidding algorithm.
# @param [Fixnum] partner_id
# The ID of the DV3 partner that has access to the custom bidding algorithm.
# The ID of the DV360 partner that has access to the custom bidding algorithm.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -2881,7 +2881,7 @@ module Google
# can be used in bidding stratgies. The order is defined by the order_by
# parameter.
# @param [Fixnum] advertiser_id
# The ID of the DV3 advertiser that has access to the custom bidding algorithm.
# The ID of the DV360 advertiser that has access to the custom bidding algorithm.
# @param [String] filter
# Allows filtering by custom bidding algorithm fields. Supported syntax: *
# Filter expressions are made up of one or more restrictions. * Restrictions can
@ -2912,7 +2912,7 @@ module Google
# ListCustomBiddingAlgorithms` method. If not specified, the first page of
# results will be returned.
# @param [Fixnum] partner_id
# The ID of the DV3 partner that has access to the custom bidding algorithm.
# The ID of the DV360 partner that has access to the custom bidding algorithm.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -3856,9 +3856,9 @@ module Google
# Bulk edits targeting options under a single partner. The operation will delete
# the assigned targeting options provided in
# BulkEditPartnerAssignedTargetingOptionsRequest.delete_requests and then create
# BulkEditPartnerAssignedTargetingOptionsRequest.deleteRequests and then create
# the assigned targeting options provided in
# BulkEditPartnerAssignedTargetingOptionsRequest.create_requests .
# BulkEditPartnerAssignedTargetingOptionsRequest.createRequests .
# @param [Fixnum] partner_id
# Required. The ID of the partner.
# @param [Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsRequest] bulk_edit_partner_assigned_targeting_options_request_object
@ -4657,9 +4657,9 @@ module Google
end
# Bulk edits user roles for a user. The operation will delete the assigned user
# roles provided in BulkEditAssignedUserRolesRequest.deleted_assigned_user_roles
# roles provided in BulkEditAssignedUserRolesRequest.deletedAssignedUserRoles
# and then assign the user roles provided in BulkEditAssignedUserRolesRequest.
# created_assigned_user_roles.
# createdAssignedUserRoles.
# @param [Fixnum] user_id
# Required. The ID of the user to which the assigned user roles belong.
# @param [Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesRequest] bulk_edit_assigned_user_roles_request_object

View File

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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -76,7 +76,7 @@ module Google
# Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (=
# N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1):
# boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at
# boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at
# least one element. If bounds has only one element, then there are no finite
# buckets, and that single element is the common boundary of the overflow and
# underflow buckets.
@ -88,7 +88,7 @@ module Google
# proportional to the value of the lower bound. Each bucket represents a
# constant relative uncertainty on a specific value in the bucket.There are
# num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:
# Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i <
# Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i <
# N): scale * (growth_factor ^ (i - 1)).
# Corresponds to the JSON property `exponentialBuckets`
# @return [Google::Apis::LoggingV2::Exponential]
@ -98,8 +98,7 @@ module Google
# overflow and underflow). Each bucket represents a constant absolute
# uncertainty on the specific value in the bucket.There are num_finite_buckets +
# 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-
# 1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1))
# .
# 1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)).
# Corresponds to the JSON property `linearBuckets`
# @return [Google::Apis::LoggingV2::Linear]
attr_accessor :linear_buckets
@ -125,9 +124,9 @@ module Google
class CmekSettings
include Google::Apis::Core::Hashable
# The resource name for the configured Cloud KMS key.KMS key name format: "
# The resource name for the configured Cloud KMS key.KMS key name format: "
# projects/PROJECT_ID/locations/LOCATION/keyRings/KEYRING/cryptoKeys/KEY"For
# example: "projects/my-project-id/locations/my-region/keyRings/key-ring-name/
# example: "projects/my-project-id/locations/my-region/keyRings/key-ring-name/
# cryptoKeys/key-name"To enable CMEK for the Logs Router, set this field to a
# valid kms_key_name for which the associated service account has the required
# roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key.The Cloud
@ -173,11 +172,9 @@ module Google
# A generic empty message that you can re-use to avoid defining duplicated empty
# messages in your APIs. A typical example is to use it as the request or the
# response type of an API method. For instance:
# service Foo `
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
# `
# The JSON representation for Empty is empty JSON object ``.
# response type of an API method. For instance: service Foo ` rpc Bar(google.
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
# Empty is empty JSON object ``.
class Empty
include Google::Apis::Core::Hashable
@ -192,7 +189,7 @@ module Google
# Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (=
# N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1):
# boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at
# boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at
# least one element. If bounds has only one element, then there are no finite
# buckets, and that single element is the common boundary of the overflow and
# underflow buckets.
@ -218,7 +215,7 @@ module Google
# proportional to the value of the lower bound. Each bucket represents a
# constant relative uncertainty on a specific value in the bucket.There are
# num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:
# Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i <
# Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i <
# N): scale * (growth_factor ^ (i - 1)).
class Exponential
include Google::Apis::Core::Hashable
@ -339,8 +336,7 @@ module Google
attr_accessor :status
# The user agent sent by the client. Example: "Mozilla/4.0 (compatible; MSIE 6.0;
# Windows 98; Q312461; .NET
# CLR 1.0.3705)".
# Windows 98; Q312461; .NET CLR 1.0.3705)".
# Corresponds to the JSON property `userAgent`
# @return [String]
attr_accessor :user_agent
@ -404,8 +400,7 @@ module Google
# overflow and underflow). Each bucket represents a constant absolute
# uncertainty on the specific value in the bucket.There are num_finite_buckets +
# 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-
# 1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1))
# .
# 1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)).
class Linear
include Google::Apis::Core::Hashable
@ -538,12 +533,9 @@ module Google
attr_accessor :project_ids
# Required. Names of one or more parent resources from which to retrieve log
# entries:
# "projects/[PROJECT_ID]"
# "organizations/[ORGANIZATION_ID]"
# "billingAccounts/[BILLING_ACCOUNT_ID]"
# "folders/[FOLDER_ID]"
# Projects listed in the project_ids field are added to this list.
# entries: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "
# billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Projects listed in
# the project_ids field are added to this list.
# Corresponds to the JSON property `resourceNames`
# @return [Array<String>]
attr_accessor :resource_names
@ -727,11 +719,17 @@ module Google
# @return [String]
attr_accessor :lifecycle_state
# Whether the bucket has been locked. The retention period on a locked bucket
# may not be changed. Locked buckets may only be deleted if they are empty.
# Corresponds to the JSON property `locked`
# @return [Boolean]
attr_accessor :locked
alias_method :locked?, :locked
# The resource name of the bucket. For example: "projects/my-project-id/
# locations/my-location/buckets/my-bucket-id The supported locations are: "
# global" "us-central1"For the location of global it is unspecified where logs
# are actually stored. Once a bucket has been created, the location can not be
# changed.
# locations/my-location/buckets/my-bucket-id The supported locations are: "
# global"For the location of global it is unspecified where logs are actually
# stored. Once a bucket has been created, the location can not be changed.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -758,6 +756,7 @@ module Google
@create_time = args[:create_time] if args.key?(:create_time)
@description = args[:description] if args.key?(:description)
@lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
@locked = args[:locked] if args.key?(:locked)
@name = args[:name] if args.key?(:name)
@retention_days = args[:retention_days] if args.key?(:retention_days)
@update_time = args[:update_time] if args.key?(:update_time)
@ -780,7 +779,7 @@ module Google
# timestamp, and with the same insert_id to be duplicates which are removed in a
# single query result. However, there are no guarantees of de-duplication in the
# export of logs.If the insert_id is omitted when writing a log entry, the
# Logging API assigns its own unique identifier in this field.In queries, the
# Logging API assigns its own unique identifier in this field.In queries, the
# insert_id is also used to order log entries that have the same log_name and
# timestamp values.
# Corresponds to the JSON property `insertId`
@ -799,22 +798,20 @@ module Google
# @return [Hash<String,String>]
attr_accessor :labels
# Required. The resource name of the log to which this log entry belongs:
# "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]"
# A project number may be used in place of PROJECT_ID. The project number is
# translated to its corresponding PROJECT_ID internally and the log_name field
# will contain PROJECT_ID in queries and exports.[LOG_ID] must be URL-encoded
# within log_name. Example: "organizations/1234567890/logs/cloudresourcemanager.
# googleapis.com%2Factivity". [LOG_ID] must be less than 512 characters long and
# can only include the following characters: upper and lower case alphanumeric
# characters, forward-slash, underscore, hyphen, and period.For backward
# compatibility, if log_name begins with a forward-slash, such as /projects/...,
# then the log entry is ingested as usual but the forward-slash is removed.
# Listing the log entry will not show the leading slash and filtering for a log
# name with a leading slash will never return any results.
# Required. The resource name of the log to which this log entry belongs: "
# 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]" A project number may be used in place of PROJECT_ID.
# The project number is translated to its corresponding PROJECT_ID internally
# and the log_name field will contain PROJECT_ID in queries and exports.[LOG_ID]
# must be URL-encoded within log_name. Example: "organizations/1234567890/logs/
# cloudresourcemanager.googleapis.com%2Factivity". [LOG_ID] must be less than
# 512 characters long and can only include the following characters: upper and
# lower case alphanumeric characters, forward-slash, underscore, hyphen, and
# period.For backward compatibility, if log_name begins with a forward-slash,
# such as /projects/..., then the log entry is ingested as usual but the forward-
# slash is removed. Listing the log entry will not show the leading slash and
# filtering for a log name with a leading slash will never return any results.
# Corresponds to the JSON property `logName`
# @return [String]
attr_accessor :log_name
@ -837,7 +834,7 @@ module Google
# The log entry payload, represented as a protocol buffer. Some Google Cloud
# Platform services use this field for their log entry payloads.The following
# protocol buffer types are supported; user-defined types are not supported:"
# type.googleapis.com/google.cloud.audit.AuditLog" "type.googleapis.com/google.
# type.googleapis.com/google.cloud.audit.AuditLog" "type.googleapis.com/google.
# appengine.logging.v1.RequestLog"
# Corresponds to the JSON property `protoPayload`
# @return [Hash<String,Object>]
@ -856,10 +853,8 @@ module Google
# attributes according to the schema. For example, a particular Compute Engine
# VM instance could be represented by the following object, because the
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
# zone":
# ` "type": "gce_instance",
# "labels": ` "instance_id": "12345678901234",
# "zone": "us-central1-a" ``
# zone": ` "type": "gce_instance", "labels": ` "instance_id": "12345678901234", "
# zone": "us-central1-a" ``
# Corresponds to the JSON property `resource`
# @return [Google::Apis::LoggingV2::MonitoredResource]
attr_accessor :resource
@ -1170,9 +1165,9 @@ module Google
attr_accessor :description
# Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/
# advanced_filters) which is used to match log entries. Example:
# "resource.type=gae_app AND severity>=ERROR"
# The maximum length of the filter is 20000 characters.
# advanced_filters) which is used to match log entries. Example: "resource.type=
# gae_app AND severity>=ERROR" The maximum length of the filter is 20000
# characters.
# Corresponds to the JSON property `filter`
# @return [String]
attr_accessor :filter
@ -1194,14 +1189,12 @@ module Google
# Defines a metric type and its schema. Once a metric descriptor is created,
# deleting or altering it stops data collection and makes the metric type's
# existing data unusable.The following are specific rules for service defined
# Monitoring metric descriptors:
# type, metric_kind, value_type and description fields are all required. The
# unit field must be specified if the value_type is any of DOUBLE, INT64,
# DISTRIBUTION.
# Maximum of default 500 metric descriptors per service is allowed.
# Maximum of default 10 labels per metric descriptor is allowed.The default
# maximum limit can be overridden. Please follow https://cloud.google.com/
# monitoring/quotas
# Monitoring metric descriptors: type, metric_kind, value_type and description
# fields are all required. The unit field must be specified if the value_type is
# any of DOUBLE, INT64, DISTRIBUTION. Maximum of default 500 metric descriptors
# per service is allowed. Maximum of default 10 labels per metric descriptor is
# allowed.The default maximum limit can be overridden. Please follow https://
# cloud.google.com/monitoring/quotas
# Corresponds to the JSON property `metricDescriptor`
# @return [Google::Apis::LoggingV2::MetricDescriptor]
attr_accessor :metric_descriptor
@ -1228,15 +1221,15 @@ module Google
# Optional. A value_extractor is required when using a distribution logs-based
# metric to extract the values to record from a log entry. Two functions are
# supported for value extraction: EXTRACT(field) or REGEXP_EXTRACT(field, regex).
# The argument are: 1. field: The name of the log entry field from which the
# value is to be extracted. 2. regex: A regular expression using the Google
# RE2 syntax (https://github.com/google/re2/wiki/Syntax) with a single capture
# group to extract data from the specified log entry field. The value of the
# field is converted to a string before applying the regex. It is an error to
# specify a regex that does not include exactly one capture group.The result of
# the extraction must be convertible to a double type, as the distribution
# always records double values. If either the extraction or the conversion to
# double fails, then those values are not recorded in the distribution.Example:
# The argument are: 1. field: The name of the log entry field from which the
# value is to be extracted. 2. regex: A regular expression using the Google RE2
# syntax (https://github.com/google/re2/wiki/Syntax) with a single capture group
# to extract data from the specified log entry field. The value of the field is
# converted to a string before applying the regex. It is an error to specify a
# regex that does not include exactly one capture group.The result of the
# extraction must be convertible to a double type, as the distribution always
# records double values. If either the extraction or the conversion to double
# fails, then those values are not recorded in the distribution.Example:
# REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*")
# Corresponds to the JSON property `valueExtractor`
# @return [String]
@ -1292,12 +1285,11 @@ module Google
# @return [String]
attr_accessor :description
# Required. The export destination:
# "storage.googleapis.com/[GCS_BUCKET]"
# "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
# "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
# The sink's writer_identity, set when the sink is created, must have permission
# to write to the destination or else the log entries are not exported. For more
# Required. The export destination: "storage.googleapis.com/[GCS_BUCKET]" "
# bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.
# googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" The sink's
# writer_identity, set when the sink is created, must have permission to write
# to the destination or else the log entries are not exported. For more
# information, see Exporting Logs with Sinks (https://cloud.google.com/logging/
# docs/api/tasks/exporting-logs).
# Corresponds to the JSON property `destination`
@ -1311,10 +1303,17 @@ module Google
attr_accessor :disabled
alias_method :disabled?, :disabled
# Optional. Log entries that match any of the exclusion filters will not be
# exported. If a log entry is matched by both filter and one of
# exclusion_filters it will not be exported.
# Corresponds to the JSON property `exclusions`
# @return [Array<Google::Apis::LoggingV2::LogExclusion>]
attr_accessor :exclusions
# Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/
# advanced-queries). The only exported log entries are those that are in the
# resource owning the sink and that match the filter. For example:
# logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
# resource owning the sink and that match the filter. For example: logName="
# projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
# Corresponds to the JSON property `filter`
# @return [String]
attr_accessor :filter
@ -1328,9 +1327,8 @@ module Google
# if this field is true, then the filter resource.type=gce_instance would export
# all Compute Engine VM instance log entries from all projects in the sink's
# parent. To only export entries from certain child projects, filter on the
# project part of the log name:
# logName:("projects/test-project1/" OR "projects/test-project2/") AND
# resource.type=gce_instance
# project part of the log name: logName:("projects/test-project1/" OR "projects/
# test-project2/") AND resource.type=gce_instance
# Corresponds to the JSON property `includeChildren`
# @return [Boolean]
attr_accessor :include_children
@ -1356,16 +1354,15 @@ module Google
# @return [String]
attr_accessor :update_time
# Output only. An IAM identity&mdash;a service account or group&mdash;under
# which Logging writes the exported log entries to the sink's destination. This
# field is set by sinks.create and sinks.update based on the value of
# unique_writer_identity in those methods.Until you grant this identity write-
# access to the destination, log entry exports from this sink will fail. For
# more information, see Granting Access for a Resource (https://cloud.google.com/
# iam/docs/granting-roles-to-service-accounts#
# granting_access_to_a_service_account_for_a_resource). Consult the destination
# service's documentation to determine the appropriate IAM roles to assign to
# the identity.
# Output only. An IAM identity—a service account or group—under which Logging
# writes the exported log entries to the sink's destination. This field is set
# by sinks.create and sinks.update based on the value of unique_writer_identity
# in those methods.Until you grant this identity write-access to the destination,
# log entry exports from this sink will fail. For more information, see
# Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-
# roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource).
# Consult the destination service's documentation to determine the appropriate
# IAM roles to assign to the identity.
# Corresponds to the JSON property `writerIdentity`
# @return [String]
attr_accessor :writer_identity
@ -1381,6 +1378,7 @@ module Google
@description = args[:description] if args.key?(:description)
@destination = args[:destination] if args.key?(:destination)
@disabled = args[:disabled] if args.key?(:disabled)
@exclusions = args[:exclusions] if args.key?(:exclusions)
@filter = args[:filter] if args.key?(:filter)
@include_children = args[:include_children] if args.key?(:include_children)
@name = args[:name] if args.key?(:name)
@ -1393,14 +1391,12 @@ module Google
# Defines a metric type and its schema. Once a metric descriptor is created,
# deleting or altering it stops data collection and makes the metric type's
# existing data unusable.The following are specific rules for service defined
# Monitoring metric descriptors:
# type, metric_kind, value_type and description fields are all required. The
# unit field must be specified if the value_type is any of DOUBLE, INT64,
# DISTRIBUTION.
# Maximum of default 500 metric descriptors per service is allowed.
# Maximum of default 10 labels per metric descriptor is allowed.The default
# maximum limit can be overridden. Please follow https://cloud.google.com/
# monitoring/quotas
# Monitoring metric descriptors: type, metric_kind, value_type and description
# fields are all required. The unit field must be specified if the value_type is
# any of DOUBLE, INT64, DISTRIBUTION. Maximum of default 500 metric descriptors
# per service is allowed. Maximum of default 10 labels per metric descriptor is
# allowed.The default maximum limit can be overridden. Please follow https://
# cloud.google.com/monitoring/quotas
class MetricDescriptor
include Google::Apis::Core::Hashable
@ -1418,10 +1414,9 @@ module Google
attr_accessor :display_name
# The set of labels that can be used to describe a specific instance of this
# metric type.The label key name must follow:
# Only upper and lower-case letters, digits and underscores (_) are allowed.
# Label name must start with a letter or digit.
# The maximum length of a label name is 100 characters.For example, the
# metric type.The label key name must follow: Only upper and lower-case letters,
# digits and underscores (_) are allowed. Label name must start with a letter or
# digit. The maximum length of a label name is 100 characters.For example, the
# appengine.googleapis.com/http/server/response_latencies metric type has a
# label for the HTTP response code, response_code, so you can look at latencies
# for successful responses or just for responses that failed.
@ -1461,16 +1456,14 @@ module Google
# The metric type, including its DNS name prefix. The type is not URL-encoded.
# All service defined metrics must be prefixed with the service name, in the
# format of `service name`/`relative metric name`, such as cloudsql.googleapis.
# com/database/cpu/utilization. The relative metric name must follow:
# Only upper and lower-case letters, digits, '/' and underscores '_' are
# allowed.
# The maximum number of characters allowed for the relative_metric_name is 100.
# All user-defined metric types have the DNS name custom.googleapis.com,
# external.googleapis.com, or logging.googleapis.com/user/.Metric types should
# use a natural hierarchical grouping. For example:
# "custom.googleapis.com/invoice/paid/amount"
# "external.googleapis.com/prometheus/up"
# "appengine.googleapis.com/http/server/response_latencies"
# com/database/cpu/utilization. The relative metric name must follow: Only upper
# and lower-case letters, digits, '/' and underscores '_' are allowed. The
# maximum number of characters allowed for the relative_metric_name is 100.All
# user-defined metric types have the DNS name custom.googleapis.com, external.
# googleapis.com, or logging.googleapis.com/user/.Metric types should use a
# natural hierarchical grouping. For example: "custom.googleapis.com/invoice/
# paid/amount" "external.googleapis.com/prometheus/up" "appengine.googleapis.com/
# http/server/response_latencies"
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@ -1489,65 +1482,34 @@ module Google
# a DOUBLE CUMULATIVE metric whose unit is ks`CPU`, and then write the value 12.
# 005 (which is 12005/1000), or use Kis`CPU` and write 11.723 (which is 12005/
# 1024).The supported units are a subset of The Unified Code for Units of
# Measure (http://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT)
# bit bit
# By byte
# s second
# min minute
# h hour
# d day
# 1 dimensionlessPrefixes (PREFIX)
# k kilo (10^3)
# M mega (10^6)
# G giga (10^9)
# T tera (10^12)
# P peta (10^15)
# E exa (10^18)
# Z zetta (10^21)
# Y yotta (10^24)
# m milli (10^-3)
# u micro (10^-6)
# n nano (10^-9)
# p pico (10^-12)
# f femto (10^-15)
# a atto (10^-18)
# z zepto (10^-21)
# y yocto (10^-24)
# Ki kibi (2^10)
# Mi mebi (2^20)
# Gi gibi (2^30)
# Ti tebi (2^40)
# Pi pebi (2^50)GrammarThe grammar also includes these connectors:
# / division or ratio (as an infix operator). For examples, kBy/`email` or MiBy/
# 10ms (although you should almost never have /s in a metric unit; rates should
# always be computed at query time from the underlying cumulative or delta
# value).
# . multiplication or composition (as an infix operator). For examples, GBy.d
# or k`watt`.h.The grammar for a unit is as follows:
# Expression = Component ` "." Component ` ` "/" Component ` ;
# Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
# | Annotation
# | "1"
# ;
# Annotation = "`" NAME "`" ;
# Notes:
# Annotation is just a comment if it follows a UNIT. If the annotation is used
# alone, then the unit is equivalent to 1. For examples, `request`/s == 1/s, By`
# transmitted`/s == By/s.
# NAME is a sequence of non-blank printable ASCII characters not containing `
# or `.
# 1 represents a unitary dimensionless unit (https://en.wikipedia.org/wiki/
# Dimensionless_quantity) of 1, such as in 1/s. It is typically used when none
# of the basic units are appropriate. For example, "new users per day" can be
# represented as 1/d or `new-users`/d (and a metric value 5 would mean "5 new
# users). Alternatively, "thousands of page views per day" would be represented
# as 1000/d or k1/d or k`page_views`/d (and a metric value of 5.3 would mean "
# 5300 page views per day").
# % represents dimensionless value of 1/100, and annotates values giving a
# percentage (so the metric values are typically in the range of 0..100, and a
# metric value 3 means "3 percent").
# 10^2.% indicates a metric contains a ratio, typically in the range 0..1, that
# will be multiplied by 100 and displayed as a percentage (so a metric value 0.
# Measure (http://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT) bit
# bit By byte s second min minute h hour d day 1 dimensionlessPrefixes (PREFIX)
# k kilo (10^3) M mega (10^6) G giga (10^9) T tera (10^12) P peta (10^15) E exa (
# 10^18) Z zetta (10^21) Y yotta (10^24) m milli (10^-3) u micro (10^-6) n nano (
# 10^-9) p pico (10^-12) f femto (10^-15) a atto (10^-18) z zepto (10^-21) y
# yocto (10^-24) Ki kibi (2^10) Mi mebi (2^20) Gi gibi (2^30) Ti tebi (2^40) Pi
# pebi (2^50)GrammarThe grammar also includes these connectors: / division or
# ratio (as an infix operator). For examples, kBy/`email` or MiBy/10ms (although
# you should almost never have /s in a metric unit; rates should always be
# computed at query time from the underlying cumulative or delta value). .
# multiplication or composition (as an infix operator). For examples, GBy.d or k`
# watt`.h.The grammar for a unit is as follows: Expression = Component ` "."
# Component ` ` "/" Component ` ; Component = ( [ PREFIX ] UNIT | "%" ) [
# Annotation ] | Annotation | "1" ; Annotation = "`" NAME "`" ; Notes:
# Annotation is just a comment if it follows a UNIT. If the annotation is used
# alone, then the unit is equivalent to 1. For examples, `request`/s == 1/s, By`
# transmitted`/s == By/s. NAME is a sequence of non-blank printable ASCII
# characters not containing ` or `. 1 represents a unitary dimensionless unit (
# https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in 1/s. It
# is typically used when none of the basic units are appropriate. For example, "
# new users per day" can be represented as 1/d or `new-users`/d (and a metric
# value 5 would mean "5 new users). Alternatively, "thousands of page views per
# day" would be represented as 1000/d or k1/d or k`page_views`/d (and a metric
# value of 5.3 would mean "5300 page views per day"). % represents dimensionless
# value of 1/100, and annotates values giving a percentage (so the metric values
# are typically in the range of 0..100, and a metric value 3 means "3 percent").
# 10^2.% indicates a metric contains a ratio, typically in the range 0..1, that
# will be multiplied by 100 and displayed as a percentage (so a metric value 0.
# 03 means "3 percent").
# Corresponds to the JSON property `unit`
# @return [String]
@ -1623,10 +1585,8 @@ module Google
# attributes according to the schema. For example, a particular Compute Engine
# VM instance could be represented by the following object, because the
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
# zone":
# ` "type": "gce_instance",
# "labels": ` "instance_id": "12345678901234",
# "zone": "us-central1-a" ``
# zone": ` "type": "gce_instance", "labels": ` "instance_id": "12345678901234", "
# zone": "us-central1-a" ``
class MonitoredResource
include Google::Apis::Core::Hashable
@ -1661,18 +1621,14 @@ module Google
# the use of the labels "instance_id" and "zone" to identify particular VM
# instances.Different services can support different monitored resource types.
# The following are specific rules to service defined monitored resources for
# Monitoring and Logging:
# The type, display_name, description, labels and launch_stage fields are all
# required.
# The first label of the monitored resource descriptor must be
# resource_container. There are legacy monitored resource descritptors start
# with project_id.
# It must include a location label.
# Maximum of default 5 service defined monitored resource descriptors is
# allowed per service.
# Maximum of default 10 labels per monitored resource is allowed.The default
# maximum limit can be overridden. Please follow https://cloud.google.com/
# monitoring/quotas
# Monitoring and Logging: The type, display_name, description, labels and
# launch_stage fields are all required. The first label of the monitored
# resource descriptor must be resource_container. There are legacy monitored
# resource descritptors start with project_id. It must include a location label.
# Maximum of default 5 service defined monitored resource descriptors is allowed
# per service. Maximum of default 10 labels per monitored resource is allowed.
# The default maximum limit can be overridden. Please follow https://cloud.
# google.com/monitoring/quotas
class MonitoredResourceDescriptor
include Google::Apis::Core::Hashable
@ -1690,12 +1646,11 @@ module Google
attr_accessor :display_name
# Required. A set of labels used to describe instances of this monitored
# resource type. The label key name must follow:
# Only upper and lower-case letters, digits and underscores (_) are allowed.
# Label name must start with a letter or digit.
# The maximum length of a label name is 100 characters.For example, an
# individual Google Cloud SQL database is identified by values for the labels
# database_id and location.
# resource type. The label key name must follow: Only upper and lower-case
# letters, digits and underscores (_) are allowed. Label name must start with a
# letter or digit. The maximum length of a label name is 100 characters.For
# example, an individual Google Cloud SQL database is identified by values for
# the labels database_id and location.
# Corresponds to the JSON property `labels`
# @return [Array<Google::Apis::LoggingV2::LabelDescriptor>]
attr_accessor :labels
@ -1719,11 +1674,10 @@ module Google
# represents databases in Google Cloud SQL.All service defined monitored
# resource types must be prefixed with the service name, in the format of `
# service name`/`relative resource name`. The relative resource name must follow:
# Only upper and lower-case letters and digits are allowed.
# It must start with upper case character and is recommended to use Upper Camel
# Case style.
# The maximum number of characters allowed for the relative_resource_name is
# 100.Note there are legacy service monitored resources not following this rule.
# Only upper and lower-case letters and digits are allowed. It must start with
# upper case character and is recommended to use Upper Camel Case style. The
# maximum number of characters allowed for the relative_resource_name is 100.
# Note there are legacy service monitored resources not following this rule.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@ -1754,10 +1708,8 @@ module Google
# Output only. Values for predefined system metadata labels. System labels are a
# kind of metadata extracted by Google, including "machine_image", "vpc", "
# subnet_id", "security_group", "name", etc. System label values can be only
# strings, Boolean values, or a list of strings. For example:
# ` "name": "my-test-instance",
# "security_group": ["a", "b", "c"],
# "spot_instance": false `
# strings, Boolean values, or a list of strings. For example: ` "name": "my-test-
# instance", "security_group": ["a", "b", "c"], "spot_instance": false `
# Corresponds to the JSON property `systemLabels`
# @return [Hash<String,Object>]
attr_accessor :system_labels
@ -2073,6 +2025,19 @@ module Google
end
end
# The parameters to UndeleteBucket.
class UndeleteBucketRequest
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# The parameters to WriteLogEntries.
class WriteLogEntriesRequest
include Google::Apis::Core::Hashable
@ -2114,14 +2079,11 @@ module Google
attr_accessor :labels
# Optional. A default log resource name that is assigned to all log entries in
# entries that do not specify a value for log_name:
# "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"
# entries that do not specify a value for log_name: "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"
# The permission logging.logEntries.create is needed on each project,
# organization, billing account, or folder that is receiving new log entries,
# whether the resource is specified in logName or in an individual log entry.
@ -2147,10 +2109,8 @@ module Google
# attributes according to the schema. For example, a particular Compute Engine
# VM instance could be represented by the following object, because the
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
# zone":
# ` "type": "gce_instance",
# "labels": ` "instance_id": "12345678901234",
# "zone": "us-central1-a" ``
# zone": ` "type": "gce_instance", "labels": ` "instance_id": "12345678901234", "
# zone": "us-central1-a" ``
# Corresponds to the JSON property `resource`
# @return [Google::Apis::LoggingV2::MonitoredResource]
attr_accessor :resource

View File

@ -220,6 +220,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class UndeleteBucketRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WriteLogEntriesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -402,6 +408,7 @@ module Google
property :create_time, as: 'createTime'
property :description, as: 'description'
property :lifecycle_state, as: 'lifecycleState'
property :locked, as: 'locked'
property :name, as: 'name'
property :retention_days, as: 'retentionDays'
property :update_time, as: 'updateTime'
@ -505,6 +512,8 @@ module Google
property :description, as: 'description'
property :destination, as: 'destination'
property :disabled, as: 'disabled'
collection :exclusions, as: 'exclusions', class: Google::Apis::LoggingV2::LogExclusion, decorator: Google::Apis::LoggingV2::LogExclusion::Representation
property :filter, as: 'filter'
property :include_children, as: 'includeChildren'
property :name, as: 'name'
@ -629,6 +638,12 @@ module Google
end
end
class UndeleteBucketRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class WriteLogEntriesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/compute/docs/oslogin/
module OsloginV1alpha
VERSION = 'V1alpha'
REVISION = '20200215'
REVISION = '20200801'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,13 +22,11 @@ module Google
module Apis
module OsloginV1alpha
# A generic empty message that you can re-use to avoid defining duplicated
# empty messages in your APIs. A typical example is to use it as the request
# or the response type of an API method. For instance:
# service Foo `
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
# `
# The JSON representation for `Empty` is empty JSON object ````.
# A generic empty message that you can re-use to avoid defining duplicated empty
# messages in your APIs. A typical example is to use it as the request or the
# response type of an API method. For instance: service Foo ` rpc Bar(google.
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
# `Empty` is empty JSON object ````.
class Empty
include Google::Apis::Core::Hashable
@ -138,8 +136,8 @@ module Google
# @return [String]
attr_accessor :shell
# System identifier for which account the username or uid applies to.
# By default, the empty value is used.
# System identifier for which account the username or uid applies to. By default,
# the empty value is used.
# Corresponds to the JSON property `systemId`
# @return [String]
attr_accessor :system_id
@ -188,9 +186,7 @@ module Google
# @return [String]
attr_accessor :fingerprint
# Public key text in SSH format, defined by
# <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a>
# section 6.6.
# Public key text in SSH format, defined by RFC4253 section 6.6.
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key

View File

@ -47,8 +47,8 @@ module Google
@batch_path = 'batch'
end
# Retrieves the profile information used for logging in to a virtual machine
# on Google Compute Engine.
# Retrieves the profile information used for logging in to a virtual machine on
# Google Compute Engine.
# @param [String] name
# The unique ID for the user in format `users/`user``.
# @param [String] operating_system_type
@ -88,8 +88,8 @@ module Google
end
# Adds an SSH public key and returns the profile information. Default POSIX
# account information is set when no username and UID exist as part of the
# login profile.
# account information is set when no username and UID exist as part of the login
# profile.
# @param [String] parent
# The unique ID for the user in format `users/`user``.
# @param [Google::Apis::OsloginV1alpha::SshPublicKey] ssh_public_key_object
@ -127,9 +127,9 @@ module Google
# Deletes a POSIX account.
# @param [String] name
# A reference to the POSIX account to update. POSIX accounts are identified
# by the project ID they are associated with. A reference to the POSIX
# account is in format `users/`user`/projects/`project``.
# A reference to the POSIX account to update. POSIX accounts are identified by
# the project ID they are associated with. A reference to the POSIX account is
# in format `users/`user`/projects/`project``.
# @param [String] operating_system_type
# The type of operating system associated with the account.
# @param [String] fields
@ -163,8 +163,8 @@ module Google
# Deletes an SSH public key.
# @param [String] name
# The fingerprint of the public key to update. Public keys are identified by
# their SHA-256 fingerprint. The fingerprint of the public key is in format
# `users/`user`/sshPublicKeys/`fingerprint``.
# their SHA-256 fingerprint. The fingerprint of the public key is in format `
# users/`user`/sshPublicKeys/`fingerprint``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -194,9 +194,9 @@ module Google
# Retrieves an SSH public key.
# @param [String] name
# The fingerprint of the public key to retrieve. Public keys are identified
# by their SHA-256 fingerprint. The fingerprint of the public key is in
# format `users/`user`/sshPublicKeys/`fingerprint``.
# The fingerprint of the public key to retrieve. Public keys are identified by
# their SHA-256 fingerprint. The fingerprint of the public key is in format `
# users/`user`/sshPublicKeys/`fingerprint``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -228,8 +228,8 @@ module Google
# supports patch semantics.
# @param [String] name
# The fingerprint of the public key to update. Public keys are identified by
# their SHA-256 fingerprint. The fingerprint of the public key is in format
# `users/`user`/sshPublicKeys/`fingerprint``.
# their SHA-256 fingerprint. The fingerprint of the public key is in format `
# users/`user`/sshPublicKeys/`fingerprint``.
# @param [Google::Apis::OsloginV1alpha::SshPublicKey] ssh_public_key_object
# @param [String] update_mask
# Mask to control which fields get updated. Updates all if not present.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/compute/docs/oslogin/
module OsloginV1beta
VERSION = 'V1beta'
REVISION = '20200215'
REVISION = '20200801'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,13 +22,11 @@ module Google
module Apis
module OsloginV1beta
# A generic empty message that you can re-use to avoid defining duplicated
# empty messages in your APIs. A typical example is to use it as the request
# or the response type of an API method. For instance:
# service Foo `
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
# `
# The JSON representation for `Empty` is empty JSON object ````.
# A generic empty message that you can re-use to avoid defining duplicated empty
# messages in your APIs. A typical example is to use it as the request or the
# response type of an API method. For instance: service Foo ` rpc Bar(google.
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
# `Empty` is empty JSON object ````.
class Empty
include Google::Apis::Core::Hashable
@ -138,8 +136,8 @@ module Google
# @return [String]
attr_accessor :shell
# System identifier for which account the username or uid applies to.
# By default, the empty value is used.
# System identifier for which account the username or uid applies to. By default,
# the empty value is used.
# Corresponds to the JSON property `systemId`
# @return [String]
attr_accessor :system_id
@ -188,9 +186,7 @@ module Google
# @return [String]
attr_accessor :fingerprint
# Public key text in SSH format, defined by
# <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a>
# section 6.6.
# Public key text in SSH format, defined by RFC4253 section 6.6.
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key

View File

@ -47,8 +47,8 @@ module Google
@batch_path = 'batch'
end
# Retrieves the profile information used for logging in to a virtual machine
# on Google Compute Engine.
# Retrieves the profile information used for logging in to a virtual machine on
# Google Compute Engine.
# @param [String] name
# Required. The unique ID for the user in format `users/`user``.
# @param [String] project_id
@ -85,8 +85,8 @@ module Google
end
# Adds an SSH public key and returns the profile information. Default POSIX
# account information is set when no username and UID exist as part of the
# login profile.
# account information is set when no username and UID exist as part of the login
# profile.
# @param [String] parent
# The unique ID for the user in format `users/`user``.
# @param [Google::Apis::OsloginV1beta::SshPublicKey] ssh_public_key_object
@ -125,9 +125,8 @@ module Google
# Deletes a POSIX account.
# @param [String] name
# Required. A reference to the POSIX account to update. POSIX accounts are
# identified
# by the project ID they are associated with. A reference to the POSIX
# account is in format `users/`user`/projects/`project``.
# identified by the project ID they are associated with. A reference to the
# POSIX account is in format `users/`user`/projects/`project``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -158,9 +157,8 @@ module Google
# Deletes an SSH public key.
# @param [String] name
# Required. The fingerprint of the public key to update. Public keys are
# identified by
# their SHA-256 fingerprint. The fingerprint of the public key is in format
# `users/`user`/sshPublicKeys/`fingerprint``.
# identified by their SHA-256 fingerprint. The fingerprint of the public key is
# in format `users/`user`/sshPublicKeys/`fingerprint``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -191,9 +189,8 @@ module Google
# Retrieves an SSH public key.
# @param [String] name
# Required. The fingerprint of the public key to retrieve. Public keys are
# identified
# by their SHA-256 fingerprint. The fingerprint of the public key is in
# format `users/`user`/sshPublicKeys/`fingerprint``.
# identified by their SHA-256 fingerprint. The fingerprint of the public key is
# in format `users/`user`/sshPublicKeys/`fingerprint``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -225,9 +222,8 @@ module Google
# supports patch semantics.
# @param [String] name
# Required. The fingerprint of the public key to update. Public keys are
# identified by
# their SHA-256 fingerprint. The fingerprint of the public key is in format
# `users/`user`/sshPublicKeys/`fingerprint``.
# identified by their SHA-256 fingerprint. The fingerprint of the public key is
# in format `users/`user`/sshPublicKeys/`fingerprint``.
# @param [Google::Apis::OsloginV1beta::SshPublicKey] ssh_public_key_object
# @param [String] update_mask
# Mask to control which fields get updated. Updates all if not present.

View File

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

View File

@ -1196,6 +1196,16 @@ module Google
# @return [Google::Apis::PubsubV1::DeadLetterPolicy]
attr_accessor :dead_letter_policy
# Indicates whether the subscription is detached from its topic. Detached
# subscriptions don't receive messages from their topic and don't retain any
# backlog. `Pull` and `StreamingPull` requests will return
# FAILED_PRECONDITION. If the subscription is a push subscription, pushes to
# the endpoint will not be made.
# Corresponds to the JSON property `detached`
# @return [Boolean]
attr_accessor :detached
alias_method :detached?, :detached
# If true, messages published with the same `ordering_key` in `PubsubMessage`
# will be delivered to the subscribers in the order in which they
# are received by the Pub/Sub system. Otherwise, they may be delivered in
@ -1290,6 +1300,7 @@ module Google
def update!(**args)
@ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds)
@dead_letter_policy = args[:dead_letter_policy] if args.key?(:dead_letter_policy)
@detached = args[:detached] if args.key?(:detached)
@enable_message_ordering = args[:enable_message_ordering] if args.key?(:enable_message_ordering)
@expiration_policy = args[:expiration_policy] if args.key?(:expiration_policy)
@filter = args[:filter] if args.key?(:filter)

View File

@ -498,6 +498,7 @@ module Google
property :ack_deadline_seconds, as: 'ackDeadlineSeconds'
property :dead_letter_policy, as: 'deadLetterPolicy', class: Google::Apis::PubsubV1::DeadLetterPolicy, decorator: Google::Apis::PubsubV1::DeadLetterPolicy::Representation
property :detached, as: 'detached'
property :enable_message_ordering, as: 'enableMessageOrdering'
property :expiration_policy, as: 'expirationPolicy', class: Google::Apis::PubsubV1::ExpirationPolicy, decorator: Google::Apis::PubsubV1::ExpirationPolicy::Representation

View File

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

View File

@ -26,14 +26,12 @@ module Google
class Capacity
include Google::Apis::Core::Hashable
# Publish throughput capacity per partition in MiB/s.
# Must be >= 4 and <= 16.
# Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
# Corresponds to the JSON property `publishMibPerSec`
# @return [Fixnum]
attr_accessor :publish_mib_per_sec
# Subscribe throughput capacity per partition in MiB/s.
# Must be >= 4 and <= 32.
# Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
# Corresponds to the JSON property `subscribeMibPerSec`
# @return [Fixnum]
attr_accessor :subscribe_mib_per_sec
@ -88,13 +86,11 @@ module Google
end
end
# A generic empty message that you can re-use to avoid defining duplicated
# empty messages in your APIs. A typical example is to use it as the request
# or the response type of an API method. For instance:
# service Foo `
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
# `
# The JSON representation for `Empty` is empty JSON object ````.
# A generic empty message that you can re-use to avoid defining duplicated empty
# messages in your APIs. A typical example is to use it as the request or the
# response type of an API method. For instance: service Foo ` rpc Bar(google.
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
# `Empty` is empty JSON object ````.
class Empty
include Google::Apis::Core::Hashable
@ -111,8 +107,8 @@ module Google
class ListPartitionCursorsResponse
include Google::Apis::Core::Hashable
# A token, which can be sent as `page_token` to retrieve the next page.
# If this field is omitted, there are no subsequent pages.
# A token, which can be sent as `page_token` to retrieve the next page. If this
# field is omitted, there are no subsequent pages.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -137,8 +133,8 @@ module Google
class ListSubscriptionsResponse
include Google::Apis::Core::Hashable
# A token that can be sent as `page_token` to retrieve the next page of
# results. If this field is omitted, there are no more results.
# A token that can be sent as `page_token` to retrieve the next page of results.
# If this field is omitted, there are no more results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -164,8 +160,8 @@ module Google
class ListTopicSubscriptionsResponse
include Google::Apis::Core::Hashable
# A token that can be sent as `page_token` to retrieve the next page of
# results. If this field is omitted, there are no more results.
# A token that can be sent as `page_token` to retrieve the next page of results.
# If this field is omitted, there are no more results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -191,8 +187,8 @@ module Google
class ListTopicsResponse
include Google::Apis::Core::Hashable
# A token that can be sent as `page_token` to retrieve the next page of
# results. If this field is omitted, there are no more results.
# A token that can be sent as `page_token` to retrieve the next page of results.
# If this field is omitted, there are no more results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -228,11 +224,10 @@ module Google
# @return [Fixnum]
attr_accessor :count
# Every partition in the topic is allocated throughput equivalent to
# `scale` times the standard partition throughput (4 MiB/s). This is also
# reflected in the cost of this topic; a topic with `scale` of 2 and
# count of 10 is charged for 20 partitions. This value must be in the
# range [1,4].
# Every partition in the topic is allocated throughput equivalent to `scale`
# times the standard partition throughput (4 MiB/s). This is also reflected in
# the cost of this topic; a topic with `scale` of 2 and count of 10 is charged
# for 20 partitions. This value must be in the range [1,4].
# Corresponds to the JSON property `scale`
# @return [Fixnum]
attr_accessor :scale
@ -280,15 +275,15 @@ module Google
# The provisioned storage, in bytes, per partition. If the number of bytes
# stored in any of the topic's partitions grows beyond this value, older
# messages will be dropped to make room for newer ones, regardless of the
# value of `period`.
# messages will be dropped to make room for newer ones, regardless of the value
# of `period`.
# Corresponds to the JSON property `perPartitionBytes`
# @return [Fixnum]
attr_accessor :per_partition_bytes
# How long a published message is retained. If unset, messages will be
# retained as long as the bytes retained for each partition is below
# `per_partition_bytes`.
# How long a published message is retained. If unset, messages will be retained
# as long as the bytes retained for each partition is below `per_partition_bytes`
# .
# Corresponds to the JSON property `period`
# @return [String]
attr_accessor :period
@ -313,15 +308,13 @@ module Google
# @return [Google::Apis::PubsubliteV1::DeliveryConfig]
attr_accessor :delivery_config
# The name of the subscription.
# Structured like:
# projects/`project_number`/locations/`location`/subscriptions/`subscription_id`
# The name of the subscription. Structured like: projects/`project_number`/
# locations/`location`/subscriptions/`subscription_id`
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The name of the topic this subscription is attached to.
# Structured like:
# The name of the topic this subscription is attached to. Structured like:
# projects/`project_number`/locations/`location`/topics/`topic_id`
# Corresponds to the JSON property `topic`
# @return [String]
@ -343,9 +336,8 @@ module Google
class Topic
include Google::Apis::Core::Hashable
# The name of the topic.
# Structured like:
# projects/`project_number`/locations/`location`/topics/`topic_id`
# The name of the topic. Structured like: projects/`project_number`/locations/`
# location`/topics/`topic_id`
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -49,14 +49,13 @@ module Google
# Creates a new subscription.
# @param [String] parent
# Required. The parent location in which to create the subscription.
# Structured like `projects/`project_number`/locations/`location``.
# Required. The parent location in which to create the subscription. Structured
# like `projects/`project_number`/locations/`location``.
# @param [Google::Apis::PubsubliteV1::Subscription] subscription_object
# @param [String] subscription_id
# Required. The ID to use for the subscription, which will become the final
# component
# of the subscription's name.
# This value is structured like: `my-sub-name`.
# component of the subscription's name. This value is structured like: `my-sub-
# name`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -149,17 +148,17 @@ module Google
# Returns the list of subscriptions for the given project.
# @param [String] parent
# Required. The parent whose subscriptions are to be listed.
# Structured like `projects/`project_number`/locations/`location``.
# Required. The parent whose subscriptions are to be listed. Structured like `
# projects/`project_number`/locations/`location``.
# @param [Fixnum] page_size
# The maximum number of subscriptions to return. The service may return fewer
# than this value.
# If unset or zero, all subscriptions for the parent will be returned.
# than this value. If unset or zero, all subscriptions for the parent will be
# returned.
# @param [String] page_token
# A page token, received from a previous `ListSubscriptions` call.
# Provide this to retrieve the subsequent page.
# When paginating, all other parameters provided to `ListSubscriptions` must
# match the call that provided the page token.
# A page token, received from a previous `ListSubscriptions` call. Provide this
# to retrieve the subsequent page. When paginating, all other parameters
# provided to `ListSubscriptions` must match the call that provided the page
# token.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -191,9 +190,8 @@ module Google
# Updates properties of the specified subscription.
# @param [String] name
# The name of the subscription.
# Structured like:
# projects/`project_number`/locations/`location`/subscriptions/`subscription_id`
# The name of the subscription. Structured like: projects/`project_number`/
# locations/`location`/subscriptions/`subscription_id`
# @param [Google::Apis::PubsubliteV1::Subscription] subscription_object
# @param [String] update_mask
# Required. A mask specifying the subscription fields to change.
@ -229,14 +227,12 @@ module Google
# Creates a new topic.
# @param [String] parent
# Required. The parent location in which to create the topic.
# Structured like `projects/`project_number`/locations/`location``.
# Required. The parent location in which to create the topic. Structured like `
# projects/`project_number`/locations/`location``.
# @param [Google::Apis::PubsubliteV1::Topic] topic_object
# @param [String] topic_id
# Required. The ID to use for the topic, which will become the final component
# of
# the topic's name.
# This value is structured like: `my-topic-name`.
# of the topic's name. This value is structured like: `my-topic-name`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -359,17 +355,15 @@ module Google
# Returns the list of topics for the given project.
# @param [String] parent
# Required. The parent whose topics are to be listed.
# Structured like `projects/`project_number`/locations/`location``.
# Required. The parent whose topics are to be listed. Structured like `projects/`
# project_number`/locations/`location``.
# @param [Fixnum] page_size
# The maximum number of topics to return. The service may return fewer than
# this value.
# If unset or zero, all topics for the parent will be returned.
# The maximum number of topics to return. The service may return fewer than this
# value. If unset or zero, all topics for the parent will be returned.
# @param [String] page_token
# A page token, received from a previous `ListTopics` call.
# Provide this to retrieve the subsequent page.
# When paginating, all other parameters provided to `ListTopics` must match
# the call that provided the page token.
# A page token, received from a previous `ListTopics` call. Provide this to
# retrieve the subsequent page. When paginating, all other parameters provided
# to `ListTopics` must match the call that provided the page token.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -401,9 +395,8 @@ module Google
# Updates properties of the specified topic.
# @param [String] name
# The name of the topic.
# Structured like:
# projects/`project_number`/locations/`location`/topics/`topic_id`
# The name of the topic. Structured like: projects/`project_number`/locations/`
# location`/topics/`topic_id`
# @param [Google::Apis::PubsubliteV1::Topic] topic_object
# @param [String] update_mask
# Required. A mask specifying the topic fields to change.
@ -442,13 +435,13 @@ module Google
# Required. The name of the topic whose subscriptions to list.
# @param [Fixnum] page_size
# The maximum number of subscriptions to return. The service may return fewer
# than this value.
# If unset or zero, all subscriptions for the given topic will be returned.
# than this value. If unset or zero, all subscriptions for the given topic will
# be returned.
# @param [String] page_token
# A page token, received from a previous `ListTopicSubscriptions` call.
# Provide this to retrieve the subsequent page.
# When paginating, all other parameters provided to `ListTopicSubscriptions`
# must match the call that provided the page token.
# A page token, received from a previous `ListTopicSubscriptions` call. Provide
# this to retrieve the subsequent page. When paginating, all other parameters
# provided to `ListTopicSubscriptions` must match the call that provided the
# page token.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -480,19 +473,17 @@ module Google
# Returns all committed cursor information for a subscription.
# @param [String] parent
# Required. The subscription for which to retrieve cursors.
# Structured like
# `projects/`project_number`/locations/`location`/subscriptions/`subscription_id`
# `.
# Required. The subscription for which to retrieve cursors. Structured like `
# projects/`project_number`/locations/`location`/subscriptions/`subscription_id``
# .
# @param [Fixnum] page_size
# The maximum number of cursors to return. The service may return fewer than
# this value.
# If unset or zero, all cursors for the parent will be returned.
# this value. If unset or zero, all cursors for the parent will be returned.
# @param [String] page_token
# A page token, received from a previous `ListPartitionCursors` call.
# Provide this to retrieve the subsequent page.
# When paginating, all other parameters provided to `ListPartitionCursors`
# must match the call that provided the page token.
# A page token, received from a previous `ListPartitionCursors` call. Provide
# this to retrieve the subsequent page. When paginating, all other parameters
# provided to `ListPartitionCursors` must match the call that provided the page
# token.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/text-to-speech/
module TexttospeechV1beta1
VERSION = 'V1beta1'
REVISION = '20200619'
REVISION = '20200731'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -153,6 +153,11 @@ module Google
# @return [Google::Apis::TexttospeechV1beta1::AudioConfig]
attr_accessor :audio_config
# Whether and what timepoints are returned in the response.
# Corresponds to the JSON property `enableTimePointing`
# @return [Array<String>]
attr_accessor :enable_time_pointing
# Contains text input to be synthesized. Either `text` or `ssml` must be
# supplied. Supplying both or neither returns
# google.rpc.Code.INVALID_ARGUMENT. The input size is limited to 5000
@ -173,6 +178,7 @@ module Google
# Update properties of this object
def update!(**args)
@audio_config = args[:audio_config] if args.key?(:audio_config)
@enable_time_pointing = args[:enable_time_pointing] if args.key?(:enable_time_pointing)
@input = args[:input] if args.key?(:input)
@voice = args[:voice] if args.key?(:voice)
end
@ -182,6 +188,11 @@ module Google
class SynthesizeSpeechResponse
include Google::Apis::Core::Hashable
# Description of audio data to be synthesized.
# Corresponds to the JSON property `audioConfig`
# @return [Google::Apis::TexttospeechV1beta1::AudioConfig]
attr_accessor :audio_config
# The audio data bytes encoded as specified in the request, including the
# header for encodings that are wrapped in containers (e.g. MP3, OGG_OPUS).
# For LINEAR16 audio, we include the WAV header. Note: as
@ -192,13 +203,47 @@ module Google
# @return [String]
attr_accessor :audio_content
# A link between a position in the original request input and a corresponding
# time in the output audio. It's only supported via <mark> of SSML input.
# Corresponds to the JSON property `timepoints`
# @return [Array<Google::Apis::TexttospeechV1beta1::Timepoint>]
attr_accessor :timepoints
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@audio_config = args[:audio_config] if args.key?(:audio_config)
@audio_content = args[:audio_content] if args.key?(:audio_content)
@timepoints = args[:timepoints] if args.key?(:timepoints)
end
end
# This contains a mapping between a certain point in the input text and a
# corresponding time in the output audio.
class Timepoint
include Google::Apis::Core::Hashable
# Timepoint name as received from the client within <mark> tag.
# Corresponds to the JSON property `markName`
# @return [String]
attr_accessor :mark_name
# Time offset in seconds from the start of the synthesized audio.
# Corresponds to the JSON property `timeSeconds`
# @return [Float]
attr_accessor :time_seconds
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@mark_name = args[:mark_name] if args.key?(:mark_name)
@time_seconds = args[:time_seconds] if args.key?(:time_seconds)
end
end

View File

@ -52,6 +52,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Timepoint
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Voice
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -97,6 +103,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :audio_config, as: 'audioConfig', class: Google::Apis::TexttospeechV1beta1::AudioConfig, decorator: Google::Apis::TexttospeechV1beta1::AudioConfig::Representation
collection :enable_time_pointing, as: 'enableTimePointing'
property :input, as: 'input', class: Google::Apis::TexttospeechV1beta1::SynthesisInput, decorator: Google::Apis::TexttospeechV1beta1::SynthesisInput::Representation
property :voice, as: 'voice', class: Google::Apis::TexttospeechV1beta1::VoiceSelectionParams, decorator: Google::Apis::TexttospeechV1beta1::VoiceSelectionParams::Representation
@ -107,7 +114,19 @@ module Google
class SynthesizeSpeechResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :audio_config, as: 'audioConfig', class: Google::Apis::TexttospeechV1beta1::AudioConfig, decorator: Google::Apis::TexttospeechV1beta1::AudioConfig::Representation
property :audio_content, :base64 => true, as: 'audioContent'
collection :timepoints, as: 'timepoints', class: Google::Apis::TexttospeechV1beta1::Timepoint, decorator: Google::Apis::TexttospeechV1beta1::Timepoint::Representation
end
end
class Timepoint
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :mark_name, as: 'markName'
property :time_seconds, as: 'timeSeconds'
end
end