Autogenerated update (2018-05-11)

Update:
- androidpublisher_v2
- androidpublisher_v3
- cloudfunctions_v1
- cloudfunctions_v1beta2
- container_v1beta1
- ml_v1
- pubsub_v1
- pubsub_v1beta1a
- pubsub_v1beta2
- surveys_v2
- youtube_partner_v1
This commit is contained in:
Google APIs 2018-05-11 00:36:23 +00:00
parent 0e385d6ea5
commit d302ff1fd1
34 changed files with 6238 additions and 285 deletions

View File

@ -6638,6 +6638,14 @@
"/androidpublisher:v2/AppEdit": app_edit
"/androidpublisher:v2/AppEdit/expiryTimeSeconds": expiry_time_seconds
"/androidpublisher:v2/AppEdit/id": id
"/androidpublisher:v2/Bundle": bundle
"/androidpublisher:v2/Bundle/sha1": sha1
"/androidpublisher:v2/Bundle/sha256": sha256
"/androidpublisher:v2/Bundle/versionCode": version_code
"/androidpublisher:v2/BundlesListResponse": bundles_list_response
"/androidpublisher:v2/BundlesListResponse/bundles": bundles
"/androidpublisher:v2/BundlesListResponse/bundles/bundle": bundle
"/androidpublisher:v2/BundlesListResponse/kind": kind
"/androidpublisher:v2/Comment": comment
"/androidpublisher:v2/Comment/developerComment": developer_comment
"/androidpublisher:v2/Comment/userComment": user_comment
@ -6921,6 +6929,12 @@
"/androidpublisher:v2/androidpublisher.edits.apks.upload": upload_apk
"/androidpublisher:v2/androidpublisher.edits.apks.upload/editId": edit_id
"/androidpublisher:v2/androidpublisher.edits.apks.upload/packageName": package_name
"/androidpublisher:v2/androidpublisher.edits.bundles.list": list_edit_bundles
"/androidpublisher:v2/androidpublisher.edits.bundles.list/editId": edit_id
"/androidpublisher:v2/androidpublisher.edits.bundles.list/packageName": package_name
"/androidpublisher:v2/androidpublisher.edits.bundles.upload": upload_edit_bundle
"/androidpublisher:v2/androidpublisher.edits.bundles.upload/editId": edit_id
"/androidpublisher:v2/androidpublisher.edits.bundles.upload/packageName": package_name
"/androidpublisher:v2/androidpublisher.edits.commit": commit_edit
"/androidpublisher:v2/androidpublisher.edits.commit/editId": edit_id
"/androidpublisher:v2/androidpublisher.edits.commit/packageName": package_name
@ -7138,6 +7152,14 @@
"/androidpublisher:v3/AppEdit": app_edit
"/androidpublisher:v3/AppEdit/expiryTimeSeconds": expiry_time_seconds
"/androidpublisher:v3/AppEdit/id": id
"/androidpublisher:v3/Bundle": bundle
"/androidpublisher:v3/Bundle/sha1": sha1
"/androidpublisher:v3/Bundle/sha256": sha256
"/androidpublisher:v3/Bundle/versionCode": version_code
"/androidpublisher:v3/BundlesListResponse": bundles_list_response
"/androidpublisher:v3/BundlesListResponse/bundles": bundles
"/androidpublisher:v3/BundlesListResponse/bundles/bundle": bundle
"/androidpublisher:v3/BundlesListResponse/kind": kind
"/androidpublisher:v3/Comment": comment
"/androidpublisher:v3/Comment/developerComment": developer_comment
"/androidpublisher:v3/Comment/userComment": user_comment
@ -7369,6 +7391,12 @@
"/androidpublisher:v3/androidpublisher.edits.apks.upload": upload_edit_apk
"/androidpublisher:v3/androidpublisher.edits.apks.upload/editId": edit_id
"/androidpublisher:v3/androidpublisher.edits.apks.upload/packageName": package_name
"/androidpublisher:v3/androidpublisher.edits.bundles.list": list_edit_bundles
"/androidpublisher:v3/androidpublisher.edits.bundles.list/editId": edit_id
"/androidpublisher:v3/androidpublisher.edits.bundles.list/packageName": package_name
"/androidpublisher:v3/androidpublisher.edits.bundles.upload": upload_edit_bundle
"/androidpublisher:v3/androidpublisher.edits.bundles.upload/editId": edit_id
"/androidpublisher:v3/androidpublisher.edits.bundles.upload/packageName": package_name
"/androidpublisher:v3/androidpublisher.edits.commit": commit_edit
"/androidpublisher:v3/androidpublisher.edits.commit/editId": edit_id
"/androidpublisher:v3/androidpublisher.edits.commit/packageName": package_name
@ -13845,6 +13873,7 @@
"/cloudfunctions:v1/CloudFunction/labels": labels
"/cloudfunctions:v1/CloudFunction/labels/label": label
"/cloudfunctions:v1/CloudFunction/name": name
"/cloudfunctions:v1/CloudFunction/runtime": runtime
"/cloudfunctions:v1/CloudFunction/serviceAccountEmail": service_account_email
"/cloudfunctions:v1/CloudFunction/sourceArchiveUrl": source_archive_url
"/cloudfunctions:v1/CloudFunction/sourceRepository": source_repository
@ -13970,6 +13999,7 @@
"/cloudfunctions:v1beta2/CloudFunction/labels/label": label
"/cloudfunctions:v1beta2/CloudFunction/latestOperation": latest_operation
"/cloudfunctions:v1beta2/CloudFunction/name": name
"/cloudfunctions:v1beta2/CloudFunction/runtime": runtime
"/cloudfunctions:v1beta2/CloudFunction/serviceAccount": service_account
"/cloudfunctions:v1beta2/CloudFunction/sourceArchiveUrl": source_archive_url
"/cloudfunctions:v1beta2/CloudFunction/sourceRepository": source_repository
@ -32114,6 +32144,10 @@
"/container:v1beta1/ListClustersResponse/clusters/cluster": cluster
"/container:v1beta1/ListClustersResponse/missingZones": missing_zones
"/container:v1beta1/ListClustersResponse/missingZones/missing_zone": missing_zone
"/container:v1beta1/ListLocationsResponse": list_locations_response
"/container:v1beta1/ListLocationsResponse/locations": locations
"/container:v1beta1/ListLocationsResponse/locations/location": location
"/container:v1beta1/ListLocationsResponse/nextPageToken": next_page_token
"/container:v1beta1/ListNodePoolsResponse": list_node_pools_response
"/container:v1beta1/ListNodePoolsResponse/nodePools": node_pools
"/container:v1beta1/ListNodePoolsResponse/nodePools/node_pool": node_pool
@ -32126,6 +32160,10 @@
"/container:v1beta1/ListUsableSubnetworksResponse/nextPageToken": next_page_token
"/container:v1beta1/ListUsableSubnetworksResponse/subnetworks": subnetworks
"/container:v1beta1/ListUsableSubnetworksResponse/subnetworks/subnetwork": subnetwork
"/container:v1beta1/Location": location
"/container:v1beta1/Location/name": name
"/container:v1beta1/Location/recommended": recommended
"/container:v1beta1/Location/type": type
"/container:v1beta1/MaintenancePolicy": maintenance_policy
"/container:v1beta1/MaintenancePolicy/window": window
"/container:v1beta1/MaintenanceWindow": maintenance_window
@ -32415,6 +32453,8 @@
"/container:v1beta1/container.projects.locations.getServerConfig/name": name
"/container:v1beta1/container.projects.locations.getServerConfig/projectId": project_id
"/container:v1beta1/container.projects.locations.getServerConfig/zone": zone
"/container:v1beta1/container.projects.locations.list": list_project_locations
"/container:v1beta1/container.projects.locations.list/parent": parent
"/container:v1beta1/container.projects.locations.operations.cancel": cancel_project_location_operation
"/container:v1beta1/container.projects.locations.operations.cancel/name": name
"/container:v1beta1/container.projects.locations.operations.get": get_project_location_operation
@ -56923,6 +56963,434 @@
"/identitytoolkit:v3/key": key
"/identitytoolkit:v3/quotaUser": quota_user
"/identitytoolkit:v3/userIp": user_ip
"/jobs:v2/BatchDeleteJobsRequest": batch_delete_jobs_request
"/jobs:v2/BatchDeleteJobsRequest/filter": filter
"/jobs:v2/BucketRange": bucket_range
"/jobs:v2/BucketRange/from": from
"/jobs:v2/BucketRange/to": to
"/jobs:v2/BucketizedCount": bucketized_count
"/jobs:v2/BucketizedCount/count": count
"/jobs:v2/BucketizedCount/range": range
"/jobs:v2/CommuteInfo": commute_info
"/jobs:v2/CommuteInfo/jobLocation": job_location
"/jobs:v2/CommuteInfo/travelDuration": travel_duration
"/jobs:v2/CommutePreference": commute_preference
"/jobs:v2/CommutePreference/allowNonStreetLevelAddress": allow_non_street_level_address
"/jobs:v2/CommutePreference/departureHourLocal": departure_hour_local
"/jobs:v2/CommutePreference/method": method_prop
"/jobs:v2/CommutePreference/roadTraffic": road_traffic
"/jobs:v2/CommutePreference/startLocation": start_location
"/jobs:v2/CommutePreference/travelTime": travel_time
"/jobs:v2/Company": company
"/jobs:v2/Company/careerPageLink": career_page_link
"/jobs:v2/Company/companyInfoSources": company_info_sources
"/jobs:v2/Company/companyInfoSources/company_info_source": company_info_source
"/jobs:v2/Company/companySize": company_size
"/jobs:v2/Company/disableLocationOptimization": disable_location_optimization
"/jobs:v2/Company/displayName": display_name
"/jobs:v2/Company/distributorBillingCompanyId": distributor_billing_company_id
"/jobs:v2/Company/distributorCompanyId": distributor_company_id
"/jobs:v2/Company/eeoText": eeo_text
"/jobs:v2/Company/hiringAgency": hiring_agency
"/jobs:v2/Company/hqLocation": hq_location
"/jobs:v2/Company/imageUrl": image_url
"/jobs:v2/Company/keywordSearchableCustomAttributes": keyword_searchable_custom_attributes
"/jobs:v2/Company/keywordSearchableCustomAttributes/keyword_searchable_custom_attribute": keyword_searchable_custom_attribute
"/jobs:v2/Company/keywordSearchableCustomFields": keyword_searchable_custom_fields
"/jobs:v2/Company/keywordSearchableCustomFields/keyword_searchable_custom_field": keyword_searchable_custom_field
"/jobs:v2/Company/name": name
"/jobs:v2/Company/structuredCompanyHqLocation": structured_company_hq_location
"/jobs:v2/Company/suspended": suspended
"/jobs:v2/Company/title": title
"/jobs:v2/Company/website": website
"/jobs:v2/CompanyInfoSource": company_info_source
"/jobs:v2/CompanyInfoSource/freebaseMid": freebase_mid
"/jobs:v2/CompanyInfoSource/gplusId": gplus_id
"/jobs:v2/CompanyInfoSource/mapsCid": maps_cid
"/jobs:v2/CompanyInfoSource/unknownTypeId": unknown_type_id
"/jobs:v2/CompensationEntry": compensation_entry
"/jobs:v2/CompensationEntry/amount": amount
"/jobs:v2/CompensationEntry/description": description
"/jobs:v2/CompensationEntry/expectedUnitsPerYear": expected_units_per_year
"/jobs:v2/CompensationEntry/range": range
"/jobs:v2/CompensationEntry/type": type
"/jobs:v2/CompensationEntry/unit": unit
"/jobs:v2/CompensationFilter": compensation_filter
"/jobs:v2/CompensationFilter/includeJobsWithUnspecifiedCompensationRange": include_jobs_with_unspecified_compensation_range
"/jobs:v2/CompensationFilter/range": range
"/jobs:v2/CompensationFilter/type": type
"/jobs:v2/CompensationFilter/units": units
"/jobs:v2/CompensationFilter/units/unit": unit
"/jobs:v2/CompensationHistogramRequest": compensation_histogram_request
"/jobs:v2/CompensationHistogramRequest/bucketingOption": bucketing_option
"/jobs:v2/CompensationHistogramRequest/type": type
"/jobs:v2/CompensationHistogramResult": compensation_histogram_result
"/jobs:v2/CompensationHistogramResult/result": result
"/jobs:v2/CompensationHistogramResult/type": type
"/jobs:v2/CompensationInfo": compensation_info
"/jobs:v2/CompensationInfo/amount": amount
"/jobs:v2/CompensationInfo/annualizedBaseCompensationRange": annualized_base_compensation_range
"/jobs:v2/CompensationInfo/annualizedTotalCompensationRange": annualized_total_compensation_range
"/jobs:v2/CompensationInfo/entries": entries
"/jobs:v2/CompensationInfo/entries/entry": entry
"/jobs:v2/CompensationInfo/max": max
"/jobs:v2/CompensationInfo/min": min
"/jobs:v2/CompensationInfo/type": type
"/jobs:v2/CompensationRange": compensation_range
"/jobs:v2/CompensationRange/max": max
"/jobs:v2/CompensationRange/min": min
"/jobs:v2/CompleteQueryResponse": complete_query_response
"/jobs:v2/CompleteQueryResponse/completionResults": completion_results
"/jobs:v2/CompleteQueryResponse/completionResults/completion_result": completion_result
"/jobs:v2/CompleteQueryResponse/metadata": metadata
"/jobs:v2/CompletionResult": completion_result
"/jobs:v2/CompletionResult/imageUrl": image_url
"/jobs:v2/CompletionResult/suggestion": suggestion
"/jobs:v2/CompletionResult/type": type
"/jobs:v2/CreateJobRequest": create_job_request
"/jobs:v2/CreateJobRequest/disableStreetAddressResolution": disable_street_address_resolution
"/jobs:v2/CreateJobRequest/job": job
"/jobs:v2/CustomAttribute": custom_attribute
"/jobs:v2/CustomAttribute/filterable": filterable
"/jobs:v2/CustomAttribute/longValue": long_value
"/jobs:v2/CustomAttribute/stringValues": string_values
"/jobs:v2/CustomAttributeHistogramRequest": custom_attribute_histogram_request
"/jobs:v2/CustomAttributeHistogramRequest/key": key
"/jobs:v2/CustomAttributeHistogramRequest/longValueHistogramBucketingOption": long_value_histogram_bucketing_option
"/jobs:v2/CustomAttributeHistogramRequest/stringValueHistogram": string_value_histogram
"/jobs:v2/CustomAttributeHistogramResult": custom_attribute_histogram_result
"/jobs:v2/CustomAttributeHistogramResult/key": key
"/jobs:v2/CustomAttributeHistogramResult/longValueHistogramResult": long_value_histogram_result
"/jobs:v2/CustomAttributeHistogramResult/stringValueHistogramResult": string_value_histogram_result
"/jobs:v2/CustomAttributeHistogramResult/stringValueHistogramResult/string_value_histogram_result": string_value_histogram_result
"/jobs:v2/CustomField": custom_field
"/jobs:v2/CustomField/values": values
"/jobs:v2/CustomField/values/value": value
"/jobs:v2/CustomFieldFilter": custom_field_filter
"/jobs:v2/CustomFieldFilter/queries": queries
"/jobs:v2/CustomFieldFilter/queries/query": query
"/jobs:v2/CustomFieldFilter/type": type
"/jobs:v2/Date": date
"/jobs:v2/Date/day": day
"/jobs:v2/Date/month": month
"/jobs:v2/Date/year": year
"/jobs:v2/DeleteJobsByFilterRequest": delete_jobs_by_filter_request
"/jobs:v2/DeleteJobsByFilterRequest/disableFastProcess": disable_fast_process
"/jobs:v2/DeleteJobsByFilterRequest/filter": filter
"/jobs:v2/DeviceInfo": device_info
"/jobs:v2/DeviceInfo/deviceType": device_type
"/jobs:v2/DeviceInfo/id": id
"/jobs:v2/Empty": empty
"/jobs:v2/ExtendedCompensationFilter": extended_compensation_filter
"/jobs:v2/ExtendedCompensationFilter/compensationRange": compensation_range
"/jobs:v2/ExtendedCompensationFilter/compensationUnits": compensation_units
"/jobs:v2/ExtendedCompensationFilter/compensationUnits/compensation_unit": compensation_unit
"/jobs:v2/ExtendedCompensationFilter/currency": currency
"/jobs:v2/ExtendedCompensationFilter/includeJobWithUnspecifiedCompensationRange": include_job_with_unspecified_compensation_range
"/jobs:v2/ExtendedCompensationFilter/type": type
"/jobs:v2/ExtendedCompensationInfo": extended_compensation_info
"/jobs:v2/ExtendedCompensationInfo/annualizedBaseCompensationRange": annualized_base_compensation_range
"/jobs:v2/ExtendedCompensationInfo/annualizedBaseCompensationUnspecified": annualized_base_compensation_unspecified
"/jobs:v2/ExtendedCompensationInfo/annualizedTotalCompensationRange": annualized_total_compensation_range
"/jobs:v2/ExtendedCompensationInfo/annualizedTotalCompensationUnspecified": annualized_total_compensation_unspecified
"/jobs:v2/ExtendedCompensationInfo/currency": currency
"/jobs:v2/ExtendedCompensationInfo/entries": entries
"/jobs:v2/ExtendedCompensationInfo/entries/entry": entry
"/jobs:v2/ExtendedCompensationInfoCompensationEntry": extended_compensation_info_compensation_entry
"/jobs:v2/ExtendedCompensationInfoCompensationEntry/amount": amount
"/jobs:v2/ExtendedCompensationInfoCompensationEntry/description": description
"/jobs:v2/ExtendedCompensationInfoCompensationEntry/expectedUnitsPerYear": expected_units_per_year
"/jobs:v2/ExtendedCompensationInfoCompensationEntry/range": range
"/jobs:v2/ExtendedCompensationInfoCompensationEntry/type": type
"/jobs:v2/ExtendedCompensationInfoCompensationEntry/unit": unit
"/jobs:v2/ExtendedCompensationInfoCompensationEntry/unspecified": unspecified
"/jobs:v2/ExtendedCompensationInfoCompensationRange": extended_compensation_info_compensation_range
"/jobs:v2/ExtendedCompensationInfoCompensationRange/max": max
"/jobs:v2/ExtendedCompensationInfoCompensationRange/min": min
"/jobs:v2/ExtendedCompensationInfoDecimal": extended_compensation_info_decimal
"/jobs:v2/ExtendedCompensationInfoDecimal/micros": micros
"/jobs:v2/ExtendedCompensationInfoDecimal/units": units
"/jobs:v2/Filter": filter
"/jobs:v2/Filter/requisitionId": requisition_id
"/jobs:v2/GetHistogramRequest": get_histogram_request
"/jobs:v2/GetHistogramRequest/allowBroadening": allow_broadening
"/jobs:v2/GetHistogramRequest/filters": filters
"/jobs:v2/GetHistogramRequest/query": query
"/jobs:v2/GetHistogramRequest/requestMetadata": request_metadata
"/jobs:v2/GetHistogramRequest/searchTypes": search_types
"/jobs:v2/GetHistogramRequest/searchTypes/search_type": search_type
"/jobs:v2/GetHistogramResponse": get_histogram_response
"/jobs:v2/GetHistogramResponse/metadata": metadata
"/jobs:v2/GetHistogramResponse/results": results
"/jobs:v2/GetHistogramResponse/results/result": result
"/jobs:v2/HistogramFacets": histogram_facets
"/jobs:v2/HistogramFacets/compensationHistogramFacets": compensation_histogram_facets
"/jobs:v2/HistogramFacets/compensationHistogramFacets/compensation_histogram_facet": compensation_histogram_facet
"/jobs:v2/HistogramFacets/customAttributeHistogramFacets": custom_attribute_histogram_facets
"/jobs:v2/HistogramFacets/customAttributeHistogramFacets/custom_attribute_histogram_facet": custom_attribute_histogram_facet
"/jobs:v2/HistogramFacets/simpleHistogramFacets": simple_histogram_facets
"/jobs:v2/HistogramFacets/simpleHistogramFacets/simple_histogram_facet": simple_histogram_facet
"/jobs:v2/HistogramResult": histogram_result
"/jobs:v2/HistogramResult/searchType": search_type
"/jobs:v2/HistogramResult/values": values
"/jobs:v2/HistogramResult/values/value": value
"/jobs:v2/HistogramResults": histogram_results
"/jobs:v2/HistogramResults/compensationHistogramResults": compensation_histogram_results
"/jobs:v2/HistogramResults/compensationHistogramResults/compensation_histogram_result": compensation_histogram_result
"/jobs:v2/HistogramResults/customAttributeHistogramResults": custom_attribute_histogram_results
"/jobs:v2/HistogramResults/customAttributeHistogramResults/custom_attribute_histogram_result": custom_attribute_histogram_result
"/jobs:v2/HistogramResults/simpleHistogramResults": simple_histogram_results
"/jobs:v2/HistogramResults/simpleHistogramResults/simple_histogram_result": simple_histogram_result
"/jobs:v2/Job": job
"/jobs:v2/Job/applicationEmailList": application_email_list
"/jobs:v2/Job/applicationEmailList/application_email_list": application_email_list
"/jobs:v2/Job/applicationInstruction": application_instruction
"/jobs:v2/Job/applicationUrls": application_urls
"/jobs:v2/Job/applicationUrls/application_url": application_url
"/jobs:v2/Job/benefits": benefits
"/jobs:v2/Job/benefits/benefit": benefit
"/jobs:v2/Job/companyDisplayName": company_display_name
"/jobs:v2/Job/companyName": company_name
"/jobs:v2/Job/companyTitle": company_title
"/jobs:v2/Job/compensationInfo": compensation_info
"/jobs:v2/Job/createTime": create_time
"/jobs:v2/Job/customAttributes": custom_attributes
"/jobs:v2/Job/customAttributes/custom_attribute": custom_attribute
"/jobs:v2/Job/department": department
"/jobs:v2/Job/description": description
"/jobs:v2/Job/distributorCompanyId": distributor_company_id
"/jobs:v2/Job/educationLevels": education_levels
"/jobs:v2/Job/educationLevels/education_level": education_level
"/jobs:v2/Job/employmentTypes": employment_types
"/jobs:v2/Job/employmentTypes/employment_type": employment_type
"/jobs:v2/Job/endDate": end_date
"/jobs:v2/Job/expireTime": expire_time
"/jobs:v2/Job/expiryDate": expiry_date
"/jobs:v2/Job/extendedCompensationInfo": extended_compensation_info
"/jobs:v2/Job/filterableCustomFields": filterable_custom_fields
"/jobs:v2/Job/filterableCustomFields/filterable_custom_field": filterable_custom_field
"/jobs:v2/Job/incentives": incentives
"/jobs:v2/Job/jobLocations": job_locations
"/jobs:v2/Job/jobLocations/job_location": job_location
"/jobs:v2/Job/jobTitle": job_title
"/jobs:v2/Job/languageCode": language_code
"/jobs:v2/Job/level": level
"/jobs:v2/Job/locations": locations
"/jobs:v2/Job/locations/location": location
"/jobs:v2/Job/name": name
"/jobs:v2/Job/promotionValue": promotion_value
"/jobs:v2/Job/publishDate": publish_date
"/jobs:v2/Job/qualifications": qualifications
"/jobs:v2/Job/referenceUrl": reference_url
"/jobs:v2/Job/region": region
"/jobs:v2/Job/requisitionId": requisition_id
"/jobs:v2/Job/responsibilities": responsibilities
"/jobs:v2/Job/startDate": start_date
"/jobs:v2/Job/unindexedCustomFields": unindexed_custom_fields
"/jobs:v2/Job/unindexedCustomFields/unindexed_custom_field": unindexed_custom_field
"/jobs:v2/Job/updateTime": update_time
"/jobs:v2/Job/visibility": visibility
"/jobs:v2/JobFilters": job_filters
"/jobs:v2/JobFilters/categories": categories
"/jobs:v2/JobFilters/categories/category": category
"/jobs:v2/JobFilters/commuteFilter": commute_filter
"/jobs:v2/JobFilters/companyNames": company_names
"/jobs:v2/JobFilters/companyNames/company_name": company_name
"/jobs:v2/JobFilters/companyTitles": company_titles
"/jobs:v2/JobFilters/companyTitles/company_title": company_title
"/jobs:v2/JobFilters/compensationFilter": compensation_filter
"/jobs:v2/JobFilters/customAttributeFilter": custom_attribute_filter
"/jobs:v2/JobFilters/customFieldFilters": custom_field_filters
"/jobs:v2/JobFilters/customFieldFilters/custom_field_filter": custom_field_filter
"/jobs:v2/JobFilters/disableSpellCheck": disable_spell_check
"/jobs:v2/JobFilters/employmentTypes": employment_types
"/jobs:v2/JobFilters/employmentTypes/employment_type": employment_type
"/jobs:v2/JobFilters/extendedCompensationFilter": extended_compensation_filter
"/jobs:v2/JobFilters/languageCodes": language_codes
"/jobs:v2/JobFilters/languageCodes/language_code": language_code
"/jobs:v2/JobFilters/locationFilters": location_filters
"/jobs:v2/JobFilters/locationFilters/location_filter": location_filter
"/jobs:v2/JobFilters/publishDateRange": publish_date_range
"/jobs:v2/JobFilters/query": query
"/jobs:v2/JobFilters/tenantJobOnly": tenant_job_only
"/jobs:v2/JobLocation": job_location
"/jobs:v2/JobLocation/latLng": lat_lng
"/jobs:v2/JobLocation/locationType": location_type
"/jobs:v2/JobLocation/postalAddress": postal_address
"/jobs:v2/JobLocation/radiusMeters": radius_meters
"/jobs:v2/JobQuery": job_query
"/jobs:v2/JobQuery/categories": categories
"/jobs:v2/JobQuery/categories/category": category
"/jobs:v2/JobQuery/commuteFilter": commute_filter
"/jobs:v2/JobQuery/companyDisplayNames": company_display_names
"/jobs:v2/JobQuery/companyDisplayNames/company_display_name": company_display_name
"/jobs:v2/JobQuery/companyNames": company_names
"/jobs:v2/JobQuery/companyNames/company_name": company_name
"/jobs:v2/JobQuery/compensationFilter": compensation_filter
"/jobs:v2/JobQuery/customAttributeFilter": custom_attribute_filter
"/jobs:v2/JobQuery/disableSpellCheck": disable_spell_check
"/jobs:v2/JobQuery/employmentTypes": employment_types
"/jobs:v2/JobQuery/employmentTypes/employment_type": employment_type
"/jobs:v2/JobQuery/languageCodes": language_codes
"/jobs:v2/JobQuery/languageCodes/language_code": language_code
"/jobs:v2/JobQuery/locationFilters": location_filters
"/jobs:v2/JobQuery/locationFilters/location_filter": location_filter
"/jobs:v2/JobQuery/publishDateRange": publish_date_range
"/jobs:v2/JobQuery/query": query
"/jobs:v2/JobQuery/tenantJobOnly": tenant_job_only
"/jobs:v2/LatLng": lat_lng
"/jobs:v2/LatLng/latitude": latitude
"/jobs:v2/LatLng/longitude": longitude
"/jobs:v2/ListCompaniesResponse": list_companies_response
"/jobs:v2/ListCompaniesResponse/companies": companies
"/jobs:v2/ListCompaniesResponse/companies/company": company
"/jobs:v2/ListCompaniesResponse/metadata": metadata
"/jobs:v2/ListCompaniesResponse/nextPageToken": next_page_token
"/jobs:v2/ListCompanyJobsResponse": list_company_jobs_response
"/jobs:v2/ListCompanyJobsResponse/jobs": jobs
"/jobs:v2/ListCompanyJobsResponse/jobs/job": job
"/jobs:v2/ListCompanyJobsResponse/metadata": metadata
"/jobs:v2/ListCompanyJobsResponse/nextPageToken": next_page_token
"/jobs:v2/ListCompanyJobsResponse/totalSize": total_size
"/jobs:v2/ListJobsResponse": list_jobs_response
"/jobs:v2/ListJobsResponse/jobs": jobs
"/jobs:v2/ListJobsResponse/jobs/job": job
"/jobs:v2/ListJobsResponse/metadata": metadata
"/jobs:v2/ListJobsResponse/nextPageToken": next_page_token
"/jobs:v2/LocationFilter": location_filter
"/jobs:v2/LocationFilter/distanceInMiles": distance_in_miles
"/jobs:v2/LocationFilter/isTelecommute": is_telecommute
"/jobs:v2/LocationFilter/latLng": lat_lng
"/jobs:v2/LocationFilter/name": name
"/jobs:v2/LocationFilter/regionCode": region_code
"/jobs:v2/MatchingJob": matching_job
"/jobs:v2/MatchingJob/commuteInfo": commute_info
"/jobs:v2/MatchingJob/job": job
"/jobs:v2/MatchingJob/jobSummary": job_summary
"/jobs:v2/MatchingJob/jobTitleSnippet": job_title_snippet
"/jobs:v2/MatchingJob/searchTextSnippet": search_text_snippet
"/jobs:v2/Money": money
"/jobs:v2/Money/currencyCode": currency_code
"/jobs:v2/Money/nanos": nanos
"/jobs:v2/Money/units": units
"/jobs:v2/NumericBucketingOption": numeric_bucketing_option
"/jobs:v2/NumericBucketingOption/bucketBounds": bucket_bounds
"/jobs:v2/NumericBucketingOption/bucketBounds/bucket_bound": bucket_bound
"/jobs:v2/NumericBucketingOption/requiresMinMax": requires_min_max
"/jobs:v2/NumericBucketingResult": numeric_bucketing_result
"/jobs:v2/NumericBucketingResult/counts": counts
"/jobs:v2/NumericBucketingResult/counts/count": count
"/jobs:v2/NumericBucketingResult/maxValue": max_value
"/jobs:v2/NumericBucketingResult/minValue": min_value
"/jobs:v2/PostalAddress": postal_address
"/jobs:v2/PostalAddress/addressLines": address_lines
"/jobs:v2/PostalAddress/addressLines/address_line": address_line
"/jobs:v2/PostalAddress/administrativeArea": administrative_area
"/jobs:v2/PostalAddress/languageCode": language_code
"/jobs:v2/PostalAddress/locality": locality
"/jobs:v2/PostalAddress/organization": organization
"/jobs:v2/PostalAddress/postalCode": postal_code
"/jobs:v2/PostalAddress/recipients": recipients
"/jobs:v2/PostalAddress/recipients/recipient": recipient
"/jobs:v2/PostalAddress/regionCode": region_code
"/jobs:v2/PostalAddress/revision": revision
"/jobs:v2/PostalAddress/sortingCode": sorting_code
"/jobs:v2/PostalAddress/sublocality": sublocality
"/jobs:v2/RequestMetadata": request_metadata
"/jobs:v2/RequestMetadata/deviceInfo": device_info
"/jobs:v2/RequestMetadata/domain": domain
"/jobs:v2/RequestMetadata/sessionId": session_id
"/jobs:v2/RequestMetadata/userId": user_id
"/jobs:v2/ResponseMetadata": response_metadata
"/jobs:v2/ResponseMetadata/experimentIdList": experiment_id_list
"/jobs:v2/ResponseMetadata/experimentIdList/experiment_id_list": experiment_id_list
"/jobs:v2/ResponseMetadata/mode": mode
"/jobs:v2/ResponseMetadata/requestId": request_id
"/jobs:v2/SearchJobsRequest": search_jobs_request
"/jobs:v2/SearchJobsRequest/disableRelevanceThresholding": disable_relevance_thresholding
"/jobs:v2/SearchJobsRequest/enableBroadening": enable_broadening
"/jobs:v2/SearchJobsRequest/enablePreciseResultSize": enable_precise_result_size
"/jobs:v2/SearchJobsRequest/filters": filters
"/jobs:v2/SearchJobsRequest/histogramFacets": histogram_facets
"/jobs:v2/SearchJobsRequest/jobView": job_view
"/jobs:v2/SearchJobsRequest/mode": mode
"/jobs:v2/SearchJobsRequest/offset": offset
"/jobs:v2/SearchJobsRequest/orderBy": order_by
"/jobs:v2/SearchJobsRequest/pageSize": page_size
"/jobs:v2/SearchJobsRequest/pageToken": page_token
"/jobs:v2/SearchJobsRequest/query": query
"/jobs:v2/SearchJobsRequest/requestMetadata": request_metadata
"/jobs:v2/SearchJobsRequest/sortBy": sort_by
"/jobs:v2/SearchJobsResponse": search_jobs_response
"/jobs:v2/SearchJobsResponse/appliedCommuteFilter": applied_commute_filter
"/jobs:v2/SearchJobsResponse/appliedJobLocationFilters": applied_job_location_filters
"/jobs:v2/SearchJobsResponse/appliedJobLocationFilters/applied_job_location_filter": applied_job_location_filter
"/jobs:v2/SearchJobsResponse/estimatedTotalSize": estimated_total_size
"/jobs:v2/SearchJobsResponse/histogramResults": histogram_results
"/jobs:v2/SearchJobsResponse/jobView": job_view
"/jobs:v2/SearchJobsResponse/matchingJobs": matching_jobs
"/jobs:v2/SearchJobsResponse/matchingJobs/matching_job": matching_job
"/jobs:v2/SearchJobsResponse/metadata": metadata
"/jobs:v2/SearchJobsResponse/nextPageToken": next_page_token
"/jobs:v2/SearchJobsResponse/numJobsFromBroadenedQuery": num_jobs_from_broadened_query
"/jobs:v2/SearchJobsResponse/spellResult": spell_result
"/jobs:v2/SearchJobsResponse/totalSize": total_size
"/jobs:v2/SpellingCorrection": spelling_correction
"/jobs:v2/SpellingCorrection/corrected": corrected
"/jobs:v2/SpellingCorrection/correctedText": corrected_text
"/jobs:v2/StringValues": string_values
"/jobs:v2/StringValues/values": values
"/jobs:v2/StringValues/values/value": value
"/jobs:v2/UpdateJobRequest": update_job_request
"/jobs:v2/UpdateJobRequest/disableStreetAddressResolution": disable_street_address_resolution
"/jobs:v2/UpdateJobRequest/job": job
"/jobs:v2/UpdateJobRequest/updateJobFields": update_job_fields
"/jobs:v2/fields": fields
"/jobs:v2/jobs.companies.create": create_company
"/jobs:v2/jobs.companies.delete": delete_company
"/jobs:v2/jobs.companies.delete/name": name
"/jobs:v2/jobs.companies.get": get_company
"/jobs:v2/jobs.companies.get/name": name
"/jobs:v2/jobs.companies.jobs.list": list_company_jobs
"/jobs:v2/jobs.companies.jobs.list/companyName": company_name
"/jobs:v2/jobs.companies.jobs.list/idsOnly": ids_only
"/jobs:v2/jobs.companies.jobs.list/includeJobsCount": include_jobs_count
"/jobs:v2/jobs.companies.jobs.list/jobRequisitionId": job_requisition_id
"/jobs:v2/jobs.companies.jobs.list/pageSize": page_size
"/jobs:v2/jobs.companies.jobs.list/pageToken": page_token
"/jobs:v2/jobs.companies.list": list_companies
"/jobs:v2/jobs.companies.list/mustHaveOpenJobs": must_have_open_jobs
"/jobs:v2/jobs.companies.list/pageSize": page_size
"/jobs:v2/jobs.companies.list/pageToken": page_token
"/jobs:v2/jobs.companies.patch": patch_company
"/jobs:v2/jobs.companies.patch/name": name
"/jobs:v2/jobs.companies.patch/updateCompanyFields": update_company_fields
"/jobs:v2/jobs.complete/companyName": company_name
"/jobs:v2/jobs.complete/languageCode": language_code
"/jobs:v2/jobs.complete/pageSize": page_size
"/jobs:v2/jobs.complete/query": query
"/jobs:v2/jobs.complete/scope": scope
"/jobs:v2/jobs.complete/type": type
"/jobs:v2/jobs.jobs.batchDelete": batch_delete_jobs
"/jobs:v2/jobs.jobs.create": create_job
"/jobs:v2/jobs.jobs.delete": delete_job
"/jobs:v2/jobs.jobs.delete/disableFastProcess": disable_fast_process
"/jobs:v2/jobs.jobs.delete/name": name
"/jobs:v2/jobs.jobs.deleteByFilter": delete_job_by_filter
"/jobs:v2/jobs.jobs.get": get_job
"/jobs:v2/jobs.jobs.get/name": name
"/jobs:v2/jobs.jobs.histogram": histogram_job
"/jobs:v2/jobs.jobs.list": list_jobs
"/jobs:v2/jobs.jobs.list/filter": filter
"/jobs:v2/jobs.jobs.list/idsOnly": ids_only
"/jobs:v2/jobs.jobs.list/pageSize": page_size
"/jobs:v2/jobs.jobs.list/pageToken": page_token
"/jobs:v2/jobs.jobs.patch": patch_job
"/jobs:v2/jobs.jobs.patch/name": name
"/jobs:v2/jobs.jobs.search": search_jobs
"/jobs:v2/jobs.jobs.searchForAlert": search_job_for_alert
"/jobs:v2/key": key
"/jobs:v2/quotaUser": quota_user
"/kgsearch:v1/SearchResponse": search_response
"/kgsearch:v1/SearchResponse/@context": _context
"/kgsearch:v1/SearchResponse/@type": _type

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher
module AndroidpublisherV2
VERSION = 'V2'
REVISION = '20180501'
REVISION = '20180504'
# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -259,6 +259,66 @@ module Google
end
end
#
class Bundle
include Google::Apis::Core::Hashable
# A sha1 hash of the upload payload, encoded as a hex string and matching the
# output of the sha1sum command.
# Corresponds to the JSON property `sha1`
# @return [String]
attr_accessor :sha1
# A sha256 hash of the upload payload, encoded as a hex string and matching the
# output of the sha256sum command.
# Corresponds to the JSON property `sha256`
# @return [String]
attr_accessor :sha256
# The version code of the Android App Bundle. As specified in the Android App
# Bundle's base module APK manifest file.
# Corresponds to the JSON property `versionCode`
# @return [Fixnum]
attr_accessor :version_code
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@sha1 = args[:sha1] if args.key?(:sha1)
@sha256 = args[:sha256] if args.key?(:sha256)
@version_code = args[:version_code] if args.key?(:version_code)
end
end
#
class BundlesListResponse
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `bundles`
# @return [Array<Google::Apis::AndroidpublisherV2::Bundle>]
attr_accessor :bundles
# Identifies what kind of resource this is. Value: the fixed string "
# androidpublisher#bundlesListResponse".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bundles = args[:bundles] if args.key?(:bundles)
@kind = args[:kind] if args.key?(:kind)
end
end
#
class Comment
include Google::Apis::Core::Hashable
@ -1610,7 +1670,9 @@ module Google
# @return [Float]
attr_accessor :user_fraction
#
# Version codes to make active on this track. Note that this list should contain
# all versions you wish to be active, including those you wish to retain from
# previous releases.
# Corresponds to the JSON property `versionCodes`
# @return [Array<Fixnum>]
attr_accessor :version_codes

View File

@ -76,6 +76,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Bundle
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BundlesListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Comment
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -405,6 +417,24 @@ module Google
end
end
class Bundle
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :sha1, as: 'sha1'
property :sha256, as: 'sha256'
property :version_code, as: 'versionCode'
end
end
class BundlesListResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :bundles, as: 'bundles', class: Google::Apis::AndroidpublisherV2::Bundle, decorator: Google::Apis::AndroidpublisherV2::Bundle::Representation
property :kind, as: 'kind'
end
end
class Comment
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -631,6 +631,90 @@ module Google
execute_or_queue_command(command, &block)
end
#
# @param [String] package_name
# Unique identifier for the Android app that is being updated; for example, "com.
# spiffygame".
# @param [String] edit_id
# Unique identifier for this edit.
# @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.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::AndroidpublisherV2::BundlesListResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroidpublisherV2::BundlesListResponse]
#
# @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_edit_bundles(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/bundles', options)
command.response_representation = Google::Apis::AndroidpublisherV2::BundlesListResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV2::BundlesListResponse
command.params['packageName'] = package_name unless package_name.nil?
command.params['editId'] = edit_id unless edit_id.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
#
# @param [String] package_name
# Unique identifier for the Android app that is being updated; for example, "com.
# spiffygame".
# @param [String] edit_id
# Unique identifier for this edit.
# @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.
# @param [IO, String] upload_source
# IO stream or filename containing content to upload
# @param [String] content_type
# Content type of the uploaded content.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::AndroidpublisherV2::Bundle] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroidpublisherV2::Bundle]
#
# @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 upload_edit_bundle(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:post, '{packageName}/edits/{editId}/bundles', options)
else
command = make_upload_command(:post, '{packageName}/edits/{editId}/bundles', options)
command.upload_source = upload_source
command.upload_content_type = content_type
end
command.response_representation = Google::Apis::AndroidpublisherV2::Bundle::Representation
command.response_class = Google::Apis::AndroidpublisherV2::Bundle
command.params['packageName'] = package_name unless package_name.nil?
command.params['editId'] = edit_id unless edit_id.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
# Uploads the deobfuscation file of the specified APK. If a deobfuscation file
# already exists, it will be replaced.
# @param [String] package_name

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher
module AndroidpublisherV3
VERSION = 'V3'
REVISION = '20180502'
REVISION = '20180504'
# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -208,6 +208,66 @@ module Google
end
end
#
class Bundle
include Google::Apis::Core::Hashable
# A sha1 hash of the upload payload, encoded as a hex string and matching the
# output of the sha1sum command.
# Corresponds to the JSON property `sha1`
# @return [String]
attr_accessor :sha1
# A sha256 hash of the upload payload, encoded as a hex string and matching the
# output of the sha256sum command.
# Corresponds to the JSON property `sha256`
# @return [String]
attr_accessor :sha256
# The version code of the Android App Bundle. As specified in the Android App
# Bundle's base module APK manifest file.
# Corresponds to the JSON property `versionCode`
# @return [Fixnum]
attr_accessor :version_code
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@sha1 = args[:sha1] if args.key?(:sha1)
@sha256 = args[:sha256] if args.key?(:sha256)
@version_code = args[:version_code] if args.key?(:version_code)
end
end
#
class BundlesListResponse
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `bundles`
# @return [Array<Google::Apis::AndroidpublisherV3::Bundle>]
attr_accessor :bundles
# Identifies what kind of resource this is. Value: the fixed string "
# androidpublisher#bundlesListResponse".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bundles = args[:bundles] if args.key?(:bundles)
@kind = args[:kind] if args.key?(:kind)
end
end
#
class Comment
include Google::Apis::Core::Hashable
@ -1618,13 +1678,15 @@ module Google
attr_accessor :status
# Fraction of users who are eligible to receive the release. 0 <= fraction < 1.
# To be set, release status must be IN_PROGRESS or HALTED.
# To be set, release status must be "inProgress" or "halted".
# Corresponds to the JSON property `userFraction`
# @return [Float]
attr_accessor :user_fraction
# A list of version codes of APKs that will be exposed to the users of this
# track when this release is rolled out.
# A list of all version codes of APKs that will be exposed to the users of this
# track when this release is rolled out. Note that this list should contain all
# versions you wish to be active, including those you wish to retain from
# previous releases.
# Corresponds to the JSON property `versionCodes`
# @return [Array<Fixnum>]
attr_accessor :version_codes

View File

@ -64,6 +64,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Bundle
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BundlesListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Comment
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -388,6 +400,24 @@ module Google
end
end
class Bundle
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :sha1, as: 'sha1'
property :sha256, as: 'sha256'
property :version_code, as: 'versionCode'
end
end
class BundlesListResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :bundles, as: 'bundles', class: Google::Apis::AndroidpublisherV3::Bundle, decorator: Google::Apis::AndroidpublisherV3::Bundle::Representation
property :kind, as: 'kind'
end
end
class Comment
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -365,6 +365,90 @@ module Google
execute_or_queue_command(command, &block)
end
#
# @param [String] package_name
# Unique identifier for the Android app that is being updated; for example, "com.
# spiffygame".
# @param [String] edit_id
# Unique identifier for this edit.
# @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.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::AndroidpublisherV3::BundlesListResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroidpublisherV3::BundlesListResponse]
#
# @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_edit_bundles(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/bundles', options)
command.response_representation = Google::Apis::AndroidpublisherV3::BundlesListResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV3::BundlesListResponse
command.params['packageName'] = package_name unless package_name.nil?
command.params['editId'] = edit_id unless edit_id.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
#
# @param [String] package_name
# Unique identifier for the Android app that is being updated; for example, "com.
# spiffygame".
# @param [String] edit_id
# Unique identifier for this edit.
# @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.
# @param [IO, String] upload_source
# IO stream or filename containing content to upload
# @param [String] content_type
# Content type of the uploaded content.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::AndroidpublisherV3::Bundle] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroidpublisherV3::Bundle]
#
# @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 upload_edit_bundle(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:post, '{packageName}/edits/{editId}/bundles', options)
else
command = make_upload_command(:post, '{packageName}/edits/{editId}/bundles', options)
command.upload_source = upload_source
command.upload_content_type = content_type
end
command.response_representation = Google::Apis::AndroidpublisherV3::Bundle::Representation
command.response_class = Google::Apis::AndroidpublisherV3::Bundle
command.params['packageName'] = package_name unless package_name.nil?
command.params['editId'] = edit_id unless edit_id.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
# Uploads the deobfuscation file of the specified APK. If a deobfuscation file
# already exists, it will be replaced.
# @param [String] package_name

View File

@ -18,14 +18,14 @@ require 'google/apis/cloudfunctions_v1/representations.rb'
module Google
module Apis
# Google Cloud Functions API
# Cloud Functions API
#
# Manages lightweight user-provided functions executed in response to events.
#
# @see https://cloud.google.com/functions
module CloudfunctionsV1
VERSION = 'V1'
REVISION = '20180416'
REVISION = '20180420'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -122,6 +122,12 @@ module Google
# @return [String]
attr_accessor :name
# The runtime in which the function is going to run. If empty, defaults to
# Node.js 6.
# Corresponds to the JSON property `runtime`
# @return [String]
attr_accessor :runtime
# Output only. The email of the function's service account.
# Corresponds to the JSON property `serviceAccountEmail`
# @return [String]
@ -182,6 +188,7 @@ module Google
@https_trigger = args[:https_trigger] if args.key?(:https_trigger)
@labels = args[:labels] if args.key?(:labels)
@name = args[:name] if args.key?(:name)
@runtime = args[:runtime] if args.key?(:runtime)
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
@source_archive_url = args[:source_archive_url] if args.key?(:source_archive_url)
@source_repository = args[:source_repository] if args.key?(:source_repository)

View File

@ -170,6 +170,7 @@ module Google
hash :labels, as: 'labels'
property :name, as: 'name'
property :runtime, as: 'runtime'
property :service_account_email, as: 'serviceAccountEmail'
property :source_archive_url, as: 'sourceArchiveUrl'
property :source_repository, as: 'sourceRepository', class: Google::Apis::CloudfunctionsV1::SourceRepository, decorator: Google::Apis::CloudfunctionsV1::SourceRepository::Representation

View File

@ -20,7 +20,7 @@ require 'google/apis/errors'
module Google
module Apis
module CloudfunctionsV1
# Google Cloud Functions API
# Cloud Functions API
#
# Manages lightweight user-provided functions executed in response to events.
#

View File

@ -18,14 +18,14 @@ require 'google/apis/cloudfunctions_v1beta2/representations.rb'
module Google
module Apis
# Google Cloud Functions API
# Cloud Functions API
#
# Manages lightweight user-provided functions executed in response to events.
#
# @see https://cloud.google.com/functions
module CloudfunctionsV1beta2
VERSION = 'V1beta2'
REVISION = '20180416'
REVISION = '20180420'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -124,6 +124,12 @@ module Google
# @return [String]
attr_accessor :name
# The runtime in which the function is going to run. If empty, defaults to
# Node.js 6.
# Corresponds to the JSON property `runtime`
# @return [String]
attr_accessor :runtime
# Output only. The service account of the function.
# Corresponds to the JSON property `serviceAccount`
# @return [String]
@ -200,6 +206,7 @@ module Google
@labels = args[:labels] if args.key?(:labels)
@latest_operation = args[:latest_operation] if args.key?(:latest_operation)
@name = args[:name] if args.key?(:name)
@runtime = args[:runtime] if args.key?(:runtime)
@service_account = args[:service_account] if args.key?(:service_account)
@source_archive_url = args[:source_archive_url] if args.key?(:source_archive_url)
@source_repository = args[:source_repository] if args.key?(:source_repository)

View File

@ -170,6 +170,7 @@ module Google
hash :labels, as: 'labels'
property :latest_operation, as: 'latestOperation'
property :name, as: 'name'
property :runtime, as: 'runtime'
property :service_account, as: 'serviceAccount'
property :source_archive_url, as: 'sourceArchiveUrl'
property :source_repository, as: 'sourceRepository', class: Google::Apis::CloudfunctionsV1beta2::SourceRepository, decorator: Google::Apis::CloudfunctionsV1beta2::SourceRepository::Representation

View File

@ -20,7 +20,7 @@ require 'google/apis/errors'
module Google
module Apis
module CloudfunctionsV1beta2
# Google Cloud Functions API
# Cloud Functions API
#
# Manages lightweight user-provided functions executed in response to events.
#

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/
module ContainerV1beta1
VERSION = 'V1beta1'
REVISION = '20180412'
REVISION = '20180427'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1100,6 +1100,35 @@ module Google
end
end
# ListLocationsResponse returns the list of all GKE locations and their
# recommendation state.
class ListLocationsResponse
include Google::Apis::Core::Hashable
# A full list of GKE locations.
# Corresponds to the JSON property `locations`
# @return [Array<Google::Apis::ContainerV1beta1::Location>]
attr_accessor :locations
# Only return ListLocationsResponse that occur after the page_token. This
# value should be populated from the ListLocationsResponse.next_page_token if
# that response token was set (which happens when listing more Locations than
# fit in a single ListLocationsResponse).
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@locations = args[:locations] if args.key?(:locations)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# ListNodePoolsResponse is the result of ListNodePoolsRequest.
class ListNodePoolsResponse
include Google::Apis::Core::Hashable
@ -1174,6 +1203,43 @@ module Google
end
end
# Location returns the location name, and if the location is recommended
# for GKE cluster scheduling.
class Location
include Google::Apis::Core::Hashable
# Contains the name of the resource requested.
# Specific in the format 'projects/*/locations/*'.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Recommended is a bool combining the drain state of the location (ie- has
# the region been drained manually?), and the stockout status of any zone
# according to Zone Advisor. This will be internal only for use by pantheon.
# Corresponds to the JSON property `recommended`
# @return [Boolean]
attr_accessor :recommended
alias_method :recommended?, :recommended
# Contains the type of location this Location is for.
# Regional or Zonal.
# 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)
@name = args[:name] if args.key?(:name)
@recommended = args[:recommended] if args.key?(:recommended)
@type = args[:type] if args.key?(:type)
end
end
# MaintenancePolicy defines the maintenance policy to be used for the cluster.
class MaintenancePolicy
include Google::Apis::Core::Hashable

View File

@ -136,6 +136,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ListLocationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListNodePoolsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -154,6 +160,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Location
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MaintenancePolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -592,6 +604,15 @@ module Google
end
end
class ListLocationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :locations, as: 'locations', class: Google::Apis::ContainerV1beta1::Location, decorator: Google::Apis::ContainerV1beta1::Location::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class ListNodePoolsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -618,6 +639,15 @@ module Google
end
end
class Location
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :recommended, as: 'recommended'
property :type, as: 'type'
end
end
class MaintenancePolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -136,6 +136,37 @@ module Google
execute_or_queue_command(command, &block)
end
#
# @param [String] parent
# Contains the name of the resource requested.
# Specific in the format 'projects/*/locations'.
# @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::ContainerV1beta1::ListLocationsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContainerV1beta1::ListLocationsResponse]
#
# @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_locations(parent, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/locations', options)
command.response_representation = Google::Apis::ContainerV1beta1::ListLocationsResponse::Representation
command.response_class = Google::Apis::ContainerV1beta1::ListLocationsResponse
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
# Completes master IP rotation.
# @param [String] name
# The name (project, location, cluster id) of the cluster to complete IP

View File

@ -0,0 +1,38 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/jobs_v2/service.rb'
require 'google/apis/jobs_v2/classes.rb'
require 'google/apis/jobs_v2/representations.rb'
module Google
module Apis
# Cloud Job Discovery
#
# Cloud Job Discovery provides the capability to create, read, update, and
# delete job postings, as well as search jobs based on keywords and filters.
#
# @see https://cloud.google.com/job-discovery/docs
module JobsV2
VERSION = 'V2'
REVISION = '20180509'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
# Manage job postings
AUTH_JOBS = 'https://www.googleapis.com/auth/jobs'
end
end
end

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,754 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module JobsV2
# Cloud Job Discovery
#
# Cloud Job Discovery provides the capability to create, read, update, and
# delete job postings, as well as search jobs based on keywords and filters.
#
# @example
# require 'google/apis/jobs_v2'
#
# Jobs = Google::Apis::JobsV2 # Alias the module
# service = Jobs::JobServiceService.new
#
# @see https://cloud.google.com/job-discovery/docs
class JobServiceService < Google::Apis::Core::BaseService
# @return [String]
# API key. Your API key identifies your project and provides you with API access,
# quota, and reports. Required unless you provide an OAuth 2.0 token.
attr_accessor :key
# @return [String]
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
attr_accessor :quota_user
def initialize
super('https://jobs.googleapis.com/', '')
@batch_path = 'batch'
end
# Creates a new company entity.
# @param [Google::Apis::JobsV2::Company] company_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::JobsV2::Company] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV2::Company]
#
# @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_company(company_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/companies', options)
command.request_representation = Google::Apis::JobsV2::Company::Representation
command.request_object = company_object
command.response_representation = Google::Apis::JobsV2::Company::Representation
command.response_class = Google::Apis::JobsV2::Company
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes the specified company.
# @param [String] name
# Required.
# The resource name of the company to be deleted,
# such as, "companies/0000aaaa-1111-bbbb-2222-cccc3333dddd".
# @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::JobsV2::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV2::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_company(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2/{+name}', options)
command.response_representation = Google::Apis::JobsV2::Empty::Representation
command.response_class = Google::Apis::JobsV2::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Retrieves the specified company.
# @param [String] name
# Required.
# Resource name of the company to retrieve,
# such as "companies/0000aaaa-1111-bbbb-2222-cccc3333dddd".
# @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::JobsV2::Company] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV2::Company]
#
# @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_company(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}', options)
command.response_representation = Google::Apis::JobsV2::Company::Representation
command.response_class = Google::Apis::JobsV2::Company
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists all companies associated with a Cloud Job Discovery account.
# @param [Boolean] must_have_open_jobs
# Optional.
# Set to true if the companies request must have open jobs.
# Defaults to false.
# If true, at most page_size of companies are fetched, among which
# only those with open jobs are returned.
# @param [Fixnum] page_size
# Optional.
# The maximum number of companies to be returned, at most 100.
# Default is 100 if a non-positive number is provided.
# @param [String] page_token
# Optional.
# The starting indicator from which to return results.
# @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::JobsV2::ListCompaniesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV2::ListCompaniesResponse]
#
# @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_companies(must_have_open_jobs: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/companies', options)
command.response_representation = Google::Apis::JobsV2::ListCompaniesResponse::Representation
command.response_class = Google::Apis::JobsV2::ListCompaniesResponse
command.query['mustHaveOpenJobs'] = must_have_open_jobs unless must_have_open_jobs.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Updates the specified company. Company names can't be updated. To update a
# company name, delete the company and all jobs associated with it, and only
# then re-create them.
# @param [String] name
# Required during company update.
# The resource name for a company. This is generated by the service when a
# company is created, for example,
# "companies/0000aaaa-1111-bbbb-2222-cccc3333dddd".
# @param [Google::Apis::JobsV2::Company] company_object
# @param [String] update_company_fields
# Optional but strongly recommended to be provided for the best service
# experience.
# If update_company_fields is provided, only the specified fields in
# company are updated. Otherwise all the fields are updated.
# A field mask to specify the company fields to update. Valid values are:
# * displayName
# * website
# * imageUrl
# * companySize
# * distributorBillingCompanyId
# * companyInfoSources
# * careerPageLink
# * hiringAgency
# * hqLocation
# * eeoText
# * keywordSearchableCustomAttributes
# * title (deprecated)
# * keywordSearchableCustomFields (deprecated)
# @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::JobsV2::Company] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV2::Company]
#
# @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_company(name, company_object = nil, update_company_fields: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v2/{+name}', options)
command.request_representation = Google::Apis::JobsV2::Company::Representation
command.request_object = company_object
command.response_representation = Google::Apis::JobsV2::Company::Representation
command.response_class = Google::Apis::JobsV2::Company
command.params['name'] = name unless name.nil?
command.query['updateCompanyFields'] = update_company_fields unless update_company_fields.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deprecated. Use ListJobs instead.
# Lists all jobs associated with a company.
# @param [String] company_name
# Required.
# The resource name of the company that owns the jobs to be listed,
# such as, "companies/0000aaaa-1111-bbbb-2222-cccc3333dddd".
# @param [Boolean] ids_only
# Optional.
# If set to `true`, only job ID, job requisition ID and language code will be
# returned.
# A typical use is to synchronize job repositories.
# Defaults to false.
# @param [Boolean] include_jobs_count
# Deprecated. Please DO NOT use this field except for small companies.
# Suggest counting jobs page by page instead.
# Optional.
# Set to true if the total number of open jobs is to be returned.
# Defaults to false.
# @param [String] job_requisition_id
# Optional.
# The requisition ID, also known as posting ID, assigned by the company
# to the job.
# The number of allowable characters is 225.
# @param [Fixnum] page_size
# Optional.
# The maximum number of jobs to be returned per page of results.
# If ids_only is set to true, the maximum allowed page size
# is 1000. Otherwise, the maximum allowed page size is 100.
# Default is 100 if empty or a number < 1 is specified.
# @param [String] page_token
# Optional.
# The starting point of a query result.
# @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::JobsV2::ListCompanyJobsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV2::ListCompanyJobsResponse]
#
# @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_company_jobs(company_name, ids_only: nil, include_jobs_count: nil, job_requisition_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+companyName}/jobs', options)
command.response_representation = Google::Apis::JobsV2::ListCompanyJobsResponse::Representation
command.response_class = Google::Apis::JobsV2::ListCompanyJobsResponse
command.params['companyName'] = company_name unless company_name.nil?
command.query['idsOnly'] = ids_only unless ids_only.nil?
command.query['includeJobsCount'] = include_jobs_count unless include_jobs_count.nil?
command.query['jobRequisitionId'] = job_requisition_id unless job_requisition_id.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes a list of Jobs by filter.
# @param [Google::Apis::JobsV2::BatchDeleteJobsRequest] batch_delete_jobs_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::JobsV2::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV2::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_delete_jobs(batch_delete_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/jobs:batchDelete', options)
command.request_representation = Google::Apis::JobsV2::BatchDeleteJobsRequest::Representation
command.request_object = batch_delete_jobs_request_object
command.response_representation = Google::Apis::JobsV2::Empty::Representation
command.response_class = Google::Apis::JobsV2::Empty
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates a new job.
# @param [Google::Apis::JobsV2::CreateJobRequest] create_job_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::JobsV2::Job] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV2::Job]
#
# @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_job(create_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/jobs', options)
command.request_representation = Google::Apis::JobsV2::CreateJobRequest::Representation
command.request_object = create_job_request_object
command.response_representation = Google::Apis::JobsV2::Job::Representation
command.response_class = Google::Apis::JobsV2::Job
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes the specified job. You can specify whether to synchronously wait
# for validation, indexing, and general processing to be completed before
# the response is returned.
# @param [String] name
# Required.
# The resource name of the job to be deleted, such as "jobs/11111111".
# @param [Boolean] disable_fast_process
# Deprecated. This field is not working anymore.
# Optional.
# If set to true, this call waits for all processing steps to complete
# before the job is cleaned up. Otherwise, the call returns while some
# steps are still taking place asynchronously, hence faster.
# @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::JobsV2::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV2::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_job(name, disable_fast_process: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2/{+name}', options)
command.response_representation = Google::Apis::JobsV2::Empty::Representation
command.response_class = Google::Apis::JobsV2::Empty
command.params['name'] = name unless name.nil?
command.query['disableFastProcess'] = disable_fast_process unless disable_fast_process.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deprecated. Use BatchDeleteJobs instead.
# Deletes the specified job by filter. You can specify whether to
# synchronously wait for validation, indexing, and general processing to be
# completed before the response is returned.
# @param [Google::Apis::JobsV2::DeleteJobsByFilterRequest] delete_jobs_by_filter_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::JobsV2::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV2::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_job_by_filter(delete_jobs_by_filter_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/jobs:deleteByFilter', options)
command.request_representation = Google::Apis::JobsV2::DeleteJobsByFilterRequest::Representation
command.request_object = delete_jobs_by_filter_request_object
command.response_representation = Google::Apis::JobsV2::Empty::Representation
command.response_class = Google::Apis::JobsV2::Empty
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Retrieves the specified job, whose status is OPEN or recently EXPIRED
# in 60 days.
# @param [String] name
# Required.
# The resource name of the job to retrieve, such as "jobs/11111111".
# @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::JobsV2::Job] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV2::Job]
#
# @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_job(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}', options)
command.response_representation = Google::Apis::JobsV2::Job::Representation
command.response_class = Google::Apis::JobsV2::Job
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deprecated. Use SearchJobsRequest.histogram_facets instead to make
# a single call with both search and histogram.
# Retrieves a histogram for the given
# GetHistogramRequest. This call provides a structured
# count of jobs that match against the search query, grouped by specified
# facets.
# This call constrains the visibility of jobs
# present in the database, and only counts jobs the caller has
# permission to search against.
# For example, use this call to generate the
# number of jobs in the U.S. by state.
# @param [Google::Apis::JobsV2::GetHistogramRequest] get_histogram_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::JobsV2::GetHistogramResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV2::GetHistogramResponse]
#
# @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 histogram_job(get_histogram_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/jobs:histogram', options)
command.request_representation = Google::Apis::JobsV2::GetHistogramRequest::Representation
command.request_object = get_histogram_request_object
command.response_representation = Google::Apis::JobsV2::GetHistogramResponse::Representation
command.response_class = Google::Apis::JobsV2::GetHistogramResponse
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists jobs by filter.
# @param [String] filter
# Required.
# The filter string specifies the jobs to be enumerated.
# Supported operator: =, AND
# The fields eligible for filtering are:
# * `companyName` (Required)
# * `requisitionId` (Optional)
# Sample Query:
# * companyName = "companies/123"
# * companyName = "companies/123" AND requisitionId = "req-1"
# @param [Boolean] ids_only
# Optional.
# If set to `true`, only Job.name, Job.requisition_id and
# Job.language_code will be returned.
# A typical use case is to synchronize job repositories.
# Defaults to false.
# @param [Fixnum] page_size
# Optional.
# The maximum number of jobs to be returned per page of results.
# If ids_only is set to true, the maximum allowed page size
# is 1000. Otherwise, the maximum allowed page size is 100.
# Default is 100 if empty or a number < 1 is specified.
# @param [String] page_token
# Optional.
# The starting point of a query result.
# @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::JobsV2::ListJobsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV2::ListJobsResponse]
#
# @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_jobs(filter: nil, ids_only: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/jobs', options)
command.response_representation = Google::Apis::JobsV2::ListJobsResponse::Representation
command.response_class = Google::Apis::JobsV2::ListJobsResponse
command.query['filter'] = filter unless filter.nil?
command.query['idsOnly'] = ids_only unless ids_only.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Updates the specified job. You can specify whether to synchronously wait
# for validation, indexing, and general processing to be completed before
# the response is returned.
# If this call is executed synchronously, the returned job
# is guaranteed to be fully processed and complete upon response.
# The `companyName` and `distributorCompanyId` job fields cannot be updated.
# @param [String] name
# Required during job update.
# Resource name assigned to a job by the API, for example, "/jobs/foo". Use
# of this field in job queries and API calls is preferred over the use of
# requisition_id since this value is unique.
# @param [Google::Apis::JobsV2::UpdateJobRequest] update_job_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::JobsV2::Job] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV2::Job]
#
# @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_job(name, update_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v2/{+name}', options)
command.request_representation = Google::Apis::JobsV2::UpdateJobRequest::Representation
command.request_object = update_job_request_object
command.response_representation = Google::Apis::JobsV2::Job::Representation
command.response_class = Google::Apis::JobsV2::Job
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Searches for jobs using the provided SearchJobsRequest.
# This call constrains the visibility of jobs
# present in the database, and only returns jobs that the caller has
# permission to search against.
# @param [Google::Apis::JobsV2::SearchJobsRequest] search_jobs_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::JobsV2::SearchJobsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV2::SearchJobsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_jobs(search_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/jobs:search', options)
command.request_representation = Google::Apis::JobsV2::SearchJobsRequest::Representation
command.request_object = search_jobs_request_object
command.response_representation = Google::Apis::JobsV2::SearchJobsResponse::Representation
command.response_class = Google::Apis::JobsV2::SearchJobsResponse
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Searches for jobs using the provided SearchJobsRequest.
# This call is intended to use for large, periodic tasks such as
# email alert processing, and has different algorithmic adjustments that are
# targeted to passive job seekers.
# This call constrains the visibility of jobs
# present in the database, and only returns jobs the caller has
# permission to search against.
# @param [Google::Apis::JobsV2::SearchJobsRequest] search_jobs_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::JobsV2::SearchJobsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV2::SearchJobsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_job_for_alert(search_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/jobs:searchForAlert', options)
command.request_representation = Google::Apis::JobsV2::SearchJobsRequest::Representation
command.request_object = search_jobs_request_object
command.response_representation = Google::Apis::JobsV2::SearchJobsResponse::Representation
command.response_class = Google::Apis::JobsV2::SearchJobsResponse
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Completes the specified prefix with job keyword suggestions.
# Intended for use by a job search auto-complete search box.
# @param [String] company_name
# Optional.
# If provided, restricts completion to the specified company.
# @param [String] language_code
# Required.
# The language of the query. This is
# the BCP-47 language code, such as "en-US" or "sr-Latn".
# For more information, see
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
# For CompletionType.JOB_TITLE type, only open jobs with same
# language_code are returned.
# For CompletionType.COMPANY_NAME type,
# only companies having open jobs with same language_code are
# returned.
# For CompletionType.COMBINED type, only open jobs with same
# language_code or companies having open jobs with same
# language_code are returned.
# @param [Fixnum] page_size
# Required.
# Completion result count.
# The maximum allowed page size is 10.
# @param [String] query
# Required.
# The query used to generate suggestions.
# @param [String] scope
# Optional.
# The scope of the completion. The defaults is CompletionScope.PUBLIC.
# @param [String] type
# Optional.
# The completion topic. The default is CompletionType.COMBINED.
# @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::JobsV2::CompleteQueryResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV2::CompleteQueryResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def complete(company_name: nil, language_code: nil, page_size: nil, query: nil, scope: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2:complete', options)
command.response_representation = Google::Apis::JobsV2::CompleteQueryResponse::Representation
command.response_class = Google::Apis::JobsV2::CompleteQueryResponse
command.query['companyName'] = company_name unless company_name.nil?
command.query['languageCode'] = language_code unless language_code.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['query'] = query unless query.nil?
command.query['scope'] = scope unless scope.nil?
command.query['type'] = type unless type.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
protected
def apply_command_defaults(command)
command.query['key'] = key unless key.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
end
end
end
end
end

View File

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

View File

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

View File

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

View File

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

View File

@ -25,7 +25,7 @@ module Google
#
module SurveysV2
VERSION = 'V2'
REVISION = '20170407'
REVISION = '20180508'
# View and manage your surveys and results
AUTH_SURVEYS = 'https://www.googleapis.com/auth/surveys'

View File

@ -47,103 +47,6 @@ module Google
end
end
# Representation of an individual pre-defined panel object defining a targeted
# audience of opinion rewards mobile app users.
class MobileAppPanel
include Google::Apis::Core::Hashable
# Country code for the country of the users that the panel contains. Uses
# standard ISO 3166-1 2-character language codes. For instance, 'US' for the
# United States, and 'GB' for the United Kingdom. Any survey created targeting
# this panel must also target the corresponding country.
# Corresponds to the JSON property `country`
# @return [String]
attr_accessor :country
# Whether or not the panel is accessible to all API users.
# Corresponds to the JSON property `isPublicPanel`
# @return [Boolean]
attr_accessor :is_public_panel
alias_method :is_public_panel?, :is_public_panel
# Language code that the panel can target. For instance, 'en-US'. Uses standard
# BCP47 language codes. See specification. Any survey created targeting this
# panel must also target the corresponding language.
# Corresponds to the JSON property `language`
# @return [String]
attr_accessor :language
# Unique panel ID string. This corresponds to the mobile_app_panel_id used in
# Survey Insert requests.
# Corresponds to the JSON property `mobileAppPanelId`
# @return [String]
attr_accessor :mobile_app_panel_id
# Human readable name of the audience panel.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# List of email addresses for users who can target members of this panel. Must
# contain at least the address of the user making the API call for panels that
# are not public. This field will be empty for public panels.
# Corresponds to the JSON property `owners`
# @return [Array<String>]
attr_accessor :owners
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@country = args[:country] if args.key?(:country)
@is_public_panel = args[:is_public_panel] if args.key?(:is_public_panel)
@language = args[:language] if args.key?(:language)
@mobile_app_panel_id = args[:mobile_app_panel_id] if args.key?(:mobile_app_panel_id)
@name = args[:name] if args.key?(:name)
@owners = args[:owners] if args.key?(:owners)
end
end
#
class MobileAppPanelsListResponse
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `pageInfo`
# @return [Google::Apis::SurveysV2::PageInfo]
attr_accessor :page_info
# Unique request ID used for logging and debugging. Please include in any error
# reporting or troubleshooting requests.
# Corresponds to the JSON property `requestId`
# @return [String]
attr_accessor :request_id
# An individual predefined panel of Opinion Rewards mobile users.
# Corresponds to the JSON property `resources`
# @return [Array<Google::Apis::SurveysV2::MobileAppPanel>]
attr_accessor :resources
#
# Corresponds to the JSON property `tokenPagination`
# @return [Google::Apis::SurveysV2::TokenPagination]
attr_accessor :token_pagination
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@page_info = args[:page_info] if args.key?(:page_info)
@request_id = args[:request_id] if args.key?(:request_id)
@resources = args[:resources] if args.key?(:resources)
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
end
end
#
class PageInfo
include Google::Apis::Core::Hashable
@ -342,13 +245,6 @@ module Google
# @return [Array<String>]
attr_accessor :languages
# Key for predefined panel that causes survey to be sent to a predefined set of
# Opinion Rewards App users. You must set PopulationSource to ANDROID_APP_PANEL
# to use this field.
# Corresponds to the JSON property `mobileAppPanelId`
# @return [String]
attr_accessor :mobile_app_panel_id
# Online population source where the respondents are sampled from.
# Corresponds to the JSON property `populationSource`
# @return [String]
@ -365,7 +261,6 @@ module Google
@country_subdivision = args[:country_subdivision] if args.key?(:country_subdivision)
@gender = args[:gender] if args.key?(:gender)
@languages = args[:languages] if args.key?(:languages)
@mobile_app_panel_id = args[:mobile_app_panel_id] if args.key?(:mobile_app_panel_id)
@population_source = args[:population_source] if args.key?(:population_source)
end
end
@ -385,21 +280,22 @@ module Google
# @return [String]
attr_accessor :currency_code
# Threshold to start a survey automatically if the quoted price is at most this
# value. When a survey has a Screener (threshold) question, it must go through
# an incidence pricing test to determine the final cost per response. Typically
# you will have to make a followup call to start the survey giving the final
# computed cost per response. If the survey has no threshold_answers, setting
# this property will return an error. By specifying this property, you indicate
# the max price per response you are willing to pay in advance of the incidence
# test. If the price turns out to be lower than the specified value, the survey
# will begin immediately and you will be charged at the rate determined by the
# incidence pricing test. If the price turns out to be greater than the
# specified value the survey will not be started and you will instead be
# notified what price was determined by the incidence test. At that point, you
# must raise the value of this property to be greater than or equal to that cost
# before attempting to start the survey again. This will immediately start the
# survey as long the incidence test was run within the last 21 days.
# *Deprecated* Threshold to start a survey automatically if the quoted price is
# at most this value. When a survey has a Screener (threshold) question, it must
# go through an incidence pricing test to determine the final cost per response.
# Typically you will have to make a followup call to start the survey giving the
# final computed cost per response. If the survey has no threshold_answers,
# setting this property will return an error. By specifying this property, you
# indicate the max price per response you are willing to pay in advance of the
# incidence test. If the price turns out to be lower than the specified value,
# the survey will begin immediately and you will be charged at the rate
# determined by the incidence pricing test. If the price turns out to be greater
# than the specified value the survey will not be started and you will instead
# be notified what price was determined by the incidence test. At that point,
# you must raise the value of this property to be greater than or equal to that
# cost before attempting to start the survey again. This will immediately start
# the survey as long the incidence test was run within the last 21 days. This
# will no longer be available after June 2018.
# Corresponds to the JSON property `maxCostPerResponseNanos`
# @return [Fixnum]
attr_accessor :max_cost_per_response_nanos
@ -709,8 +605,9 @@ module Google
class SurveysStartRequest
include Google::Apis::Core::Hashable
# Threshold to start a survey automically if the quoted prices is less than or
# equal to this value. See Survey.Cost for more details.
# *Deprecated* Threshold to start a survey automatically if the quoted prices is
# less than or equal to this value. See Survey.Cost for more details. This will
# no longer be available after June 2018.
# Corresponds to the JSON property `maxCostPerResponseNanos`
# @return [Fixnum]
attr_accessor :max_cost_per_response_nanos

View File

@ -28,18 +28,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class MobileAppPanel
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MobileAppPanelsListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PageInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -145,31 +133,6 @@ module Google
end
end
class MobileAppPanel
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :country, as: 'country'
property :is_public_panel, as: 'isPublicPanel'
property :language, as: 'language'
property :mobile_app_panel_id, as: 'mobileAppPanelId'
property :name, as: 'name'
collection :owners, as: 'owners'
end
end
class MobileAppPanelsListResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :page_info, as: 'pageInfo', class: Google::Apis::SurveysV2::PageInfo, decorator: Google::Apis::SurveysV2::PageInfo::Representation
property :request_id, as: 'requestId'
collection :resources, as: 'resources', class: Google::Apis::SurveysV2::MobileAppPanel, decorator: Google::Apis::SurveysV2::MobileAppPanel::Representation
property :token_pagination, as: 'tokenPagination', class: Google::Apis::SurveysV2::TokenPagination, decorator: Google::Apis::SurveysV2::TokenPagination::Representation
end
end
class PageInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -225,7 +188,6 @@ module Google
property :country_subdivision, as: 'countrySubdivision'
property :gender, as: 'gender'
collection :languages, as: 'languages'
property :mobile_app_panel_id, as: 'mobileAppPanelId'
property :population_source, as: 'populationSource'
end
end

View File

@ -51,112 +51,6 @@ module Google
@batch_path = 'batch/surveys/v2'
end
# Retrieves a MobileAppPanel that is available to the authenticated user.
# @param [String] panel_id
# External URL ID for the panel.
# @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.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::SurveysV2::MobileAppPanel] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SurveysV2::MobileAppPanel]
#
# @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_mobileapppanel(panel_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'mobileAppPanels/{panelId}', options)
command.response_representation = Google::Apis::SurveysV2::MobileAppPanel::Representation
command.response_class = Google::Apis::SurveysV2::MobileAppPanel
command.params['panelId'] = panel_id unless panel_id.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
# Lists the MobileAppPanels available to the authenticated user.
# @param [Fixnum] max_results
# @param [Fixnum] start_index
# @param [String] token
# @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.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::SurveysV2::MobileAppPanelsListResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SurveysV2::MobileAppPanelsListResponse]
#
# @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_mobileapppanels(max_results: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'mobileAppPanels', options)
command.response_representation = Google::Apis::SurveysV2::MobileAppPanelsListResponse::Representation
command.response_class = Google::Apis::SurveysV2::MobileAppPanelsListResponse
command.query['maxResults'] = max_results unless max_results.nil?
command.query['startIndex'] = start_index unless start_index.nil?
command.query['token'] = token unless 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
# Updates a MobileAppPanel. Currently the only property that can be updated is
# the owners property.
# @param [String] panel_id
# External URL ID for the panel.
# @param [Google::Apis::SurveysV2::MobileAppPanel] mobile_app_panel_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.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::SurveysV2::MobileAppPanel] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SurveysV2::MobileAppPanel]
#
# @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_mobileapppanel(panel_id, mobile_app_panel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'mobileAppPanels/{panelId}', options)
command.request_representation = Google::Apis::SurveysV2::MobileAppPanel::Representation
command.request_object = mobile_app_panel_object
command.response_representation = Google::Apis::SurveysV2::MobileAppPanel::Representation
command.response_class = Google::Apis::SurveysV2::MobileAppPanel
command.params['panelId'] = panel_id unless panel_id.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
# Retrieves any survey results that have been produced so far. Results are
# formatted as an Excel file. You must add "?alt=media" to the URL as an
# argument to get results.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/partner/
module YoutubePartnerV1
VERSION = 'V1'
REVISION = '20180430'
REVISION = '20180507'
# View and manage your assets and associated content on YouTube
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'