diff --git a/generated/google/apis/adexchangebuyer2_v2beta1.rb b/generated/google/apis/adexchangebuyer2_v2beta1.rb index c7b1af4d5..41418f71d 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://developers.google.com/authorized-buyers/apis/reference/rest/ module Adexchangebuyer2V2beta1 VERSION = 'V2beta1' - REVISION = '20200506' + REVISION = '20200520' # Manage your Ad Exchange buyer account configuration AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb index 995761b35..b43b0a231 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb @@ -440,6 +440,7 @@ module Google # Numerical identifier of the client entity. # The entity can be an advertiser, a brand, or an agency. # This identifier is unique among all the entities with the same type. + # The value of this field is ignored if the entity type is not provided. # A list of all known advertisers with their identifiers is available in the # [advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/ # advertisers.txt) @@ -462,7 +463,8 @@ module Google # @return [String] attr_accessor :entity_name - # The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`. + # An optional field for specifying the type of the client entity: + # `ADVERTISER`, `BRAND`, or `AGENCY`. # Corresponds to the JSON property `entityType` # @return [String] attr_accessor :entity_type diff --git a/generated/google/apis/bigqueryreservation_v1.rb b/generated/google/apis/bigqueryreservation_v1.rb index 48f89eafd..3d7126b70 100644 --- a/generated/google/apis/bigqueryreservation_v1.rb +++ b/generated/google/apis/bigqueryreservation_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigqueryreservationV1 VERSION = 'V1' - REVISION = '20200509' + REVISION = '20200516' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigqueryreservation_v1/service.rb b/generated/google/apis/bigqueryreservation_v1/service.rb index 39f18e5e5..6d60525e0 100644 --- a/generated/google/apis/bigqueryreservation_v1/service.rb +++ b/generated/google/apis/bigqueryreservation_v1/service.rb @@ -179,7 +179,7 @@ module Google # Required. The resource name of the admin project(containing project and # location), # e.g.: - # "projects/myproject/locations/US". + # `projects/myproject/locations/US`. # @param [Fixnum] page_size # The maximum number of items to return per page. # @param [String] page_token @@ -266,7 +266,7 @@ module Google # Creates a new capacity commitment resource. # @param [String] parent # Required. Resource name of the parent reservation. E.g., - # projects/myproject/locations/US + # `projects/myproject/locations/US` # @param [Google::Apis::BigqueryreservationV1::CapacityCommitment] capacity_commitment_object # @param [Boolean] enforce_single_admin_project_per_org # If true, fail the request if another project in the organization has a @@ -306,7 +306,7 @@ module Google # `google.rpc.Code.FAILED_PRECONDITION`. # @param [String] name # Required. Resource name of the capacity commitment to delete. E.g., - # projects/myproject/locations/US/capacityCommitments/123 + # `projects/myproject/locations/US/capacityCommitments/123` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -337,7 +337,7 @@ module Google # Returns information about the capacity commitment. # @param [String] name # Required. Resource name of the capacity commitment to retrieve. E.g., - # projects/myproject/locations/US/capacityCommitments/123 + # `projects/myproject/locations/US/capacityCommitments/123` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -368,7 +368,7 @@ module Google # Lists all the capacity commitments for the admin project. # @param [String] parent # Required. Resource name of the parent reservation. E.g., - # projects/myproject/locations/US + # `projects/myproject/locations/US` # @param [Fixnum] page_size # The maximum number of items to return. # @param [String] page_token @@ -409,7 +409,7 @@ module Google # with the error code `google.rpc.Code.FAILED_PRECONDITION`. # @param [String] parent # Parent resource that identifies admin project and location e.g., - # projects/myproject/locations/us + # `projects/myproject/locations/us` # @param [Google::Apis::BigqueryreservationV1::MergeCapacityCommitmentsRequest] merge_capacity_commitments_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -489,7 +489,7 @@ module Google # you would change the plan of the first one to `FLEX` and then delete it. # @param [String] name # Required. The resource name e.g.,: - # projects/myproject/locations/US/capacityCommitments/123 + # `projects/myproject/locations/US/capacityCommitments/123` # @param [Google::Apis::BigqueryreservationV1::SplitCapacityCommitmentRequest] split_capacity_commitment_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -625,7 +625,7 @@ module Google # Lists all the reservations for the project in the specified location. # @param [String] parent # Required. The parent resource name containing project and location, e.g.: - # "projects/myproject/locations/US" + # `projects/myproject/locations/US` # @param [Fixnum] page_size # The maximum number of items to return per page. # @param [String] page_token diff --git a/generated/google/apis/bigqueryreservation_v1beta1.rb b/generated/google/apis/bigqueryreservation_v1beta1.rb index 988cce6ad..7bb98fbef 100644 --- a/generated/google/apis/bigqueryreservation_v1beta1.rb +++ b/generated/google/apis/bigqueryreservation_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigqueryreservationV1beta1 VERSION = 'V1beta1' - REVISION = '20200509' + REVISION = '20200516' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigqueryreservation_v1beta1/classes.rb b/generated/google/apis/bigqueryreservation_v1beta1/classes.rb index fad2551f8..7c8bed2e0 100644 --- a/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +++ b/generated/google/apis/bigqueryreservation_v1beta1/classes.rb @@ -28,7 +28,7 @@ module Google include Google::Apis::Core::Hashable # The resource which will use the reservation. E.g. - # projects/myproject, folders/123, organizations/456. + # `projects/myproject`, `folders/123`, or `organizations/456`. # Corresponds to the JSON property `assignee` # @return [String] attr_accessor :assignee @@ -39,7 +39,7 @@ module Google attr_accessor :job_type # Output only. Name of the resource. E.g.: - # projects/myproject/locations/US/reservations/team1-prod/assignments/123. + # `projects/myproject/locations/US/reservations/team1-prod/assignments/123`. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -98,8 +98,9 @@ module Google # Capacity commitment is a way to purchase compute capacity for BigQuery jobs # (in the form of slots) with some committed period of usage. Annual # commitments renew by default. Commitments can be removed after their - # commitment end time passes. In order to remove annual commitment, its plan - # needs to be changed to monthly or flex first. + # commitment end time passes. + # In order to remove annual commitment, its plan needs to be changed + # to monthly or flex first. # A capacity commitment resource exists as a child resource of the admin # project. class CapacityCommitment @@ -123,7 +124,7 @@ module Google attr_accessor :failure_status # Output only. The resource name of the capacity commitment, e.g., - # projects/myproject/locations/US/capacityCommitments/123 + # `projects/myproject/locations/US/capacityCommitments/123` # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -307,15 +308,16 @@ module Google # The request for # ReservationService.MoveAssignment. - # Note: "bigquery.reservationAssignments.create" permission is required on the - # destination_id. Note: "bigquery.reservationAssignments.create" and - # "bigquery.reservationAssignments.delete" permission is required on the + # **Note**: "bigquery.reservationAssignments.create" permission is required on + # the destination_id. + # **Note**: "bigquery.reservationAssignments.create" and + # "bigquery.reservationAssignments.delete" permission are required on the # related assignee. class MoveAssignmentRequest include Google::Apis::Core::Hashable # The new reservation ID, e.g.: - # projects/myotherproject/locations/US/reservations/team2-prod + # `projects/myotherproject/locations/US/reservations/team2-prod` # Corresponds to the JSON property `destinationId` # @return [String] attr_accessor :destination_id @@ -343,7 +345,7 @@ module Google alias_method :ignore_idle_slots?, :ignore_idle_slots # The resource name of the reservation, e.g., - # "projects/*/locations/*/reservations/team1-prod". + # `projects/*/locations/*/reservations/team1-prod`. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -424,8 +426,9 @@ module Google # Capacity commitment is a way to purchase compute capacity for BigQuery jobs # (in the form of slots) with some committed period of usage. Annual # commitments renew by default. Commitments can be removed after their - # commitment end time passes. In order to remove annual commitment, its plan - # needs to be changed to monthly or flex first. + # commitment end time passes. + # In order to remove annual commitment, its plan needs to be changed + # to monthly or flex first. # A capacity commitment resource exists as a child resource of the admin # project. # Corresponds to the JSON property `first` @@ -435,8 +438,9 @@ module Google # Capacity commitment is a way to purchase compute capacity for BigQuery jobs # (in the form of slots) with some committed period of usage. Annual # commitments renew by default. Commitments can be removed after their - # commitment end time passes. In order to remove annual commitment, its plan - # needs to be changed to monthly or flex first. + # commitment end time passes. + # In order to remove annual commitment, its plan needs to be changed + # to monthly or flex first. # A capacity commitment resource exists as a child resource of the admin # project. # Corresponds to the JSON property `second` diff --git a/generated/google/apis/bigqueryreservation_v1beta1/service.rb b/generated/google/apis/bigqueryreservation_v1beta1/service.rb index 1ca466c43..c218e45ef 100644 --- a/generated/google/apis/bigqueryreservation_v1beta1/service.rb +++ b/generated/google/apis/bigqueryreservation_v1beta1/service.rb @@ -80,34 +80,36 @@ module Google # Looks up assignments for a specified resource for a particular region. # If the request is about a project: - # 1) Assignments created on the project will be returned if they exist. - # 2) Otherwise assignments created on the closest ancestor will be - # returned. 3) Assignments for different JobTypes will all be returned. - # Same logic applies if the request is about a folder. + # 1. Assignments created on the project will be returned if they exist. + # 2. Otherwise assignments created on the closest ancestor will be + # returned. + # 3. Assignments for different JobTypes will all be returned. + # The same logic applies if the request is about a folder. # If the request is about an organization, then assignments created on the # organization will be returned (organization doesn't have ancestors). # Comparing to ListAssignments, there are some behavior # differences: - # 1) permission on the assignee will be verified in this API. - # 2) Hierarchy lookup (project->folder->organization) happens in this API. - # 3) Parent here is projects/*/locations/*, instead of - # projects/*/locations/*reservations/*. - # Note "-" cannot be used for projects + # 1. permission on the assignee will be verified in this API. + # 2. Hierarchy lookup (project->folder->organization) happens in this API. + # 3. Parent here is `projects/*/locations/*`, instead of + # `projects/*/locations/*reservations/*`. + # **Note** "-" cannot be used for projects # nor locations. # @param [String] parent # Required. The resource name of the admin project(containing project and # location), # e.g.: - # "projects/myproject/locations/US". + # `projects/myproject/locations/US`. # @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 assignee in the query. - # e.g., "assignee=projects/myproject" - # "assignee=folders/123" - # "assignee=organizations/456" + # Examples: + # * `assignee=projects/myproject` + # * `assignee=folders/123` + # * `assignee=organizations/456` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -139,8 +141,8 @@ module Google end # Updates a BI reservation. - # Only fields specified in the field_mask are updated. - # Singleton BI reservation always exists with default size 0. + # Only fields specified in the `field_mask` are updated. + # A singleton BI reservation always exists with default size 0. # In order to reserve BI capacity it needs to be updated to an amount # greater than 0. In order to release BI capacity reservation size # must be set to 0. @@ -184,7 +186,7 @@ module Google # Creates a new capacity commitment resource. # @param [String] parent # Required. Resource name of the parent reservation. E.g., - # projects/myproject/locations/US + # `projects/myproject/locations/US` # @param [Google::Apis::BigqueryreservationV1beta1::CapacityCommitment] capacity_commitment_object # @param [Boolean] enforce_single_admin_project_per_org # If true, fail the request if another project in the organization has a @@ -224,7 +226,7 @@ module Google # `google.rpc.Code.FAILED_PRECONDITION`. # @param [String] name # Required. Resource name of the capacity commitment to delete. E.g., - # projects/myproject/locations/US/capacityCommitments/123 + # `projects/myproject/locations/US/capacityCommitments/123` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -255,7 +257,7 @@ module Google # Returns information about the capacity commitment. # @param [String] name # Required. Resource name of the capacity commitment to retrieve. E.g., - # projects/myproject/locations/US/capacityCommitments/123 + # `projects/myproject/locations/US/capacityCommitments/123` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -286,7 +288,7 @@ module Google # Lists all the capacity commitments for the admin project. # @param [String] parent # Required. Resource name of the parent reservation. E.g., - # projects/myproject/locations/US + # `projects/myproject/locations/US` # @param [Fixnum] page_size # The maximum number of items to return. # @param [String] page_token @@ -320,13 +322,14 @@ module Google execute_or_queue_command(command, &block) end - # Merges capacity commitments of the same plan into one. Resulting capacity - # commitment has the longer commitment_end_time out of the two. Attempting to - # merge capacity commitments of different plan will fail with the error code - # `google.rpc.Code.FAILED_PRECONDITION`. + # Merges capacity commitments of the same plan into a single commitment. + # The resulting capacity commitment has the greater commitment_end_time + # out of the to-be-merged capacity commitments. + # Attempting to merge capacity commitments of different plan will fail + # with the error code `google.rpc.Code.FAILED_PRECONDITION`. # @param [String] parent # Parent resource that identifies admin project and location e.g., - # projects/myproject/locations/us + # `projects/myproject/locations/us` # @param [Google::Apis::BigqueryreservationV1beta1::MergeCapacityCommitmentsRequest] merge_capacity_commitments_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -358,13 +361,13 @@ module Google end # Updates an existing capacity commitment. - # Only plan and renewal_plan fields can be updated. + # Only `plan` and `renewal_plan` fields can be updated. # Plan can only be changed to a plan of a longer commitment period. # Attempting to change to a plan with shorter commitment period will fail # with the error code `google.rpc.Code.FAILED_PRECONDITION`. # @param [String] name # Output only. The resource name of the capacity commitment, e.g., - # projects/myproject/locations/US/capacityCommitments/123 + # `projects/myproject/locations/US/capacityCommitments/123` # @param [Google::Apis::BigqueryreservationV1beta1::CapacityCommitment] capacity_commitment_object # @param [String] update_mask # Standard field mask for the set of fields to be updated. @@ -399,13 +402,14 @@ module Google end # Splits capacity commitment to two commitments of the same plan and - # commitment_end_time. A common use case to do that is to perform a downgrade - # e.g., in order to downgrade from 10000 slots to 8000, one might split 10000 - # capacity commitment to 2000 and 8000, change the plan of the first one to - # flex and then delete it. + # `commitment_end_time`. + # A common use case is to enable downgrading commitments. + # For example, in order to downgrade from 10000 slots to 8000, you might + # split a 10000 capacity commitment into commitments of 2000 and 8000. Then, + # you would change the plan of the first one to `FLEX` and then delete it. # @param [String] name # Required. The resource name e.g.,: - # projects/myproject/locations/US/capacityCommitments/123 + # `projects/myproject/locations/US/capacityCommitments/123` # @param [Google::Apis::BigqueryreservationV1beta1::SplitCapacityCommitmentRequest] split_capacity_commitment_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -439,7 +443,7 @@ module Google # Creates a new reservation resource. # @param [String] parent # Required. Project, location. E.g., - # projects/myproject/locations/US + # `projects/myproject/locations/US` # @param [Google::Apis::BigqueryreservationV1beta1::Reservation] reservation_object # @param [String] reservation_id # The reservation ID. This field must only contain lower case alphanumeric @@ -479,7 +483,7 @@ module Google # assignments. # @param [String] name # Required. Resource name of the reservation to retrieve. E.g., - # projects/myproject/locations/US/reservations/team1-prod + # `projects/myproject/locations/US/reservations/team1-prod` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -510,7 +514,7 @@ module Google # Returns information about the reservation. # @param [String] name # Required. Resource name of the reservation to retrieve. E.g., - # projects/myproject/locations/US/reservations/team1-prod + # `projects/myproject/locations/US/reservations/team1-prod` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -541,7 +545,7 @@ module Google # Lists all the reservations for the project in the specified location. # @param [String] parent # Required. The parent resource name containing project and location, e.g.: - # "projects/myproject/locations/US" + # `projects/myproject/locations/US` # @param [String] filter # Can be used to filter out reservations based on names, capacity, etc, e.g.: # filter="reservation.slot_capacity > 200" @@ -585,7 +589,7 @@ module Google # Updates an existing reservation resource. # @param [String] name # The resource name of the reservation, e.g., - # "projects/*/locations/*/reservations/team1-prod". + # `projects/*/locations/*/reservations/team1-prod`. # @param [Google::Apis::BigqueryreservationV1beta1::Reservation] reservation_object # @param [String] update_mask # Standard field mask for the set of fields to be updated. @@ -619,6 +623,24 @@ module Google execute_or_queue_command(command, &block) end + # Creates an assignment object which allows the given project to submit jobs + # of a certain type using slots from the specified reservation. + # Currently a + # resource (project, folder, organization) can only have one assignment per + # each (job_type, location) combination, and that reservation will be used + # for all jobs of the matching type. + # Different assignments can be created on different levels of the + # projects, folders or organization hierarchy. During query execution, + # the assignment is looked up at the project, folder and organization levels + # in that order. The first assignment found is applied to the query. + # When creating assignments, it does not matter if other assignments exist at + # higher levels. + # Example: + # * The organization `organizationA` contains two projects, `project1` + # and `project2`. + # * Assignments for all three entities (`organizationA`, `project1`, and + # `project2`) could all be created and mapped to the same or different + # reservations. # 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. @@ -626,7 +648,7 @@ module Google # does not match location of the reservation. # @param [String] parent # Required. The parent resource name of the assignment - # E.g.: projects/myproject/locations/US/reservations/team1-prod + # E.g. `projects/myproject/locations/US/reservations/team1-prod` # @param [Google::Apis::BigqueryreservationV1beta1::Assignment] assignment_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -658,18 +680,20 @@ module Google end # Deletes a assignment. No expansion will happen. - # E.g: - # organizationA contains project1 and project2. Reservation res1 exists. - # CreateAssignment was invoked previously and following assignments were - # 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. + # Example: + # * Organization `organizationA` contains two projects, `project1` and + # `project2`. + # * Reservation `res1` exists and was created previously. + # * CreateAssignment was used previously to define the following + # associations between entities and reservations: `` + # and `` + # In this example, deletion of the `` assignment won't + # affect the other assignment ``. After said deletion, + # queries from `project1` will still use `res1` while queries from + # `project2` will switch to use on-demand mode. # @param [String] name - # Required. Name of the resource, e.g.: - # projects/myproject/locations/US/reservations/team1-prod/assignments/123 + # Required. Name of the resource, e.g. + # `projects/myproject/locations/US/reservations/team1-prod/assignments/123` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -698,22 +722,25 @@ module Google end # Lists assignments. - # Only explicitly created assignments will be returned. E.g: - # organizationA contains project1 and project2. Reservation res1 exists. - # CreateAssignment was invoked previously and following assignments were - # created explicitly: - # - # - # Then this API will just return the above two assignments for reservation - # res1, and no expansion/merge will happen. Wildcard "-" can be used for + # Only explicitly created assignments will be returned. + # Example: + # * Organization `organizationA` contains two projects, `project1` and + # `project2`. + # * Reservation `res1` exists and was created previously. + # * CreateAssignment was used previously to define the following + # associations between entities and reservations: `` + # and `` + # In this example, ListAssignments will just return the above two assignments + # for reservation `res1`, and no expansion/merge will happen. + # The wildcard "-" can be used for # reservations in the request. In that case all assignments belongs to the - # specified project and location will be listed. Note - # "-" cannot be used for projects nor locations. + # specified project and location will be listed. + # **Note** "-" cannot be used for projects nor locations. # @param [String] parent # Required. The parent resource name e.g.: - # projects/myproject/locations/US/reservations/team1-prod + # `projects/myproject/locations/US/reservations/team1-prod` # Or: - # projects/myproject/locations/US/reservations/- + # `projects/myproject/locations/US/reservations/-` # @param [Fixnum] page_size # The maximum number of items to return. # @param [String] page_token @@ -747,16 +774,14 @@ module Google execute_or_queue_command(command, &block) end - # Moves a assignment under a new reservation. Customers can do this by - # deleting the existing assignment followed by creating another assignment - # under the new reservation, but this method provides a transactional way to - # do so, to make sure the assignee always has an associated reservation. - # Without the method customers might see some queries run on-demand which - # might be unexpected. + # Moves an assignment under a new reservation. + # This differs from removing an existing assignment and recreating a new one + # by providing a transactional change that ensures an assignee always has an + # associated reservation. # @param [String] name # Required. The resource name of the assignment, - # e.g.: - # projects/myproject/locations/US/reservations/team1-prod/assignments/123 + # e.g. + # `projects/myproject/locations/US/reservations/team1-prod/assignments/123` # @param [Google::Apis::BigqueryreservationV1beta1::MoveAssignmentRequest] move_assignment_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/binaryauthorization_v1.rb b/generated/google/apis/binaryauthorization_v1.rb index 74b761ebc..f60f05d8a 100644 --- a/generated/google/apis/binaryauthorization_v1.rb +++ b/generated/google/apis/binaryauthorization_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/binary-authorization/ module BinaryauthorizationV1 VERSION = 'V1' - REVISION = '20200501' + REVISION = '20200515' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/binaryauthorization_v1/classes.rb b/generated/google/apis/binaryauthorization_v1/classes.rb index 96085b102..07ece1e62 100644 --- a/generated/google/apis/binaryauthorization_v1/classes.rb +++ b/generated/google/apis/binaryauthorization_v1/classes.rb @@ -540,7 +540,8 @@ module Google # @return [Array] attr_accessor :admission_whitelist_patterns - # Optional. Per-cluster admission rules. Cluster spec format: + # Optional. LINT.IfChange(cluster_regex) + # Per-cluster admission rules. Cluster spec format: # `location.clusterId`. There can be at most one admission rule per cluster # spec. # A `location` is either a compute zone (e.g. us-central1-a) or a region @@ -548,6 +549,8 @@ module Google # For `clusterId` syntax restrictions see # https://cloud.google.com/container-engine/reference/rest/v1/projects.zones. # clusters. + # LINT.ThenChange(//depot/google3/cloud/console/web/binary_authorization/api/ + # models/admission_rule_type.ts:cluster_regex) # Corresponds to the JSON property `clusterAdmissionRules` # @return [Hash] attr_accessor :cluster_admission_rules diff --git a/generated/google/apis/content_v2_1.rb b/generated/google/apis/content_v2_1.rb index ad0ba2bb3..adda9ff9d 100644 --- a/generated/google/apis/content_v2_1.rb +++ b/generated/google/apis/content_v2_1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2_1 VERSION = 'V2_1' - REVISION = '20200421' + REVISION = '20200512' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2_1/classes.rb b/generated/google/apis/content_v2_1/classes.rb index d5ceaf9b2..6cdb8429c 100644 --- a/generated/google/apis/content_v2_1/classes.rb +++ b/generated/google/apis/content_v2_1/classes.rb @@ -10861,6 +10861,11 @@ module Google # @return [String] attr_accessor :merchant_order_id + # The identifier of the item. + # Corresponds to the JSON property `orderItemId` + # @return [String] + attr_accessor :order_item_id + # The unique ID of the settlement transaction entry. # Corresponds to the JSON property `settlementEntryId` # @return [String] @@ -10884,6 +10889,7 @@ module Google def update!(**args) @adjustment_id = args[:adjustment_id] if args.key?(:adjustment_id) @merchant_order_id = args[:merchant_order_id] if args.key?(:merchant_order_id) + @order_item_id = args[:order_item_id] if args.key?(:order_item_id) @settlement_entry_id = args[:settlement_entry_id] if args.key?(:settlement_entry_id) @shipment_ids = args[:shipment_ids] if args.key?(:shipment_ids) @transaction_id = args[:transaction_id] if args.key?(:transaction_id) diff --git a/generated/google/apis/content_v2_1/representations.rb b/generated/google/apis/content_v2_1/representations.rb index 604191cbd..4af291469 100644 --- a/generated/google/apis/content_v2_1/representations.rb +++ b/generated/google/apis/content_v2_1/representations.rb @@ -4543,6 +4543,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :adjustment_id, as: 'adjustmentId' property :merchant_order_id, as: 'merchantOrderId' + property :order_item_id, as: 'orderItemId' property :settlement_entry_id, as: 'settlementEntryId' collection :shipment_ids, as: 'shipmentIds' property :transaction_id, as: 'transactionId' diff --git a/generated/google/apis/dfareporting_v3_3.rb b/generated/google/apis/dfareporting_v3_3.rb index 0f2bd4792..897436c4c 100644 --- a/generated/google/apis/dfareporting_v3_3.rb +++ b/generated/google/apis/dfareporting_v3_3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/doubleclick-advertisers/ module DfareportingV3_3 VERSION = 'V3_3' - REVISION = '20200326' + REVISION = '20200514' # Manage DoubleClick Digital Marketing conversions AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions' diff --git a/generated/google/apis/dfareporting_v3_3/classes.rb b/generated/google/apis/dfareporting_v3_3/classes.rb index 3acb93d52..91b1a3793 100644 --- a/generated/google/apis/dfareporting_v3_3/classes.rb +++ b/generated/google/apis/dfareporting_v3_3/classes.rb @@ -5713,7 +5713,7 @@ module Google end end - # + # List of files for a report. class FileList include Google::Apis::Core::Hashable @@ -5722,7 +5722,7 @@ module Google # @return [String] attr_accessor :etag - # + # The files returned in this response. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items diff --git a/generated/google/apis/dfareporting_v3_3/service.rb b/generated/google/apis/dfareporting_v3_3/service.rb index 23b302031..bcd3ef4d9 100644 --- a/generated/google/apis/dfareporting_v3_3/service.rb +++ b/generated/google/apis/dfareporting_v3_3/service.rb @@ -7254,9 +7254,9 @@ module Google # Lists files for a report. # @param [Fixnum] profile_id - # The DFA user profile ID. + # The DFA profile ID. # @param [Fixnum] report_id - # The ID of the report. + # The ID of the parent report. # @param [Fixnum] max_results # Maximum number of results to return. # @param [String] page_token diff --git a/generated/google/apis/dfareporting_v3_4.rb b/generated/google/apis/dfareporting_v3_4.rb index 3ce389f8d..1667d8d50 100644 --- a/generated/google/apis/dfareporting_v3_4.rb +++ b/generated/google/apis/dfareporting_v3_4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/doubleclick-advertisers/ module DfareportingV3_4 VERSION = 'V3_4' - REVISION = '20200326' + REVISION = '20200514' # Manage DoubleClick Digital Marketing conversions AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions' diff --git a/generated/google/apis/dfareporting_v3_4/classes.rb b/generated/google/apis/dfareporting_v3_4/classes.rb index 435760b0f..9c3ab26f3 100644 --- a/generated/google/apis/dfareporting_v3_4/classes.rb +++ b/generated/google/apis/dfareporting_v3_4/classes.rb @@ -6182,7 +6182,7 @@ module Google end end - # + # List of files for a report. class FileList include Google::Apis::Core::Hashable @@ -6191,7 +6191,7 @@ module Google # @return [String] attr_accessor :etag - # + # The files returned in this response. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items diff --git a/generated/google/apis/dfareporting_v3_4/service.rb b/generated/google/apis/dfareporting_v3_4/service.rb index c02580283..8405ded7d 100644 --- a/generated/google/apis/dfareporting_v3_4/service.rb +++ b/generated/google/apis/dfareporting_v3_4/service.rb @@ -7251,9 +7251,9 @@ module Google # Lists files for a report. # @param [Fixnum] profile_id - # The DFA user profile ID. + # The DFA profile ID. # @param [Fixnum] report_id - # The ID of the report. + # The ID of the parent report. # @param [Fixnum] max_results # Maximum number of results to return. # @param [String] page_token diff --git a/generated/google/apis/dialogflow_v2.rb b/generated/google/apis/dialogflow_v2.rb index 1829f1005..b1c806540 100644 --- a/generated/google/apis/dialogflow_v2.rb +++ b/generated/google/apis/dialogflow_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow/ module DialogflowV2 VERSION = 'V2' - REVISION = '20200512' + REVISION = '20200518' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v2/classes.rb b/generated/google/apis/dialogflow_v2/classes.rb index 8be6fe9be..73369c5ec 100644 --- a/generated/google/apis/dialogflow_v2/classes.rb +++ b/generated/google/apis/dialogflow_v2/classes.rb @@ -615,6 +615,9 @@ module Google # multiple default text responses exist, they will be concatenated when # generating audio. If no default platform text responses exist, the # generated audio content will be empty. + # In some scenarios, multiple output audio fields may be present in the + # response structure. In these cases, only the top-most-level audio output + # has content. # Corresponds to the JSON property `outputAudio` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] diff --git a/generated/google/apis/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb index fc067551f..58895ca85 100644 --- a/generated/google/apis/dialogflow_v2beta1.rb +++ b/generated/google/apis/dialogflow_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow/ module DialogflowV2beta1 VERSION = 'V2beta1' - REVISION = '20200512' + REVISION = '20200518' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v2beta1/classes.rb b/generated/google/apis/dialogflow_v2beta1/classes.rb index 8e35b3e68..c8bc4fe19 100644 --- a/generated/google/apis/dialogflow_v2beta1/classes.rb +++ b/generated/google/apis/dialogflow_v2beta1/classes.rb @@ -2736,6 +2736,9 @@ module Google # multiple default text responses exist, they will be concatenated when # generating audio. If no default platform text responses exist, the # generated audio content will be empty. + # In some scenarios, multiple output audio fields may be present in the + # response structure. In these cases, only the top-most-level audio output + # has content. # Corresponds to the JSON property `outputAudio` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] diff --git a/generated/google/apis/dialogflow_v2beta1/service.rb b/generated/google/apis/dialogflow_v2beta1/service.rb index 581bfa02f..a25ef219a 100644 --- a/generated/google/apis/dialogflow_v2beta1/service.rb +++ b/generated/google/apis/dialogflow_v2beta1/service.rb @@ -1833,7 +1833,7 @@ module Google # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; # only use `projects.knowledgeBases.documents`. # @param [String] parent - # The knoweldge base to create a document for. + # Required. The knoweldge base to create a document for. # Format: `projects//knowledgeBases/`. # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object # @param [String] fields @@ -2736,7 +2736,7 @@ module Google # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; # only use `projects.knowledgeBases.documents`. # @param [String] parent - # The knoweldge base to create a document for. + # Required. The knoweldge base to create a document for. # Format: `projects//knowledgeBases/`. # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object # @param [String] fields diff --git a/generated/google/apis/dlp_v2.rb b/generated/google/apis/dlp_v2.rb index b155b4e8e..cfff75c29 100644 --- a/generated/google/apis/dlp_v2.rb +++ b/generated/google/apis/dlp_v2.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/dlp/docs/ module DlpV2 VERSION = 'V2' - REVISION = '20200505' + REVISION = '20200516' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dlp_v2/classes.rb b/generated/google/apis/dlp_v2/classes.rb index 3f7a3699b..33ba3427a 100644 --- a/generated/google/apis/dlp_v2/classes.rb +++ b/generated/google/apis/dlp_v2/classes.rb @@ -1155,8 +1155,7 @@ module Google # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate] attr_accessor :deidentify_template - # The geographic location to store the deidentification template. Reserved - # for future extensions. + # Deprecated. This field has no effect. # Corresponds to the JSON property `locationId` # @return [String] attr_accessor :location_id @@ -1200,8 +1199,7 @@ module Google # @return [String] attr_accessor :job_id - # The geographic location to store and process the job. Reserved for - # future extensions. + # Deprecated. This field has no effect. # Corresponds to the JSON property `locationId` # @return [String] attr_accessor :location_id @@ -1237,8 +1235,7 @@ module Google # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate] attr_accessor :inspect_template - # The geographic location to store the inspection template. Reserved for - # future extensions. + # Deprecated. This field has no effect. # Corresponds to the JSON property `locationId` # @return [String] attr_accessor :location_id @@ -1273,8 +1270,7 @@ module Google # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger] attr_accessor :job_trigger - # The geographic location to store the job trigger. Reserved for - # future extensions. + # Deprecated. This field has no effect. # Corresponds to the JSON property `locationId` # @return [String] attr_accessor :location_id @@ -1310,8 +1306,7 @@ module Google # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig] attr_accessor :config - # The geographic location to store the stored infoType. Reserved for - # future extensions. + # Deprecated. This field has no effect. # Corresponds to the JSON property `locationId` # @return [String] attr_accessor :location_id @@ -1835,8 +1830,7 @@ module Google # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem] attr_accessor :item - # The geographic location to process de-identification. Reserved for future - # extensions. + # Deprecated. This field has no effect. # Corresponds to the JSON property `locationId` # @return [String] attr_accessor :location_id @@ -3314,10 +3308,7 @@ module Google # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem] attr_accessor :item - # The geographic location to process content inspection. Reserved for future - # extensions. - # When inspecting images location is restricted to 'global', 'us', 'asia', - # and 'europe'. + # Deprecated. This field has no effect. # Corresponds to the JSON property `locationId` # @return [String] attr_accessor :location_id @@ -5262,9 +5253,7 @@ module Google # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig] attr_accessor :inspect_config - # The geographic location to process the request. Reserved for future - # extensions. - # Location is restricted to 'global', 'us', 'asia', and 'europe'. + # Deprecated. This field has no effect. # Corresponds to the JSON property `locationId` # @return [String] attr_accessor :location_id @@ -5370,8 +5359,7 @@ module Google # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem] attr_accessor :item - # The geographic location to process content reidentification. Reserved for - # future extensions. + # Deprecated. This field has no effect. # Corresponds to the JSON property `locationId` # @return [String] attr_accessor :location_id diff --git a/generated/google/apis/dlp_v2/service.rb b/generated/google/apis/dlp_v2/service.rb index 81cb6f0e4..247ea405c 100644 --- a/generated/google/apis/dlp_v2/service.rb +++ b/generated/google/apis/dlp_v2/service.rb @@ -60,8 +60,9 @@ module Google # names. If omitted, or if localized strings are not available, # en-US strings will be returned. # @param [String] location_id - # The geographic location to list info types. Reserved for future - # extensions. + # Deprecated. This field has no effect. + # @param [String] parent + # The parent resource name, for example locations/`location_id`. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -79,13 +80,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_info_types(filter: nil, language_code: nil, location_id: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_info_types(filter: nil, language_code: nil, location_id: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/infoTypes', options) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse command.query['filter'] = filter unless filter.nil? command.query['languageCode'] = language_code unless language_code.nil? command.query['locationId'] = location_id unless location_id.nil? + command.query['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -94,9 +96,8 @@ module Google # Returns a list of the sensitive information types that the DLP API # supports. See https://cloud.google.com/dlp/docs/infotypes-reference to # learn more. - # @param [String] location_id - # The geographic location to list info types. Reserved for future - # extensions. + # @param [String] parent + # The parent resource name, for example locations/`location_id`. # @param [String] filter # filter to only return infoTypes supported by certain parts of the # API. Defaults to supported_by=INSPECT. @@ -104,6 +105,8 @@ module Google # BCP-47 language code for localized infoType friendly # names. If omitted, or if localized strings are not available, # en-US strings will be returned. + # @param [String] location_id + # Deprecated. This field has no effect. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -121,13 +124,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_location_info_types(location_id, filter: nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/locations/{locationId}/infoTypes', options) + def list_location_info_types(parent, filter: nil, language_code: nil, location_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/infoTypes', options) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse - command.params['locationId'] = location_id unless location_id.nil? + command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['languageCode'] = language_code unless language_code.nil? + command.query['locationId'] = location_id unless location_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -247,8 +251,7 @@ module Google # Required. The parent resource name, for example projects/my-project-id or # organizations/my-org-id. # @param [String] location_id - # The geographic location where deidentifications templates will be retrieved - # from. Use `-` for all locations. Reserved for future extensions. + # Deprecated. This field has no effect. # @param [String] order_by # Comma separated list of fields to order by, # followed by `asc` or `desc` postfix. This list is case-insensitive, @@ -445,8 +448,7 @@ module Google # Required. The parent resource name, for example projects/my-project-id or # organizations/my-org-id. # @param [String] location_id - # The geographic location where inspection templates will be retrieved from. - # Use `-` for all locations. Reserved for future extensions. + # Deprecated. This field has no effect. # @param [String] order_by # Comma separated list of fields to order by, # followed by `asc` or `desc` postfix. This list is case-insensitive, @@ -538,9 +540,6 @@ module Google # @param [String] parent # Required. The parent resource name, for example projects/my-project-id or # organizations/my-org-id. - # @param [String] location_id - # The geographic location to store the deidentification template. Reserved - # for future extensions. # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -559,14 +558,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_organization_location_deidentify_template(parent, location_id, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/deidentifyTemplates', options) + def create_organization_location_deidentify_template(parent, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/{+parent}/deidentifyTemplates', options) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest::Representation command.request_object = google_privacy_dlp_v2_create_deidentify_template_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate command.params['parent'] = parent unless parent.nil? - command.params['locationId'] = location_id unless location_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -649,8 +647,7 @@ module Google # Required. The parent resource name, for example projects/my-project-id or # organizations/my-org-id. # @param [String] location_id - # The geographic location where deidentifications templates will be retrieved - # from. Use `-` for all locations. Reserved for future extensions. + # Deprecated. This field has no effect. # @param [String] order_by # Comma separated list of fields to order by, # followed by `asc` or `desc` postfix. This list is case-insensitive, @@ -685,12 +682,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_organization_location_deidentify_templates(parent, location_id, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}/locations/{locationId}/deidentifyTemplates', options) + def list_organization_location_deidentify_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/deidentifyTemplates', options) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse command.params['parent'] = parent unless parent.nil? - command.params['locationId'] = location_id unless location_id.nil? + command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -743,9 +740,6 @@ module Google # @param [String] parent # Required. The parent resource name, for example projects/my-project-id or # organizations/my-org-id. - # @param [String] location_id - # The geographic location to store the inspection template. Reserved for - # future extensions. # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -764,14 +758,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_organization_location_inspect_template(parent, location_id, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/inspectTemplates', options) + def create_organization_location_inspect_template(parent, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/{+parent}/inspectTemplates', options) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest::Representation command.request_object = google_privacy_dlp_v2_create_inspect_template_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate command.params['parent'] = parent unless parent.nil? - command.params['locationId'] = location_id unless location_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -851,8 +844,7 @@ module Google # Required. The parent resource name, for example projects/my-project-id or # organizations/my-org-id. # @param [String] location_id - # The geographic location where inspection templates will be retrieved from. - # Use `-` for all locations. Reserved for future extensions. + # Deprecated. This field has no effect. # @param [String] order_by # Comma separated list of fields to order by, # followed by `asc` or `desc` postfix. This list is case-insensitive, @@ -887,12 +879,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_organization_location_inspect_templates(parent, location_id, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}/locations/{locationId}/inspectTemplates', options) + def list_organization_location_inspect_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/inspectTemplates', options) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse command.params['parent'] = parent unless parent.nil? - command.params['locationId'] = location_id unless location_id.nil? + command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -943,9 +935,6 @@ module Google # @param [String] parent # Required. The parent resource name, for example projects/my-project-id or # organizations/my-org-id. - # @param [String] location_id - # The geographic location to store the stored infoType. Reserved for - # future extensions. # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -964,14 +953,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_organization_location_stored_info_type(parent, location_id, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/storedInfoTypes', options) + def create_organization_location_stored_info_type(parent, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/{+parent}/storedInfoTypes', options) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest::Representation command.request_object = google_privacy_dlp_v2_create_stored_info_type_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType command.params['parent'] = parent unless parent.nil? - command.params['locationId'] = location_id unless location_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -1053,8 +1041,7 @@ module Google # Required. The parent resource name, for example projects/my-project-id or # organizations/my-org-id. # @param [String] location_id - # The geographic location where stored infoTypes will be retrieved from. - # Use `-` for all locations. Reserved for future extensions. + # Deprecated. This field has no effect. # @param [String] order_by # Comma separated list of fields to order by, # followed by `asc` or `desc` postfix. This list is case-insensitive, @@ -1090,12 +1077,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_organization_location_stored_info_types(parent, location_id, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}/locations/{locationId}/storedInfoTypes', options) + def list_organization_location_stored_info_types(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/storedInfoTypes', options) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse command.params['parent'] = parent unless parent.nil? - command.params['locationId'] = location_id unless location_id.nil? + command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -1254,8 +1241,7 @@ module Google # Required. The parent resource name, for example projects/my-project-id or # organizations/my-org-id. # @param [String] location_id - # The geographic location where stored infoTypes will be retrieved from. - # Use `-` for all locations. Reserved for future extensions. + # Deprecated. This field has no effect. # @param [String] order_by # Comma separated list of fields to order by, # followed by `asc` or `desc` postfix. This list is case-insensitive, @@ -1572,8 +1558,7 @@ module Google # Required. The parent resource name, for example projects/my-project-id or # organizations/my-org-id. # @param [String] location_id - # The geographic location where deidentifications templates will be retrieved - # from. Use `-` for all locations. Reserved for future extensions. + # Deprecated. This field has no effect. # @param [String] order_by # Comma separated list of fields to order by, # followed by `asc` or `desc` postfix. This list is case-insensitive, @@ -1831,8 +1816,7 @@ module Google # * end_time > \"2017-12-12T00:00:00+00:00\" # The length of this field should be no more than 500 characters. # @param [String] location_id - # The geographic location where jobs will be retrieved from. - # Use `-` for all locations. Reserved for future extensions. + # Deprecated. This field has no effect. # @param [String] order_by # Comma separated list of fields to order by, # followed by `asc` or `desc` postfix. This list is case-insensitive, @@ -2032,8 +2016,7 @@ module Google # Required. The parent resource name, for example projects/my-project-id or # organizations/my-org-id. # @param [String] location_id - # The geographic location where inspection templates will be retrieved from. - # Use `-` for all locations. Reserved for future extensions. + # Deprecated. This field has no effect. # @param [String] order_by # Comma separated list of fields to order by, # followed by `asc` or `desc` postfix. This list is case-insensitive, @@ -2277,8 +2260,7 @@ module Google # * last_run_time > \"2017-12-12T00:00:00+00:00\" # The length of this field should be no more than 500 characters. # @param [String] location_id - # The geographic location where job triggers will be retrieved from. - # Use `-` for all locations. Reserved for future extensions. + # Deprecated. This field has no effect. # @param [String] order_by # Comma separated list of triggeredJob fields to order by, # followed by `asc` or `desc` postfix. This list is case-insensitive, @@ -2374,9 +2356,6 @@ module Google # be all types, but may change over time as detectors are updated. # @param [String] parent # The parent resource name, for example projects/my-project-id. - # @param [String] location_id - # The geographic location to process de-identification. Reserved for future - # extensions. # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest] google_privacy_dlp_v2_deidentify_content_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2395,14 +2374,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def deidentify_project_location_content(parent, location_id, google_privacy_dlp_v2_deidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/content:deidentify', options) + def deidentify_project_location_content(parent, google_privacy_dlp_v2_deidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/{+parent}/content:deidentify', options) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest::Representation command.request_object = google_privacy_dlp_v2_deidentify_content_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse command.params['parent'] = parent unless parent.nil? - command.params['locationId'] = location_id unless location_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -2417,11 +2395,6 @@ module Google # and https://cloud.google.com/dlp/docs/inspecting-text, # @param [String] parent # The parent resource name, for example projects/my-project-id. - # @param [String] location_id - # The geographic location to process content inspection. Reserved for future - # extensions. - # When inspecting images location is restricted to 'global', 'us', 'asia', - # and 'europe'. # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentRequest] google_privacy_dlp_v2_inspect_content_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2440,14 +2413,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def inspect_project_location_content(parent, location_id, google_privacy_dlp_v2_inspect_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/content:inspect', options) + def inspect_project_location_content(parent, google_privacy_dlp_v2_inspect_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/{+parent}/content:inspect', options) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentRequest::Representation command.request_object = google_privacy_dlp_v2_inspect_content_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentResponse command.params['parent'] = parent unless parent.nil? - command.params['locationId'] = location_id unless location_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -2460,9 +2432,6 @@ module Google # to learn more. # @param [String] parent # Required. The parent resource name. - # @param [String] location_id - # The geographic location to process content reidentification. Reserved for - # future extensions. # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest] google_privacy_dlp_v2_reidentify_content_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2481,14 +2450,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def reidentify_project_location_content(parent, location_id, google_privacy_dlp_v2_reidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/content:reidentify', options) + def reidentify_project_location_content(parent, google_privacy_dlp_v2_reidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/{+parent}/content:reidentify', options) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest::Representation command.request_object = google_privacy_dlp_v2_reidentify_content_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentResponse command.params['parent'] = parent unless parent.nil? - command.params['locationId'] = location_id unless location_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -2501,9 +2469,6 @@ module Google # @param [String] parent # Required. The parent resource name, for example projects/my-project-id or # organizations/my-org-id. - # @param [String] location_id - # The geographic location to store the deidentification template. Reserved - # for future extensions. # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2522,14 +2487,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_location_deidentify_template(parent, location_id, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/deidentifyTemplates', options) + def create_project_location_deidentify_template(parent, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/{+parent}/deidentifyTemplates', options) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest::Representation command.request_object = google_privacy_dlp_v2_create_deidentify_template_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate command.params['parent'] = parent unless parent.nil? - command.params['locationId'] = location_id unless location_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -2612,8 +2576,7 @@ module Google # Required. The parent resource name, for example projects/my-project-id or # organizations/my-org-id. # @param [String] location_id - # The geographic location where deidentifications templates will be retrieved - # from. Use `-` for all locations. Reserved for future extensions. + # Deprecated. This field has no effect. # @param [String] order_by # Comma separated list of fields to order by, # followed by `asc` or `desc` postfix. This list is case-insensitive, @@ -2648,12 +2611,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_deidentify_templates(parent, location_id, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}/locations/{locationId}/deidentifyTemplates', options) + def list_project_location_deidentify_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/deidentifyTemplates', options) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse command.params['parent'] = parent unless parent.nil? - command.params['locationId'] = location_id unless location_id.nil? + command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -2745,9 +2708,6 @@ module Google # be all types, but may change over time as detectors are updated. # @param [String] parent # Required. The parent resource name, for example projects/my-project-id. - # @param [String] location_id - # The geographic location to store and process the job. Reserved for - # future extensions. # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest] google_privacy_dlp_v2_create_dlp_job_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2766,14 +2726,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_location_dlp_job(parent, location_id, google_privacy_dlp_v2_create_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/dlpJobs', options) + def create_project_location_dlp_job(parent, google_privacy_dlp_v2_create_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/{+parent}/dlpJobs', options) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest::Representation command.request_object = google_privacy_dlp_v2_create_dlp_job_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob command.params['parent'] = parent unless parent.nil? - command.params['locationId'] = location_id unless location_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -2926,9 +2885,6 @@ module Google # https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. # @param [String] parent # Required. The parent resource name, for example projects/my-project-id. - # @param [String] location_id - # The geographic location where jobs will be retrieved from. - # Use `-` for all locations. Reserved for future extensions. # @param [String] filter # Allows filtering. # Supported syntax: @@ -2953,6 +2909,8 @@ module Google # * inspected_storage = cloud_storage AND (state = done OR state = canceled) # * end_time > \"2017-12-12T00:00:00+00:00\" # The length of this field should be no more than 500 characters. + # @param [String] location_id + # Deprecated. This field has no effect. # @param [String] order_by # Comma separated list of fields to order by, # followed by `asc` or `desc` postfix. This list is case-insensitive, @@ -2987,13 +2945,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_dlp_jobs(parent, location_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}/locations/{locationId}/dlpJobs', options) + def list_project_location_dlp_jobs(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/dlpJobs', options) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse command.params['parent'] = parent unless parent.nil? - command.params['locationId'] = location_id unless location_id.nil? command.query['filter'] = filter unless filter.nil? + command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -3012,10 +2970,6 @@ module Google # be all types, but may change over time as detectors are updated. # @param [String] parent # The parent resource name, for example projects/my-project-id. - # @param [String] location_id - # The geographic location to process the request. Reserved for future - # extensions. - # Location is restricted to 'global', 'us', 'asia', and 'europe'. # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest] google_privacy_dlp_v2_redact_image_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -3034,14 +2988,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def redact_project_location_image(parent, location_id, google_privacy_dlp_v2_redact_image_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/image:redact', options) + def redact_project_location_image(parent, google_privacy_dlp_v2_redact_image_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/{+parent}/image:redact', options) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest::Representation command.request_object = google_privacy_dlp_v2_redact_image_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse command.params['parent'] = parent unless parent.nil? - command.params['locationId'] = location_id unless location_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -3053,9 +3006,6 @@ module Google # @param [String] parent # Required. The parent resource name, for example projects/my-project-id or # organizations/my-org-id. - # @param [String] location_id - # The geographic location to store the inspection template. Reserved for - # future extensions. # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -3074,14 +3024,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_location_inspect_template(parent, location_id, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/inspectTemplates', options) + def create_project_location_inspect_template(parent, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/{+parent}/inspectTemplates', options) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest::Representation command.request_object = google_privacy_dlp_v2_create_inspect_template_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate command.params['parent'] = parent unless parent.nil? - command.params['locationId'] = location_id unless location_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -3161,8 +3110,7 @@ module Google # Required. The parent resource name, for example projects/my-project-id or # organizations/my-org-id. # @param [String] location_id - # The geographic location where inspection templates will be retrieved from. - # Use `-` for all locations. Reserved for future extensions. + # Deprecated. This field has no effect. # @param [String] order_by # Comma separated list of fields to order by, # followed by `asc` or `desc` postfix. This list is case-insensitive, @@ -3197,12 +3145,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_inspect_templates(parent, location_id, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}/locations/{locationId}/inspectTemplates', options) + def list_project_location_inspect_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/inspectTemplates', options) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse command.params['parent'] = parent unless parent.nil? - command.params['locationId'] = location_id unless location_id.nil? + command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -3287,9 +3235,6 @@ module Google # See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. # @param [String] parent # Required. The parent resource name, for example projects/my-project-id. - # @param [String] location_id - # The geographic location to store the job trigger. Reserved for - # future extensions. # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest] google_privacy_dlp_v2_create_job_trigger_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -3308,14 +3253,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_location_job_trigger(parent, location_id, google_privacy_dlp_v2_create_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/jobTriggers', options) + def create_project_location_job_trigger(parent, google_privacy_dlp_v2_create_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/{+parent}/jobTriggers', options) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest::Representation command.request_object = google_privacy_dlp_v2_create_job_trigger_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger command.params['parent'] = parent unless parent.nil? - command.params['locationId'] = location_id unless location_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -3429,9 +3373,6 @@ module Google # See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. # @param [String] parent # Required. The parent resource name, for example `projects/my-project-id`. - # @param [String] location_id - # The geographic location where job triggers will be retrieved from. - # Use `-` for all locations. Reserved for future extensions. # @param [String] filter # Allows filtering. # Supported syntax: @@ -3452,6 +3393,8 @@ module Google # * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) # * last_run_time > \"2017-12-12T00:00:00+00:00\" # The length of this field should be no more than 500 characters. + # @param [String] location_id + # Deprecated. This field has no effect. # @param [String] order_by # Comma separated list of triggeredJob fields to order by, # followed by `asc` or `desc` postfix. This list is case-insensitive, @@ -3488,13 +3431,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_job_triggers(parent, location_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}/locations/{locationId}/jobTriggers', options) + def list_project_location_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/jobTriggers', options) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse command.params['parent'] = parent unless parent.nil? - command.params['locationId'] = location_id unless location_id.nil? command.query['filter'] = filter unless filter.nil? + command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -3544,9 +3487,6 @@ module Google # @param [String] parent # Required. The parent resource name, for example projects/my-project-id or # organizations/my-org-id. - # @param [String] location_id - # The geographic location to store the stored infoType. Reserved for - # future extensions. # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -3565,14 +3505,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_location_stored_info_type(parent, location_id, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/storedInfoTypes', options) + def create_project_location_stored_info_type(parent, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/{+parent}/storedInfoTypes', options) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest::Representation command.request_object = google_privacy_dlp_v2_create_stored_info_type_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType command.params['parent'] = parent unless parent.nil? - command.params['locationId'] = location_id unless location_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -3654,8 +3593,7 @@ module Google # Required. The parent resource name, for example projects/my-project-id or # organizations/my-org-id. # @param [String] location_id - # The geographic location where stored infoTypes will be retrieved from. - # Use `-` for all locations. Reserved for future extensions. + # Deprecated. This field has no effect. # @param [String] order_by # Comma separated list of fields to order by, # followed by `asc` or `desc` postfix. This list is case-insensitive, @@ -3691,12 +3629,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_stored_info_types(parent, location_id, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}/locations/{locationId}/storedInfoTypes', options) + def list_project_location_stored_info_types(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/storedInfoTypes', options) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse command.params['parent'] = parent unless parent.nil? - command.params['locationId'] = location_id unless location_id.nil? + command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -3855,8 +3793,7 @@ module Google # Required. The parent resource name, for example projects/my-project-id or # organizations/my-org-id. # @param [String] location_id - # The geographic location where stored infoTypes will be retrieved from. - # Use `-` for all locations. Reserved for future extensions. + # Deprecated. This field has no effect. # @param [String] order_by # Comma separated list of fields to order by, # followed by `asc` or `desc` postfix. This list is case-insensitive, diff --git a/generated/google/apis/securitycenter_v1.rb b/generated/google/apis/securitycenter_v1.rb index be0501dd3..bf852d1b8 100644 --- a/generated/google/apis/securitycenter_v1.rb +++ b/generated/google/apis/securitycenter_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview module SecuritycenterV1 VERSION = 'V1' - REVISION = '20200410' + REVISION = '20200519' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/securitycenter_v1/classes.rb b/generated/google/apis/securitycenter_v1/classes.rb index 846067cf0..5ca00b582 100644 --- a/generated/google/apis/securitycenter_v1/classes.rb +++ b/generated/google/apis/securitycenter_v1/classes.rb @@ -531,6 +531,9 @@ module Google # Requests for policies with any conditional bindings must specify version 3. # Policies without any conditional bindings may specify any valid value or # leave the field unset. + # To learn which resources support conditions in their IAM policies, see the + # [IAM + # documentation](https://cloud.google.com/iam/help/conditions/resource-policies). # Corresponds to the JSON property `requestedPolicyVersion` # @return [Fixnum] attr_accessor :requested_policy_version @@ -1795,10 +1798,13 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the - # request, the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a + # `condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the + # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- + # policies). # **JSON example:** # ` # "bindings": [ @@ -1813,7 +1819,9 @@ module Google # `, # ` # "role": "roles/resourcemanager.organizationViewer", - # "members": ["user:eve@example.com"], + # "members": [ + # "user:eve@example.com" + # ], # "condition": ` # "title": "expirable access", # "description": "Does not grant access after Sep 2020", @@ -1891,6 +1899,9 @@ module Google # the conditions in the version `3` policy are lost. # If a policy does not include any conditions, operations on that policy may # specify any valid version or leave the field unset. + # To learn which resources support conditions in their IAM policies, see the + # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- + # policies). # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -2110,10 +2121,13 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the - # request, the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a + # `condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the + # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- + # policies). # **JSON example:** # ` # "bindings": [ @@ -2128,7 +2142,9 @@ module Google # `, # ` # "role": "roles/resourcemanager.organizationViewer", - # "members": ["user:eve@example.com"], + # "members": [ + # "user:eve@example.com" + # ], # "condition": ` # "title": "expirable access", # "description": "Does not grant access after Sep 2020", @@ -2166,8 +2182,7 @@ module Google # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only # the fields in the mask will be modified. If no mask is provided, the # following default mask is used: - # paths: "bindings, etag" - # This field is only used by Cloud IAM. + # `paths: "bindings, etag"` # Corresponds to the JSON property `updateMask` # @return [String] attr_accessor :update_mask diff --git a/generated/google/apis/securitycenter_v1beta1.rb b/generated/google/apis/securitycenter_v1beta1.rb index dc00a0c82..08c8830d2 100644 --- a/generated/google/apis/securitycenter_v1beta1.rb +++ b/generated/google/apis/securitycenter_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview module SecuritycenterV1beta1 VERSION = 'V1beta1' - REVISION = '20200410' + REVISION = '20200519' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/securitycenter_v1beta1/classes.rb b/generated/google/apis/securitycenter_v1beta1/classes.rb index 157d49ebd..a153f65a5 100644 --- a/generated/google/apis/securitycenter_v1beta1/classes.rb +++ b/generated/google/apis/securitycenter_v1beta1/classes.rb @@ -535,6 +535,9 @@ module Google # Requests for policies with any conditional bindings must specify version 3. # Policies without any conditional bindings may specify any valid value or # leave the field unset. + # To learn which resources support conditions in their IAM policies, see the + # [IAM + # documentation](https://cloud.google.com/iam/help/conditions/resource-policies). # Corresponds to the JSON property `requestedPolicyVersion` # @return [Fixnum] attr_accessor :requested_policy_version @@ -1703,10 +1706,13 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the - # request, the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a + # `condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the + # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- + # policies). # **JSON example:** # ` # "bindings": [ @@ -1721,7 +1727,9 @@ module Google # `, # ` # "role": "roles/resourcemanager.organizationViewer", - # "members": ["user:eve@example.com"], + # "members": [ + # "user:eve@example.com" + # ], # "condition": ` # "title": "expirable access", # "description": "Does not grant access after Sep 2020", @@ -1799,6 +1807,9 @@ module Google # the conditions in the version `3` policy are lost. # If a policy does not include any conditions, operations on that policy may # specify any valid version or leave the field unset. + # To learn which resources support conditions in their IAM policies, see the + # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- + # policies). # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -1955,10 +1966,13 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the - # request, the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a + # `condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the + # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- + # policies). # **JSON example:** # ` # "bindings": [ @@ -1973,7 +1987,9 @@ module Google # `, # ` # "role": "roles/resourcemanager.organizationViewer", - # "members": ["user:eve@example.com"], + # "members": [ + # "user:eve@example.com" + # ], # "condition": ` # "title": "expirable access", # "description": "Does not grant access after Sep 2020", @@ -2011,8 +2027,7 @@ module Google # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only # the fields in the mask will be modified. If no mask is provided, the # following default mask is used: - # paths: "bindings, etag" - # This field is only used by Cloud IAM. + # `paths: "bindings, etag"` # Corresponds to the JSON property `updateMask` # @return [String] attr_accessor :update_mask diff --git a/generated/google/apis/securitycenter_v1p1beta1.rb b/generated/google/apis/securitycenter_v1p1beta1.rb index 94b8581ef..75734dd42 100644 --- a/generated/google/apis/securitycenter_v1p1beta1.rb +++ b/generated/google/apis/securitycenter_v1p1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview module SecuritycenterV1p1beta1 VERSION = 'V1p1beta1' - REVISION = '20200410' + REVISION = '20200519' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/securitycenter_v1p1beta1/classes.rb b/generated/google/apis/securitycenter_v1p1beta1/classes.rb index e89ac76e3..c2a51b305 100644 --- a/generated/google/apis/securitycenter_v1p1beta1/classes.rb +++ b/generated/google/apis/securitycenter_v1p1beta1/classes.rb @@ -459,6 +459,9 @@ module Google # Requests for policies with any conditional bindings must specify version 3. # Policies without any conditional bindings may specify any valid value or # leave the field unset. + # To learn which resources support conditions in their IAM policies, see the + # [IAM + # documentation](https://cloud.google.com/iam/help/conditions/resource-policies). # Corresponds to the JSON property `requestedPolicyVersion` # @return [Fixnum] attr_accessor :requested_policy_version @@ -1705,10 +1708,13 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the - # request, the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a + # `condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the + # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- + # policies). # **JSON example:** # ` # "bindings": [ @@ -1723,7 +1729,9 @@ module Google # `, # ` # "role": "roles/resourcemanager.organizationViewer", - # "members": ["user:eve@example.com"], + # "members": [ + # "user:eve@example.com" + # ], # "condition": ` # "title": "expirable access", # "description": "Does not grant access after Sep 2020", @@ -1801,6 +1809,9 @@ module Google # the conditions in the version `3` policy are lost. # If a policy does not include any conditions, operations on that policy may # specify any valid version or leave the field unset. + # To learn which resources support conditions in their IAM policies, see the + # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- + # policies). # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -1951,10 +1962,13 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the - # request, the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a + # `condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the + # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- + # policies). # **JSON example:** # ` # "bindings": [ @@ -1969,7 +1983,9 @@ module Google # `, # ` # "role": "roles/resourcemanager.organizationViewer", - # "members": ["user:eve@example.com"], + # "members": [ + # "user:eve@example.com" + # ], # "condition": ` # "title": "expirable access", # "description": "Does not grant access after Sep 2020", @@ -2007,8 +2023,7 @@ module Google # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only # the fields in the mask will be modified. If no mask is provided, the # following default mask is used: - # paths: "bindings, etag" - # This field is only used by Cloud IAM. + # `paths: "bindings, etag"` # Corresponds to the JSON property `updateMask` # @return [String] attr_accessor :update_mask diff --git a/generated/google/apis/servicenetworking_v1.rb b/generated/google/apis/servicenetworking_v1.rb index 98561b56f..1f00b4453 100644 --- a/generated/google/apis/servicenetworking_v1.rb +++ b/generated/google/apis/servicenetworking_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started module ServicenetworkingV1 VERSION = 'V1' - REVISION = '20200516' + REVISION = '20200519' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/servicenetworking_v1/classes.rb b/generated/google/apis/servicenetworking_v1/classes.rb index 3e6c514b4..ddc7edc02 100644 --- a/generated/google/apis/servicenetworking_v1/classes.rb +++ b/generated/google/apis/servicenetworking_v1/classes.rb @@ -22,6 +22,137 @@ module Google module Apis module ServicenetworkingV1 + # Metadata provided through GetOperation request for the LRO generated by + # AddDnsRecordSet API + class AddDnsRecordSetMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Request to add a record set to a private managed DNS zone in the shared + # producer host project. + class AddDnsRecordSetRequest + include Google::Apis::Core::Hashable + + # Required. The network that the consumer is using to connect with services. + # Must be in the form of projects/`project`/global/networks/`network` + # `project` is the project number, as in '12345' + # `network` is the network name. + # Corresponds to the JSON property `consumerNetwork` + # @return [String] + attr_accessor :consumer_network + + # Represents a DNS record set resource. + # Corresponds to the JSON property `dnsRecordSet` + # @return [Google::Apis::ServicenetworkingV1::DnsRecordSet] + attr_accessor :dns_record_set + + # Required. The name of the private DNS zone in the shared producer host project + # to + # which the record set will be added. + # Corresponds to the JSON property `zone` + # @return [String] + attr_accessor :zone + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @consumer_network = args[:consumer_network] if args.key?(:consumer_network) + @dns_record_set = args[:dns_record_set] if args.key?(:dns_record_set) + @zone = args[:zone] if args.key?(:zone) + end + end + + # Metadata provided through GetOperation request for the LRO generated by + # AddDnsZone API + class AddDnsZoneMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Request to add a private managed DNS zone in the shared producer host project + # and a matching DNS peering zone in the consumer project. + class AddDnsZoneRequest + include Google::Apis::Core::Hashable + + # Required. The network that the consumer is using to connect with services. + # Must be in the form of projects/`project`/global/networks/`network` + # `project` is the project number, as in '12345' + # `network` is the network name. + # Corresponds to the JSON property `consumerNetwork` + # @return [String] + attr_accessor :consumer_network + + # Required. The DNS name suffix for the zones e.g. `example.com`. + # Corresponds to the JSON property `dnsSuffix` + # @return [String] + attr_accessor :dns_suffix + + # Required. The name for both the private zone in the shared producer host + # project and + # the peering zone in the consumer project. Must be unique within both + # projects. The name must be 1-63 characters long, must begin with a letter, + # end with a letter or digit, and only contain lowercase letters, digits or + # dashes. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @consumer_network = args[:consumer_network] if args.key?(:consumer_network) + @dns_suffix = args[:dns_suffix] if args.key?(:dns_suffix) + @name = args[:name] if args.key?(:name) + end + end + + # Represents managed DNS zones created in the shared producer host and consumer + # projects. + class AddDnsZoneResponse + include Google::Apis::Core::Hashable + + # Represents a DNS zone resource. + # Corresponds to the JSON property `consumerPeeringZone` + # @return [Google::Apis::ServicenetworkingV1::DnsZone] + attr_accessor :consumer_peering_zone + + # Represents a DNS zone resource. + # Corresponds to the JSON property `producerPrivateZone` + # @return [Google::Apis::ServicenetworkingV1::DnsZone] + attr_accessor :producer_private_zone + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @consumer_peering_zone = args[:consumer_peering_zone] if args.key?(:consumer_peering_zone) + @producer_private_zone = args[:producer_private_zone] if args.key?(:producer_private_zone) + end + end + # Metadata provided through GetOperation request for the LRO generated by # AddRoles API class AddRolesMetadata @@ -1011,6 +1142,72 @@ module Google end end + # Represents a DNS record set resource. + class DnsRecordSet + include Google::Apis::Core::Hashable + + # Required. As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) for + # examples see https://cloud.google.com/dns/records/json-record. + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # Required. The DNS or domain name of the record set, e.g. `test.example.com`. + # Corresponds to the JSON property `domain` + # @return [String] + attr_accessor :domain + + # Required. The period of time for which this RecordSet can be cached by + # resolvers. + # Corresponds to the JSON property `ttl` + # @return [String] + attr_accessor :ttl + + # Required. The identifier of a supported record type. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data = args[:data] if args.key?(:data) + @domain = args[:domain] if args.key?(:domain) + @ttl = args[:ttl] if args.key?(:ttl) + @type = args[:type] if args.key?(:type) + end + end + + # Represents a DNS zone resource. + class DnsZone + include Google::Apis::Core::Hashable + + # The DNS name suffix of this zone e.g. `example.com.`. + # Corresponds to the JSON property `dnsSuffix` + # @return [String] + attr_accessor :dns_suffix + + # User assigned name for this resource. Must be unique within the project. + # The name must be 1-63 characters long, must begin with a letter, end with + # a letter or digit, and only contain lowercase letters, digits or dashes. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dns_suffix = args[:dns_suffix] if args.key?(:dns_suffix) + @name = args[:name] if args.key?(:name) + end + end + # `Documentation` provides the information for describing a service. # Example: #
documentation:
@@ -3074,6 +3271,129 @@ module Google
         end
       end
       
+      # Metadata provided through GetOperation request for the LRO generated by
+      # RemoveDnsRecordSet API
+      class RemoveDnsRecordSetMetadata
+        include Google::Apis::Core::Hashable
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+        end
+      end
+      
+      # Request to remove a record set from a private managed DNS zone in the shared
+      # producer host project. The name, type, ttl, and data values must all exactly
+      # match an existing record set in the specified zone.
+      class RemoveDnsRecordSetRequest
+        include Google::Apis::Core::Hashable
+      
+        # Required. The network that the consumer is using to connect with services.
+        # Must be in the form of projects/`project`/global/networks/`network`
+        # `project` is the project number, as in '12345'
+        # `network` is the network name.
+        # Corresponds to the JSON property `consumerNetwork`
+        # @return [String]
+        attr_accessor :consumer_network
+      
+        # Represents a DNS record set resource.
+        # Corresponds to the JSON property `dnsRecordSet`
+        # @return [Google::Apis::ServicenetworkingV1::DnsRecordSet]
+        attr_accessor :dns_record_set
+      
+        # Required. The name of the private DNS zone in the shared producer host project
+        # from
+        # which the record set will be removed.
+        # Corresponds to the JSON property `zone`
+        # @return [String]
+        attr_accessor :zone
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @consumer_network = args[:consumer_network] if args.key?(:consumer_network)
+          @dns_record_set = args[:dns_record_set] if args.key?(:dns_record_set)
+          @zone = args[:zone] if args.key?(:zone)
+        end
+      end
+      
+      # Blank message response type for RemoveDnsRecordSet API
+      class RemoveDnsRecordSetResponse
+        include Google::Apis::Core::Hashable
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+        end
+      end
+      
+      # Metadata provided through GetOperation request for the LRO generated by
+      # RemoveDnsZone API
+      class RemoveDnsZoneMetadata
+        include Google::Apis::Core::Hashable
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+        end
+      end
+      
+      # Request to remove a private managed DNS zone in the shared producer host
+      # project and a matching DNS peering zone in the consumer project.
+      class RemoveDnsZoneRequest
+        include Google::Apis::Core::Hashable
+      
+        # Required. The network that the consumer is using to connect with services.
+        # Must be in the form of projects/`project`/global/networks/`network`
+        # `project` is the project number, as in '12345'
+        # `network` is the network name.
+        # Corresponds to the JSON property `consumerNetwork`
+        # @return [String]
+        attr_accessor :consumer_network
+      
+        # Required. The name for both the private zone in the shared producer host
+        # project and
+        # the peering zone in the consumer project.
+        # Corresponds to the JSON property `name`
+        # @return [String]
+        attr_accessor :name
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @consumer_network = args[:consumer_network] if args.key?(:consumer_network)
+          @name = args[:name] if args.key?(:name)
+        end
+      end
+      
+      # Blank message response type for RemoveDnsZone API
+      class RemoveDnsZoneResponse
+        include Google::Apis::Core::Hashable
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+        end
+      end
+      
       # Represents a route that was created or discovered by a private access
       # management service.
       class Route
@@ -3928,6 +4248,65 @@ module Google
         end
       end
       
+      # Metadata provided through GetOperation request for the LRO generated by
+      # UpdateDnsRecordSet API
+      class UpdateDnsRecordSetMetadata
+        include Google::Apis::Core::Hashable
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+        end
+      end
+      
+      # Request to update a record set from a private managed DNS zone in the shared
+      # producer host project. The name, type, ttl, and data values of the existing
+      # record set must all exactly match an existing record set in the specified
+      # zone.
+      class UpdateDnsRecordSetRequest
+        include Google::Apis::Core::Hashable
+      
+        # Required. The network that the consumer is using to connect with services.
+        # Must be in the form of projects/`project`/global/networks/`network`
+        # `project` is the project number, as in '12345'
+        # `network` is the network name.
+        # Corresponds to the JSON property `consumerNetwork`
+        # @return [String]
+        attr_accessor :consumer_network
+      
+        # Represents a DNS record set resource.
+        # Corresponds to the JSON property `existingDnsRecordSet`
+        # @return [Google::Apis::ServicenetworkingV1::DnsRecordSet]
+        attr_accessor :existing_dns_record_set
+      
+        # Represents a DNS record set resource.
+        # Corresponds to the JSON property `newDnsRecordSet`
+        # @return [Google::Apis::ServicenetworkingV1::DnsRecordSet]
+        attr_accessor :new_dns_record_set
+      
+        # Required. The name of the private DNS zone in the shared producer host project
+        # from
+        # which the record set will be removed.
+        # Corresponds to the JSON property `zone`
+        # @return [String]
+        attr_accessor :zone
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @consumer_network = args[:consumer_network] if args.key?(:consumer_network)
+          @existing_dns_record_set = args[:existing_dns_record_set] if args.key?(:existing_dns_record_set)
+          @new_dns_record_set = args[:new_dns_record_set] if args.key?(:new_dns_record_set)
+          @zone = args[:zone] if args.key?(:zone)
+        end
+      end
+      
       # Configuration controlling usage of a service.
       class Usage
         include Google::Apis::Core::Hashable
diff --git a/generated/google/apis/servicenetworking_v1/representations.rb b/generated/google/apis/servicenetworking_v1/representations.rb
index f9341e6b8..5e4a77d1b 100644
--- a/generated/google/apis/servicenetworking_v1/representations.rb
+++ b/generated/google/apis/servicenetworking_v1/representations.rb
@@ -22,6 +22,36 @@ module Google
   module Apis
     module ServicenetworkingV1
       
+      class AddDnsRecordSetMetadata
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class AddDnsRecordSetRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class AddDnsZoneMetadata
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class AddDnsZoneRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class AddDnsZoneResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
       class AddRolesMetadata
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
@@ -160,6 +190,18 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
+      class DnsRecordSet
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class DnsZone
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
       class Documentation
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
@@ -370,6 +412,42 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
+      class RemoveDnsRecordSetMetadata
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class RemoveDnsRecordSetRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class RemoveDnsRecordSetResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class RemoveDnsZoneMetadata
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class RemoveDnsZoneRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class RemoveDnsZoneResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
       class Route
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
@@ -442,6 +520,18 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
+      class UpdateDnsRecordSetMetadata
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class UpdateDnsRecordSetRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
       class Usage
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
@@ -466,6 +556,47 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
+      class AddDnsRecordSetMetadata
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+        end
+      end
+      
+      class AddDnsRecordSetRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :consumer_network, as: 'consumerNetwork'
+          property :dns_record_set, as: 'dnsRecordSet', class: Google::Apis::ServicenetworkingV1::DnsRecordSet, decorator: Google::Apis::ServicenetworkingV1::DnsRecordSet::Representation
+      
+          property :zone, as: 'zone'
+        end
+      end
+      
+      class AddDnsZoneMetadata
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+        end
+      end
+      
+      class AddDnsZoneRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :consumer_network, as: 'consumerNetwork'
+          property :dns_suffix, as: 'dnsSuffix'
+          property :name, as: 'name'
+        end
+      end
+      
+      class AddDnsZoneResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :consumer_peering_zone, as: 'consumerPeeringZone', class: Google::Apis::ServicenetworkingV1::DnsZone, decorator: Google::Apis::ServicenetworkingV1::DnsZone::Representation
+      
+          property :producer_private_zone, as: 'producerPrivateZone', class: Google::Apis::ServicenetworkingV1::DnsZone, decorator: Google::Apis::ServicenetworkingV1::DnsZone::Representation
+      
+        end
+      end
+      
       class AddRolesMetadata
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -684,6 +815,24 @@ module Google
         end
       end
       
+      class DnsRecordSet
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :data, as: 'data'
+          property :domain, as: 'domain'
+          property :ttl, as: 'ttl'
+          property :type, as: 'type'
+        end
+      end
+      
+      class DnsZone
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :dns_suffix, as: 'dnsSuffix'
+          property :name, as: 'name'
+        end
+      end
+      
       class Documentation
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -1050,6 +1199,48 @@ module Google
         end
       end
       
+      class RemoveDnsRecordSetMetadata
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+        end
+      end
+      
+      class RemoveDnsRecordSetRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :consumer_network, as: 'consumerNetwork'
+          property :dns_record_set, as: 'dnsRecordSet', class: Google::Apis::ServicenetworkingV1::DnsRecordSet, decorator: Google::Apis::ServicenetworkingV1::DnsRecordSet::Representation
+      
+          property :zone, as: 'zone'
+        end
+      end
+      
+      class RemoveDnsRecordSetResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+        end
+      end
+      
+      class RemoveDnsZoneMetadata
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+        end
+      end
+      
+      class RemoveDnsZoneRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :consumer_network, as: 'consumerNetwork'
+          property :name, as: 'name'
+        end
+      end
+      
+      class RemoveDnsZoneResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+        end
+      end
+      
       class Route
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -1206,6 +1397,24 @@ module Google
         end
       end
       
+      class UpdateDnsRecordSetMetadata
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+        end
+      end
+      
+      class UpdateDnsRecordSetRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :consumer_network, as: 'consumerNetwork'
+          property :existing_dns_record_set, as: 'existingDnsRecordSet', class: Google::Apis::ServicenetworkingV1::DnsRecordSet, decorator: Google::Apis::ServicenetworkingV1::DnsRecordSet::Representation
+      
+          property :new_dns_record_set, as: 'newDnsRecordSet', class: Google::Apis::ServicenetworkingV1::DnsRecordSet, decorator: Google::Apis::ServicenetworkingV1::DnsRecordSet::Representation
+      
+          property :zone, as: 'zone'
+        end
+      end
+      
       class Usage
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
diff --git a/generated/google/apis/servicenetworking_v1/service.rb b/generated/google/apis/servicenetworking_v1/service.rb
index 1e76f3aa6..9a518eb5b 100644
--- a/generated/google/apis/servicenetworking_v1/service.rb
+++ b/generated/google/apis/servicenetworking_v1/service.rb
@@ -530,6 +530,193 @@ module Google
           execute_or_queue_command(command, &block)
         end
         
+        # Service producers can use this method to add DNS record sets to private DNS
+        # zones in the shared producer host project.
+        # @param [String] parent
+        #   Required. The service that is managing peering connectivity for a service
+        #   producer's
+        #   organization. For Google services that support this functionality, this
+        #   value is `services/servicenetworking.googleapis.com`.
+        # @param [Google::Apis::ServicenetworkingV1::AddDnsRecordSetRequest] add_dns_record_set_request_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::ServicenetworkingV1::Operation] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::ServicenetworkingV1::Operation]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def add_dns_record_set(parent, add_dns_record_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command = make_simple_command(:post, 'v1/{+parent}/dnsRecordSets:add', options)
+          command.request_representation = Google::Apis::ServicenetworkingV1::AddDnsRecordSetRequest::Representation
+          command.request_object = add_dns_record_set_request_object
+          command.response_representation = Google::Apis::ServicenetworkingV1::Operation::Representation
+          command.response_class = Google::Apis::ServicenetworkingV1::Operation
+          command.params['parent'] = parent unless parent.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Service producers can use this method to remove DNS record sets from
+        # private DNS zones in the shared producer host project.
+        # @param [String] parent
+        #   Required. The service that is managing peering connectivity for a service
+        #   producer's
+        #   organization. For Google services that support this functionality, this
+        #   value is `services/servicenetworking.googleapis.com`.
+        # @param [Google::Apis::ServicenetworkingV1::RemoveDnsRecordSetRequest] remove_dns_record_set_request_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::ServicenetworkingV1::Operation] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::ServicenetworkingV1::Operation]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def remove_dns_record_set(parent, remove_dns_record_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command = make_simple_command(:post, 'v1/{+parent}/dnsRecordSets:remove', options)
+          command.request_representation = Google::Apis::ServicenetworkingV1::RemoveDnsRecordSetRequest::Representation
+          command.request_object = remove_dns_record_set_request_object
+          command.response_representation = Google::Apis::ServicenetworkingV1::Operation::Representation
+          command.response_class = Google::Apis::ServicenetworkingV1::Operation
+          command.params['parent'] = parent unless parent.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Service producers can use this method to update DNS record sets from
+        # private DNS zones in the shared producer host project.
+        # @param [String] parent
+        #   Required. The service that is managing peering connectivity for a service
+        #   producer's
+        #   organization. For Google services that support this functionality, this
+        #   value is `services/servicenetworking.googleapis.com`.
+        # @param [Google::Apis::ServicenetworkingV1::UpdateDnsRecordSetRequest] update_dns_record_set_request_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::ServicenetworkingV1::Operation] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::ServicenetworkingV1::Operation]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def update_dns_record_set(parent, update_dns_record_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command = make_simple_command(:post, 'v1/{+parent}/dnsRecordSets:update', options)
+          command.request_representation = Google::Apis::ServicenetworkingV1::UpdateDnsRecordSetRequest::Representation
+          command.request_object = update_dns_record_set_request_object
+          command.response_representation = Google::Apis::ServicenetworkingV1::Operation::Representation
+          command.response_class = Google::Apis::ServicenetworkingV1::Operation
+          command.params['parent'] = parent unless parent.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Service producers can use this method to add private DNS zones in the
+        # shared producer host project and matching peering zones in the consumer
+        # project.
+        # @param [String] parent
+        #   Required. The service that is managing peering connectivity for a service
+        #   producer's
+        #   organization. For Google services that support this functionality, this
+        #   value is `services/servicenetworking.googleapis.com`.
+        # @param [Google::Apis::ServicenetworkingV1::AddDnsZoneRequest] add_dns_zone_request_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::ServicenetworkingV1::Operation] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::ServicenetworkingV1::Operation]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def add_dns_zone(parent, add_dns_zone_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command = make_simple_command(:post, 'v1/{+parent}/dnsZones:add', options)
+          command.request_representation = Google::Apis::ServicenetworkingV1::AddDnsZoneRequest::Representation
+          command.request_object = add_dns_zone_request_object
+          command.response_representation = Google::Apis::ServicenetworkingV1::Operation::Representation
+          command.response_class = Google::Apis::ServicenetworkingV1::Operation
+          command.params['parent'] = parent unless parent.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Service producers can use this method to remove private DNS zones in the
+        # shared producer host project and matching peering zones in the consumer
+        # project.
+        # @param [String] parent
+        #   Required. The service that is managing peering connectivity for a service
+        #   producer's
+        #   organization. For Google services that support this functionality, this
+        #   value is `services/servicenetworking.googleapis.com`.
+        # @param [Google::Apis::ServicenetworkingV1::RemoveDnsZoneRequest] remove_dns_zone_request_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::ServicenetworkingV1::Operation] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::ServicenetworkingV1::Operation]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def remove_dns_zone(parent, remove_dns_zone_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command = make_simple_command(:post, 'v1/{+parent}/dnsZones:remove', options)
+          command.request_representation = Google::Apis::ServicenetworkingV1::RemoveDnsZoneRequest::Representation
+          command.request_object = remove_dns_zone_request_object
+          command.response_representation = Google::Apis::ServicenetworkingV1::Operation::Representation
+          command.response_class = Google::Apis::ServicenetworkingV1::Operation
+          command.params['parent'] = parent unless parent.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
         # Service producers can use this method to add roles in the shared VPC host
         # project. Each role is bound to the provided member. Each role must be
         # selected from within a whitelisted set of roles. Each role is applied at
diff --git a/generated/google/apis/servicenetworking_v1beta.rb b/generated/google/apis/servicenetworking_v1beta.rb
index 4db592587..7dc124547 100644
--- a/generated/google/apis/servicenetworking_v1beta.rb
+++ b/generated/google/apis/servicenetworking_v1beta.rb
@@ -26,7 +26,7 @@ module Google
     # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
     module ServicenetworkingV1beta
       VERSION = 'V1beta'
-      REVISION = '20200516'
+      REVISION = '20200519'
 
       # View and manage your data across Google Cloud Platform services
       AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/servicenetworking_v1beta/classes.rb b/generated/google/apis/servicenetworking_v1beta/classes.rb
index 1ac631470..f94869ead 100644
--- a/generated/google/apis/servicenetworking_v1beta/classes.rb
+++ b/generated/google/apis/servicenetworking_v1beta/classes.rb
@@ -22,6 +22,60 @@ module Google
   module Apis
     module ServicenetworkingV1beta
       
+      # Metadata provided through GetOperation request for the LRO generated by
+      # AddDnsRecordSet API
+      class AddDnsRecordSetMetadata
+        include Google::Apis::Core::Hashable
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+        end
+      end
+      
+      # Metadata provided through GetOperation request for the LRO generated by
+      # AddDnsZone API
+      class AddDnsZoneMetadata
+        include Google::Apis::Core::Hashable
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+        end
+      end
+      
+      # Represents managed DNS zones created in the shared producer host and consumer
+      # projects.
+      class AddDnsZoneResponse
+        include Google::Apis::Core::Hashable
+      
+        # Represents a DNS zone resource.
+        # Corresponds to the JSON property `consumerPeeringZone`
+        # @return [Google::Apis::ServicenetworkingV1beta::DnsZone]
+        attr_accessor :consumer_peering_zone
+      
+        # Represents a DNS zone resource.
+        # Corresponds to the JSON property `producerPrivateZone`
+        # @return [Google::Apis::ServicenetworkingV1beta::DnsZone]
+        attr_accessor :producer_private_zone
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @consumer_peering_zone = args[:consumer_peering_zone] if args.key?(:consumer_peering_zone)
+          @producer_private_zone = args[:producer_private_zone] if args.key?(:producer_private_zone)
+        end
+      end
+      
       # Metadata provided through GetOperation request for the LRO generated by
       # AddRoles API
       class AddRolesMetadata
@@ -912,6 +966,72 @@ module Google
         end
       end
       
+      # Represents a DNS record set resource.
+      class DnsRecordSet
+        include Google::Apis::Core::Hashable
+      
+        # Required. As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) for
+        # examples see https://cloud.google.com/dns/records/json-record.
+        # Corresponds to the JSON property `data`
+        # @return [Array]
+        attr_accessor :data
+      
+        # Required. The DNS or domain name of the record set, e.g. `test.example.com`.
+        # Corresponds to the JSON property `domain`
+        # @return [String]
+        attr_accessor :domain
+      
+        # Required. The period of time for which this RecordSet can be cached by
+        # resolvers.
+        # Corresponds to the JSON property `ttl`
+        # @return [String]
+        attr_accessor :ttl
+      
+        # Required. The identifier of a supported record type.
+        # Corresponds to the JSON property `type`
+        # @return [String]
+        attr_accessor :type
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @data = args[:data] if args.key?(:data)
+          @domain = args[:domain] if args.key?(:domain)
+          @ttl = args[:ttl] if args.key?(:ttl)
+          @type = args[:type] if args.key?(:type)
+        end
+      end
+      
+      # Represents a DNS zone resource.
+      class DnsZone
+        include Google::Apis::Core::Hashable
+      
+        # The DNS name suffix of this zone e.g. `example.com.`.
+        # Corresponds to the JSON property `dnsSuffix`
+        # @return [String]
+        attr_accessor :dns_suffix
+      
+        # User assigned name for this resource. Must be unique within the project.
+        # The name must be 1-63 characters long, must begin with a letter, end with
+        # a letter or digit, and only contain lowercase letters, digits or dashes.
+        # Corresponds to the JSON property `name`
+        # @return [String]
+        attr_accessor :name
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @dns_suffix = args[:dns_suffix] if args.key?(:dns_suffix)
+          @name = args[:name] if args.key?(:name)
+        end
+      end
+      
       # `Documentation` provides the information for describing a service.
       # Example:
       # 
documentation:
@@ -2876,6 +2996,60 @@ module Google
         end
       end
       
+      # Metadata provided through GetOperation request for the LRO generated by
+      # RemoveDnsRecordSet API
+      class RemoveDnsRecordSetMetadata
+        include Google::Apis::Core::Hashable
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+        end
+      end
+      
+      # Blank message response type for RemoveDnsRecordSet API
+      class RemoveDnsRecordSetResponse
+        include Google::Apis::Core::Hashable
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+        end
+      end
+      
+      # Metadata provided through GetOperation request for the LRO generated by
+      # RemoveDnsZone API
+      class RemoveDnsZoneMetadata
+        include Google::Apis::Core::Hashable
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+        end
+      end
+      
+      # Blank message response type for RemoveDnsZone API
+      class RemoveDnsZoneResponse
+        include Google::Apis::Core::Hashable
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+        end
+      end
+      
       # Represents a route that was created or discovered by a private access
       # management service.
       class Route
@@ -3732,6 +3906,20 @@ module Google
         end
       end
       
+      # Metadata provided through GetOperation request for the LRO generated by
+      # UpdateDnsRecordSet API
+      class UpdateDnsRecordSetMetadata
+        include Google::Apis::Core::Hashable
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+        end
+      end
+      
       # Configuration controlling usage of a service.
       class Usage
         include Google::Apis::Core::Hashable
diff --git a/generated/google/apis/servicenetworking_v1beta/representations.rb b/generated/google/apis/servicenetworking_v1beta/representations.rb
index 1bd5d0e50..acca34824 100644
--- a/generated/google/apis/servicenetworking_v1beta/representations.rb
+++ b/generated/google/apis/servicenetworking_v1beta/representations.rb
@@ -22,6 +22,24 @@ module Google
   module Apis
     module ServicenetworkingV1beta
       
+      class AddDnsRecordSetMetadata
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class AddDnsZoneMetadata
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class AddDnsZoneResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
       class AddRolesMetadata
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
@@ -136,6 +154,18 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
+      class DnsRecordSet
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class DnsZone
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
       class Documentation
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
@@ -322,6 +352,30 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
+      class RemoveDnsRecordSetMetadata
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class RemoveDnsRecordSetResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class RemoveDnsZoneMetadata
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class RemoveDnsZoneResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
       class Route
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
@@ -394,6 +448,12 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
+      class UpdateDnsRecordSetMetadata
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
       class Usage
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
@@ -406,6 +466,28 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
+      class AddDnsRecordSetMetadata
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+        end
+      end
+      
+      class AddDnsZoneMetadata
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+        end
+      end
+      
+      class AddDnsZoneResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :consumer_peering_zone, as: 'consumerPeeringZone', class: Google::Apis::ServicenetworkingV1beta::DnsZone, decorator: Google::Apis::ServicenetworkingV1beta::DnsZone::Representation
+      
+          property :producer_private_zone, as: 'producerPrivateZone', class: Google::Apis::ServicenetworkingV1beta::DnsZone, decorator: Google::Apis::ServicenetworkingV1beta::DnsZone::Representation
+      
+        end
+      end
+      
       class AddRolesMetadata
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -594,6 +676,24 @@ module Google
         end
       end
       
+      class DnsRecordSet
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :data, as: 'data'
+          property :domain, as: 'domain'
+          property :ttl, as: 'ttl'
+          property :type, as: 'type'
+        end
+      end
+      
+      class DnsZone
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :dns_suffix, as: 'dnsSuffix'
+          property :name, as: 'name'
+        end
+      end
+      
       class Documentation
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -930,6 +1030,30 @@ module Google
         end
       end
       
+      class RemoveDnsRecordSetMetadata
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+        end
+      end
+      
+      class RemoveDnsRecordSetResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+        end
+      end
+      
+      class RemoveDnsZoneMetadata
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+        end
+      end
+      
+      class RemoveDnsZoneResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+        end
+      end
+      
       class Route
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -1086,6 +1210,12 @@ module Google
         end
       end
       
+      class UpdateDnsRecordSetMetadata
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+        end
+      end
+      
       class Usage
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
diff --git a/generated/google/apis/tasks_v1.rb b/generated/google/apis/tasks_v1.rb
index c90011f3f..c04a1c33e 100644
--- a/generated/google/apis/tasks_v1.rb
+++ b/generated/google/apis/tasks_v1.rb
@@ -20,12 +20,12 @@ module Google
   module Apis
     # Tasks API
     #
-    # Manages your tasks and task lists.
+    # The Google Tasks API lets you manage your tasks and task lists.
     #
-    # @see https://developers.google.com/google-apps/tasks/firstapp
+    # @see 
     module TasksV1
       VERSION = 'V1'
-      REVISION = '20200129'
+      REVISION = '20200516'
 
       # Create, edit, organize, and delete all your tasks
       AUTH_TASKS = 'https://www.googleapis.com/auth/tasks'
diff --git a/generated/google/apis/tasks_v1/classes.rb b/generated/google/apis/tasks_v1/classes.rb
index aeab3ba8c..5514ffde6 100644
--- a/generated/google/apis/tasks_v1/classes.rb
+++ b/generated/google/apis/tasks_v1/classes.rb
@@ -26,24 +26,24 @@ module Google
       class Task
         include Google::Apis::Core::Hashable
       
-        # Completion date of the task (as a RFC 3339 timestamp). This field is omitted
-        # if the task has not been completed.
+        # Completion date of the task (as a RFC 3339 timestamp). This field is
+        # omitted if the task has not been completed.
         # Corresponds to the JSON property `completed`
-        # @return [DateTime]
+        # @return [String]
         attr_accessor :completed
       
-        # Flag indicating whether the task has been deleted. The default if False.
+        # Flag indicating whether the task has been deleted. The default is False.
         # Corresponds to the JSON property `deleted`
         # @return [Boolean]
         attr_accessor :deleted
         alias_method :deleted?, :deleted
       
         # Due date of the task (as a RFC 3339 timestamp). Optional. The due date only
-        # records date information; the time portion of the timestamp is discarded when
-        # setting the due date. It isn't possible to read or write the time that a task
-        # is due via the API.
+        # records date information; the time portion of the timestamp is discarded
+        # when setting the due date. It isn't possible to read or write the time that
+        # a task is due via the API.
         # Corresponds to the JSON property `due`
-        # @return [DateTime]
+        # @return [String]
         attr_accessor :due
       
         # ETag of the resource.
@@ -51,9 +51,9 @@ module Google
         # @return [String]
         attr_accessor :etag
       
-        # Flag indicating whether the task is hidden. This is the case if the task had
-        # been marked completed when the task list was last cleared. The default is
-        # False. This field is read-only.
+        # Flag indicating whether the task is hidden. This is the case if the task
+        # had been marked completed when the task list was last cleared. The default
+        # is False. This field is read-only.
         # Corresponds to the JSON property `hidden`
         # @return [Boolean]
         attr_accessor :hidden
@@ -79,19 +79,19 @@ module Google
         # @return [String]
         attr_accessor :notes
       
-        # Parent task identifier. This field is omitted if it is a top-level task. This
-        # field is read-only. Use the "move" method to move the task under a different
-        # parent or to the top level.
+        # Parent task identifier. This field is omitted if it is a top-level task.
+        # This field is read-only. Use the "move" method to move the task under a
+        # different parent or to the top level.
         # Corresponds to the JSON property `parent`
         # @return [String]
         attr_accessor :parent
       
-        # String indicating the position of the task among its sibling tasks under the
-        # same parent task or at the top level. If this string is greater than another
-        # task's corresponding position string according to lexicographical ordering,
-        # the task is positioned after the other task under the same parent task (or at
-        # the top level). This field is read-only. Use the "move" method to move the
-        # task to another position.
+        # String indicating the position of the task among its sibling tasks under
+        # the same parent task or at the top level. If this string is greater than
+        # another task's corresponding position string according to lexicographical
+        # ordering, the task is positioned after the other task under the same parent
+        # task (or at the top level). This field is read-only. Use the "move" method
+        # to move the task to another position.
         # Corresponds to the JSON property `position`
         # @return [String]
         attr_accessor :position
@@ -113,7 +113,7 @@ module Google
       
         # Last modification time of the task (as a RFC 3339 timestamp).
         # Corresponds to the JSON property `updated`
-        # @return [DateTime]
+        # @return [String]
         attr_accessor :updated
       
         def initialize(**args)
@@ -143,7 +143,8 @@ module Google
         class Link
           include Google::Apis::Core::Hashable
         
-          # The description. In HTML speak: Everything between  and .
+          # The description. In HTML speak: Everything between <a> and
+          # </a>.
           # Corresponds to the JSON property `description`
           # @return [String]
           attr_accessor :description
@@ -190,8 +191,8 @@ module Google
         # @return [String]
         attr_accessor :kind
       
-        # URL pointing to this task list. Used to retrieve, update, or delete this task
-        # list.
+        # URL pointing to this task list. Used to retrieve, update, or delete this
+        # task list.
         # Corresponds to the JSON property `selfLink`
         # @return [String]
         attr_accessor :self_link
@@ -203,7 +204,7 @@ module Google
       
         # Last modification time of the task list (as a RFC 3339 timestamp).
         # Corresponds to the JSON property `updated`
-        # @return [DateTime]
+        # @return [String]
         attr_accessor :updated
       
         def initialize(**args)
diff --git a/generated/google/apis/tasks_v1/representations.rb b/generated/google/apis/tasks_v1/representations.rb
index 955e9bcee..713f3d8eb 100644
--- a/generated/google/apis/tasks_v1/representations.rb
+++ b/generated/google/apis/tasks_v1/representations.rb
@@ -55,11 +55,9 @@ module Google
       class Task
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :completed, as: 'completed', type: DateTime
-      
+          property :completed, as: 'completed'
           property :deleted, as: 'deleted'
-          property :due, as: 'due', type: DateTime
-      
+          property :due, as: 'due'
           property :etag, as: 'etag'
           property :hidden, as: 'hidden'
           property :id, as: 'id'
@@ -72,8 +70,7 @@ module Google
           property :self_link, as: 'selfLink'
           property :status, as: 'status'
           property :title, as: 'title'
-          property :updated, as: 'updated', type: DateTime
-      
+          property :updated, as: 'updated'
         end
         
         class Link
@@ -94,8 +91,7 @@ module Google
           property :kind, as: 'kind'
           property :self_link, as: 'selfLink'
           property :title, as: 'title'
-          property :updated, as: 'updated', type: DateTime
-      
+          property :updated, as: 'updated'
         end
       end
       
diff --git a/generated/google/apis/tasks_v1/service.rb b/generated/google/apis/tasks_v1/service.rb
index ffd440020..b9a29df3d 100644
--- a/generated/google/apis/tasks_v1/service.rb
+++ b/generated/google/apis/tasks_v1/service.rb
@@ -22,7 +22,7 @@ module Google
     module TasksV1
       # Tasks API
       #
-      # Manages your tasks and task lists.
+      # The Google Tasks API lets you manage your tasks and task lists.
       #
       # @example
       #    require 'google/apis/tasks_v1'
@@ -30,7 +30,7 @@ module Google
       #    Tasks = Google::Apis::TasksV1 # Alias the module
       #    service = Tasks::TasksService.new
       #
-      # @see https://developers.google.com/google-apps/tasks/firstapp
+      # @see 
       class TasksService < Google::Apis::Core::BaseService
         # @return [String]
         #  API key. Your API key identifies your project and provides you with API access,
@@ -38,16 +38,12 @@ module Google
         attr_accessor :key
 
         # @return [String]
-        #  An opaque string that represents a user for quota purposes. Must not exceed 40
-        #  characters.
+        #  Available to use for quota purposes for server-side applications. Can be any
+        #  arbitrary string assigned to a user, but should not exceed 40 characters.
         attr_accessor :quota_user
 
-        # @return [String]
-        #  Deprecated. Please use quotaUser instead.
-        attr_accessor :user_ip
-
         def initialize
-          super('https://www.googleapis.com/', 'tasks/v1/')
+          super('https://www.googleapis.com/', '')
           @batch_path = 'batch/tasks/v1'
         end
         
@@ -57,10 +53,8 @@ module Google
         # @param [String] fields
         #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
-        #   An opaque string that represents a user for quota purposes. Must not exceed 40
-        #   characters.
-        # @param [String] user_ip
-        #   Deprecated. Please use quotaUser instead.
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -73,12 +67,11 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def delete_tasklist(tasklist, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
-          command = make_simple_command(:delete, 'users/@me/lists/{tasklist}', options)
+        def delete_tasklist(tasklist, fields: nil, quota_user: nil, options: nil, &block)
+          command = make_simple_command(:delete, 'tasks/v1/users/@me/lists/{tasklist}', options)
           command.params['tasklist'] = tasklist unless tasklist.nil?
           command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['userIp'] = user_ip unless user_ip.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -88,10 +81,8 @@ module Google
         # @param [String] fields
         #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
-        #   An opaque string that represents a user for quota purposes. Must not exceed 40
-        #   characters.
-        # @param [String] user_ip
-        #   Deprecated. Please use quotaUser instead.
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -104,28 +95,23 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def get_tasklist(tasklist, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
-          command = make_simple_command(:get, 'users/@me/lists/{tasklist}', options)
+        def get_tasklist(tasklist, fields: nil, quota_user: nil, options: nil, &block)
+          command = make_simple_command(:get, 'tasks/v1/users/@me/lists/{tasklist}', options)
           command.response_representation = Google::Apis::TasksV1::TaskList::Representation
           command.response_class = Google::Apis::TasksV1::TaskList
           command.params['tasklist'] = tasklist unless tasklist.nil?
           command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['userIp'] = user_ip unless user_ip.nil?
           execute_or_queue_command(command, &block)
         end
         
         # Creates a new task list and adds it to the authenticated user's task lists.
-        # Fails with HTTP code 403 or 429 after reaching the storage limit of 2,000
-        # lists.
         # @param [Google::Apis::TasksV1::TaskList] task_list_object
         # @param [String] fields
         #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
-        #   An opaque string that represents a user for quota purposes. Must not exceed 40
-        #   characters.
-        # @param [String] user_ip
-        #   Deprecated. Please use quotaUser instead.
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -138,31 +124,28 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def insert_tasklist(task_list_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
-          command = make_simple_command(:post, 'users/@me/lists', options)
+        def insert_tasklist(task_list_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command = make_simple_command(:post, 'tasks/v1/users/@me/lists', options)
           command.request_representation = Google::Apis::TasksV1::TaskList::Representation
           command.request_object = task_list_object
           command.response_representation = Google::Apis::TasksV1::TaskList::Representation
           command.response_class = Google::Apis::TasksV1::TaskList
           command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['userIp'] = user_ip unless user_ip.nil?
           execute_or_queue_command(command, &block)
         end
         
         # Returns all the authenticated user's task lists.
         # @param [Fixnum] max_results
-        #   Maximum number of task lists returned on one page. Optional. The default is 20
-        #   (max allowed: 100).
+        #   Maximum number of task lists returned on one page. Optional. The default is
+        #   20 (max allowed: 100).
         # @param [String] page_token
         #   Token specifying the result page to return. Optional.
         # @param [String] fields
         #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
-        #   An opaque string that represents a user for quota purposes. Must not exceed 40
-        #   characters.
-        # @param [String] user_ip
-        #   Deprecated. Please use quotaUser instead.
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -175,15 +158,14 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def list_tasklists(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
-          command = make_simple_command(:get, 'users/@me/lists', options)
+        def list_tasklists(max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+          command = make_simple_command(:get, 'tasks/v1/users/@me/lists', options)
           command.response_representation = Google::Apis::TasksV1::TaskLists::Representation
           command.response_class = Google::Apis::TasksV1::TaskLists
           command.query['maxResults'] = max_results unless max_results.nil?
           command.query['pageToken'] = page_token unless page_token.nil?
           command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['userIp'] = user_ip unless user_ip.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -195,10 +177,8 @@ module Google
         # @param [String] fields
         #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
-        #   An opaque string that represents a user for quota purposes. Must not exceed 40
-        #   characters.
-        # @param [String] user_ip
-        #   Deprecated. Please use quotaUser instead.
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -211,8 +191,8 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def patch_tasklist(tasklist, task_list_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
-          command = make_simple_command(:patch, 'users/@me/lists/{tasklist}', options)
+        def patch_tasklist(tasklist, task_list_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command = make_simple_command(:patch, 'tasks/v1/users/@me/lists/{tasklist}', options)
           command.request_representation = Google::Apis::TasksV1::TaskList::Representation
           command.request_object = task_list_object
           command.response_representation = Google::Apis::TasksV1::TaskList::Representation
@@ -220,7 +200,6 @@ module Google
           command.params['tasklist'] = tasklist unless tasklist.nil?
           command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['userIp'] = user_ip unless user_ip.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -231,10 +210,8 @@ module Google
         # @param [String] fields
         #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
-        #   An opaque string that represents a user for quota purposes. Must not exceed 40
-        #   characters.
-        # @param [String] user_ip
-        #   Deprecated. Please use quotaUser instead.
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -247,8 +224,8 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def update_tasklist(tasklist, task_list_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
-          command = make_simple_command(:put, 'users/@me/lists/{tasklist}', options)
+        def update_tasklist(tasklist, task_list_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command = make_simple_command(:put, 'tasks/v1/users/@me/lists/{tasklist}', options)
           command.request_representation = Google::Apis::TasksV1::TaskList::Representation
           command.request_object = task_list_object
           command.response_representation = Google::Apis::TasksV1::TaskList::Representation
@@ -256,7 +233,6 @@ module Google
           command.params['tasklist'] = tasklist unless tasklist.nil?
           command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['userIp'] = user_ip unless user_ip.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -268,10 +244,8 @@ module Google
         # @param [String] fields
         #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
-        #   An opaque string that represents a user for quota purposes. Must not exceed 40
-        #   characters.
-        # @param [String] user_ip
-        #   Deprecated. Please use quotaUser instead.
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -284,12 +258,11 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def clear_task(tasklist, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
-          command = make_simple_command(:post, 'lists/{tasklist}/clear', options)
+        def clear_task(tasklist, fields: nil, quota_user: nil, options: nil, &block)
+          command = make_simple_command(:post, 'tasks/v1/lists/{tasklist}/clear', options)
           command.params['tasklist'] = tasklist unless tasklist.nil?
           command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['userIp'] = user_ip unless user_ip.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -301,10 +274,8 @@ module Google
         # @param [String] fields
         #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
-        #   An opaque string that represents a user for quota purposes. Must not exceed 40
-        #   characters.
-        # @param [String] user_ip
-        #   Deprecated. Please use quotaUser instead.
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -317,13 +288,12 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def delete_task(tasklist, task, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
-          command = make_simple_command(:delete, 'lists/{tasklist}/tasks/{task}', options)
+        def delete_task(tasklist, task, fields: nil, quota_user: nil, options: nil, &block)
+          command = make_simple_command(:delete, 'tasks/v1/lists/{tasklist}/tasks/{task}', options)
           command.params['tasklist'] = tasklist unless tasklist.nil?
           command.params['task'] = task unless task.nil?
           command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['userIp'] = user_ip unless user_ip.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -335,10 +305,8 @@ module Google
         # @param [String] fields
         #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
-        #   An opaque string that represents a user for quota purposes. Must not exceed 40
-        #   characters.
-        # @param [String] user_ip
-        #   Deprecated. Please use quotaUser instead.
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -351,20 +319,18 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def get_task(tasklist, task, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
-          command = make_simple_command(:get, 'lists/{tasklist}/tasks/{task}', options)
+        def get_task(tasklist, task, fields: nil, quota_user: nil, options: nil, &block)
+          command = make_simple_command(:get, 'tasks/v1/lists/{tasklist}/tasks/{task}', options)
           command.response_representation = Google::Apis::TasksV1::Task::Representation
           command.response_class = Google::Apis::TasksV1::Task
           command.params['tasklist'] = tasklist unless tasklist.nil?
           command.params['task'] = task unless task.nil?
           command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['userIp'] = user_ip unless user_ip.nil?
           execute_or_queue_command(command, &block)
         end
         
-        # Creates a new task on the specified task list. Fails with HTTP code 403 or 429
-        # after reaching the storage limit of 100,000 tasks per account.
+        # Creates a new task on the specified task list.
         # @param [String] tasklist
         #   Task list identifier.
         # @param [Google::Apis::TasksV1::Task] task_object
@@ -372,15 +338,13 @@ module Google
         #   Parent task identifier. If the task is created at the top level, this
         #   parameter is omitted. Optional.
         # @param [String] previous
-        #   Previous sibling task identifier. If the task is created at the first position
-        #   among its siblings, this parameter is omitted. Optional.
+        #   Previous sibling task identifier. If the task is created at the first
+        #   position among its siblings, this parameter is omitted. Optional.
         # @param [String] fields
         #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
-        #   An opaque string that represents a user for quota purposes. Must not exceed 40
-        #   characters.
-        # @param [String] user_ip
-        #   Deprecated. Please use quotaUser instead.
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -393,8 +357,8 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def insert_task(tasklist, task_object = nil, parent: nil, previous: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
-          command = make_simple_command(:post, 'lists/{tasklist}/tasks', options)
+        def insert_task(tasklist, task_object = nil, parent: nil, previous: nil, fields: nil, quota_user: nil, options: nil, &block)
+          command = make_simple_command(:post, 'tasks/v1/lists/{tasklist}/tasks', options)
           command.request_representation = Google::Apis::TasksV1::Task::Representation
           command.request_object = task_object
           command.response_representation = Google::Apis::TasksV1::Task::Representation
@@ -404,7 +368,6 @@ module Google
           command.query['previous'] = previous unless previous.nil?
           command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['userIp'] = user_ip unless user_ip.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -412,11 +375,11 @@ module Google
         # @param [String] tasklist
         #   Task list identifier.
         # @param [String] completed_max
-        #   Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter
-        #   by. Optional. The default is not to filter by completion date.
+        #   Upper bound for a task's completion date (as a RFC 3339 timestamp) to
+        #   filter by. Optional. The default is not to filter by completion date.
         # @param [String] completed_min
-        #   Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter
-        #   by. Optional. The default is not to filter by completion date.
+        #   Lower bound for a task's completion date (as a RFC 3339 timestamp) to
+        #   filter by. Optional. The default is not to filter by completion date.
         # @param [String] due_max
         #   Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by.
         #   Optional. The default is not to filter by due date.
@@ -424,29 +387,28 @@ module Google
         #   Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by.
         #   Optional. The default is not to filter by due date.
         # @param [Fixnum] max_results
-        #   Maximum number of task lists returned on one page. Optional. The default is 20
-        #   (max allowed: 100).
+        #   Maximum number of task lists returned on one page. Optional. The default is
+        #   20 (max allowed: 100).
         # @param [String] page_token
         #   Token specifying the result page to return. Optional.
         # @param [Boolean] show_completed
-        #   Flag indicating whether completed tasks are returned in the result. Optional.
-        #   The default is True.
+        #   Flag indicating whether completed tasks are returned in the result.
+        #   Optional. The default is True.
         # @param [Boolean] show_deleted
         #   Flag indicating whether deleted tasks are returned in the result. Optional.
         #   The default is False.
         # @param [Boolean] show_hidden
-        #   Flag indicating whether hidden tasks are returned in the result. Optional. The
-        #   default is False.
+        #   Flag indicating whether hidden tasks are returned in the result. Optional.
+        #   The default is False.
         # @param [String] updated_min
-        #   Lower bound for a task's last modification time (as a RFC 3339 timestamp) to
-        #   filter by. Optional. The default is not to filter by last modification time.
+        #   Lower bound for a task's last modification time (as a RFC 3339 timestamp)
+        #   to filter by. Optional. The default is not to filter by last modification
+        #   time.
         # @param [String] fields
         #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
-        #   An opaque string that represents a user for quota purposes. Must not exceed 40
-        #   characters.
-        # @param [String] user_ip
-        #   Deprecated. Please use quotaUser instead.
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -459,8 +421,8 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def list_tasks(tasklist, completed_max: nil, completed_min: nil, due_max: nil, due_min: nil, max_results: nil, page_token: nil, show_completed: nil, show_deleted: nil, show_hidden: nil, updated_min: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
-          command = make_simple_command(:get, 'lists/{tasklist}/tasks', options)
+        def list_tasks(tasklist, completed_max: nil, completed_min: nil, due_max: nil, due_min: nil, max_results: nil, page_token: nil, show_completed: nil, show_deleted: nil, show_hidden: nil, updated_min: nil, fields: nil, quota_user: nil, options: nil, &block)
+          command = make_simple_command(:get, 'tasks/v1/lists/{tasklist}/tasks', options)
           command.response_representation = Google::Apis::TasksV1::Tasks::Representation
           command.response_class = Google::Apis::TasksV1::Tasks
           command.params['tasklist'] = tasklist unless tasklist.nil?
@@ -476,7 +438,6 @@ module Google
           command.query['updatedMin'] = updated_min unless updated_min.nil?
           command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['userIp'] = user_ip unless user_ip.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -496,10 +457,8 @@ module Google
         # @param [String] fields
         #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
-        #   An opaque string that represents a user for quota purposes. Must not exceed 40
-        #   characters.
-        # @param [String] user_ip
-        #   Deprecated. Please use quotaUser instead.
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -512,8 +471,8 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def move_task(tasklist, task, parent: nil, previous: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
-          command = make_simple_command(:post, 'lists/{tasklist}/tasks/{task}/move', options)
+        def move_task(tasklist, task, parent: nil, previous: nil, fields: nil, quota_user: nil, options: nil, &block)
+          command = make_simple_command(:post, 'tasks/v1/lists/{tasklist}/tasks/{task}/move', options)
           command.response_representation = Google::Apis::TasksV1::Task::Representation
           command.response_class = Google::Apis::TasksV1::Task
           command.params['tasklist'] = tasklist unless tasklist.nil?
@@ -522,7 +481,6 @@ module Google
           command.query['previous'] = previous unless previous.nil?
           command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['userIp'] = user_ip unless user_ip.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -535,10 +493,8 @@ module Google
         # @param [String] fields
         #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
-        #   An opaque string that represents a user for quota purposes. Must not exceed 40
-        #   characters.
-        # @param [String] user_ip
-        #   Deprecated. Please use quotaUser instead.
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -551,8 +507,8 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def patch_task(tasklist, task, task_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
-          command = make_simple_command(:patch, 'lists/{tasklist}/tasks/{task}', options)
+        def patch_task(tasklist, task, task_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command = make_simple_command(:patch, 'tasks/v1/lists/{tasklist}/tasks/{task}', options)
           command.request_representation = Google::Apis::TasksV1::Task::Representation
           command.request_object = task_object
           command.response_representation = Google::Apis::TasksV1::Task::Representation
@@ -561,7 +517,6 @@ module Google
           command.params['task'] = task unless task.nil?
           command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['userIp'] = user_ip unless user_ip.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -574,10 +529,8 @@ module Google
         # @param [String] fields
         #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
-        #   An opaque string that represents a user for quota purposes. Must not exceed 40
-        #   characters.
-        # @param [String] user_ip
-        #   Deprecated. Please use quotaUser instead.
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -590,8 +543,8 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def update_task(tasklist, task, task_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
-          command = make_simple_command(:put, 'lists/{tasklist}/tasks/{task}', options)
+        def update_task(tasklist, task, task_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command = make_simple_command(:put, 'tasks/v1/lists/{tasklist}/tasks/{task}', options)
           command.request_representation = Google::Apis::TasksV1::Task::Representation
           command.request_object = task_object
           command.response_representation = Google::Apis::TasksV1::Task::Representation
@@ -600,7 +553,6 @@ module Google
           command.params['task'] = task unless task.nil?
           command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['userIp'] = user_ip unless user_ip.nil?
           execute_or_queue_command(command, &block)
         end
 
@@ -609,7 +561,6 @@ module Google
         def apply_command_defaults(command)
           command.query['key'] = key unless key.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['userIp'] = user_ip unless user_ip.nil?
         end
       end
     end
diff --git a/generated/google/apis/youtube_v3.rb b/generated/google/apis/youtube_v3.rb
index 71b94e4eb..c1596fa7c 100644
--- a/generated/google/apis/youtube_v3.rb
+++ b/generated/google/apis/youtube_v3.rb
@@ -18,15 +18,15 @@ require 'google/apis/youtube_v3/representations.rb'
 
 module Google
   module Apis
-    # YouTube Data API
+    # YouTube Data API v3
     #
-    # Supports core YouTube features, such as uploading videos, creating and
-    # managing playlists, searching for content, and much more.
+    # The YouTube Data API v3 is an API that provides access to YouTube data, such
+    # as videos, playlists, and channels.
     #
-    # @see https://developers.google.com/youtube/v3
+    # @see https://developers.google.com/youtube/
     module YoutubeV3
       VERSION = 'V3'
-      REVISION = '20200423'
+      REVISION = '20200518'
 
       # Manage your YouTube account
       AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
diff --git a/generated/google/apis/youtube_v3/classes.rb b/generated/google/apis/youtube_v3/classes.rb
index 30af34fa1..8cc2cf6b7 100644
--- a/generated/google/apis/youtube_v3/classes.rb
+++ b/generated/google/apis/youtube_v3/classes.rb
@@ -26,15 +26,15 @@ module Google
       class AccessPolicy
         include Google::Apis::Core::Hashable
       
-        # The value of allowed indicates whether the access to the policy is allowed or
-        # denied by default.
+        # The value of allowed indicates whether the access to the
+        # policy is allowed or denied by default.
         # Corresponds to the JSON property `allowed`
         # @return [Boolean]
         attr_accessor :allowed
         alias_method :allowed?, :allowed
       
-        # A list of region codes that identify countries where the default policy do not
-        # apply.
+        # A list of region codes that identify countries where the default policy do
+        # not apply.
         # Corresponds to the JSON property `exception`
         # @return [Array]
         attr_accessor :exception
@@ -50,13 +50,14 @@ module Google
         end
       end
       
-      # An activity resource contains information about an action that a particular
-      # channel, or user, has taken on YouTube.The actions reported in activity feeds
-      # include rating a video, sharing a video, marking a video as a favorite,
-      # commenting on a video, uploading a video, and so forth. Each activity resource
-      # identifies the type of action, the channel associated with the action, and the
-      # resource(s) associated with the action, such as the video that was rated or
-      # uploaded.
+      # An activity resource contains
+      # information about an action that a particular channel, or user, has
+      # taken on YouTube.The actions reported in activity feeds include rating
+      # a video, sharing a video, marking a video as a favorite, commenting on
+      # a video, uploading a video, and so forth. Each activity
+      # resource identifies the type of action, the channel associated with
+      # the action, and the resource(s) associated with the action, such as
+      # the video that was rated or uploaded.
       class Activity
         include Google::Apis::Core::Hashable
       
@@ -66,7 +67,7 @@ module Google
         # @return [Google::Apis::YoutubeV3::ActivityContentDetails]
         attr_accessor :content_details
       
-        # Etag of this resource.
+        # Etag of this resource
         # Corresponds to the JSON property `etag`
         # @return [String]
         attr_accessor :etag
@@ -76,14 +77,15 @@ module Google
         # @return [String]
         attr_accessor :id
       
-        # Identifies what kind of resource this is. Value: the fixed string "youtube#
-        # activity".
+        # Identifies what kind of resource this is. Value: the fixed string
+        # "youtube#activity".
         # Corresponds to the JSON property `kind`
         # @return [String]
         attr_accessor :kind
       
         # Basic details about an activity, including title, description, thumbnails,
         # activity type and group.
+        # Next ID: 12
         # Corresponds to the JSON property `snippet`
         # @return [Google::Apis::YoutubeV3::ActivitySnippet]
         attr_accessor :snippet
@@ -317,8 +319,8 @@ module Google
         # @return [String]
         attr_accessor :ad_tag
       
-        # The URL the client should ping to indicate that the user clicked through on
-        # this promoted item.
+        # The URL the client should ping to indicate that the user clicked through
+        # on this promoted item.
         # Corresponds to the JSON property `clickTrackingUrl`
         # @return [String]
         attr_accessor :click_tracking_url
@@ -329,14 +331,14 @@ module Google
         # @return [String]
         attr_accessor :creative_view_url
       
-        # The type of call-to-action, a message to the user indicating action that can
-        # be taken.
+        # The type of call-to-action, a message to the user indicating action that
+        # can be taken.
         # Corresponds to the JSON property `ctaType`
         # @return [String]
         attr_accessor :cta_type
       
-        # The custom call-to-action button text. If specified, it will override the
-        # default button text for the cta_type.
+        # The custom call-to-action button text. If specified, it will override
+        # the default button text for the cta_type.
         # Corresponds to the JSON property `customCtaButtonText`
         # @return [String]
         attr_accessor :custom_cta_button_text
@@ -346,15 +348,15 @@ module Google
         # @return [String]
         attr_accessor :description_text
       
-        # The URL the client should direct the user to, if the user chooses to visit the
-        # advertiser's website.
+        # The URL the client should direct the user to, if the user chooses to
+        # visit the advertiser's website.
         # Corresponds to the JSON property `destinationUrl`
         # @return [String]
         attr_accessor :destination_url
       
-        # The list of forecasting URLs. The client should ping all of these URLs when a
-        # promoted item is not available, to indicate that a promoted item could have
-        # been shown.
+        # The list of forecasting URLs. The client should ping all of these URLs
+        # when a promoted item is not available, to indicate that a promoted item
+        # could have been shown.
         # Corresponds to the JSON property `forecastingUrl`
         # @return [Array]
         attr_accessor :forecasting_url
@@ -515,19 +517,19 @@ module Google
         # @return [String]
         attr_accessor :event_id
       
-        # A list of activities, or events, that match the request criteria.
+        # 
         # Corresponds to the JSON property `items`
         # @return [Array]
         attr_accessor :items
       
-        # Identifies what kind of resource this is. Value: the fixed string "youtube#
-        # activityListResponse".
+        # Identifies what kind of resource this is. Value: the fixed string
+        # "youtube#activityListResponse".
         # Corresponds to the JSON property `kind`
         # @return [String]
         attr_accessor :kind
       
-        # The token that can be used as the value of the pageToken parameter to retrieve
-        # the next page in the result set.
+        # The token that can be used as the value of the pageToken
+        # parameter to retrieve the next page in the result set.
         # Corresponds to the JSON property `nextPageToken`
         # @return [String]
         attr_accessor :next_page_token
@@ -538,8 +540,8 @@ module Google
         # @return [Google::Apis::YoutubeV3::PageInfo]
         attr_accessor :page_info
       
-        # The token that can be used as the value of the pageToken parameter to retrieve
-        # the previous page in the result set.
+        # The token that can be used as the value of the pageToken
+        # parameter to retrieve the previous page in the result set.
         # Corresponds to the JSON property `prevPageToken`
         # @return [String]
         attr_accessor :prev_page_token
@@ -549,7 +551,7 @@ module Google
         # @return [Google::Apis::YoutubeV3::TokenPagination]
         attr_accessor :token_pagination
       
-        # The visitorId identifies the visitor.
+        # The visitorId identifies the visitor.
         # Corresponds to the JSON property `visitorId`
         # @return [String]
         attr_accessor :visitor_id
@@ -574,11 +576,12 @@ module Google
       
       # Basic details about an activity, including title, description, thumbnails,
       # activity type and group.
+      # Next ID: 12
       class ActivitySnippet
         include Google::Apis::Core::Hashable
       
-        # The ID that YouTube uses to uniquely identify the channel associated with the
-        # activity.
+        # The ID that YouTube uses to uniquely identify the channel associated
+        # with the activity.
         # Corresponds to the JSON property `channelId`
         # @return [String]
         attr_accessor :channel_id
@@ -589,24 +592,26 @@ module Google
         attr_accessor :channel_title
       
         # The description of the resource primarily associated with the activity.
+        # @mutable youtube.activities.insert
         # Corresponds to the JSON property `description`
         # @return [String]
         attr_accessor :description
       
-        # The group ID associated with the activity. A group ID identifies user events
-        # that are associated with the same user and resource. For example, if a user
-        # rates a video and marks the same video as a favorite, the entries for those
-        # events would have the same group ID in the user's activity feed. In your user
-        # interface, you can avoid repetition by grouping events with the same groupId
-        # value.
+        # The group ID associated with the activity. A group ID identifies user
+        # events that are associated with the same user and resource. For example,
+        # if a user rates a video and marks the same video as a favorite, the
+        # entries for those events would have the same group ID in the user's
+        # activity feed. In your user interface, you can avoid repetition by
+        # grouping events with the same groupId value.
         # Corresponds to the JSON property `groupId`
         # @return [String]
         attr_accessor :group_id
       
-        # The date and time that the video was uploaded. The value is specified in ISO
-        # 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
+        # The date and time that the video was uploaded. The value is specified
+        # in ISO 8601
+        # (YYYY-MM-DDThh:mm:ss.sZ) format.
         # Corresponds to the JSON property `publishedAt`
-        # @return [DateTime]
+        # @return [String]
         attr_accessor :published_at
       
         # Internal representation of thumbnails for a YouTube resource.
@@ -641,8 +646,9 @@ module Google
         end
       end
       
-      # A caption resource represents a YouTube caption track. A caption track is
-      # associated with exactly one YouTube video.
+      # A caption resource represents a YouTube
+      # caption track. A caption track is associated with exactly one YouTube
+      # video.
       class Caption
         include Google::Apis::Core::Hashable
       
@@ -656,8 +662,8 @@ module Google
         # @return [String]
         attr_accessor :id
       
-        # Identifies what kind of resource this is. Value: the fixed string "youtube#
-        # caption".
+        # Identifies what kind of resource this is. Value: the fixed string
+        # "youtube#caption".
         # Corresponds to the JSON property `kind`
         # @return [String]
         attr_accessor :kind
@@ -699,13 +705,13 @@ module Google
         # @return [Array]
         attr_accessor :items
       
-        # Identifies what kind of resource this is. Value: the fixed string "youtube#
-        # captionListResponse".
+        # Identifies what kind of resource this is. Value: the fixed string
+        # "youtube#captionListResponse".
         # Corresponds to the JSON property `kind`
         # @return [String]
         attr_accessor :kind
       
-        # The visitorId identifies the visitor.
+        # The visitorId identifies the visitor.
         # Corresponds to the JSON property `visitorId`
         # @return [String]
         attr_accessor :visitor_id
@@ -733,65 +739,74 @@ module Google
         # @return [String]
         attr_accessor :audio_track_type
       
-        # The reason that YouTube failed to process the caption track. This property is
-        # only present if the state property's value is failed.
+        # The reason that YouTube failed to process the caption track. This
+        # property is only present if the state
+        # property's value is failed.
         # Corresponds to the JSON property `failureReason`
         # @return [String]
         attr_accessor :failure_reason
       
-        # Indicates whether YouTube synchronized the caption track to the audio track in
-        # the video. The value will be true if a sync was explicitly requested when the
-        # caption track was uploaded. For example, when calling the captions.insert or
-        # captions.update methods, you can set the sync parameter to true to instruct
-        # YouTube to sync the uploaded track to the video. If the value is false,
-        # YouTube uses the time codes in the uploaded caption track to determine when to
-        # display captions.
+        # Indicates whether YouTube synchronized the caption track to the audio
+        # track in the video. The value will be true if a sync was
+        # explicitly requested when the caption track was uploaded. For example,
+        # when calling the captions.insert or
+        # captions.update methods, you can set the sync
+        # parameter to true to instruct YouTube to sync the uploaded
+        # track to the video. If the value is false, YouTube uses
+        # the time codes in the uploaded caption track to determine when to display
+        # captions.
         # Corresponds to the JSON property `isAutoSynced`
         # @return [Boolean]
         attr_accessor :is_auto_synced
         alias_method :is_auto_synced?, :is_auto_synced
       
-        # Indicates whether the track contains closed captions for the deaf and hard of
-        # hearing. The default value is false.
+        # Indicates whether the track contains closed captions for the deaf
+        # and hard of hearing. The default value is false.
         # Corresponds to the JSON property `isCC`
         # @return [Boolean]
         attr_accessor :is_cc
         alias_method :is_cc?, :is_cc
       
-        # Indicates whether the caption track is a draft. If the value is true, then the
-        # track is not publicly visible. The default value is false.
+        # Indicates whether the caption track is a draft. If the value is
+        # true, then the track is not publicly visible.
+        # The default value is false.
+        # @mutable youtube.captions.insert youtube.captions.update
         # Corresponds to the JSON property `isDraft`
         # @return [Boolean]
         attr_accessor :is_draft
         alias_method :is_draft?, :is_draft
       
-        # Indicates whether caption track is formatted for "easy reader," meaning it is
-        # at a third-grade level for language learners. The default value is false.
+        # Indicates whether caption track is formatted for "easy reader,"
+        # meaning it is at a third-grade level for language learners.
+        # The default value is false.
         # Corresponds to the JSON property `isEasyReader`
         # @return [Boolean]
         attr_accessor :is_easy_reader
         alias_method :is_easy_reader?, :is_easy_reader
       
-        # Indicates whether the caption track uses large text for the vision-impaired.
-        # The default value is false.
+        # Indicates whether the caption track uses large text for the
+        # vision-impaired. The default value is false.
         # Corresponds to the JSON property `isLarge`
         # @return [Boolean]
         attr_accessor :is_large
         alias_method :is_large?, :is_large
       
-        # The language of the caption track. The property value is a BCP-47 language tag.
+        # The language of the caption track. The property value is a
+        # BCP-47
+        # language tag.
         # Corresponds to the JSON property `language`
         # @return [String]
         attr_accessor :language
       
         # The date and time when the caption track was last updated. The value is
-        # specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
+        # specified in ISO 8601
+        # (YYYY-MM-DDThh:mm:ss.sZ) format.
         # Corresponds to the JSON property `lastUpdated`
-        # @return [DateTime]
+        # @return [String]
         attr_accessor :last_updated
       
-        # The name of the caption track. The name is intended to be visible to the user
-        # as an option during playback.
+        # The name of the caption track. The name is intended to be visible
+        # to the user as an option during playback.
         # Corresponds to the JSON property `name`
         # @return [String]
         attr_accessor :name
@@ -806,8 +821,9 @@ module Google
         # @return [String]
         attr_accessor :track_kind
       
-        # The ID that YouTube uses to uniquely identify the video associated with the
-        # caption track.
+        # The ID that YouTube uses to uniquely identify the video associated
+        # with the caption track.
+        # @mutable youtube.captions.insert
         # Corresponds to the JSON property `videoId`
         # @return [String]
         attr_accessor :video_id
@@ -838,7 +854,7 @@ module Google
       class CdnSettings
         include Google::Apis::Core::Hashable
       
-        # The format of the video stream that you are sending to Youtube.
+        # The format of the video stream that you are sending to Youtube. 

# Corresponds to the JSON property `format` # @return [String] attr_accessor :format @@ -877,12 +893,13 @@ module Google end end - # A channel resource contains information about a YouTube channel. + # A channel resource contains + # information about a YouTube channel. class Channel include Google::Apis::Core::Hashable - # The auditDetails object encapsulates channel data that is relevant for YouTube - # Partners during the audit process. + # The auditDetails object encapsulates channel data that is + # relevant for YouTube Partners during the audit process. # Corresponds to the JSON property `auditDetails` # @return [Google::Apis::YoutubeV3::ChannelAuditDetails] attr_accessor :audit_details @@ -897,14 +914,14 @@ module Google # @return [Google::Apis::YoutubeV3::ChannelContentDetails] attr_accessor :content_details - # The contentOwnerDetails object encapsulates channel data that is relevant for - # YouTube Partners linked with the channel. + # The contentOwnerDetails object encapsulates channel data that + # is relevant for YouTube Partners linked with the channel. # Corresponds to the JSON property `contentOwnerDetails` # @return [Google::Apis::YoutubeV3::ChannelContentOwnerDetails] attr_accessor :content_owner_details - # The conversionPings object encapsulates information about conversion pings - # that need to be respected by the channel. + # The conversionPings object encapsulates information about + # conversion pings that need to be respected by the channel. # Corresponds to the JSON property `conversionPings` # @return [Google::Apis::YoutubeV3::ChannelConversionPings] attr_accessor :conversion_pings @@ -919,14 +936,14 @@ module Google # @return [String] attr_accessor :id - # Describes an invideo promotion campaign consisting of multiple promoted items. - # A campaign belongs to a single channel_id. + # Describes an invideo promotion campaign consisting of multiple promoted + # items. A campaign belongs to a single channel_id. # Corresponds to the JSON property `invideoPromotion` # @return [Google::Apis::YoutubeV3::InvideoPromotion] attr_accessor :invideo_promotion - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # channel". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#channel". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -980,8 +997,8 @@ module Google end end - # The auditDetails object encapsulates channel data that is relevant for YouTube - # Partners during the audit process. + # The auditDetails object encapsulates channel data that is + # relevant for YouTube Partners during the audit process. class ChannelAuditDetails include Google::Apis::Core::Hashable @@ -1019,13 +1036,13 @@ module Google class ChannelBannerResource include Google::Apis::Core::Hashable - # Etag of this resource. + # # Corresponds to the JSON property `etag` # @return [String] attr_accessor :etag - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # channelBannerResource". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#channelBannerResource". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -1106,37 +1123,51 @@ module Google class RelatedPlaylists include Google::Apis::Core::Hashable - # The ID of the playlist that contains the channel"s favorite videos. Use the - # playlistItems.insert and playlistItems.delete to add or remove items from - # that list. + # The ID of the playlist that contains the channel"s favorite videos. Use + # the playlistItems.insert + # and playlistItems.delete + # to add or remove items from that list. # Corresponds to the JSON property `favorites` # @return [String] attr_accessor :favorites # The ID of the playlist that contains the channel"s liked videos. Use the - # playlistItems.insert and playlistItems.delete to add or remove items from - # that list. + # + # playlistItems.insert and playlistItems.delete + # to add or remove items from that list. # Corresponds to the JSON property `likes` # @return [String] attr_accessor :likes - # The ID of the playlist that contains the channel"s uploaded videos. Use the - # videos.insert method to upload new videos and the videos.delete method to + # The ID of the playlist that contains the channel"s uploaded videos. Use + # the videos.insert method to + # upload new videos and the videos.delete method to # delete previously uploaded videos. # Corresponds to the JSON property `uploads` # @return [String] attr_accessor :uploads # The ID of the playlist that contains the channel"s watch history. Use the - # playlistItems.insert and playlistItems.delete to add or remove items from - # that list. + # playlistItems.insert + # and playlistItems.delete + # to add or remove items from that list. # Corresponds to the JSON property `watchHistory` # @return [String] attr_accessor :watch_history - # The ID of the playlist that contains the channel"s watch later playlist. Use - # the playlistItems.insert and playlistItems.delete to add or remove items from - # that list. + # The ID of the playlist that contains the channel"s watch later playlist. + # Use the playlistItems.insert + # and playlistItems.delete + # to add or remove items from that list. # Corresponds to the JSON property `watchLater` # @return [String] attr_accessor :watch_later @@ -1156,8 +1187,8 @@ module Google end end - # The contentOwnerDetails object encapsulates channel data that is relevant for - # YouTube Partners linked with the channel. + # The contentOwnerDetails object encapsulates channel data that + # is relevant for YouTube Partners linked with the channel. class ChannelContentOwnerDetails include Google::Apis::Core::Hashable @@ -1166,10 +1197,12 @@ module Google # @return [String] attr_accessor :content_owner - # The date and time of when the channel was linked to the content owner. The - # value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + # The date and time of when the channel was linked to the content owner. + # The value is specified in ISO + # 8601 + # (YYYY-MM-DDThh:mm:ss.sZ) format. # Corresponds to the JSON property `timeLinked` - # @return [DateTime] + # @return [String] attr_accessor :time_linked def initialize(**args) @@ -1194,12 +1227,13 @@ module Google # @return [String] attr_accessor :context - # The url (without the schema) that the player shall send the ping to. It's at - # caller's descretion to decide which schema to use (http vs https) Example of a - # returned url: //googleads.g.doubleclick.net/pagead/ viewthroughconversion/ - # 962985656/?data=path%3DtHe_path%3Btype%3D cview%3Butuid% - # 3DGISQtTNGYqaYl4sKxoVvKA&labe=default The caller must append biscotti - # authentication (ms param in case of mobile, for example) to this ping. + # The url (without the schema) that the player shall send the ping to. + # It's at caller's descretion to decide which schema to use (http vs https) + # Example of a returned url: //googleads.g.doubleclick.net/pagead/ + # viewthroughconversion/962985656/?data=path%3DtHe_path%3Btype%3D + # cview%3Butuid%3DGISQtTNGYqaYl4sKxoVvKA&labe=default + # The caller must append biscotti authentication (ms param in case of + # mobile, for example) to this ping. # Corresponds to the JSON property `conversionUrl` # @return [String] attr_accessor :conversion_url @@ -1215,14 +1249,14 @@ module Google end end - # The conversionPings object encapsulates information about conversion pings - # that need to be respected by the channel. + # The conversionPings object encapsulates information about + # conversion pings that need to be respected by the channel. class ChannelConversionPings include Google::Apis::Core::Hashable # Pings that the app shall fire (authenticated by biscotti cookie). Each ping - # has a context, in which the app must fire the ping, and a url identifying the - # ping. + # has a context, in which the app must fire the ping, and a url identifying + # the ping. # Corresponds to the JSON property `pings` # @return [Array] attr_accessor :pings @@ -1251,19 +1285,19 @@ module Google # @return [String] attr_accessor :event_id - # A list of channels that match the request criteria. + # # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # channelListResponse". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#channelListResponse". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The token that can be used as the value of the pageToken parameter to retrieve - # the next page in the result set. + # The token that can be used as the value of the pageToken + # parameter to retrieve the next page in the result set. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -1274,8 +1308,8 @@ module Google # @return [Google::Apis::YoutubeV3::PageInfo] attr_accessor :page_info - # The token that can be used as the value of the pageToken parameter to retrieve - # the previous page in the result set. + # The token that can be used as the value of the pageToken + # parameter to retrieve the previous page in the result set. # Corresponds to the JSON property `prevPageToken` # @return [String] attr_accessor :prev_page_token @@ -1285,7 +1319,7 @@ module Google # @return [Google::Apis::YoutubeV3::TokenPagination] attr_accessor :token_pagination - # The visitorId identifies the visitor. + # The visitorId identifies the visitor. # Corresponds to the JSON property `visitorId` # @return [String] attr_accessor :visitor_id @@ -1389,8 +1423,8 @@ module Google # @return [String] attr_accessor :id - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # channelSection". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#channelSection". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -1471,13 +1505,13 @@ module Google # @return [Array] attr_accessor :items - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # channelSectionListResponse". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#channelSectionListResponse". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The visitorId identifies the visitor. + # The visitorId identifies the visitor. # Corresponds to the JSON property `visitorId` # @return [String] attr_accessor :visitor_id @@ -1519,8 +1553,8 @@ module Google class ChannelSectionSnippet include Google::Apis::Core::Hashable - # The ID that YouTube uses to uniquely identify the channel that published the - # channel section. + # The ID that YouTube uses to uniquely identify the channel that published + # the channel section. # Corresponds to the JSON property `channelId` # @return [String] attr_accessor :channel_id @@ -1641,8 +1675,8 @@ module Google # @return [String] attr_accessor :keywords - # Whether user-submitted comments left on the channel page need to be approved - # by the channel owner to be publicly visible. + # Whether user-submitted comments left on the channel page need to be + # approved by the channel owner to be publicly visible. # Corresponds to the JSON property `moderateComments` # @return [Boolean] attr_accessor :moderate_comments @@ -1733,10 +1767,11 @@ module Google # @return [Google::Apis::YoutubeV3::ChannelLocalization] attr_accessor :localized - # The date and time that the channel was created. The value is specified in ISO - # 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + # The date and time that the channel was created. The value is specified in + # < a href="//www.w3.org/TR/NOTE-datetime">ISO 8601 + # (YYYY-MM-DDThh:mm:ss.sZ) format. # Corresponds to the JSON property `publishedAt` - # @return [DateTime] + # @return [String] attr_accessor :published_at # Internal representation of thumbnails for a YouTube resource. @@ -1815,14 +1850,15 @@ module Google class ChannelStatus include Google::Apis::Core::Hashable - # If true, then the user is linked to either a YouTube username or G+ account. - # Otherwise, the user doesn't have a public YouTube identity. + # If true, then the user is linked to either a YouTube username or G+ + # account. Otherwise, the user doesn't have a public YouTube identity. # Corresponds to the JSON property `isLinked` # @return [Boolean] attr_accessor :is_linked alias_method :is_linked?, :is_linked # The long uploads status of this channel. See + # https://support.google.com/youtube/answer/71673 for more information. # Corresponds to the JSON property `longUploadsStatus` # @return [String] attr_accessor :long_uploads_status @@ -1868,7 +1904,8 @@ module Google attr_accessor :topic_categories # A list of Freebase topic IDs associated with the channel. You can retrieve - # information about each topic using the Freebase Topic API. + # information about each topic using the Freebase Topic API. # Corresponds to the JSON property `topicIds` # @return [Array] attr_accessor :topic_ids @@ -1884,7 +1921,7 @@ module Google end end - # A comment represents a single YouTube comment. + # A comment represents a single YouTube comment. class Comment include Google::Apis::Core::Hashable @@ -1898,8 +1935,8 @@ module Google # @return [String] attr_accessor :id - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # comment". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#comment". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -1941,14 +1978,14 @@ module Google # @return [Array] attr_accessor :items - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # commentListResponse". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#commentListResponse". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The token that can be used as the value of the pageToken parameter to retrieve - # the next page in the result set. + # The token that can be used as the value of the pageToken + # parameter to retrieve the next page in the result set. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -1964,7 +2001,7 @@ module Google # @return [Google::Apis::YoutubeV3::TokenPagination] attr_accessor :token_pagination - # The visitorId identifies the visitor. + # The visitorId identifies the visitor. # Corresponds to the JSON property `visitorId` # @return [String] attr_accessor :visitor_id @@ -1992,7 +2029,7 @@ module Google # The id of the author's YouTube channel, if any. # Corresponds to the JSON property `authorChannelId` - # @return [Object] + # @return [Google::Apis::YoutubeV3::CommentSnippetAuthorChannelId] attr_accessor :author_channel_id # Link to the author's YouTube channel, if any. @@ -2016,9 +2053,9 @@ module Google attr_accessor :can_rate alias_method :can_rate?, :can_rate - # The id of the corresponding YouTube channel. In case of a channel comment this - # is the channel the comment refers to. In case of a video comment it's the - # video's channel. + # The id of the corresponding YouTube channel. In case of a channel comment + # this is the channel the comment refers to. In case of a video comment + # it's the video's channel. # Corresponds to the JSON property `channelId` # @return [String] attr_accessor :channel_id @@ -2040,30 +2077,32 @@ module Google attr_accessor :parent_id # The date and time when the comment was orignally published. The value is - # specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + # specified in ISO 8601 + # (YYYY-MM-DDThh:mm:ss.sZ) format. # Corresponds to the JSON property `publishedAt` - # @return [DateTime] + # @return [String] attr_accessor :published_at - # The comment's text. The format is either plain text or HTML dependent on what - # has been requested. Even the plain text representation may differ from the - # text originally posted in that it may replace video links with video titles - # etc. + # The comment's text. The format is either plain text or HTML dependent on + # what has been requested. Even the plain text representation may differ + # from the text originally posted in that it may replace video links with + # video titles etc. # Corresponds to the JSON property `textDisplay` # @return [String] attr_accessor :text_display # The comment's original raw text as initially posted or last updated. The - # original text will only be returned if it is accessible to the viewer, which - # is only guaranteed if the viewer is the comment's author. + # original text will only be returned if it is accessible to the viewer, + # which is only guaranteed if the viewer is the comment's author. # Corresponds to the JSON property `textOriginal` # @return [String] attr_accessor :text_original - # The date and time when was last updated . The value is specified in ISO 8601 ( - # YYYY-MM-DDThh:mm:ss.sZ) format. + # The date and time when was last updated . The value is + # specified in ISO 8601 + # (YYYY-MM-DDThh:mm:ss.sZ) format. # Corresponds to the JSON property `updatedAt` - # @return [DateTime] + # @return [String] attr_accessor :updated_at # The ID of the video the comment refers to, if any. @@ -2071,9 +2110,9 @@ module Google # @return [String] attr_accessor :video_id - # The rating the viewer has given to this comment. For the time being this will - # never return RATE_TYPE_DISLIKE and instead return RATE_TYPE_NONE. This may - # change in the future. + # The rating the viewer has given to this comment. For the time being this + # will never return RATE_TYPE_DISLIKE and instead return RATE_TYPE_NONE. + # This may change in the future. # Corresponds to the JSON property `viewerRating` # @return [String] attr_accessor :viewer_rating @@ -2102,9 +2141,28 @@ module Google end end - # A comment thread represents information that applies to a top level comment - # and all its replies. It can also include the top level comment itself and some - # of the replies. + # The id of the author's YouTube channel, if any. + class CommentSnippetAuthorChannelId + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + end + end + + # A comment thread represents information that + # applies to a top level comment and all its replies. It can also include the + # top level comment itself and some of the replies. class CommentThread include Google::Apis::Core::Hashable @@ -2118,8 +2176,8 @@ module Google # @return [String] attr_accessor :id - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # commentThread". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#commentThread". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -2167,14 +2225,14 @@ module Google # @return [Array] attr_accessor :items - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # commentThreadListResponse". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#commentThreadListResponse". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The token that can be used as the value of the pageToken parameter to retrieve - # the next page in the result set. + # The token that can be used as the value of the pageToken + # parameter to retrieve the next page in the result set. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -2190,7 +2248,7 @@ module Google # @return [Google::Apis::YoutubeV3::TokenPagination] attr_accessor :token_pagination - # The visitorId identifies the visitor. + # The visitorId identifies the visitor. # Corresponds to the JSON property `visitorId` # @return [String] attr_accessor :visitor_id @@ -2217,8 +2275,8 @@ module Google include Google::Apis::Core::Hashable # A limited number of replies. Unless the number of replies returned equals - # total_reply_count in the snippet the returned replies are only a subset of the - # total number of replies. + # total_reply_count in the snippet the returned replies are only a subset + # of the total number of replies. # Corresponds to the JSON property `comments` # @return [Array] attr_accessor :comments @@ -2244,21 +2302,21 @@ module Google attr_accessor :can_reply alias_method :can_reply?, :can_reply - # The YouTube channel the comments in the thread refer to or the channel with - # the video the comments refer to. If video_id isn't set the comments refer to - # the channel itself. + # The YouTube channel the comments in the thread refer to or the channel + # with the video the comments refer to. If video_id isn't set the comments + # refer to the channel itself. # Corresponds to the JSON property `channelId` # @return [String] attr_accessor :channel_id - # Whether the thread (and therefore all its comments) is visible to all YouTube - # users. + # Whether the thread (and therefore all its comments) is visible to all + # YouTube users. # Corresponds to the JSON property `isPublic` # @return [Boolean] attr_accessor :is_public alias_method :is_public?, :is_public - # A comment represents a single YouTube comment. + # A comment represents a single YouTube comment. # Corresponds to the JSON property `topLevelComment` # @return [Google::Apis::YoutubeV3::Comment] attr_accessor :top_level_comment @@ -2289,26 +2347,27 @@ module Google end end - # Ratings schemes. The country-specific ratings are mostly for movies and shows. - # NEXT_ID: 72 + # Ratings schemes. The country-specific ratings are mostly for + # movies and shows. + # LINT.IfChange class ContentRating include Google::Apis::Core::Hashable - # The video's Australian Classification Board (ACB) or Australian Communications - # and Media Authority (ACMA) rating. ACMA ratings are used to classify children' - # s television programming. + # The video's Australian Classification Board (ACB) or Australian + # Communications and Media Authority (ACMA) rating. ACMA ratings are used + # to classify children's television programming. # Corresponds to the JSON property `acbRating` # @return [String] attr_accessor :acb_rating - # The video's rating from Italy's Autorità per le Garanzie nelle Comunicazioni ( - # AGCOM). + # The video's rating from Italy's Autorità per le Garanzie nelle + # Comunicazioni (AGCOM). # Corresponds to the JSON property `agcomRating` # @return [String] attr_accessor :agcom_rating - # The video's Anatel (Asociación Nacional de Televisión) rating for Chilean - # television. + # The video's Anatel (Asociación Nacional de Televisión) + # rating for Chilean television. # Corresponds to the JSON property `anatelRating` # @return [String] attr_accessor :anatel_rating @@ -2323,23 +2382,27 @@ module Google # @return [String] attr_accessor :bfvc_rating - # The video's rating from the Austrian Board of Media Classification ( - # Bundesministerium für Unterricht, Kunst und Kultur). + # The video's rating from the Austrian Board of Media Classification + # (Bundesministerium für Unterricht, Kunst und Kultur). # Corresponds to the JSON property `bmukkRating` # @return [String] attr_accessor :bmukk_rating - # Rating system for Canadian TV - Canadian TV Classification System The video's - # rating from the Canadian Radio-Television and Telecommunications Commission ( - # CRTC) for Canadian English-language broadcasts. For more information, see the - # Canadian Broadcast Standards Council website. + # Rating system for Canadian TV - Canadian TV Classification System + # The video's rating from the Canadian Radio-Television and + # Telecommunications Commission (CRTC) for Canadian English-language + # broadcasts. For more information, see the + # Canadian + # Broadcast Standards Council website. # Corresponds to the JSON property `catvRating` # @return [String] attr_accessor :catv_rating - # The video's rating from the Canadian Radio-Television and Telecommunications - # Commission (CRTC) for Canadian French-language broadcasts. For more - # information, see the Canadian Broadcast Standards Council website. + # The video's rating from the Canadian Radio-Television and + # Telecommunications Commission (CRTC) for Canadian French-language + # broadcasts. For more information, see the + # Canadian + # Broadcast Standards Council website. # Corresponds to the JSON property `catvfrRating` # @return [String] attr_accessor :catvfr_rating @@ -2349,12 +2412,14 @@ module Google # @return [String] attr_accessor :cbfc_rating - # The video's Consejo de Calificación Cinematográfica (Chile) rating. + # The video's Consejo de Calificación Cinematográfica (Chile) + # rating. # Corresponds to the JSON property `cccRating` # @return [String] attr_accessor :ccc_rating - # The video's rating from Portugal's Comissão de Classificação de Espect´culos. + # The video's rating from Portugal's Comissão de + # Classificação de Espect´culos. # Corresponds to the JSON property `cceRating` # @return [String] attr_accessor :cce_rating @@ -2369,12 +2434,14 @@ module Google # @return [String] attr_accessor :chvrs_rating - # The video's rating from the Commission de Contrôle des Films (Belgium). + # The video's rating from the Commission de Contrôle des Films + # (Belgium). # Corresponds to the JSON property `cicfRating` # @return [String] attr_accessor :cicf_rating - # The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI (CNA). + # The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI + # (CNA). # Corresponds to the JSON property `cnaRating` # @return [String] attr_accessor :cna_rating @@ -2384,14 +2451,14 @@ module Google # @return [String] attr_accessor :cnc_rating - # The video's rating from France's Conseil supérieur de l?audiovisuel, which - # rates broadcast content. + # The video's rating from France's Conseil supérieur de + # l’audiovisuel, which rates broadcast content. # Corresponds to the JSON property `csaRating` # @return [String] attr_accessor :csa_rating - # The video's rating from Luxembourg's Commission de surveillance de la - # classification des films (CSCF). + # The video's rating from Luxembourg's Commission de surveillance + # de la classification des films (CSCF). # Corresponds to the JSON property `cscfRating` # @return [String] attr_accessor :cscf_rating @@ -2401,8 +2468,8 @@ module Google # @return [String] attr_accessor :czfilm_rating - # The video's Departamento de Justiça, Classificação, Qualificação e Títulos ( - # DJCQT - Brazil) rating. + # The video's Departamento de Justiça, Classificação, + # Qualificação e Títulos (DJCQT - Brazil) rating. # Corresponds to the JSON property `djctqRating` # @return [String] attr_accessor :djctq_rating @@ -2412,8 +2479,8 @@ module Google # @return [Array] attr_accessor :djctq_rating_reasons - # Rating system in Turkey - Evaluation and Classification Board of the Ministry - # of Culture and Tourism + # Rating system in Turkey - Evaluation and Classification Board of the + # Ministry of Culture and Tourism # Corresponds to the JSON property `ecbmctRating` # @return [String] attr_accessor :ecbmct_rating @@ -2428,7 +2495,8 @@ module Google # @return [String] attr_accessor :egfilm_rating - # The video's Eirin (映倫) rating. Eirin is the Japanese rating system. + # The video's Eirin (映倫) rating. + # Eirin is the Japanese rating system. # Corresponds to the JSON property `eirinRating` # @return [String] attr_accessor :eirin_rating @@ -2438,14 +2506,17 @@ module Google # @return [String] attr_accessor :fcbm_rating - # The video's rating from Hong Kong's Office for Film, Newspaper and Article - # Administration. + # The video's rating from Hong Kong's Office for Film, Newspaper + # and Article Administration. # Corresponds to the JSON property `fcoRating` # @return [String] attr_accessor :fco_rating - # This property has been deprecated. Use the contentDetails.contentRating. - # cncRating instead. + # This property has been deprecated. Use the + # contentDetails.contentRating. + # cncRating + # instead. # Corresponds to the JSON property `fmocRating` # @return [String] attr_accessor :fmoc_rating @@ -2460,8 +2531,8 @@ module Google # @return [Array] attr_accessor :fpb_rating_reasons - # The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany) - # rating. + # The video's Freiwillige Selbstkontrolle der Filmwirtschaft + # (FSK - Germany) rating. # Corresponds to the JSON property `fskRating` # @return [String] attr_accessor :fsk_rating @@ -2471,14 +2542,16 @@ module Google # @return [String] attr_accessor :grfilm_rating - # The video's Instituto de la Cinematografía y de las Artes Audiovisuales (ICAA - - # Spain) rating. + # The video's Instituto de la Cinematografía y de las Artes + # Audiovisuales (ICAA - Spain) rating. # Corresponds to the JSON property `icaaRating` # @return [String] attr_accessor :icaa_rating - # The video's Irish Film Classification Office (IFCO - Ireland) rating. See the - # IFCO website for more information. + # The video's Irish Film Classification Office (IFCO - Ireland) rating. + # See the IFCO + # website for more information. # Corresponds to the JSON property `ifcoRating` # @return [String] attr_accessor :ifco_rating @@ -2499,13 +2572,15 @@ module Google # @return [String] attr_accessor :kfcb_rating + # The video's NICAM/Kijkwijzer rating from the Nederlands Instituut # voor de Classificatie van Audiovisuele Media (Netherlands). # Corresponds to the JSON property `kijkwijzerRating` # @return [String] attr_accessor :kijkwijzer_rating - # The video's Korea Media Rating Board (영상물등급위원회) rating. The KMRB rates videos - # in South Korea. + # The video's Korea Media Rating Board + # (영상물등급위원회) rating. + # The KMRB rates videos in South Korea. # Corresponds to the JSON property `kmrbRating` # @return [String] attr_accessor :kmrb_rating @@ -2520,8 +2595,8 @@ module Google # @return [String] attr_accessor :mccaa_rating - # The video's rating from the Danish Film Institute's (Det Danske Filminstitut) - # Media Council for Children and Young People. + # The video's rating from the Danish Film Institute's (Det Danske + # Filminstitut) Media Council for Children and Young People. # Corresponds to the JSON property `mccypRating` # @return [String] attr_accessor :mccyp_rating @@ -2542,19 +2617,21 @@ module Google # @return [String] attr_accessor :medietilsynet_rating - # The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti ( - # National Audiovisual Institute). + # The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti + # (National Audiovisual Institute). # Corresponds to the JSON property `mekuRating` # @return [String] attr_accessor :meku_rating # The rating system for MENA countries, a clone of MPAA. It is needed to + # prevent titles go live w/o additional QC check, since some of them can be + # inappropriate for the countries at all. See b/33408548 for more details. # Corresponds to the JSON property `menaMpaaRating` # @return [String] attr_accessor :mena_mpaa_rating - # The video's rating from the Ministero dei Beni e delle Attività Culturali e - # del Turismo (Italy). + # The video's rating from the Ministero dei Beni e delle Attività + # Culturali e del Turismo (Italy). # Corresponds to the JSON property `mibacRating` # @return [String] attr_accessor :mibac_rating @@ -2564,7 +2641,8 @@ module Google # @return [String] attr_accessor :moc_rating - # The video's rating from Taiwan's Ministry of Culture (文化部). + # The video's rating from Taiwan's Ministry of Culture + # (文化部). # Corresponds to the JSON property `moctwRating` # @return [String] attr_accessor :moctw_rating @@ -2574,14 +2652,14 @@ module Google # @return [String] attr_accessor :mpaa_rating - # The rating system for trailer, DVD, and Ad in the US. See http://movielabs.com/ - # md/ratings/v2.3/html/US_MPAAT_Ratings.html. + # The rating system for trailer, DVD, and Ad in the US. See + # http://movielabs.com/md/ratings/v2.3/html/US_MPAAT_Ratings.html. # Corresponds to the JSON property `mpaatRating` # @return [String] attr_accessor :mpaat_rating - # The video's rating from the Movie and Television Review and Classification - # Board (Philippines). + # The video's rating from the Movie and Television Review and + # Classification Board (Philippines). # Corresponds to the JSON property `mtrcbRating` # @return [String] attr_accessor :mtrcb_rating @@ -2596,7 +2674,8 @@ module Google # @return [String] attr_accessor :nbcpl_rating - # The video's rating from the Bulgarian National Film Center. + # The video's rating from the Bulgarian + # National Film Center. # Corresponds to the JSON property `nfrcRating` # @return [String] attr_accessor :nfrc_rating @@ -2606,19 +2685,19 @@ module Google # @return [String] attr_accessor :nfvcb_rating - # The video's rating from the Nacionãlais Kino centrs (National Film Centre of - # Latvia). + # The video's rating from the Nacionãlais Kino centrs (National Film + # Centre of Latvia). # Corresponds to the JSON property `nkclvRating` # @return [String] attr_accessor :nkclv_rating - # + # The National Media Council ratings system for United Arab Emirates. # Corresponds to the JSON property `nmcRating` # @return [String] attr_accessor :nmc_rating - # The video's Office of Film and Literature Classification (OFLC - New Zealand) - # rating. + # The video's Office of Film and Literature Classification + # (OFLC - New Zealand) rating. # Corresponds to the JSON property `oflcRating` # @return [String] attr_accessor :oflc_rating @@ -2628,8 +2707,8 @@ module Google # @return [String] attr_accessor :pefilm_rating - # The video's rating from the Hungarian Nemzeti Filmiroda, the Rating Committee - # of the National Office of Film. + # The video's rating from the Hungarian Nemzeti Filmiroda, the Rating + # Committee of the National Office of Film. # Corresponds to the JSON property `rcnofRating` # @return [String] attr_accessor :rcnof_rating @@ -2639,19 +2718,20 @@ module Google # @return [String] attr_accessor :resorteviolencia_rating - # The video's General Directorate of Radio, Television and Cinematography ( - # Mexico) rating. + # The video's General Directorate of Radio, Television and Cinematography + # (Mexico) rating. # Corresponds to the JSON property `rtcRating` # @return [String] attr_accessor :rtc_rating - # The video's rating from Ireland's Raidió Teilifís Éireann. + # The video's rating from Ireland's Raidió Teilifís + # Éireann. # Corresponds to the JSON property `rteRating` # @return [String] attr_accessor :rte_rating - # The video's National Film Registry of the Russian Federation (MKRF - Russia) - # rating. + # The video's National Film Registry of the Russian Federation + # (MKRF - Russia) rating. # Corresponds to the JSON property `russiaRating` # @return [String] attr_accessor :russia_rating @@ -2666,7 +2746,8 @@ module Google # @return [String] attr_accessor :smais_rating - # The video's rating from Statens medieråd (Sweden's National Media Council). + # The video's rating from Statens medieråd (Sweden's National Media + # Council). # Corresponds to the JSON property `smsaRating` # @return [String] attr_accessor :smsa_rating @@ -2792,11 +2873,13 @@ module Google end end - # A guideCategory resource identifies a category that YouTube algorithmically - # assigns based on a channel's content or other indicators, such as the channel' - # s popularity. The list is similar to video categories, with the difference - # being that a video's uploader can assign a video category but only YouTube can - # assign a channel category. + # A guideCategory resource identifies a category + # that YouTube algorithmically assigns based on a + # channel's content or other indicators, such as the channel's popularity. The + # list is similar to video categories, with the + # difference being that a video's uploader can assign a video category but only + # YouTube can assign a channel category. class GuideCategory include Google::Apis::Core::Hashable @@ -2810,8 +2893,8 @@ module Google # @return [String] attr_accessor :id - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # guideCategory". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#guideCategory". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -2848,21 +2931,21 @@ module Google # @return [String] attr_accessor :event_id - # A list of categories that can be associated with YouTube channels. In this map, - # the category ID is the map key, and its value is the corresponding - # guideCategory resource. + # A list of categories that can be associated with YouTube channels. In this + # map, the category ID is the map key, and its value is the corresponding + # guideCategory resource. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # guideCategoryListResponse". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#guideCategoryListResponse". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The token that can be used as the value of the pageToken parameter to retrieve - # the next page in the result set. + # The token that can be used as the value of the pageToken + # parameter to retrieve the next page in the result set. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -2873,8 +2956,8 @@ module Google # @return [Google::Apis::YoutubeV3::PageInfo] attr_accessor :page_info - # The token that can be used as the value of the pageToken parameter to retrieve - # the previous page in the result set. + # The token that can be used as the value of the pageToken + # parameter to retrieve the previous page in the result set. # Corresponds to the JSON property `prevPageToken` # @return [String] attr_accessor :prev_page_token @@ -2884,7 +2967,7 @@ module Google # @return [Google::Apis::YoutubeV3::TokenPagination] attr_accessor :token_pagination - # The visitorId identifies the visitor. + # The visitorId identifies the visitor. # Corresponds to the JSON property `visitorId` # @return [String] attr_accessor :visitor_id @@ -2932,8 +3015,8 @@ module Google end end - # An i18nLanguage resource identifies a UI language currently supported by - # YouTube. + # An i18nLanguage resource identifies a UI + # language currently supported by YouTube. class I18nLanguage include Google::Apis::Core::Hashable @@ -2947,14 +3030,14 @@ module Google # @return [String] attr_accessor :id - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # i18nLanguage". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#i18nLanguage". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # Basic details about an i18n language, such as language code and human-readable - # name. + # Basic details about an i18n language, such as language code and + # human-readable name. # Corresponds to the JSON property `snippet` # @return [Google::Apis::YoutubeV3::I18nLanguageSnippet] attr_accessor :snippet @@ -2986,19 +3069,20 @@ module Google # @return [String] attr_accessor :event_id - # A list of supported i18n languages. In this map, the i18n language ID is the - # map key, and its value is the corresponding i18nLanguage resource. + # A list of supported i18n languages. In this map, the i18n language ID is + # the map key, and its value is the corresponding i18nLanguage + # resource. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # i18nLanguageListResponse". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#i18nLanguageListResponse". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The visitorId identifies the visitor. + # The visitorId identifies the visitor. # Corresponds to the JSON property `visitorId` # @return [String] attr_accessor :visitor_id @@ -3017,8 +3101,8 @@ module Google end end - # Basic details about an i18n language, such as language code and human-readable - # name. + # Basic details about an i18n language, such as language code and + # human-readable name. class I18nLanguageSnippet include Google::Apis::Core::Hashable @@ -3043,7 +3127,8 @@ module Google end end - # A i18nRegion resource identifies a region where YouTube is available. + # A i18nRegion resource identifies a region where + # YouTube is available. class I18nRegion include Google::Apis::Core::Hashable @@ -3057,8 +3142,8 @@ module Google # @return [String] attr_accessor :id - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # i18nRegion". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#i18nRegion". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -3096,19 +3181,20 @@ module Google # @return [String] attr_accessor :event_id - # A list of regions where YouTube is available. In this map, the i18n region ID - # is the map key, and its value is the corresponding i18nRegion resource. + # A list of regions where YouTube is available. In this map, the i18n region + # ID is the map key, and its value is the corresponding + # i18nRegion resource. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # i18nRegionListResponse". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#i18nRegionListResponse". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The visitorId identifies the visitor. + # The visitorId identifies the visitor. # Corresponds to the JSON property `visitorId` # @return [String] attr_accessor :visitor_id @@ -3163,8 +3249,8 @@ module Google # @return [Google::Apis::YoutubeV3::LocalizedProperty] attr_accessor :background_image_url - # This is used only in update requests; if it's set, we use this URL to generate - # all of the above banner URLs. + # This is used only in update requests; if it's set, we use this URL to + # generate all of the above banner URLs. # Corresponds to the JSON property `bannerExternalUrl` # @return [String] attr_accessor :banner_external_url @@ -3244,8 +3330,8 @@ module Google # @return [Google::Apis::YoutubeV3::LocalizedProperty] attr_accessor :large_branded_banner_image_imap_script - # The URL for the 854px by 70px image that appears below the video player in the - # expanded video view of the video watch page. + # The URL for the 854px by 70px image that appears below the video player in + # the expanded video view of the video watch page. # Corresponds to the JSON property `largeBrandedBannerImageUrl` # @return [Google::Apis::YoutubeV3::LocalizedProperty] attr_accessor :large_branded_banner_image_url @@ -3255,21 +3341,22 @@ module Google # @return [Google::Apis::YoutubeV3::LocalizedProperty] attr_accessor :small_branded_banner_image_imap_script - # The URL for the 640px by 70px banner image that appears below the video player - # in the default view of the video watch page. + # The URL for the 640px by 70px banner image that appears below the video + # player in the default view of the video watch page. + # The URL for the image that appears above the top-left corner of the video + # player. This is a 25-pixel-high image with a flexible width that cannot + # exceed 170 pixels. # Corresponds to the JSON property `smallBrandedBannerImageUrl` # @return [Google::Apis::YoutubeV3::LocalizedProperty] attr_accessor :small_branded_banner_image_url - # The URL for a 1px by 1px tracking pixel that can be used to collect statistics - # for views of the channel or video pages. + # The URL for a 1px by 1px tracking pixel that can be used to collect + # statistics for views of the channel or video pages. # Corresponds to the JSON property `trackingImageUrl` # @return [String] attr_accessor :tracking_image_url - # The URL for the image that appears above the top-left corner of the video - # player. This is a 25-pixel-high image with a flexible width that cannot exceed - # 170 pixels. + # # Corresponds to the JSON property `watchIconImageUrl` # @return [String] attr_accessor :watch_icon_image_url @@ -3309,23 +3396,37 @@ module Google class IngestionInfo include Google::Apis::Core::Hashable - # The backup ingestion URL that you should use to stream video to YouTube. You - # have the option of simultaneously streaming the content that you are sending - # to the ingestionAddress to this URL. + # The backup ingestion URL that you should use to stream video to + # YouTube. You have the option of simultaneously streaming the content + # that you are sending to the ingestionAddress to this URL. # Corresponds to the JSON property `backupIngestionAddress` # @return [String] attr_accessor :backup_ingestion_address - # The primary ingestion URL that you should use to stream video to YouTube. You - # must stream video to this URL. - # Depending on which application or tool you use to encode your video stream, - # you may need to enter the stream URL and stream name separately or you may - # need to concatenate them in the following format: - # STREAM_URL/STREAM_NAME + # The primary ingestion URL that you should use to stream video to + # YouTube. You must stream video to this URL.

+ # Depending on which application or tool you use to encode + # your video stream, you may need to enter the stream URL and stream + # name separately or you may need to concatenate them in the following + # format:
STREAM_URL/STREAM_NAME
# Corresponds to the JSON property `ingestionAddress` # @return [String] attr_accessor :ingestion_address + # This ingestion url may be used instead of + # backupIngestionAddress in order to stream via RTMPS. Not + # applicable to non-RTMP streams. + # Corresponds to the JSON property `rtmpsBackupIngestionAddress` + # @return [String] + attr_accessor :rtmps_backup_ingestion_address + + # This ingestion url may be used instead of + # ingestionAddress in order to stream via RTMPS. Not applicable + # to non-RTMP streams. + # Corresponds to the JSON property `rtmpsIngestionAddress` + # @return [String] + attr_accessor :rtmps_ingestion_address + # The HTTP or RTMP stream name that YouTube assigns to the video stream. # Corresponds to the JSON property `streamName` # @return [String] @@ -3339,21 +3440,24 @@ module Google def update!(**args) @backup_ingestion_address = args[:backup_ingestion_address] if args.key?(:backup_ingestion_address) @ingestion_address = args[:ingestion_address] if args.key?(:ingestion_address) + @rtmps_backup_ingestion_address = args[:rtmps_backup_ingestion_address] if args.key?(:rtmps_backup_ingestion_address) + @rtmps_ingestion_address = args[:rtmps_ingestion_address] if args.key?(:rtmps_ingestion_address) @stream_name = args[:stream_name] if args.key?(:stream_name) end end - # + # LINT.IfChange + # Describes an invideo branding. class InvideoBranding include Google::Apis::Core::Hashable - # + # The bytes the uploaded image. Only used in api to youtube communication. # Corresponds to the JSON property `imageBytes` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] attr_accessor :image_bytes - # + # The url of the uploaded image. Only used in apiary to api communication. # Corresponds to the JSON property `imageUrl` # @return [String] attr_accessor :image_url @@ -3364,7 +3468,8 @@ module Google # @return [Google::Apis::YoutubeV3::InvideoPosition] attr_accessor :position - # + # The channel to which this branding links. If not present it defaults to + # the current channel. # Corresponds to the JSON property `targetChannelId` # @return [String] attr_accessor :target_channel_id @@ -3414,8 +3519,8 @@ module Google end end - # Describes an invideo promotion campaign consisting of multiple promoted items. - # A campaign belongs to a single channel_id. + # Describes an invideo promotion campaign consisting of multiple promoted + # items. A campaign belongs to a single channel_id. class InvideoPromotion include Google::Apis::Core::Hashable @@ -3435,10 +3540,11 @@ module Google # @return [Google::Apis::YoutubeV3::InvideoPosition] attr_accessor :position - # Indicates whether the channel's promotional campaign uses "smart timing." This - # feature attempts to show promotions at a point in the video when they are more - # likely to be clicked and less likely to disrupt the viewing experience. This - # feature also picks up a single promotion to show on each video. + # Indicates whether the channel's promotional campaign uses "smart timing." + # This feature attempts to show promotions at a point in the video when they + # are more likely to be clicked and less likely to disrupt the viewing + # experience. This feature also picks up a single promotion to show on each + # video. # Corresponds to the JSON property `useSmartTiming` # @return [Boolean] attr_accessor :use_smart_timing @@ -3467,17 +3573,18 @@ module Google # @return [Fixnum] attr_accessor :duration_ms - # Defines the time at which the promotion will appear. Depending on the value of - # type the value of the offsetMs field will represent a time offset from the - # start or from the end of the video, expressed in milliseconds. + # Defines the time at which the promotion will appear. Depending on the value + # of type the value of the offsetMs field will + # represent a time offset from the start or from the end of the video, + # expressed in milliseconds. # Corresponds to the JSON property `offsetMs` # @return [Fixnum] attr_accessor :offset_ms - # Describes a timing type. If the value is offsetFromStart, then the offsetMs - # field represents an offset from the start of the video. If the value is - # offsetFromEnd, then the offsetMs field represents an offset from the end of - # the video. + # Describes a timing type. If the value is offsetFromStart, then + # the offsetMs field represents an offset from the start of the + # video. If the value is offsetFromEnd, then the + # offsetMs field represents an offset from the end of the video. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -3517,7 +3624,7 @@ module Google class LevelDetails include Google::Apis::Core::Hashable - # + # The name that should be used when referring to this level. # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name @@ -3532,8 +3639,8 @@ module Google end end - # A liveBroadcast resource represents an event that will be streamed, via live - # video, on YouTube. + # A liveBroadcast resource represents an event + # that will be streamed, via live video, on YouTube. class LiveBroadcast include Google::Apis::Core::Hashable @@ -3552,14 +3659,13 @@ module Google # @return [String] attr_accessor :id - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # liveBroadcast". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#liveBroadcast". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The snippet object contains basic details about the event, including its title, - # description, start time, and end time. + # Basic broadcast information. # Corresponds to the JSON property `snippet` # @return [Google::Apis::YoutubeV3::LiveBroadcastSnippet] attr_accessor :snippet @@ -3570,7 +3676,7 @@ module Google # @return [Google::Apis::YoutubeV3::LiveBroadcastStatistics] attr_accessor :statistics - # The status object contains information about the event's status. + # Live broadcast state. # Corresponds to the JSON property `status` # @return [Google::Apis::YoutubeV3::LiveBroadcastStatus] attr_accessor :status @@ -3595,15 +3701,17 @@ module Google class LiveBroadcastContentDetails include Google::Apis::Core::Hashable - # This value uniquely identifies the live stream bound to the broadcast. + # This value uniquely identifies the + # live stream + # bound to the broadcast. # Corresponds to the JSON property `boundStreamId` # @return [String] attr_accessor :bound_stream_id - # The date and time that the live stream referenced by boundStreamId was last - # updated. + # The date and time that the live stream referenced by + # boundStreamId was last updated. # Corresponds to the JSON property `boundStreamLastUpdateTimeMs` - # @return [DateTime] + # @return [String] attr_accessor :bound_stream_last_update_time_ms # @@ -3612,40 +3720,45 @@ module Google attr_accessor :closed_captions_type # This setting indicates whether auto start is enabled for this broadcast. + # The default value for this property is false.

+ # This setting can only be used by Events. # Corresponds to the JSON property `enableAutoStart` # @return [Boolean] attr_accessor :enable_auto_start alias_method :enable_auto_start?, :enable_auto_start - # + # This setting indicates whether auto stop is enabled for this broadcast. + # The default value for this property is false.

+ # This setting can only be used by Events. # Corresponds to the JSON property `enableAutoStop` # @return [Boolean] attr_accessor :enable_auto_stop alias_method :enable_auto_stop?, :enable_auto_stop - # This setting indicates whether HTTP POST closed captioning is enabled for this - # broadcast. The ingestion URL of the closed captions is returned through the - # liveStreams API. This is mutually exclusive with using the - # closed_captions_type property, and is equivalent to setting - # closed_captions_type to CLOSED_CAPTIONS_HTTP_POST. + # This setting indicates whether HTTP POST closed captioning is enabled for + # this broadcast. The ingestion URL of the closed captions is returned + # through the liveStreams API. This is mutually exclusive with using the + # closed_captions_type property, and is equivalent to setting + # closed_captions_type to CLOSED_CAPTIONS_HTTP_POST. # Corresponds to the JSON property `enableClosedCaptions` # @return [Boolean] attr_accessor :enable_closed_captions alias_method :enable_closed_captions?, :enable_closed_captions - # This setting indicates whether YouTube should enable content encryption for - # the broadcast. + # This setting indicates whether YouTube should enable content encryption + # for the broadcast. # Corresponds to the JSON property `enableContentEncryption` # @return [Boolean] attr_accessor :enable_content_encryption alias_method :enable_content_encryption?, :enable_content_encryption - # This setting determines whether viewers can access DVR controls while watching - # the video. DVR controls enable the viewer to control the video playback - # experience by pausing, rewinding, or fast forwarding content. The default - # value for this property is true. - # Important: You must set the value to true and also set the enableArchive - # property's value to true if you want to make playback available immediately + # This setting determines whether viewers can access DVR controls while + # watching the video. DVR controls enable the viewer to control the video + # playback experience by pausing, rewinding, or fast forwarding content. + # The default value for this property is true.

+ # Important: You must set the value to true + # and also set the enableArchive property's value to + # true if you want to make playback available immediately # after the broadcast ends. # Corresponds to the JSON property `enableDvr` # @return [Boolean] @@ -3653,8 +3766,9 @@ module Google alias_method :enable_dvr?, :enable_dvr # This setting indicates whether the broadcast video can be played in an - # embedded player. If you choose to archive the video (using the enableArchive - # property), this setting will also apply to the archived video. + # embedded player. If you choose to archive the video (using the + # enableArchive property), this setting will also apply to + # the archived video. # Corresponds to the JSON property `enableEmbed` # @return [Boolean] attr_accessor :enable_embed @@ -3666,17 +3780,20 @@ module Google attr_accessor :enable_low_latency alias_method :enable_low_latency?, :enable_low_latency - # If both this and enable_low_latency are set, they must match. LATENCY_NORMAL - # should match enable_low_latency=false LATENCY_LOW should match - # enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency - # omitted. + # If both this and enable_low_latency are set, they must match. + # LATENCY_NORMAL should match enable_low_latency=false + # LATENCY_LOW should match enable_low_latency=true + # LATENCY_ULTRA_LOW should have enable_low_latency omitted. # Corresponds to the JSON property `latencyPreference` # @return [String] attr_accessor :latency_preference - # The mesh for projecting the video if projection is mesh. The mesh value must - # be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows - # the Spherical Video V2 RFC specification for an mshp box, excluding the box + # The mesh for projecting the video if projection is + # mesh. The mesh value must be a UTF-8 string containing the + # base-64 encoding of 3D mesh data that follows the + # Spherical Video V2 RFC specification for an mshp box, excluding the box # size and type but including the following four reserved zero bytes for the # version and flags. # Corresponds to the JSON property `mesh` @@ -3689,38 +3806,42 @@ module Google # @return [Google::Apis::YoutubeV3::MonitorStreamInfo] attr_accessor :monitor_stream - # The projection format of this broadcast. This defaults to rectangular. + # The projection format of this broadcast. This defaults to + # rectangular. # Corresponds to the JSON property `projection` # @return [String] attr_accessor :projection - # Automatically start recording after the event goes live. The default value for - # this property is true. - # Important: You must also set the enableDvr property's value to true if you - # want the playback to be available immediately after the broadcast ends. If you - # set this property's value to true but do not also set the enableDvr property - # to true, there may be a delay of around one day before the archived video will - # be available for playback. + # Automatically start recording after the event goes live. + # The default value for this property is true.

+ # Important: You must also set the enableDvr + # property's value to + # true if you want the playback to be available immediately + # after the broadcast ends. If you set this property's value to + # true but do not also set the enableDvr property + # to true, there may be a delay of around one day before the + # archived video will be available for playback. # Corresponds to the JSON property `recordFromStart` # @return [Boolean] attr_accessor :record_from_start alias_method :record_from_start?, :record_from_start - # This setting indicates whether the broadcast should automatically begin with - # an in-stream slate when you update the broadcast's status to live. After - # updating the status, you then need to send a liveCuepoints.insert request that - # sets the cuepoint's eventState to end to remove the in-stream slate and make - # your broadcast stream visible to viewers. + # This setting indicates whether the broadcast should automatically begin + # with an in-stream + # slate when you update the broadcast's status to live. + # After updating the status, you then need to send a + # liveCuepoints.insert + # request that sets the cuepoint's eventState to + # end to remove the in-stream slate and make your broadcast + # stream visible to viewers. # Corresponds to the JSON property `startWithSlate` # @return [Boolean] attr_accessor :start_with_slate alias_method :start_with_slate?, :start_with_slate - # - # Corresponds to the JSON property `stereoLayout` - # @return [String] - attr_accessor :stereo_layout - def initialize(**args) update!(**args) end @@ -3743,7 +3864,6 @@ module Google @projection = args[:projection] if args.key?(:projection) @record_from_start = args[:record_from_start] if args.key?(:record_from_start) @start_with_slate = args[:start_with_slate] if args.key?(:start_with_slate) - @stereo_layout = args[:stereo_layout] if args.key?(:stereo_layout) end end @@ -3766,14 +3886,14 @@ module Google # @return [Array] attr_accessor :items - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # liveBroadcastListResponse". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#liveBroadcastListResponse". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The token that can be used as the value of the pageToken parameter to retrieve - # the next page in the result set. + # The token that can be used as the value of the pageToken + # parameter to retrieve the next page in the result set. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -3784,8 +3904,8 @@ module Google # @return [Google::Apis::YoutubeV3::PageInfo] attr_accessor :page_info - # The token that can be used as the value of the pageToken parameter to retrieve - # the previous page in the result set. + # The token that can be used as the value of the pageToken + # parameter to retrieve the previous page in the result set. # Corresponds to the JSON property `prevPageToken` # @return [String] attr_accessor :prev_page_token @@ -3795,7 +3915,7 @@ module Google # @return [Google::Apis::YoutubeV3::TokenPagination] attr_accessor :token_pagination - # The visitorId identifies the visitor. + # The visitorId identifies the visitor. # Corresponds to the JSON property `visitorId` # @return [String] attr_accessor :visitor_id @@ -3818,43 +3938,43 @@ module Google end end - # + # Basic broadcast information. class LiveBroadcastSnippet include Google::Apis::Core::Hashable - # The date and time that the broadcast actually ended. This information is only - # available once the broadcast's state is complete. The value is specified in - # ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + # The date and time that the broadcast actually ended. This information is + # only available once the broadcast's state is complete. The + # value is specified in ISO 8601 + # (YYYY-MM-DDThh:mm:ss.sZ) format. # Corresponds to the JSON property `actualEndTime` - # @return [DateTime] + # @return [String] attr_accessor :actual_end_time # The date and time that the broadcast actually started. This information is - # only available once the broadcast's state is live. The value is specified in - # ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + # only available once the broadcast's state is live. The + # value is specified in ISO 8601 + # (YYYY-MM-DDThh:mm:ss.sZ) format. # Corresponds to the JSON property `actualStartTime` - # @return [DateTime] + # @return [String] attr_accessor :actual_start_time - # - # Corresponds to the JSON property `broadcastType` - # @return [String] - attr_accessor :broadcast_type - - # The ID that YouTube uses to uniquely identify the channel that is publishing - # the broadcast. + # The ID that YouTube uses to uniquely identify the channel that + # is publishing the broadcast. # Corresponds to the JSON property `channelId` # @return [String] attr_accessor :channel_id - # The broadcast's description. As with the title, you can set this field by - # modifying the broadcast resource or by setting the description field of the - # corresponding video resource. + # The broadcast's description. As with the title, you can set + # this field by modifying the broadcast resource or by setting the + # description + # field of the corresponding video resource. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # + # Indicates whether this broadcast is the default broadcast. + # Internal only. # Corresponds to the JSON property `isDefaultBroadcast` # @return [Boolean] attr_accessor :is_default_broadcast @@ -3866,21 +3986,25 @@ module Google attr_accessor :live_chat_id # The date and time that the broadcast was added to YouTube's live broadcast - # schedule. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + # schedule. The value is specified in + # ISO 8601 + # (YYYY-MM-DDThh:mm:ss.sZ) format. # Corresponds to the JSON property `publishedAt` - # @return [DateTime] + # @return [String] attr_accessor :published_at - # The date and time that the broadcast is scheduled to end. The value is - # specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + # The date and time that the broadcast is scheduled to end. The value + # is specified in ISO 8601 + # (YYYY-MM-DDThh:mm:ss.sZ) format. # Corresponds to the JSON property `scheduledEndTime` - # @return [DateTime] + # @return [String] attr_accessor :scheduled_end_time - # The date and time that the broadcast is scheduled to start. The value is - # specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + # The date and time that the broadcast is scheduled to start. The value + # is specified in ISO 8601 + # (YYYY-MM-DDThh:mm:ss.sZ) format. # Corresponds to the JSON property `scheduledStartTime` - # @return [DateTime] + # @return [String] attr_accessor :scheduled_start_time # Internal representation of thumbnails for a YouTube resource. @@ -3888,9 +4012,11 @@ module Google # @return [Google::Apis::YoutubeV3::ThumbnailDetails] attr_accessor :thumbnails - # The broadcast's title. Note that the broadcast represents exactly one YouTube - # video. You can set this field by modifying the broadcast resource or by - # setting the title field of the corresponding video resource. + # The broadcast's title. Note that the broadcast represents exactly one + # YouTube video. You can set this field by modifying the broadcast resource + # or by setting the + # title + # field of the corresponding video resource. # Corresponds to the JSON property `title` # @return [String] attr_accessor :title @@ -3903,7 +4029,6 @@ module Google def update!(**args) @actual_end_time = args[:actual_end_time] if args.key?(:actual_end_time) @actual_start_time = args[:actual_start_time] if args.key?(:actual_start_time) - @broadcast_type = args[:broadcast_type] if args.key?(:broadcast_type) @channel_id = args[:channel_id] if args.key?(:channel_id) @description = args[:description] if args.key?(:description) @is_default_broadcast = args[:is_default_broadcast] if args.key?(:is_default_broadcast) @@ -3921,22 +4046,12 @@ module Google class LiveBroadcastStatistics include Google::Apis::Core::Hashable - # The number of viewers currently watching the broadcast. The property and its - # value will be present if the broadcast has current viewers and the broadcast - # owner has not hidden the viewcount for the video. Note that YouTube stops - # tracking the number of concurrent viewers for a broadcast when the broadcast - # ends. So, this property would not identify the number of viewers watching an - # archived video of a live broadcast that already ended. - # Corresponds to the JSON property `concurrentViewers` - # @return [Fixnum] - attr_accessor :concurrent_viewers - # The total number of live chat messages currently on the broadcast. The - # property and its value will be present if the broadcast is public, has the - # live chat feature enabled, and has at least one message. Note that this field - # will not be filled after the broadcast ends. So this property would not - # identify the number of chat messages for an archived video of a completed live - # broadcast. + # property and its value will be present if the broadcast is public, has + # the live chat feature enabled, and has at least one message. Note that + # this field will not be filled after the broadcast ends. So this property + # would not identify the number of chat messages for an archived video of a + # completed live broadcast. # Corresponds to the JSON property `totalChatCount` # @return [Fixnum] attr_accessor :total_chat_count @@ -3947,17 +4062,18 @@ module Google # Update properties of this object def update!(**args) - @concurrent_viewers = args[:concurrent_viewers] if args.key?(:concurrent_viewers) @total_chat_count = args[:total_chat_count] if args.key?(:total_chat_count) end end - # + # Live broadcast state. class LiveBroadcastStatus include Google::Apis::Core::Hashable # The broadcast's status. The status can be updated using the API's - # liveBroadcasts.transition method. + # liveBroadcasts.transition method. # Corresponds to the JSON property `lifeCycleStatus` # @return [String] attr_accessor :life_cycle_status @@ -3967,17 +4083,21 @@ module Google # @return [String] attr_accessor :live_broadcast_priority - # + # Whether the broadcast is made for kids or not, decided by YouTube instead + # of the creator. This field is read only. # Corresponds to the JSON property `madeForKids` # @return [Boolean] attr_accessor :made_for_kids alias_method :made_for_kids?, :made_for_kids - # The broadcast's privacy status. Note that the broadcast represents exactly one - # YouTube video, so the privacy settings are identical to those supported for - # videos. In addition, you can set this field by modifying the broadcast - # resource or by setting the privacyStatus field of the corresponding video - # resource. + # The broadcast's privacy status. Note that the broadcast represents + # exactly one YouTube video, so the privacy settings are identical to + # those supported for videos. In addition, you can set this field by + # modifying the broadcast resource or by setting the + # privacyStatus + # field of the corresponding video resource. # Corresponds to the JSON property `privacyStatus` # @return [String] attr_accessor :privacy_status @@ -3987,7 +4107,8 @@ module Google # @return [String] attr_accessor :recording_status - # + # This field will be set to True if the creator declares the broadcast to be + # kids only: go/live-cw-work. # Corresponds to the JSON property `selfDeclaredMadeForKids` # @return [Boolean] attr_accessor :self_declared_made_for_kids @@ -4008,7 +4129,7 @@ module Google end end - # A liveChatBan resource represents a ban for a YouTube live chat. + # A `__liveChatBan__` resource represents a ban for a YouTube live chat. class LiveChatBan include Google::Apis::Core::Hashable @@ -4022,13 +4143,13 @@ module Google # @return [String] attr_accessor :id - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # liveChatBan". + # Identifies what kind of resource this is. Value: the fixed string + # `"youtube#liveChatBan"`. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The snippet object contains basic details about the ban. + # The `snippet` object contains basic details about the ban. # Corresponds to the JSON property `snippet` # @return [Google::Apis::YoutubeV3::LiveChatBanSnippet] attr_accessor :snippet @@ -4120,12 +4241,13 @@ module Google end end - # A liveChatMessage resource represents a chat message in a YouTube Live Chat. + # A liveChatMessage resource represents a chat + # message in a YouTube Live Chat. class LiveChatMessage include Google::Apis::Core::Hashable - # The authorDetails object contains basic details about the user that posted - # this message. + # The authorDetails object contains basic details about the + # user that posted this message. # Corresponds to the JSON property `authorDetails` # @return [Google::Apis::YoutubeV3::LiveChatMessageAuthorDetails] attr_accessor :author_details @@ -4140,13 +4262,13 @@ module Google # @return [String] attr_accessor :id - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # liveChatMessage". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#liveChatMessage". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The snippet object contains basic details about the message. + # The snippet object contains basic details about the message. # Corresponds to the JSON property `snippet` # @return [Google::Apis::YoutubeV3::LiveChatMessageSnippet] attr_accessor :snippet @@ -4263,27 +4385,27 @@ module Google # @return [String] attr_accessor :event_id - # A list of live chat messages. + # # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # liveChatMessageListResponse". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#liveChatMessageListResponse". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The token that can be used as the value of the pageToken parameter to retrieve - # the next page in the result set. + # # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token # The date and time when the underlying stream went offline. The value is - # specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + # specified in ISO 8601 + # (YYYY-MM-DDThh:mm:ss.sZ) format. # Corresponds to the JSON property `offlineAt` - # @return [DateTime] + # @return [String] attr_accessor :offline_at # Paging details for lists of resources, including total number of items @@ -4302,7 +4424,7 @@ module Google # @return [Google::Apis::YoutubeV3::TokenPagination] attr_accessor :token_pagination - # The visitorId identifies the visitor. + # The visitorId identifies the visitor. # Corresponds to the JSON property `visitorId` # @return [String] attr_accessor :visitor_id @@ -4349,26 +4471,28 @@ module Google class LiveChatMessageSnippet include Google::Apis::Core::Hashable - # The ID of the user that authored this message, this field is not always filled. - # textMessageEvent - the user that wrote the message fanFundingEvent - the user - # that funded the broadcast newSponsorEvent - the user that just became a - # sponsor messageDeletedEvent - the moderator that took the action + # The ID of the user that authored this message, this field is not always + # filled. + # textMessageEvent - the user that wrote the message + # fanFundingEvent - the user that funded the broadcast + # newSponsorEvent - the user that just became a sponsor + # messageDeletedEvent - the moderator that took the action # messageRetractedEvent - the author that retracted their message - # userBannedEvent - the moderator that took the action superChatEvent - the user - # that made the purchase + # userBannedEvent - the moderator that took the action + # superChatEvent - the user that made the purchase # Corresponds to the JSON property `authorChannelId` # @return [String] attr_accessor :author_channel_id - # Contains a string that can be displayed to the user. If this field is not - # present the message is silent, at the moment only messages of type TOMBSTONE - # and CHAT_ENDED_EVENT are silent. + # Contains a string that can be displayed to the user. + # If this field is not present the message is silent, at the moment only + # messages of type TOMBSTONE and CHAT_ENDED_EVENT are silent. # Corresponds to the JSON property `displayMessage` # @return [String] attr_accessor :display_message - # Details about the funding event, this is only set if the type is ' - # fanFundingEvent'. + # Details about the funding event, this is only set if the type is + # 'fanFundingEvent'. # Corresponds to the JSON property `fanFundingEventDetails` # @return [Google::Apis::YoutubeV3::LiveChatFanFundingEventDetails] attr_accessor :fan_funding_event_details @@ -4394,52 +4518,33 @@ module Google # @return [Google::Apis::YoutubeV3::LiveChatMessageRetractedDetails] attr_accessor :message_retracted_details - # - # Corresponds to the JSON property `pollClosedDetails` - # @return [Google::Apis::YoutubeV3::LiveChatPollClosedDetails] - attr_accessor :poll_closed_details - - # - # Corresponds to the JSON property `pollEditedDetails` - # @return [Google::Apis::YoutubeV3::LiveChatPollEditedDetails] - attr_accessor :poll_edited_details - - # - # Corresponds to the JSON property `pollOpenedDetails` - # @return [Google::Apis::YoutubeV3::LiveChatPollOpenedDetails] - attr_accessor :poll_opened_details - - # - # Corresponds to the JSON property `pollVotedDetails` - # @return [Google::Apis::YoutubeV3::LiveChatPollVotedDetails] - attr_accessor :poll_voted_details - # The date and time when the message was orignally published. The value is - # specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + # specified in ISO 8601 + # (YYYY-MM-DDThh:mm:ss.sZ) format. # Corresponds to the JSON property `publishedAt` - # @return [DateTime] + # @return [String] attr_accessor :published_at - # Details about the Super Chat event, this is only set if the type is ' - # superChatEvent'. + # Details about the Super Chat event, this is only set if the type is + # 'superChatEvent'. # Corresponds to the JSON property `superChatDetails` # @return [Google::Apis::YoutubeV3::LiveChatSuperChatDetails] attr_accessor :super_chat_details - # Details about the Super Sticker event, this is only set if the type is ' - # superStickerEvent'. + # Details about the Super Sticker event, this is only set if the type is + # 'superStickerEvent'. # Corresponds to the JSON property `superStickerDetails` # @return [Google::Apis::YoutubeV3::LiveChatSuperStickerDetails] attr_accessor :super_sticker_details - # Details about the text message, this is only set if the type is ' - # textMessageEvent'. + # Details about the text message, this is only set if the type is + # 'textMessageEvent'. # Corresponds to the JSON property `textMessageDetails` # @return [Google::Apis::YoutubeV3::LiveChatTextMessageDetails] attr_accessor :text_message_details - # The type of message, this will always be present, it determines the contents - # of the message as well as which fields will be present. + # The type of message, this will always be present, it determines the + # contents of the message as well as which fields will be present. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -4462,10 +4567,6 @@ module Google @live_chat_id = args[:live_chat_id] if args.key?(:live_chat_id) @message_deleted_details = args[:message_deleted_details] if args.key?(:message_deleted_details) @message_retracted_details = args[:message_retracted_details] if args.key?(:message_retracted_details) - @poll_closed_details = args[:poll_closed_details] if args.key?(:poll_closed_details) - @poll_edited_details = args[:poll_edited_details] if args.key?(:poll_edited_details) - @poll_opened_details = args[:poll_opened_details] if args.key?(:poll_opened_details) - @poll_voted_details = args[:poll_voted_details] if args.key?(:poll_voted_details) @published_at = args[:published_at] if args.key?(:published_at) @super_chat_details = args[:super_chat_details] if args.key?(:super_chat_details) @super_sticker_details = args[:super_sticker_details] if args.key?(:super_sticker_details) @@ -4475,9 +4576,9 @@ module Google end end - # A liveChatModerator resource represents a moderator for a YouTube live chat. A - # chat moderator has the ability to ban/unban users from a chat, remove message, - # etc. + # A liveChatModerator resource represents a + # moderator for a YouTube live chat. A chat moderator has the ability to + # ban/unban users from a chat, remove message, etc. class LiveChatModerator include Google::Apis::Core::Hashable @@ -4491,13 +4592,14 @@ module Google # @return [String] attr_accessor :id - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # liveChatModerator". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#liveChatModerator". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The snippet object contains basic details about the moderator. + # The snippet object contains basic details about the + # moderator. # Corresponds to the JSON property `snippet` # @return [Google::Apis::YoutubeV3::LiveChatModeratorSnippet] attr_accessor :snippet @@ -4534,14 +4636,14 @@ module Google # @return [Array] attr_accessor :items - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # liveChatModeratorListResponse". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#liveChatModeratorListResponse". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The token that can be used as the value of the pageToken parameter to retrieve - # the next page in the result set. + # The token that can be used as the value of the pageToken + # parameter to retrieve the next page in the result set. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -4552,8 +4654,8 @@ module Google # @return [Google::Apis::YoutubeV3::PageInfo] attr_accessor :page_info - # The token that can be used as the value of the pageToken parameter to retrieve - # the previous page in the result set. + # The token that can be used as the value of the pageToken + # parameter to retrieve the previous page in the result set. # Corresponds to the JSON property `prevPageToken` # @return [String] attr_accessor :prev_page_token @@ -4563,7 +4665,7 @@ module Google # @return [Google::Apis::YoutubeV3::TokenPagination] attr_accessor :token_pagination - # The visitorId identifies the visitor. + # The visitorId identifies the visitor. # Corresponds to the JSON property `visitorId` # @return [String] attr_accessor :visitor_id @@ -4611,137 +4713,6 @@ module Google end end - # - class LiveChatPollClosedDetails - include Google::Apis::Core::Hashable - - # The id of the poll that was closed. - # Corresponds to the JSON property `pollId` - # @return [String] - attr_accessor :poll_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @poll_id = args[:poll_id] if args.key?(:poll_id) - end - end - - # - class LiveChatPollEditedDetails - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # - # Corresponds to the JSON property `prompt` - # @return [String] - attr_accessor :prompt - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @items = args[:items] if args.key?(:items) - @prompt = args[:prompt] if args.key?(:prompt) - end - end - - # - class LiveChatPollItem - include Google::Apis::Core::Hashable - - # Plain text description of the item. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # - # Corresponds to the JSON property `itemId` - # @return [String] - attr_accessor :item_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @item_id = args[:item_id] if args.key?(:item_id) - end - end - - # - class LiveChatPollOpenedDetails - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # - # Corresponds to the JSON property `prompt` - # @return [String] - attr_accessor :prompt - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @items = args[:items] if args.key?(:items) - @prompt = args[:prompt] if args.key?(:prompt) - end - end - - # - class LiveChatPollVotedDetails - include Google::Apis::Core::Hashable - - # The poll item the user chose. - # Corresponds to the JSON property `itemId` - # @return [String] - attr_accessor :item_id - - # The poll the user voted on. - # Corresponds to the JSON property `pollId` - # @return [String] - attr_accessor :poll_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @item_id = args[:item_id] if args.key?(:item_id) - @poll_id = args[:poll_id] if args.key?(:poll_id) - end - end - # class LiveChatSuperChatDetails include Google::Apis::Core::Hashable @@ -4761,8 +4732,8 @@ module Google # @return [String] attr_accessor :currency - # The tier in which the amount belongs. Lower amounts belong to lower tiers. The - # lowest tier is 1. + # The tier in which the amount belongs. Lower amounts belong to lower + # tiers. The lowest tier is 1. # Corresponds to the JSON property `tier` # @return [Fixnum] attr_accessor :tier @@ -4810,8 +4781,8 @@ module Google # @return [Google::Apis::YoutubeV3::SuperStickerMetadata] attr_accessor :super_sticker_metadata - # The tier in which the amount belongs. Lower amounts belong to lower tiers. The - # lowest tier is 1. + # The tier in which the amount belongs. Lower amounts belong to lower + # tiers. The lowest tier is 1. # Corresponds to the JSON property `tier` # @return [Fixnum] attr_accessor :tier @@ -4853,8 +4824,8 @@ module Google class LiveChatUserBannedMessageDetails include Google::Apis::Core::Hashable - # The duration of the ban. This property is only present if the banType is - # temporary. + # The duration of the ban. This property is only present if the + # banType is temporary. # Corresponds to the JSON property `banDurationSeconds` # @return [Fixnum] attr_accessor :ban_duration_seconds @@ -4905,14 +4876,14 @@ module Google # @return [String] attr_accessor :id - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # liveStream". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#liveStream". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The snippet object contains basic details about the stream, including its - # channel, title, and description. + # The snippet object contains basic details about the + # stream, including its channel, title, and description. # Corresponds to the JSON property `snippet` # @return [Google::Apis::YoutubeV3::LiveStreamSnippet] attr_accessor :snippet @@ -4984,19 +4955,25 @@ module Google # @return [String] attr_accessor :closed_captions_ingestion_url - # Indicates whether the stream is reusable, which means that it can be bound to - # multiple broadcasts. It is common for broadcasters to reuse the same stream - # for many different broadcasts if those broadcasts occur at different times. - # If you set this value to false, then the stream will not be reusable, which - # means that it can only be bound to one broadcast. Non-reusable streams differ - # from reusable streams in the following ways: - # - A non-reusable stream can only be bound to one broadcast. - # - A non-reusable stream might be deleted by an automated process after the - # broadcast ends. - # - The liveStreams.list method does not list non-reusable streams if you call - # the method and set the mine parameter to true. The only way to use that method - # to retrieve the resource for a non-reusable stream is to use the id parameter - # to identify the stream. + # Indicates whether the stream is reusable, which means that it + # can be bound to multiple broadcasts. It is common for + # broadcasters to reuse the same stream for many different + # broadcasts if those broadcasts occur at different times.

+ # If you set this value to false, then the stream + # will not be reusable, which means that it can only be bound to + # one broadcast. Non-reusable streams differ from reusable streams in the + # following ways: + #
    + #
  • A non-reusable stream can only be bound to one broadcast.
  • + #
  • A non-reusable stream might be deleted by an automated process + # after the broadcast ends.
  • + #
  • The + # liveStreams.list method does not list non-reusable streams + # if you call the method and set the mine parameter to + # true. The only way to use that method to retrieve the + # resource for a non-reusable stream is to use the id + # parameter to identify the stream.
  • + #
# Corresponds to the JSON property `isReusable` # @return [Boolean] attr_accessor :is_reusable @@ -5063,14 +5040,14 @@ module Google # @return [Array] attr_accessor :items - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # liveStreamListResponse". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#liveStreamListResponse". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The token that can be used as the value of the pageToken parameter to retrieve - # the next page in the result set. + # The token that can be used as the value of the pageToken + # parameter to retrieve the next page in the result set. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -5081,8 +5058,8 @@ module Google # @return [Google::Apis::YoutubeV3::PageInfo] attr_accessor :page_info - # The token that can be used as the value of the pageToken parameter to retrieve - # the previous page in the result set. + # The token that can be used as the value of the pageToken + # parameter to retrieve the previous page in the result set. # Corresponds to the JSON property `prevPageToken` # @return [String] attr_accessor :prev_page_token @@ -5092,7 +5069,7 @@ module Google # @return [Google::Apis::YoutubeV3::TokenPagination] attr_accessor :token_pagination - # The visitorId identifies the visitor. + # The visitorId identifies the visitor. # Corresponds to the JSON property `visitorId` # @return [String] attr_accessor :visitor_id @@ -5119,13 +5096,14 @@ module Google class LiveStreamSnippet include Google::Apis::Core::Hashable - # The ID that YouTube uses to uniquely identify the channel that is transmitting - # the stream. + # The ID that YouTube uses to uniquely identify the channel that + # is transmitting the stream. # Corresponds to the JSON property `channelId` # @return [String] attr_accessor :channel_id - # The stream's description. The value cannot be longer than 10000 characters. + # The stream's description. The value cannot be longer than 10000 + # characters. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description @@ -5136,10 +5114,11 @@ module Google attr_accessor :is_default_stream alias_method :is_default_stream?, :is_default_stream - # The date and time that the stream was created. The value is specified in ISO - # 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + # The date and time that the stream was created. The value is specified in + # ISO 8601 + # (YYYY-MM-DDThh:mm:ss.sZ) format. # Corresponds to the JSON property `publishedAt` - # @return [DateTime] + # @return [String] attr_accessor :published_at # The stream's title. The value must be between 1 and 128 characters long. @@ -5242,8 +5221,9 @@ module Google end end - # A member resource represents a member for a YouTube channel. A member provides - # recurring monetary support to a creator and receives special benefits. + # A member resource represents a member for a + # YouTube channel. A member provides recurring monetary support to a creator + # and receives special benefits. class Member include Google::Apis::Core::Hashable @@ -5252,13 +5232,13 @@ module Google # @return [String] attr_accessor :etag - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # member". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#member". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The snippet object contains basic details about the member. + # The snippet object contains basic details about the member. # Corresponds to the JSON property `snippet` # @return [Google::Apis::YoutubeV3::MemberSnippet] attr_accessor :snippet @@ -5294,14 +5274,14 @@ module Google # @return [Array] attr_accessor :items - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # memberListResponse". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#memberListResponse". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The token that can be used as the value of the pageToken parameter to retrieve - # the next page in the result set. + # The token that can be used as the value of the pageToken + # parameter to retrieve the next page in the result set. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -5317,7 +5297,7 @@ module Google # @return [Google::Apis::YoutubeV3::TokenPagination] attr_accessor :token_pagination - # The visitorId identifies the visitor. + # The visitorId identifies the visitor. # Corresponds to the JSON property `visitorId` # @return [String] attr_accessor :visitor_id @@ -5386,7 +5366,8 @@ module Google # @return [String] attr_accessor :highest_accessible_level - # Display name of the highest level that the user has access to at the moment. + # Display name for the highest level that the user has access to at the + # moment. # Corresponds to the JSON property `highestAccessibleLevelDisplayName` # @return [String] attr_accessor :highest_accessible_level_display_name @@ -5420,13 +5401,14 @@ module Google class MembershipsDuration include Google::Apis::Core::Hashable - # The date and time when the user became a continuous member across all levels. + # The date and time when the user became a continuous member across all + # levels. # Corresponds to the JSON property `memberSince` # @return [String] attr_accessor :member_since - # The cumulative time the user has been a member across all levels in complete - # months (the time is rounded down to the nearest integer). + # The cumulative time the user has been a member across all levels in + # complete months (the time is rounded down to the nearest integer). # Corresponds to the JSON property `memberTotalDurationMonths` # @return [Fixnum] attr_accessor :member_total_duration_months @@ -5446,18 +5428,19 @@ module Google class MembershipsDurationAtLevel include Google::Apis::Core::Hashable - # Pricing level id. + # Pricing level ID. # Corresponds to the JSON property `level` # @return [String] attr_accessor :level - # The date and time when the user became a continuous member for the given level. + # The date and time when the user became a continuous member for the given + # level. # Corresponds to the JSON property `memberSince` # @return [String] attr_accessor :member_since - # The cumulative time the user has been a member for the given level in complete - # months (the time is rounded down to the nearest integer). + # The cumulative time the user has been a member for the given level in + # complete months (the time is rounded down to the nearest integer). # Corresponds to the JSON property `memberTotalDurationMonths` # @return [Fixnum] attr_accessor :member_total_duration_months @@ -5474,10 +5457,10 @@ module Google end end - # A membershipsLevel resource represents an offer made by YouTube creators for - # their fans. Users can become members of the channel by joining one of the - # available levels. They will provide recurring monetary support and receives - # special benefits. + # A membershipsLevel resource represents an offer + # made by YouTube creators for their fans. Users can become members of the + # channel by joining one of the available levels. They will provide recurring + # monetary support and receives special benefits. class MembershipsLevel include Google::Apis::Core::Hashable @@ -5491,13 +5474,13 @@ module Google # @return [String] attr_accessor :id - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # membershipsLevel". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#membershipsLevelListResponse". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The snippet object contains basic details about the level. + # The snippet object contains basic details about the level. # Corresponds to the JSON property `snippet` # @return [Google::Apis::YoutubeV3::MembershipsLevelSnippet] attr_accessor :snippet @@ -5534,13 +5517,13 @@ module Google # @return [Array] attr_accessor :items - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # membershipsLevelListResponse". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#membershipsLevelListResponse". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The visitorId identifies the visitor. + # The visitorId identifies the visitor. # Corresponds to the JSON property `visitorId` # @return [String] attr_accessor :visitor_id @@ -5568,7 +5551,7 @@ module Google # @return [String] attr_accessor :creator_channel_id - # + # Details about the pricing level. # Corresponds to the JSON property `levelDetails` # @return [Google::Apis::YoutubeV3::LevelDetails] attr_accessor :level_details @@ -5588,8 +5571,10 @@ module Google class MonitorStreamInfo include Google::Apis::Core::Hashable - # If you have set the enableMonitorStream property to true, then this property - # determines the length of the live broadcast delay. + # If you have set the + # enableMonitorStream + # property to true, then this property determines the + # length of the live broadcast delay. # Corresponds to the JSON property `broadcastStreamDelayMs` # @return [Fixnum] attr_accessor :broadcast_stream_delay_ms @@ -5599,15 +5584,16 @@ module Google # @return [String] attr_accessor :embed_html - # This value determines whether the monitor stream is enabled for the broadcast. - # If the monitor stream is enabled, then YouTube will broadcast the event - # content on a special stream intended only for the broadcaster's consumption. - # The broadcaster can use the stream to review the event content and also to - # identify the optimal times to insert cuepoints. - # You need to set this value to true if you intend to have a broadcast delay for - # your event. - # Note: This property cannot be updated once the broadcast is in the testing or - # live state. + # This value determines whether the monitor stream is enabled for the + # broadcast. If the monitor stream is enabled, then YouTube will + # broadcast the event content on a special stream intended only for + # the broadcaster's consumption. The broadcaster can use the stream + # to review the event content and also to identify the optimal times + # to insert cuepoints.

+ # You need to set this value to true if you intend to have + # a broadcast delay for your event.

+ # Note: This property cannot be updated once the + # broadcast is in the testing or live state. # Corresponds to the JSON property `enableMonitorStream` # @return [Boolean] attr_accessor :enable_monitor_stream @@ -5625,50 +5611,6 @@ module Google end end - # Nonprofit information. - class Nonprofit - include Google::Apis::Core::Hashable - - # Id of the nonprofit. - # Corresponds to the JSON property `nonprofitId` - # @return [Google::Apis::YoutubeV3::NonprofitId] - attr_accessor :nonprofit_id - - # Legal name of the nonprofit. - # Corresponds to the JSON property `nonprofitLegalName` - # @return [String] - attr_accessor :nonprofit_legal_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @nonprofit_id = args[:nonprofit_id] if args.key?(:nonprofit_id) - @nonprofit_legal_name = args[:nonprofit_legal_name] if args.key?(:nonprofit_legal_name) - end - end - - # - class NonprofitId - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value = args[:value] if args.key?(:value) - end - end - # Paging details for lists of resources, including total number of items # available and number of resources returned in a single page. class PageInfo @@ -5695,28 +5637,39 @@ module Google end end - # A playlist resource represents a YouTube playlist. A playlist is a collection - # of videos that can be viewed sequentially and shared with other users. A - # playlist can contain up to 200 videos, and YouTube does not limit the number - # of playlists that each user creates. By default, playlists are publicly - # visible to other users, but playlists can be public or private. - # YouTube also uses playlists to identify special collections of videos for a + # A playlist resource represents a YouTube + # playlist. A playlist is a collection of videos that can be viewed + # sequentially and shared with other users. A playlist can contain up to + # 200 videos, and YouTube does not limit the number of playlists that + # each user creates. By default, playlists are publicly visible to other + # users, but playlists can be public or private.

YouTube + # also uses playlists to identify special collections of videos for a # channel, such as: - # - uploaded videos - # - favorite videos - # - positively rated (liked) videos - # - watch history - # - watch later To be more specific, these lists are associated with a channel, - # which is a collection of a person, group, or company's videos, playlists, and - # other YouTube information. You can retrieve the playlist IDs for each of these - # lists from the channel resource for a given channel. - # You can then use the playlistItems.list method to retrieve any of those - # lists. You can also add or remove items from those lists by calling the - # playlistItems.insert and playlistItems.delete methods. + #
    + #
  • uploaded videos
  • + #
  • favorite videos
  • + #
  • positively rated (liked) videos
  • + #
  • watch history
  • + #
  • watch later
  • + #
+ # To be more specific, these lists are associated with a channel, which + # is a collection of a person, group, or company's videos, playlists, + # and other YouTube information. You can retrieve the playlist IDs for + # each of these lists from the channel resource for a + # given channel.

You can then use the + # playlistItems.list method to retrieve any of those + # lists. You can also add or remove items from those lists by calling + # the + # playlistItems.insert and + # playlistItems.delete methods. class Playlist include Google::Apis::Core::Hashable - # The contentDetails object contains information like video count. + # The contentDetails object contains information like + # video count. # Corresponds to the JSON property `contentDetails` # @return [Google::Apis::YoutubeV3::PlaylistContentDetails] attr_accessor :content_details @@ -5731,8 +5684,8 @@ module Google # @return [String] attr_accessor :id - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # playlist". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#playlist". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -5742,8 +5695,8 @@ module Google # @return [Hash] attr_accessor :localizations - # The player object contains information that you would use to play the playlist - # in an embedded player. + # The player object contains information that you would use + # to play the playlist in an embedded player. # Corresponds to the JSON property `player` # @return [Google::Apis::YoutubeV3::PlaylistPlayer] attr_accessor :player @@ -5753,7 +5706,8 @@ module Google # @return [Google::Apis::YoutubeV3::PlaylistSnippet] attr_accessor :snippet - # The status object contains status information for the playlist. + # The status object contains status information for the + # playlist. # Corresponds to the JSON property `status` # @return [Google::Apis::YoutubeV3::PlaylistStatus] attr_accessor :status @@ -5794,30 +5748,41 @@ module Google end end - # A playlistItem resource identifies another resource, such as a video, that is - # included in a playlist. In addition, the playlistItem resource contains - # details about the included resource that pertain specifically to how that - # resource is used in that playlist. - # YouTube uses playlists to identify special collections of videos for a channel, - # such as: - # - uploaded videos - # - favorite videos - # - positively rated (liked) videos - # - watch history - # - watch later To be more specific, these lists are associated with a channel, - # which is a collection of a person, group, or company's videos, playlists, and - # other YouTube information. - # You can retrieve the playlist IDs for each of these lists from the channel - # resource for a given channel. You can then use the playlistItems.list - # method to retrieve any of those lists. You can also add or remove items from - # those lists by calling the playlistItems.insert and playlistItems.delete - # methods. For example, if a user gives a positive rating to a video, you would - # insert that video into the liked videos playlist for that user's channel. + # A playlistItem resource identifies + # another resource, such as a video, that is included in a playlist. In + # addition, the playlistItem resource contains details + # about the included resource that pertain specifically to how that + # resource is used in that playlist.

YouTube uses playlists to + # identify special collections of videos for a channel, such as: + #
    + #
  • uploaded videos
  • + #
  • favorite videos
  • + #
  • positively rated (liked) videos
  • + #
  • watch history
  • + #
  • watch later
  • + #
+ # To be more specific, these lists are associated with a channel, which + # is a collection of a person, group, or company's videos, playlists, + # and other YouTube information. + #

+ # You can retrieve the playlist IDs for each of these lists from the + # channel resource + # for a given channel. You can then use the + # playlistItems.list method to retrieve any of those + # lists. You can also add or remove items from those lists by calling + # the + # playlistItems.insert and + # playlistItems.delete methods. For example, if a user gives + # a positive rating to a video, you would insert that video into the + # liked videos playlist for that user's channel. class PlaylistItem include Google::Apis::Core::Hashable - # The contentDetails object is included in the resource if the included item is - # a YouTube video. The object contains additional information about the video. + # The contentDetails object is included in the resource if + # the included item is a YouTube video. The object contains additional + # information about the video. # Corresponds to the JSON property `contentDetails` # @return [Google::Apis::YoutubeV3::PlaylistItemContentDetails] attr_accessor :content_details @@ -5832,13 +5797,15 @@ module Google # @return [String] attr_accessor :id - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # playlistItem". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#playlistItem". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind # Basic details about a playlist, including title, description and thumbnails. + # Basic details of a YouTube Playlist item provided by the author. + # Next ID: 13 # Corresponds to the JSON property `snippet` # @return [Google::Apis::YoutubeV3::PlaylistItemSnippet] attr_accessor :snippet @@ -5868,9 +5835,10 @@ module Google include Google::Apis::Core::Hashable # The time, measured in seconds from the start of the video, when the video - # should stop playing. (The playlist owner can specify the times when the video - # should start and stop playing when the video is played in the context of the - # playlist.) By default, assume that the video.endTime is the end of the video. + # should stop playing. (The playlist owner can specify the times when the + # video should start and stop playing when the video is played in the context + # of the playlist.) By default, assume that the video.endTime is + # the end of the video. # Corresponds to the JSON property `endAt` # @return [String] attr_accessor :end_at @@ -5881,23 +5849,26 @@ module Google attr_accessor :note # The time, measured in seconds from the start of the video, when the video - # should start playing. (The playlist owner can specify the times when the video - # should start and stop playing when the video is played in the context of the - # playlist.) The default value is 0. + # should start playing. (The playlist owner can specify the times when the + # video should start and stop playing when the video is played in the context + # of the playlist.) The default value is 0. # Corresponds to the JSON property `startAt` # @return [String] attr_accessor :start_at - # The ID that YouTube uses to uniquely identify a video. To retrieve the video - # resource, set the id query parameter to this value in your API request. + # The ID that YouTube uses to uniquely identify a video. To retrieve the video + # resource, set the id query parameter to this value in your + # API request. # Corresponds to the JSON property `videoId` # @return [String] attr_accessor :video_id # The date and time that the video was published to YouTube. The value is - # specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + # specified in ISO 8601 + # (YYYY-MM-DDThh:mm:ss.sZ) format. # Corresponds to the JSON property `videoPublishedAt` - # @return [DateTime] + # @return [String] attr_accessor :video_published_at def initialize(**args) @@ -5918,7 +5889,7 @@ module Google class ListPlaylistItemsResponse include Google::Apis::Core::Hashable - # Etag of this resource. + # # Corresponds to the JSON property `etag` # @return [String] attr_accessor :etag @@ -5933,14 +5904,15 @@ module Google # @return [Array] attr_accessor :items - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # playlistItemListResponse". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#playlistItemListResponse". + # Etag of this resource. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The token that can be used as the value of the pageToken parameter to retrieve - # the next page in the result set. + # The token that can be used as the value of the pageToken + # parameter to retrieve the next page in the result set. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -5951,8 +5923,8 @@ module Google # @return [Google::Apis::YoutubeV3::PageInfo] attr_accessor :page_info - # The token that can be used as the value of the pageToken parameter to retrieve - # the previous page in the result set. + # The token that can be used as the value of the pageToken + # parameter to retrieve the previous page in the result set. # Corresponds to the JSON property `prevPageToken` # @return [String] attr_accessor :prev_page_token @@ -5962,7 +5934,7 @@ module Google # @return [Google::Apis::YoutubeV3::TokenPagination] attr_accessor :token_pagination - # The visitorId identifies the visitor. + # The visitorId identifies the visitor. # Corresponds to the JSON property `visitorId` # @return [String] attr_accessor :visitor_id @@ -5986,11 +5958,13 @@ module Google end # Basic details about a playlist, including title, description and thumbnails. + # Basic details of a YouTube Playlist item provided by the author. + # Next ID: 13 class PlaylistItemSnippet include Google::Apis::Core::Hashable - # The ID that YouTube uses to uniquely identify the user that added the item to - # the playlist. + # The ID that YouTube uses to uniquely identify the user that added + # the item to the playlist. # Corresponds to the JSON property `channelId` # @return [String] attr_accessor :channel_id @@ -6005,23 +5979,24 @@ module Google # @return [String] attr_accessor :description - # The ID that YouTube uses to uniquely identify the playlist that the playlist - # item is in. + # The ID that YouTube uses to uniquely identify thGe playlist that the + # playlist item is in. # Corresponds to the JSON property `playlistId` # @return [String] attr_accessor :playlist_id - # The order in which the item appears in the playlist. The value uses a zero- - # based index, so the first item has a position of 0, the second item has a - # position of 1, and so forth. + # The order in which the item appears in the playlist. The value uses a + # zero-based index, so the first item has a position of 0, + # the second item has a position of 1, and so forth. # Corresponds to the JSON property `position` # @return [Fixnum] attr_accessor :position # The date and time that the item was added to the playlist. The value is - # specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + # specified in ISO 8601 + # (YYYY-MM-DDThh:mm:ss.sZ) format. # Corresponds to the JSON property `publishedAt` - # @return [DateTime] + # @return [String] attr_accessor :published_at # A resource id is a generic reference that points to another YouTube resource. @@ -6090,19 +6065,19 @@ module Google # @return [String] attr_accessor :event_id - # A list of playlists that match the request criteria. + # A list of playlists that match the request criteria # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items - # Identifies what kind of resource this is. Value: the fixed string "youtube# - # playlistListResponse". + # Identifies what kind of resource this is. Value: the fixed string + # "youtube#playlistListResponse". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The token that can be used as the value of the pageToken parameter to retrieve - # the next page in the result set. + # The token that can be used as the value of the pageToken + # parameter to retrieve the next page in the result set. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -6113,8 +6088,8 @@ module Google # @return [Google::Apis::YoutubeV3::PageInfo] attr_accessor :page_info - # The token that can be used as the value of the pageToken parameter to retrieve - # the previous page in the result set. + # The token that can be used as the value of the pageToken + # parameter to retrieve the previous page in the result set. # Corresponds to the JSON property `prevPageToken` # @return [String] attr_accessor :prev_page_token @@ -6124,7 +6099,7 @@ module Google # @return [Google::Apis::YoutubeV3::TokenPagination] attr_accessor :token_pagination - # The visitorId identifies the visitor. + # The visitorId identifies the visitor. # Corresponds to the JSON property `visitorId` # @return [String] attr_accessor :visitor_id @@ -6176,7 +6151,8 @@ module Google class PlaylistPlayer include Google::Apis::Core::Hashable - # An