diff --git a/api_names_out.yaml b/api_names_out.yaml index 27e78077f..86d06851e 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -14012,6 +14012,7 @@ "/cloudtasks:v2beta2/RateLimits/maxConcurrentTasks": max_concurrent_tasks "/cloudtasks:v2beta2/RateLimits/maxTasksDispatchedPerSecond": max_tasks_dispatched_per_second "/cloudtasks:v2beta2/RenewLeaseRequest": renew_lease_request +"/cloudtasks:v2beta2/RenewLeaseRequest/leaseDuration": lease_duration "/cloudtasks:v2beta2/RenewLeaseRequest/newLeaseDuration": new_lease_duration "/cloudtasks:v2beta2/RenewLeaseRequest/responseView": response_view "/cloudtasks:v2beta2/RenewLeaseRequest/scheduleTime": schedule_time @@ -20773,6 +20774,8 @@ "/compute:beta/Disk/labels/label": label "/compute:beta/Disk/lastAttachTimestamp": last_attach_timestamp "/compute:beta/Disk/lastDetachTimestamp": last_detach_timestamp +"/compute:beta/Disk/licenseCodes": license_codes +"/compute:beta/Disk/licenseCodes/license_code": license_code "/compute:beta/Disk/licenses": licenses "/compute:beta/Disk/licenses/license": license "/compute:beta/Disk/name": name @@ -21139,6 +21142,8 @@ "/compute:beta/Image/labelFingerprint": label_fingerprint "/compute:beta/Image/labels": labels "/compute:beta/Image/labels/label": label +"/compute:beta/Image/licenseCodes": license_codes +"/compute:beta/Image/licenseCodes/license_code": license_code "/compute:beta/Image/licenses": licenses "/compute:beta/Image/licenses/license": license "/compute:beta/Image/name": name @@ -21663,9 +21668,45 @@ "/compute:beta/InterconnectOutageNotification/state": state "/compute:beta/License": license "/compute:beta/License/chargesUseFee": charges_use_fee +"/compute:beta/License/creationTimestamp": creation_timestamp +"/compute:beta/License/description": description +"/compute:beta/License/id": id "/compute:beta/License/kind": kind +"/compute:beta/License/licenseCode": license_code "/compute:beta/License/name": name +"/compute:beta/License/resourceRequirements": resource_requirements "/compute:beta/License/selfLink": self_link +"/compute:beta/License/transferable": transferable +"/compute:beta/LicenseCode": license_code +"/compute:beta/LicenseCode/creationTimestamp": creation_timestamp +"/compute:beta/LicenseCode/description": description +"/compute:beta/LicenseCode/id": id +"/compute:beta/LicenseCode/kind": kind +"/compute:beta/LicenseCode/licenseAlias": license_alias +"/compute:beta/LicenseCode/licenseAlias/license_alias": license_alias +"/compute:beta/LicenseCode/name": name +"/compute:beta/LicenseCode/selfLink": self_link +"/compute:beta/LicenseCode/state": state +"/compute:beta/LicenseCode/transferable": transferable +"/compute:beta/LicenseCodeLicenseAlias": license_code_license_alias +"/compute:beta/LicenseCodeLicenseAlias/description": description +"/compute:beta/LicenseCodeLicenseAlias/selfLink": self_link +"/compute:beta/LicenseResourceRequirements": license_resource_requirements +"/compute:beta/LicenseResourceRequirements/minGuestCpuCount": min_guest_cpu_count +"/compute:beta/LicenseResourceRequirements/minMemoryMb": min_memory_mb +"/compute:beta/LicensesListResponse": licenses_list_response +"/compute:beta/LicensesListResponse/id": id +"/compute:beta/LicensesListResponse/items": items +"/compute:beta/LicensesListResponse/items/item": item +"/compute:beta/LicensesListResponse/nextPageToken": next_page_token +"/compute:beta/LicensesListResponse/selfLink": self_link +"/compute:beta/LicensesListResponse/warning": warning +"/compute:beta/LicensesListResponse/warning/code": code +"/compute:beta/LicensesListResponse/warning/data": data +"/compute:beta/LicensesListResponse/warning/data/datum": datum +"/compute:beta/LicensesListResponse/warning/data/datum/key": key +"/compute:beta/LicensesListResponse/warning/data/datum/value": value +"/compute:beta/LicensesListResponse/warning/message": message "/compute:beta/LogConfig": log_config "/compute:beta/LogConfig/cloudAudit": cloud_audit "/compute:beta/LogConfig/counter": counter @@ -22275,6 +22316,8 @@ "/compute:beta/Snapshot/labelFingerprint": label_fingerprint "/compute:beta/Snapshot/labels": labels "/compute:beta/Snapshot/labels/label": label +"/compute:beta/Snapshot/licenseCodes": license_codes +"/compute:beta/Snapshot/licenseCodes/license_code": license_code "/compute:beta/Snapshot/licenses": licenses "/compute:beta/Snapshot/licenses/license": license "/compute:beta/Snapshot/name": name @@ -23685,9 +23728,25 @@ "/compute:beta/compute.interconnects.testIamPermissions": test_interconnect_iam_permissions "/compute:beta/compute.interconnects.testIamPermissions/project": project "/compute:beta/compute.interconnects.testIamPermissions/resource": resource +"/compute:beta/compute.licenseCodes.get": get_license_code +"/compute:beta/compute.licenseCodes.get/licenseCode": license_code +"/compute:beta/compute.licenseCodes.get/project": project +"/compute:beta/compute.licenses.delete": delete_license +"/compute:beta/compute.licenses.delete/license": license +"/compute:beta/compute.licenses.delete/project": project +"/compute:beta/compute.licenses.delete/requestId": request_id "/compute:beta/compute.licenses.get": get_license "/compute:beta/compute.licenses.get/license": license "/compute:beta/compute.licenses.get/project": project +"/compute:beta/compute.licenses.insert": insert_license +"/compute:beta/compute.licenses.insert/project": project +"/compute:beta/compute.licenses.insert/requestId": request_id +"/compute:beta/compute.licenses.list": list_licenses +"/compute:beta/compute.licenses.list/filter": filter +"/compute:beta/compute.licenses.list/maxResults": max_results +"/compute:beta/compute.licenses.list/orderBy": order_by +"/compute:beta/compute.licenses.list/pageToken": page_token +"/compute:beta/compute.licenses.list/project": project "/compute:beta/compute.machineTypes.aggregatedList": list_aggregated_machine_types "/compute:beta/compute.machineTypes.aggregatedList/filter": filter "/compute:beta/compute.machineTypes.aggregatedList/maxResults": max_results @@ -30945,6 +31004,38 @@ "/customsearch:v1/search.cse.list/siteSearchFilter": site_search_filter "/customsearch:v1/search.cse.list/sort": sort "/customsearch:v1/search.cse.list/start": start +"/customsearch:v1/search.cse.siterestrict.list": list_cse_siterestricts +"/customsearch:v1/search.cse.siterestrict.list/c2coff": c2coff +"/customsearch:v1/search.cse.siterestrict.list/cr": cr +"/customsearch:v1/search.cse.siterestrict.list/cx": cx +"/customsearch:v1/search.cse.siterestrict.list/dateRestrict": date_restrict +"/customsearch:v1/search.cse.siterestrict.list/exactTerms": exact_terms +"/customsearch:v1/search.cse.siterestrict.list/excludeTerms": exclude_terms +"/customsearch:v1/search.cse.siterestrict.list/fileType": file_type +"/customsearch:v1/search.cse.siterestrict.list/filter": filter +"/customsearch:v1/search.cse.siterestrict.list/gl": gl +"/customsearch:v1/search.cse.siterestrict.list/googlehost": googlehost +"/customsearch:v1/search.cse.siterestrict.list/highRange": high_range +"/customsearch:v1/search.cse.siterestrict.list/hl": hl +"/customsearch:v1/search.cse.siterestrict.list/hq": hq +"/customsearch:v1/search.cse.siterestrict.list/imgColorType": img_color_type +"/customsearch:v1/search.cse.siterestrict.list/imgDominantColor": img_dominant_color +"/customsearch:v1/search.cse.siterestrict.list/imgSize": img_size +"/customsearch:v1/search.cse.siterestrict.list/imgType": img_type +"/customsearch:v1/search.cse.siterestrict.list/linkSite": link_site +"/customsearch:v1/search.cse.siterestrict.list/lowRange": low_range +"/customsearch:v1/search.cse.siterestrict.list/lr": lr +"/customsearch:v1/search.cse.siterestrict.list/num": num +"/customsearch:v1/search.cse.siterestrict.list/orTerms": or_terms +"/customsearch:v1/search.cse.siterestrict.list/q": q +"/customsearch:v1/search.cse.siterestrict.list/relatedSite": related_site +"/customsearch:v1/search.cse.siterestrict.list/rights": rights +"/customsearch:v1/search.cse.siterestrict.list/safe": safe +"/customsearch:v1/search.cse.siterestrict.list/searchType": search_type +"/customsearch:v1/search.cse.siterestrict.list/siteSearch": site_search +"/customsearch:v1/search.cse.siterestrict.list/siteSearchFilter": site_search_filter +"/customsearch:v1/search.cse.siterestrict.list/sort": sort +"/customsearch:v1/search.cse.siterestrict.list/start": start "/customsearch:v1/userIp": user_ip "/dataflow:v1b3/ApproximateProgress": approximate_progress "/dataflow:v1b3/ApproximateProgress/percentComplete": percent_complete diff --git a/generated/google/apis/cloudtasks_v2beta2.rb b/generated/google/apis/cloudtasks_v2beta2.rb index 00b418bea..f97ed0af2 100644 --- a/generated/google/apis/cloudtasks_v2beta2.rb +++ b/generated/google/apis/cloudtasks_v2beta2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/cloud-tasks/ module CloudtasksV2beta2 VERSION = 'V2beta2' - REVISION = '20171110' + REVISION = '20171117' # 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/cloudtasks_v2beta2/classes.rb b/generated/google/apis/cloudtasks_v2beta2/classes.rb index 937eb05dd..72f0f2b8e 100644 --- a/generated/google/apis/cloudtasks_v2beta2/classes.rb +++ b/generated/google/apis/cloudtasks_v2beta2/classes.rb @@ -1201,10 +1201,10 @@ module Google # Required. # The desired new lease duration, starting from now. # The maximum lease duration is 1 week. - # `new_lease_duration` will be truncated to the nearest second. - # Corresponds to the JSON property `newLeaseDuration` + # `lease_duration` will be truncated to the nearest second. + # Corresponds to the JSON property `leaseDuration` # @return [String] - attr_accessor :new_lease_duration + attr_accessor :lease_duration # The response_view specifies which subset of the Task will be # returned. @@ -1235,7 +1235,7 @@ module Google # Update properties of this object def update!(**args) - @new_lease_duration = args[:new_lease_duration] if args.key?(:new_lease_duration) + @lease_duration = args[:lease_duration] if args.key?(:lease_duration) @response_view = args[:response_view] if args.key?(:response_view) @schedule_time = args[:schedule_time] if args.key?(:schedule_time) end @@ -1281,11 +1281,19 @@ module Google # @return [String] attr_accessor :max_backoff - # The time between retries increases exponentially `max_doublings` times. - # `max_doublings` is maximum number of times that the interval between failed - # task retries will be doubled before the interval increases linearly. - # After max_doublings intervals, the retry interval will be - # 2^(max_doublings - 1) * RetryConfig.min_backoff. + # The time between retries will double `max_doublings` times. + # A task's retry interval starts at RetryConfig.min_backoff, + # then doubles `max_doublings` times, then increases linearly, and + # finally retries retries at intervals of + # RetryConfig.max_backoff up to max_attempts times. + # For example, if RetryConfig.min_backoff is 10s, + # RetryConfig.max_backoff is 300s, and `max_doublings` is 3, + # then the a task will first be retried in 10s. The retry interval + # will double three times, and then increase linearly by 2^3 * 10s. + # Finally, the task will retry at intervals of + # RetryConfig.max_backoff until the task has been attempted + # `max_attempts` times. Thus, the requests will retry at 10s, 20s, + # 40s, 80s, 160s, 240s, 300s, 300s, .... # * For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget), # this field is 16 by default. # * For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this field diff --git a/generated/google/apis/cloudtasks_v2beta2/representations.rb b/generated/google/apis/cloudtasks_v2beta2/representations.rb index 9fcd87b54..e1fafc55e 100644 --- a/generated/google/apis/cloudtasks_v2beta2/representations.rb +++ b/generated/google/apis/cloudtasks_v2beta2/representations.rb @@ -487,7 +487,7 @@ module Google class RenewLeaseRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :new_lease_duration, as: 'newLeaseDuration' + property :lease_duration, as: 'leaseDuration' property :response_view, as: 'responseView' property :schedule_time, as: 'scheduleTime' end diff --git a/generated/google/apis/cloudtasks_v2beta2/service.rb b/generated/google/apis/cloudtasks_v2beta2/service.rb index 3978536a8..ae5f52d2d 100644 --- a/generated/google/apis/cloudtasks_v2beta2/service.rb +++ b/generated/google/apis/cloudtasks_v2beta2/service.rb @@ -118,11 +118,11 @@ module Google end # Creates a queue. - # WARNING: This method is only available to whitelisted - # users. Using this method carries some risk. Read + # WARNING: Using this method may have unintended side effects if you are + # using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. + # Read # [Overview of Queue Management and queue.yaml](/cloud-tasks/docs/queue-yaml) - # carefully and then sign up for - # [whitelist access to this method](https://goo.gl/Fe5mUy). + # carefully before using this method. # @param [String] parent # Required. # The location name in which the queue will be created. @@ -164,11 +164,11 @@ module Google # This command will delete the queue even if it has tasks in it. # Note: If you delete a queue, a queue with the same name can't be created # for 7 days. - # WARNING: This method is only available to whitelisted - # users. Using this method carries some risk. Read + # WARNING: Using this method may have unintended side effects if you are + # using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. + # Read # [Overview of Queue Management and queue.yaml](/cloud-tasks/docs/queue-yaml) - # carefully and then sign up for - # [whitelist access to this method](https://goo.gl/Fe5mUy). + # carefully before using this method. # @param [String] name # Required. # The queue name. For example: @@ -334,11 +334,11 @@ module Google # Updates a queue. # This method creates the queue if it does not exist and updates # the queue if it does exist. - # WARNING: This method is only available to whitelisted - # users. Using this method carries some risk. Read + # WARNING: Using this method may have unintended side effects if you are + # using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. + # Read # [Overview of Queue Management and queue.yaml](/cloud-tasks/docs/queue-yaml) - # carefully and then sign up for - # [whitelist access to this method](https://goo.gl/Fe5mUy). + # carefully before using this method. # @param [String] name # The queue name. # The queue name must have the following format: diff --git a/generated/google/apis/customsearch_v1.rb b/generated/google/apis/customsearch_v1.rb index 42ef1a5d6..232fabaf5 100644 --- a/generated/google/apis/customsearch_v1.rb +++ b/generated/google/apis/customsearch_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/custom-search/v1/using_rest module CustomsearchV1 VERSION = 'V1' - REVISION = '20170615' + REVISION = '20171116' end end end diff --git a/generated/google/apis/customsearch_v1/service.rb b/generated/google/apis/customsearch_v1/service.rb index 2cb48d6b4..227a41add 100644 --- a/generated/google/apis/customsearch_v1/service.rb +++ b/generated/google/apis/customsearch_v1/service.rb @@ -191,6 +191,146 @@ module Google command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end + + # (Closed Beta API) Returns metadata about the search performed, metadata about + # the custom search engine used for the search, and the search results only for + # site-restrict cses. + # @param [String] q + # Query + # @param [String] c2coff + # Turns off the translation between zh-CN and zh-TW. + # @param [String] cr + # Country restrict(s). + # @param [String] cx + # The custom search engine ID to scope this search query + # @param [String] date_restrict + # Specifies all search results are from a time period + # @param [String] exact_terms + # Identifies a phrase that all documents in the search results must contain + # @param [String] exclude_terms + # Identifies a word or phrase that should not appear in any documents in the + # search results + # @param [String] file_type + # Returns images of a specified type. Some of the allowed values are: bmp, gif, + # png, jpg, svg, pdf, ... + # @param [String] filter + # Controls turning on or off the duplicate content filter. + # @param [String] gl + # Geolocation of end user. + # @param [String] googlehost + # The local Google domain to use to perform the search. + # @param [String] high_range + # Creates a range in form as_nlo value..as_nhi value and attempts to append it + # to query + # @param [String] hl + # Sets the user interface language. + # @param [String] hq + # Appends the extra query terms to the query. + # @param [String] img_color_type + # Returns black and white, grayscale, or color images: mono, gray, and color. + # @param [String] img_dominant_color + # Returns images of a specific dominant color: yellow, green, teal, blue, purple, + # pink, white, gray, black and brown. + # @param [String] img_size + # Returns images of a specified size, where size can be one of: icon, small, + # medium, large, xlarge, xxlarge, and huge. + # @param [String] img_type + # Returns images of a type, which can be one of: clipart, face, lineart, news, + # and photo. + # @param [String] link_site + # Specifies that all search results should contain a link to a particular URL + # @param [String] low_range + # Creates a range in form as_nlo value..as_nhi value and attempts to append it + # to query + # @param [String] lr + # The language restriction for the search results + # @param [Fixnum] num + # Number of search results to return + # @param [String] or_terms + # Provides additional search terms to check for in a document, where each + # document in the search results must contain at least one of the additional + # search terms + # @param [String] related_site + # Specifies that all search results should be pages that are related to the + # specified URL + # @param [String] rights + # Filters based on licensing. Supported values include: cc_publicdomain, + # cc_attribute, cc_sharealike, cc_noncommercial, cc_nonderived and combinations + # of these. + # @param [String] safe + # Search safety level + # @param [String] search_type + # Specifies the search type: image. + # @param [String] site_search + # Specifies all search results should be pages from a given site + # @param [String] site_search_filter + # Controls whether to include or exclude results from the site named in the + # as_sitesearch parameter + # @param [String] sort + # The sort expression to apply to the results + # @param [Fixnum] start + # The index of the first result to return + # @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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CustomsearchV1::Search] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CustomsearchV1::Search] + # + # @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_cse_siterestricts(q, c2coff: nil, cr: nil, cx: nil, date_restrict: nil, exact_terms: nil, exclude_terms: nil, file_type: nil, filter: nil, gl: nil, googlehost: nil, high_range: nil, hl: nil, hq: nil, img_color_type: nil, img_dominant_color: nil, img_size: nil, img_type: nil, link_site: nil, low_range: nil, lr: nil, num: nil, or_terms: nil, related_site: nil, rights: nil, safe: nil, search_type: nil, site_search: nil, site_search_filter: nil, sort: nil, start: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/siterestrict', options) + command.response_representation = Google::Apis::CustomsearchV1::Search::Representation + command.response_class = Google::Apis::CustomsearchV1::Search + command.query['c2coff'] = c2coff unless c2coff.nil? + command.query['cr'] = cr unless cr.nil? + command.query['cx'] = cx unless cx.nil? + command.query['dateRestrict'] = date_restrict unless date_restrict.nil? + command.query['exactTerms'] = exact_terms unless exact_terms.nil? + command.query['excludeTerms'] = exclude_terms unless exclude_terms.nil? + command.query['fileType'] = file_type unless file_type.nil? + command.query['filter'] = filter unless filter.nil? + command.query['gl'] = gl unless gl.nil? + command.query['googlehost'] = googlehost unless googlehost.nil? + command.query['highRange'] = high_range unless high_range.nil? + command.query['hl'] = hl unless hl.nil? + command.query['hq'] = hq unless hq.nil? + command.query['imgColorType'] = img_color_type unless img_color_type.nil? + command.query['imgDominantColor'] = img_dominant_color unless img_dominant_color.nil? + command.query['imgSize'] = img_size unless img_size.nil? + command.query['imgType'] = img_type unless img_type.nil? + command.query['linkSite'] = link_site unless link_site.nil? + command.query['lowRange'] = low_range unless low_range.nil? + command.query['lr'] = lr unless lr.nil? + command.query['num'] = num unless num.nil? + command.query['orTerms'] = or_terms unless or_terms.nil? + command.query['q'] = q unless q.nil? + command.query['relatedSite'] = related_site unless related_site.nil? + command.query['rights'] = rights unless rights.nil? + command.query['safe'] = safe unless safe.nil? + command.query['searchType'] = search_type unless search_type.nil? + command.query['siteSearch'] = site_search unless site_search.nil? + command.query['siteSearchFilter'] = site_search_filter unless site_search_filter.nil? + command.query['sort'] = sort unless sort.nil? + command.query['start'] = start unless start.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 protected diff --git a/generated/google/apis/sourcerepo_v1.rb b/generated/google/apis/sourcerepo_v1.rb index 16c379dd7..c74d8c25f 100644 --- a/generated/google/apis/sourcerepo_v1.rb +++ b/generated/google/apis/sourcerepo_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/source-repositories/docs/apis module SourcerepoV1 VERSION = 'V1' - REVISION = '20171011' + REVISION = '20171110' # 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/sourcerepo_v1/classes.rb b/generated/google/apis/sourcerepo_v1/classes.rb index bb988d498..dd83261d1 100644 --- a/generated/google/apis/sourcerepo_v1/classes.rb +++ b/generated/google/apis/sourcerepo_v1/classes.rb @@ -420,13 +420,14 @@ module Google # @return [String] attr_accessor :name - # The disk usage of the repo, in bytes. - # Only returned by GetRepo. + # The disk usage of the repo, in bytes. Read-only field. Size is only + # returned by GetRepo. # Corresponds to the JSON property `size` # @return [Fixnum] attr_accessor :size # URL to clone the repository from Google Cloud Source Repositories. + # Read-only field. # Corresponds to the JSON property `url` # @return [String] attr_accessor :url