From 1f7cb2446a390c7237ce37005349f93208ebe775 Mon Sep 17 00:00:00 2001 From: Steve Bazyl Date: Tue, 8 Nov 2016 15:43:14 -0800 Subject: [PATCH] Add slides_v1, regenerate APIs --- CHANGELOG.md | 6 +- api_names.yaml | 2 + api_names_out.yaml | 1473 +++++-- .../google/apis/adexchangebuyer2_v2beta1.rb | 2 +- generated/google/apis/adexchangebuyer_v1_4.rb | 2 +- .../apis/adexchangebuyer_v1_4/classes.rb | 23 +- .../adexchangebuyer_v1_4/representations.rb | 2 + generated/google/apis/admin_directory_v1.rb | 2 +- generated/google/apis/adsense_v1_4.rb | 2 +- generated/google/apis/adsense_v1_4/classes.rb | 2 +- generated/google/apis/adsensehost_v4_1.rb | 2 +- .../google/apis/adsensehost_v4_1/classes.rb | 3 +- generated/google/apis/androidenterprise_v1.rb | 2 +- .../apis/androidenterprise_v1/classes.rb | 16 +- .../apis/androidenterprise_v1/service.rb | 8 +- generated/google/apis/appengine_v1beta5.rb | 8 +- .../google/apis/appengine_v1beta5/classes.rb | 111 +- .../apis/appengine_v1beta5/representations.rb | 49 +- .../google/apis/appengine_v1beta5/service.rb | 70 +- generated/google/apis/appsactivity_v1.rb | 2 +- .../google/apis/appsactivity_v1/classes.rb | 7 + .../apis/appsactivity_v1/representations.rb | 1 + generated/google/apis/appstate_v1.rb | 2 +- generated/google/apis/bigquery_v2.rb | 2 +- generated/google/apis/bigquery_v2/classes.rb | 45 +- .../apis/bigquery_v2/representations.rb | 1 + generated/google/apis/calendar_v3.rb | 2 +- generated/google/apis/civicinfo_v2.rb | 2 +- generated/google/apis/civicinfo_v2/classes.rb | 243 + .../apis/civicinfo_v2/representations.rb | 64 + generated/google/apis/classroom_v1/service.rb | 2 +- generated/google/apis/cloudbuild_v1.rb | 2 +- .../google/apis/cloudbuild_v1/classes.rb | 8 + .../apis/cloudbuild_v1/representations.rb | 1 + .../google/apis/cloudmonitoring_v2beta2.rb | 2 +- generated/google/apis/compute_beta.rb | 2 +- generated/google/apis/compute_beta/classes.rb | 456 +- .../apis/compute_beta/representations.rb | 155 + generated/google/apis/compute_beta/service.rb | 385 +- generated/google/apis/compute_v1.rb | 2 +- generated/google/apis/compute_v1/classes.rb | 56 +- .../google/apis/compute_v1/representations.rb | 13 + generated/google/apis/compute_v1/service.rb | 90 +- generated/google/apis/content_v2.rb | 2 +- generated/google/apis/content_v2/classes.rb | 48 + .../google/apis/content_v2/representations.rb | 18 + generated/google/apis/dataflow_v1b3.rb | 2 +- .../google/apis/dataflow_v1b3/classes.rb | 44 + .../apis/dataflow_v1b3/representations.rb | 18 + .../google/apis/dataflow_v1b3/service.rb | 374 +- generated/google/apis/dataproc_v1.rb | 4 +- generated/google/apis/dataproc_v1/classes.rb | 281 +- .../apis/dataproc_v1/representations.rb | 38 + generated/google/apis/dataproc_v1/service.rb | 128 +- generated/google/apis/datastore_v1.rb | 2 +- generated/google/apis/deploymentmanager_v2.rb | 2 +- .../apis/deploymentmanager_v2/classes.rb | 6 +- .../apis/deploymentmanager_v2/service.rb | 60 +- generated/google/apis/dfareporting_v2_6.rb | 2 +- .../google/apis/dfareporting_v2_6/classes.rb | 7 +- .../google/apis/dfareporting_v2_6/service.rb | 77 +- generated/google/apis/dns_v1.rb | 2 +- generated/google/apis/doubleclicksearch_v2.rb | 2 +- generated/google/apis/drive_v2.rb | 2 +- generated/google/apis/drive_v2/classes.rb | 7 + .../google/apis/drive_v2/representations.rb | 1 + generated/google/apis/drive_v3.rb | 2 +- generated/google/apis/drive_v3/classes.rb | 7 + .../google/apis/drive_v3/representations.rb | 1 + .../games_configuration_v1configuration.rb | 2 +- .../apis/games_management_v1management.rb | 2 +- generated/google/apis/games_v1.rb | 2 +- generated/google/apis/genomics_v1.rb | 2 +- generated/google/apis/genomics_v1/classes.rb | 11 +- .../apis/genomics_v1/representations.rb | 1 + generated/google/apis/genomics_v1/service.rb | 3 +- generated/google/apis/gmail_v1.rb | 5 +- generated/google/apis/gmail_v1/classes.rb | 18 +- generated/google/apis/identitytoolkit_v3.rb | 2 +- .../google/apis/identitytoolkit_v3/classes.rb | 45 +- .../identitytoolkit_v3/representations.rb | 7 +- generated/google/apis/language_v1beta1.rb | 2 +- .../google/apis/language_v1beta1/classes.rb | 5 +- .../google/apis/language_v1beta1/service.rb | 4 +- generated/google/apis/logging_v2beta1.rb | 2 +- .../google/apis/logging_v2beta1/classes.rb | 40 +- .../google/apis/logging_v2beta1/service.rb | 20 +- generated/google/apis/monitoring_v3.rb | 2 +- .../google/apis/monitoring_v3/classes.rb | 50 +- generated/google/apis/oauth2_v2.rb | 2 +- generated/google/apis/pagespeedonline_v2.rb | 2 +- generated/google/apis/plus_domains_v1.rb | 2 +- generated/google/apis/plus_v1.rb | 2 +- generated/google/apis/sheets_v4.rb | 2 +- generated/google/apis/sheets_v4/classes.rb | 758 +++- .../google/apis/sheets_v4/representations.rb | 139 +- generated/google/apis/sheets_v4/service.rb | 41 +- generated/google/apis/slides_v1.rb | 49 + generated/google/apis/slides_v1/classes.rb | 3926 +++++++++++++++++ .../google/apis/slides_v1/representations.rb | 1722 ++++++++ generated/google/apis/slides_v1/service.rb | 202 + generated/google/apis/speech_v1beta1.rb | 2 +- .../google/apis/speech_v1beta1/service.rb | 70 +- generated/google/apis/sqladmin_v1beta4.rb | 2 +- generated/google/apis/storage_v1.rb | 2 +- generated/google/apis/vision_v1.rb | 2 +- generated/google/apis/vision_v1/classes.rb | 4 +- generated/google/apis/youtube_analytics_v1.rb | 2 +- generated/google/apis/youtube_partner_v1.rb | 2 +- generated/google/apis/youtube_v3.rb | 2 +- generated/google/apis/youtube_v3/classes.rb | 39 +- .../google/apis/youtube_v3/representations.rb | 7 +- generated/google/apis/youtube_v3/service.rb | 38 +- lib/google/apis/version.rb | 2 +- script/generate | 1 + 115 files changed, 10830 insertions(+), 884 deletions(-) create mode 100644 generated/google/apis/slides_v1.rb create mode 100644 generated/google/apis/slides_v1/classes.rb create mode 100644 generated/google/apis/slides_v1/representations.rb create mode 100644 generated/google/apis/slides_v1/service.rb diff --git a/CHANGELOG.md b/CHANGELOG.md index a52dab63f..37be2e8b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ +# 0.9.20 +* Regenerate APIs +* Add Slides API + # 0.9.19 * Regenerate APIs -* Add Adexchangebuyer2 api +* Add Adexchangebuyer2 API # 0.9.15 * Add datastore v1 diff --git a/api_names.yaml b/api_names.yaml index 1e261f540..8092ce038 100644 --- a/api_names.yaml +++ b/api_names.yaml @@ -619,6 +619,8 @@ "/dataproc:v1/dataproc.projects.regions.operations.list": list_operations "/dataproc:v1/dataproc.projects.regions.operations.cancel": cancel_operation "/dataproc:v1/dataproc.projects.regions.operations.delete": delete_operation +"/dataflow:v1b3/dataflow.projects.jobs.workItems.lease": lease_project_work_item +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease": lease_project_location_work_item "/datastore:v1beta2/AllocateIdsRequest": allocate_ids_request "/datastore:v1beta2/AllocateIdsResponse": allocate_ids_response "/datastore:v1beta2/BeginTransactionRequest": begin_transaction_request diff --git a/api_names_out.yaml b/api_names_out.yaml index 9d3f15138..7fe99a7f3 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -600,6 +600,8 @@ "/dataproc:v1/dataproc.projects.regions.operations.list": list_operations "/dataproc:v1/dataproc.projects.regions.operations.cancel": cancel_operation "/dataproc:v1/dataproc.projects.regions.operations.delete": delete_operation +"/dataflow:v1b3/dataflow.projects.jobs.workItems.lease": lease_project_work_item +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease": lease_project_location_work_item "/datastore:v1beta2/AllocateIdsRequest": allocate_ids_request "/datastore:v1beta2/AllocateIdsResponse": allocate_ids_response "/datastore:v1beta2/BeginTransactionRequest": begin_transaction_request @@ -1891,6 +1893,26 @@ "/compute:beta/compute.autoscalers.update/autoscaler": autoscaler "/compute:beta/compute.autoscalers.update/project": project "/compute:beta/compute.autoscalers.update/zone": zone +"/compute:beta/compute.backendBuckets.delete": delete_backend_bucket +"/compute:beta/compute.backendBuckets.delete/backendBucket": backend_bucket +"/compute:beta/compute.backendBuckets.delete/project": project +"/compute:beta/compute.backendBuckets.get": get_backend_bucket +"/compute:beta/compute.backendBuckets.get/backendBucket": backend_bucket +"/compute:beta/compute.backendBuckets.get/project": project +"/compute:beta/compute.backendBuckets.insert": insert_backend_bucket +"/compute:beta/compute.backendBuckets.insert/project": project +"/compute:beta/compute.backendBuckets.list": list_backend_buckets +"/compute:beta/compute.backendBuckets.list/filter": filter +"/compute:beta/compute.backendBuckets.list/maxResults": max_results +"/compute:beta/compute.backendBuckets.list/orderBy": order_by +"/compute:beta/compute.backendBuckets.list/pageToken": page_token +"/compute:beta/compute.backendBuckets.list/project": project +"/compute:beta/compute.backendBuckets.patch": patch_backend_bucket +"/compute:beta/compute.backendBuckets.patch/backendBucket": backend_bucket +"/compute:beta/compute.backendBuckets.patch/project": project +"/compute:beta/compute.backendBuckets.update": update_backend_bucket +"/compute:beta/compute.backendBuckets.update/backendBucket": backend_bucket +"/compute:beta/compute.backendBuckets.update/project": project "/compute:beta/compute.backendServices.aggregatedList": aggregated_backend_service_list "/compute:beta/compute.backendServices.aggregatedList/filter": filter "/compute:beta/compute.backendServices.aggregatedList/maxResults": max_results @@ -2208,7 +2230,11 @@ "/compute:beta/compute.instanceGroupManagers.list/pageToken": page_token "/compute:beta/compute.instanceGroupManagers.list/project": project "/compute:beta/compute.instanceGroupManagers.list/zone": zone +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/filter": filter "/compute:beta/compute.instanceGroupManagers.listManagedInstances/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/maxResults": max_results +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/order_by": order_by +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/pageToken": page_token "/compute:beta/compute.instanceGroupManagers.listManagedInstances/project": project "/compute:beta/compute.instanceGroupManagers.listManagedInstances/zone": zone "/compute:beta/compute.instanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager @@ -2518,7 +2544,11 @@ "/compute:beta/compute.regionInstanceGroupManagers.list/project": project "/compute:beta/compute.regionInstanceGroupManagers.list/region": region "/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances": list_region_instance_group_manager_managed_instances +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/filter": filter "/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/maxResults": max_results +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/order_by": order_by +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/pageToken": page_token "/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/project": project "/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/region": region "/compute:beta/compute.regionInstanceGroupManagers.patch": patch_region_instance_group_manager @@ -2716,6 +2746,10 @@ "/compute:beta/compute.subnetworks.get/project": project "/compute:beta/compute.subnetworks.get/region": region "/compute:beta/compute.subnetworks.get/subnetwork": subnetwork +"/compute:beta/compute.subnetworks.getIamPolicy": get_subnetwork_iam_policy +"/compute:beta/compute.subnetworks.getIamPolicy/project": project +"/compute:beta/compute.subnetworks.getIamPolicy/region": region +"/compute:beta/compute.subnetworks.getIamPolicy/resource": resource "/compute:beta/compute.subnetworks.insert": insert_subnetwork "/compute:beta/compute.subnetworks.insert/project": project "/compute:beta/compute.subnetworks.insert/region": region @@ -2726,6 +2760,10 @@ "/compute:beta/compute.subnetworks.list/pageToken": page_token "/compute:beta/compute.subnetworks.list/project": project "/compute:beta/compute.subnetworks.list/region": region +"/compute:beta/compute.subnetworks.setIamPolicy": set_subnetwork_iam_policy +"/compute:beta/compute.subnetworks.setIamPolicy/project": project +"/compute:beta/compute.subnetworks.setIamPolicy/region": region +"/compute:beta/compute.subnetworks.setIamPolicy/resource": resource "/compute:beta/compute.subnetworks.testIamPermissions": test_subnetwork_iam_permissions "/compute:beta/compute.subnetworks.testIamPermissions/project": project "/compute:beta/compute.subnetworks.testIamPermissions/region": region @@ -3036,6 +3074,10 @@ "/compute:beta/AttachedDiskInitializeParams/diskType": disk_type "/compute:beta/AttachedDiskInitializeParams/sourceImage": source_image "/compute:beta/AttachedDiskInitializeParams/sourceImageEncryptionKey": source_image_encryption_key +"/compute:beta/AuditConfig": audit_config +"/compute:beta/AuditConfig/exemptedMembers": exempted_members +"/compute:beta/AuditConfig/exemptedMembers/exempted_member": exempted_member +"/compute:beta/AuditConfig/service": service "/compute:beta/Autoscaler": autoscaler "/compute:beta/Autoscaler/autoscalingPolicy": autoscaling_policy "/compute:beta/Autoscaler/creationTimestamp": creation_timestamp @@ -3103,6 +3145,22 @@ "/compute:beta/Backend/maxRate": max_rate "/compute:beta/Backend/maxRatePerInstance": max_rate_per_instance "/compute:beta/Backend/maxUtilization": max_utilization +"/compute:beta/BackendBucket": backend_bucket +"/compute:beta/BackendBucket/bucketName": bucket_name +"/compute:beta/BackendBucket/creationTimestamp": creation_timestamp +"/compute:beta/BackendBucket/description": description +"/compute:beta/BackendBucket/enableCdn": enable_cdn +"/compute:beta/BackendBucket/id": id +"/compute:beta/BackendBucket/kind": kind +"/compute:beta/BackendBucket/name": name +"/compute:beta/BackendBucket/selfLink": self_link +"/compute:beta/BackendBucketList": backend_bucket_list +"/compute:beta/BackendBucketList/id": id +"/compute:beta/BackendBucketList/items": items +"/compute:beta/BackendBucketList/items/item": item +"/compute:beta/BackendBucketList/kind": kind +"/compute:beta/BackendBucketList/nextPageToken": next_page_token +"/compute:beta/BackendBucketList/selfLink": self_link "/compute:beta/BackendService": backend_service "/compute:beta/BackendService/affinityCookieTtlSec": affinity_cookie_ttl_sec "/compute:beta/BackendService/backends": backends @@ -3153,8 +3211,21 @@ "/compute:beta/BackendServicesScopedList/warning/data/datum/key": key "/compute:beta/BackendServicesScopedList/warning/data/datum/value": value "/compute:beta/BackendServicesScopedList/warning/message": message +"/compute:beta/Binding": binding +"/compute:beta/Binding/members": members +"/compute:beta/Binding/members/member": member +"/compute:beta/Binding/role": role "/compute:beta/CacheInvalidationRule": cache_invalidation_rule +"/compute:beta/CacheInvalidationRule/host": host "/compute:beta/CacheInvalidationRule/path": path +"/compute:beta/Condition": condition +"/compute:beta/Condition/iam": iam +"/compute:beta/Condition/op": op +"/compute:beta/Condition/svc": svc +"/compute:beta/Condition/sys": sys +"/compute:beta/Condition/value": value +"/compute:beta/Condition/values": values +"/compute:beta/Condition/values/value": value "/compute:beta/ConnectionDraining": connection_draining "/compute:beta/ConnectionDraining/drainingTimeoutSec": draining_timeout_sec "/compute:beta/CustomerEncryptionKey": customer_encryption_key @@ -3710,6 +3781,11 @@ "/compute:beta/License/kind": kind "/compute:beta/License/name": name "/compute:beta/License/selfLink": self_link +"/compute:beta/LogConfig": log_config +"/compute:beta/LogConfig/counter": counter +"/compute:beta/LogConfigCounterOptions": log_config_counter_options +"/compute:beta/LogConfigCounterOptions/field": field +"/compute:beta/LogConfigCounterOptions/metric": metric "/compute:beta/MachineType": machine_type "/compute:beta/MachineType/creationTimestamp": creation_timestamp "/compute:beta/MachineType/deprecated": deprecated @@ -3867,6 +3943,16 @@ "/compute:beta/PathRule/paths": paths "/compute:beta/PathRule/paths/path": path "/compute:beta/PathRule/service": service +"/compute:beta/Policy": policy +"/compute:beta/Policy/auditConfigs": audit_configs +"/compute:beta/Policy/auditConfigs/audit_config": audit_config +"/compute:beta/Policy/bindings": bindings +"/compute:beta/Policy/bindings/binding": binding +"/compute:beta/Policy/etag": etag +"/compute:beta/Policy/iamOwned": iam_owned +"/compute:beta/Policy/rules": rules +"/compute:beta/Policy/rules/rule": rule +"/compute:beta/Policy/version": version "/compute:beta/Project": project "/compute:beta/Project/commonInstanceMetadata": common_instance_metadata "/compute:beta/Project/creationTimestamp": creation_timestamp @@ -4070,6 +4156,19 @@ "/compute:beta/RoutersScopedList/warning/data/datum/key": key "/compute:beta/RoutersScopedList/warning/data/datum/value": value "/compute:beta/RoutersScopedList/warning/message": message +"/compute:beta/Rule": rule +"/compute:beta/Rule/action": action +"/compute:beta/Rule/conditions": conditions +"/compute:beta/Rule/conditions/condition": condition +"/compute:beta/Rule/description": description +"/compute:beta/Rule/ins": ins +"/compute:beta/Rule/ins/in": in +"/compute:beta/Rule/logConfigs": log_configs +"/compute:beta/Rule/logConfigs/log_config": log_config +"/compute:beta/Rule/notIns": not_ins +"/compute:beta/Rule/notIns/not_in": not_in +"/compute:beta/Rule/permissions": permissions +"/compute:beta/Rule/permissions/permission": permission "/compute:beta/SSLHealthCheck": ssl_health_check "/compute:beta/SSLHealthCheck/port": port "/compute:beta/SSLHealthCheck/portName": port_name @@ -5191,6 +5290,7 @@ "/adexchangebuyer:v1.4/Creative/nativeAd/appIcon/width": width "/adexchangebuyer:v1.4/Creative/nativeAd/body": body "/adexchangebuyer:v1.4/Creative/nativeAd/callToAction": call_to_action +"/adexchangebuyer:v1.4/Creative/nativeAd/clickLinkUrl": click_link_url "/adexchangebuyer:v1.4/Creative/nativeAd/clickTrackingUrl": click_tracking_url "/adexchangebuyer:v1.4/Creative/nativeAd/headline": headline "/adexchangebuyer:v1.4/Creative/nativeAd/image": image @@ -5454,6 +5554,8 @@ "/adexchangebuyer:v1.4/PretargetingConfig/platforms/platform": platform "/adexchangebuyer:v1.4/PretargetingConfig/supportedCreativeAttributes": supported_creative_attributes "/adexchangebuyer:v1.4/PretargetingConfig/supportedCreativeAttributes/supported_creative_attribute": supported_creative_attribute +"/adexchangebuyer:v1.4/PretargetingConfig/userIdentifierDataRequired": user_identifier_data_required +"/adexchangebuyer:v1.4/PretargetingConfig/userIdentifierDataRequired/user_identifier_data_required": user_identifier_data_required "/adexchangebuyer:v1.4/PretargetingConfig/userLists": user_lists "/adexchangebuyer:v1.4/PretargetingConfig/userLists/user_list": user_list "/adexchangebuyer:v1.4/PretargetingConfig/vendorTypes": vendor_types @@ -9506,6 +9608,7 @@ "/appsactivity:v1/Target/name": name "/appsactivity:v1/User": user "/appsactivity:v1/User/isDeleted": is_deleted +"/appsactivity:v1/User/isMe": is_me "/appsactivity:v1/User/name": name "/appsactivity:v1/User/permissionId": permission_id "/appsactivity:v1/User/photo": photo @@ -9758,6 +9861,8 @@ "/bigquery:v2/JobConfiguration/copy": copy "/bigquery:v2/JobConfiguration/dryRun": dry_run "/bigquery:v2/JobConfiguration/extract": extract +"/bigquery:v2/JobConfiguration/labels": labels +"/bigquery:v2/JobConfiguration/labels/label": label "/bigquery:v2/JobConfiguration/load": load "/bigquery:v2/JobConfiguration/query": query "/bigquery:v2/JobConfigurationExtract": job_configuration_extract @@ -11660,6 +11765,39 @@ "/civicinfo:v2/PollingLocation/sources/source": source "/civicinfo:v2/PollingLocation/startDate": start_date "/civicinfo:v2/PollingLocation/voterServices": voter_services +"/civicinfo:v2/PostalAddress": postal_address +"/civicinfo:v2/PostalAddress/addressLines": address_lines +"/civicinfo:v2/PostalAddress/addressLines/address_line": address_line +"/civicinfo:v2/PostalAddress/administrativeAreaName": administrative_area_name +"/civicinfo:v2/PostalAddress/countryName": country_name +"/civicinfo:v2/PostalAddress/countryNameCode": country_name_code +"/civicinfo:v2/PostalAddress/dependentLocalityName": dependent_locality_name +"/civicinfo:v2/PostalAddress/dependentThoroughfareLeadingType": dependent_thoroughfare_leading_type +"/civicinfo:v2/PostalAddress/dependentThoroughfareName": dependent_thoroughfare_name +"/civicinfo:v2/PostalAddress/dependentThoroughfarePostDirection": dependent_thoroughfare_post_direction +"/civicinfo:v2/PostalAddress/dependentThoroughfarePreDirection": dependent_thoroughfare_pre_direction +"/civicinfo:v2/PostalAddress/dependentThoroughfareTrailingType": dependent_thoroughfare_trailing_type +"/civicinfo:v2/PostalAddress/dependentThoroughfaresConnector": dependent_thoroughfares_connector +"/civicinfo:v2/PostalAddress/dependentThoroughfaresIndicator": dependent_thoroughfares_indicator +"/civicinfo:v2/PostalAddress/dependentThoroughfaresType": dependent_thoroughfares_type +"/civicinfo:v2/PostalAddress/firmName": firm_name +"/civicinfo:v2/PostalAddress/isDisputed": is_disputed +"/civicinfo:v2/PostalAddress/languageCode": language_code +"/civicinfo:v2/PostalAddress/localityName": locality_name +"/civicinfo:v2/PostalAddress/postBoxNumber": post_box_number +"/civicinfo:v2/PostalAddress/postalCodeNumber": postal_code_number +"/civicinfo:v2/PostalAddress/postalCodeNumberExtension": postal_code_number_extension +"/civicinfo:v2/PostalAddress/premiseName": premise_name +"/civicinfo:v2/PostalAddress/recipientName": recipient_name +"/civicinfo:v2/PostalAddress/sortingCode": sorting_code +"/civicinfo:v2/PostalAddress/subAdministrativeAreaName": sub_administrative_area_name +"/civicinfo:v2/PostalAddress/subPremiseName": sub_premise_name +"/civicinfo:v2/PostalAddress/thoroughfareLeadingType": thoroughfare_leading_type +"/civicinfo:v2/PostalAddress/thoroughfareName": thoroughfare_name +"/civicinfo:v2/PostalAddress/thoroughfareNumber": thoroughfare_number +"/civicinfo:v2/PostalAddress/thoroughfarePostDirection": thoroughfare_post_direction +"/civicinfo:v2/PostalAddress/thoroughfarePreDirection": thoroughfare_pre_direction +"/civicinfo:v2/PostalAddress/thoroughfareTrailingType": thoroughfare_trailing_type "/civicinfo:v2/RepresentativeInfoData": representative_info_data "/civicinfo:v2/RepresentativeInfoData/divisions": divisions "/civicinfo:v2/RepresentativeInfoData/divisions/division": division @@ -11691,6 +11829,7 @@ "/civicinfo:v2/Source/official": official "/civicinfo:v2/VoterInfoRequest": voter_info_request "/civicinfo:v2/VoterInfoRequest/contextParams": context_params +"/civicinfo:v2/VoterInfoRequest/voterInfoSegmentResult": voter_info_segment_result "/civicinfo:v2/VoterInfoResponse": voter_info_response "/civicinfo:v2/VoterInfoResponse/contests": contests "/civicinfo:v2/VoterInfoResponse/contests/contest": contest @@ -11709,6 +11848,11 @@ "/civicinfo:v2/VoterInfoResponse/precinctId": precinct_id "/civicinfo:v2/VoterInfoResponse/state": state "/civicinfo:v2/VoterInfoResponse/state/state": state +"/civicinfo:v2/VoterInfoSegmentResult": voter_info_segment_result +"/civicinfo:v2/VoterInfoSegmentResult/generatedMillis": generated_millis +"/civicinfo:v2/VoterInfoSegmentResult/postalAddress": postal_address +"/civicinfo:v2/VoterInfoSegmentResult/request": request +"/civicinfo:v2/VoterInfoSegmentResult/response": response "/cloudbuild:v1/key": key "/cloudbuild:v1/quotaUser": quota_user "/cloudbuild:v1/fields": fields @@ -11809,6 +11953,7 @@ "/cloudbuild:v1/Build/images": images "/cloudbuild:v1/Build/images/image": image "/cloudbuild:v1/Build/startTime": start_time +"/cloudbuild:v1/Build/buildTriggerId": build_trigger_id "/cloudbuild:v1/Build/logsBucket": logs_bucket "/cloudbuild:v1/Build/projectId": project_id "/cloudbuild:v1/ListBuildTriggersResponse": list_build_triggers_response @@ -12486,7 +12631,10 @@ "/compute:v1/compute.instanceGroupManagers.list/pageToken": page_token "/compute:v1/compute.instanceGroupManagers.list/project": project "/compute:v1/compute.instanceGroupManagers.list/zone": zone +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/filter": filter "/compute:v1/compute.instanceGroupManagers.listManagedInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/maxResults": max_results +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/pageToken": page_token "/compute:v1/compute.instanceGroupManagers.listManagedInstances/project": project "/compute:v1/compute.instanceGroupManagers.listManagedInstances/zone": zone "/compute:v1/compute.instanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager @@ -12665,6 +12813,9 @@ "/compute:v1/compute.networks.list/orderBy": order_by "/compute:v1/compute.networks.list/pageToken": page_token "/compute:v1/compute.networks.list/project": project +"/compute:v1/compute.networks.switchToCustomMode": switch_network_to_custom_mode +"/compute:v1/compute.networks.switchToCustomMode/network": network +"/compute:v1/compute.networks.switchToCustomMode/project": project "/compute:v1/compute.projects.get": get_project "/compute:v1/compute.projects.get/project": project "/compute:v1/compute.projects.moveDisk/project": project @@ -12785,6 +12936,10 @@ "/compute:v1/compute.subnetworks.delete/project": project "/compute:v1/compute.subnetworks.delete/region": region "/compute:v1/compute.subnetworks.delete/subnetwork": subnetwork +"/compute:v1/compute.subnetworks.expandIpCidrRange": expand_subnetwork_ip_cidr_range +"/compute:v1/compute.subnetworks.expandIpCidrRange/project": project +"/compute:v1/compute.subnetworks.expandIpCidrRange/region": region +"/compute:v1/compute.subnetworks.expandIpCidrRange/subnetwork": subnetwork "/compute:v1/compute.subnetworks.get": get_subnetwork "/compute:v1/compute.subnetworks.get/project": project "/compute:v1/compute.subnetworks.get/region": region @@ -14072,6 +14227,8 @@ "/compute:v1/SubnetworkList/kind": kind "/compute:v1/SubnetworkList/nextPageToken": next_page_token "/compute:v1/SubnetworkList/selfLink": self_link +"/compute:v1/SubnetworksExpandIpCidrRangeRequest": subnetworks_expand_ip_cidr_range_request +"/compute:v1/SubnetworksExpandIpCidrRangeRequest/ipCidrRange": ip_cidr_range "/compute:v1/SubnetworksScopedList": subnetworks_scoped_list "/compute:v1/SubnetworksScopedList/subnetworks": subnetworks "/compute:v1/SubnetworksScopedList/subnetworks/subnetwork": subnetwork @@ -14862,6 +15019,7 @@ "/content:v2/Inventory/installment": installment "/content:v2/Inventory/kind": kind "/content:v2/Inventory/loyaltyPoints": loyalty_points +"/content:v2/Inventory/pickup": pickup "/content:v2/Inventory/price": price "/content:v2/Inventory/quantity": quantity "/content:v2/Inventory/salePrice": sale_price @@ -14880,9 +15038,13 @@ "/content:v2/InventoryCustomBatchResponseEntry/batchId": batch_id "/content:v2/InventoryCustomBatchResponseEntry/errors": errors "/content:v2/InventoryCustomBatchResponseEntry/kind": kind +"/content:v2/InventoryPickup": inventory_pickup +"/content:v2/InventoryPickup/pickupMethod": pickup_method +"/content:v2/InventoryPickup/pickupSla": pickup_sla "/content:v2/InventorySetRequest/availability": availability "/content:v2/InventorySetRequest/installment": installment "/content:v2/InventorySetRequest/loyaltyPoints": loyalty_points +"/content:v2/InventorySetRequest/pickup": pickup "/content:v2/InventorySetRequest/price": price "/content:v2/InventorySetRequest/quantity": quantity "/content:v2/InventorySetRequest/salePrice": sale_price @@ -15817,6 +15979,7 @@ "/deploymentmanager:v2/deploymentmanager.deployments.list": list_deployments "/deploymentmanager:v2/deploymentmanager.deployments.list/filter": filter "/deploymentmanager:v2/deploymentmanager.deployments.list/maxResults": max_results +"/deploymentmanager:v2/deploymentmanager.deployments.list/orderBy": order_by "/deploymentmanager:v2/deploymentmanager.deployments.list/pageToken": page_token "/deploymentmanager:v2/deploymentmanager.deployments.list/project": project "/deploymentmanager:v2/deploymentmanager.deployments.patch": patch_deployment @@ -15848,6 +16011,7 @@ "/deploymentmanager:v2/deploymentmanager.manifests.list/deployment": deployment "/deploymentmanager:v2/deploymentmanager.manifests.list/filter": filter "/deploymentmanager:v2/deploymentmanager.manifests.list/maxResults": max_results +"/deploymentmanager:v2/deploymentmanager.manifests.list/orderBy": order_by "/deploymentmanager:v2/deploymentmanager.manifests.list/pageToken": page_token "/deploymentmanager:v2/deploymentmanager.manifests.list/project": project "/deploymentmanager:v2/deploymentmanager.operations.get": get_operation @@ -15856,6 +16020,7 @@ "/deploymentmanager:v2/deploymentmanager.operations.list": list_operations "/deploymentmanager:v2/deploymentmanager.operations.list/filter": filter "/deploymentmanager:v2/deploymentmanager.operations.list/maxResults": max_results +"/deploymentmanager:v2/deploymentmanager.operations.list/orderBy": order_by "/deploymentmanager:v2/deploymentmanager.operations.list/pageToken": page_token "/deploymentmanager:v2/deploymentmanager.operations.list/project": project "/deploymentmanager:v2/deploymentmanager.resources.get": get_resource @@ -15866,11 +16031,13 @@ "/deploymentmanager:v2/deploymentmanager.resources.list/deployment": deployment "/deploymentmanager:v2/deploymentmanager.resources.list/filter": filter "/deploymentmanager:v2/deploymentmanager.resources.list/maxResults": max_results +"/deploymentmanager:v2/deploymentmanager.resources.list/orderBy": order_by "/deploymentmanager:v2/deploymentmanager.resources.list/pageToken": page_token "/deploymentmanager:v2/deploymentmanager.resources.list/project": project "/deploymentmanager:v2/deploymentmanager.types.list": list_types "/deploymentmanager:v2/deploymentmanager.types.list/filter": filter "/deploymentmanager:v2/deploymentmanager.types.list/maxResults": max_results +"/deploymentmanager:v2/deploymentmanager.types.list/orderBy": order_by "/deploymentmanager:v2/deploymentmanager.types.list/pageToken": page_token "/deploymentmanager:v2/deploymentmanager.types.list/project": project "/deploymentmanager:v2/AuditConfig": audit_config @@ -19510,6 +19677,7 @@ "/drive:v2/File/kind": kind "/drive:v2/File/labels": labels "/drive:v2/File/labels/hidden": hidden +"/drive:v2/File/labels/modified": modified "/drive:v2/File/labels/restricted": restricted "/drive:v2/File/labels/starred": starred "/drive:v2/File/labels/trashed": trashed @@ -19904,6 +20072,7 @@ "/drive:v3/File/lastModifyingUser": last_modifying_user "/drive:v3/File/md5Checksum": md5_checksum "/drive:v3/File/mimeType": mime_type +"/drive:v3/File/modifiedByMe": modified_by_me "/drive:v3/File/modifiedByMeTime": modified_by_me_time "/drive:v3/File/modifiedTime": modified_time "/drive:v3/File/name": name @@ -21903,14 +22072,14 @@ "/appengine:v1beta5/appengine.apps.patch": patch_app "/appengine:v1beta5/appengine.apps.patch/appsId": apps_id "/appengine:v1beta5/appengine.apps.patch/mask": mask -"/appengine:v1beta5/appengine.apps.operations.get": get_app_operation -"/appengine:v1beta5/appengine.apps.operations.get/appsId": apps_id -"/appengine:v1beta5/appengine.apps.operations.get/operationsId": operations_id "/appengine:v1beta5/appengine.apps.operations.list": list_app_operations "/appengine:v1beta5/appengine.apps.operations.list/appsId": apps_id "/appengine:v1beta5/appengine.apps.operations.list/filter": filter "/appengine:v1beta5/appengine.apps.operations.list/pageSize": page_size "/appengine:v1beta5/appengine.apps.operations.list/pageToken": page_token +"/appengine:v1beta5/appengine.apps.operations.get": get_app_operation +"/appengine:v1beta5/appengine.apps.operations.get/appsId": apps_id +"/appengine:v1beta5/appengine.apps.operations.get/operationsId": operations_id "/appengine:v1beta5/appengine.apps.services.delete": delete_app_service "/appengine:v1beta5/appengine.apps.services.delete/appsId": apps_id "/appengine:v1beta5/appengine.apps.services.delete/servicesId": services_id @@ -21978,6 +22147,10 @@ "/appengine:v1beta5/appengine.apps.locations.get": get_app_location "/appengine:v1beta5/appengine.apps.locations.get/appsId": apps_id "/appengine:v1beta5/appengine.apps.locations.get/locationsId": locations_id +"/appengine:v1beta5/ListOperationsResponse": list_operations_response +"/appengine:v1beta5/ListOperationsResponse/operations": operations +"/appengine:v1beta5/ListOperationsResponse/operations/operation": operation +"/appengine:v1beta5/ListOperationsResponse/nextPageToken": next_page_token "/appengine:v1beta5/Operation": operation "/appengine:v1beta5/Operation/name": name "/appengine:v1beta5/Operation/metadata": metadata @@ -21992,10 +22165,6 @@ "/appengine:v1beta5/Status/details": details "/appengine:v1beta5/Status/details/detail": detail "/appengine:v1beta5/Status/details/detail/detail": detail -"/appengine:v1beta5/ListOperationsResponse": list_operations_response -"/appengine:v1beta5/ListOperationsResponse/operations": operations -"/appengine:v1beta5/ListOperationsResponse/operations/operation": operation -"/appengine:v1beta5/ListOperationsResponse/nextPageToken": next_page_token "/appengine:v1beta5/Application": application "/appengine:v1beta5/Application/name": name "/appengine:v1beta5/Application/id": id @@ -22178,11 +22347,13 @@ "/appengine:v1beta5/Instance/memoryUsage": memory_usage "/appengine:v1beta5/Instance/vmStatus": vm_status "/appengine:v1beta5/Instance/vmUnlocked": vm_unlocked +"/appengine:v1beta5/Instance/vmIp": vm_ip "/appengine:v1beta5/ListInstancesResponse": list_instances_response "/appengine:v1beta5/ListInstancesResponse/instances": instances "/appengine:v1beta5/ListInstancesResponse/instances/instance": instance "/appengine:v1beta5/ListInstancesResponse/nextPageToken": next_page_token "/appengine:v1beta5/DebugInstanceRequest": debug_instance_request +"/appengine:v1beta5/DebugInstanceRequest/sshKey": ssh_key "/appengine:v1beta5/ListLocationsResponse": list_locations_response "/appengine:v1beta5/ListLocationsResponse/locations": locations "/appengine:v1beta5/ListLocationsResponse/locations/location": location @@ -22194,6 +22365,12 @@ "/appengine:v1beta5/Location/labels/label": label "/appengine:v1beta5/Location/metadata": metadata "/appengine:v1beta5/Location/metadata/metadatum": metadatum +"/appengine:v1beta5/OperationMetadataExperimental": operation_metadata_experimental +"/appengine:v1beta5/OperationMetadataExperimental/method": method_prop +"/appengine:v1beta5/OperationMetadataExperimental/insertTime": insert_time +"/appengine:v1beta5/OperationMetadataExperimental/endTime": end_time +"/appengine:v1beta5/OperationMetadataExperimental/user": user +"/appengine:v1beta5/OperationMetadataExperimental/target": target "/appengine:v1beta5/OperationMetadata": operation_metadata "/appengine:v1beta5/OperationMetadata/operationType": operation_type "/appengine:v1beta5/OperationMetadata/insertTime": insert_time @@ -22216,6 +22393,341 @@ "/appengine:v1beta5/LocationMetadata": location_metadata "/appengine:v1beta5/LocationMetadata/standardEnvironmentAvailable": standard_environment_available "/appengine:v1beta5/LocationMetadata/flexibleEnvironmentAvailable": flexible_environment_available +"/classroom:v1/fields": fields +"/classroom:v1/key": key +"/classroom:v1/quotaUser": quota_user +"/classroom:v1/classroom.courses.create": create_course +"/classroom:v1/classroom.courses.get": get_course +"/classroom:v1/classroom.courses.get/id": id +"/classroom:v1/classroom.courses.update": update_course +"/classroom:v1/classroom.courses.update/id": id +"/classroom:v1/classroom.courses.patch": patch_course +"/classroom:v1/classroom.courses.patch/id": id +"/classroom:v1/classroom.courses.patch/updateMask": update_mask +"/classroom:v1/classroom.courses.delete": delete_course +"/classroom:v1/classroom.courses.delete/id": id +"/classroom:v1/classroom.courses.list": list_courses +"/classroom:v1/classroom.courses.list/studentId": student_id +"/classroom:v1/classroom.courses.list/teacherId": teacher_id +"/classroom:v1/classroom.courses.list/courseStates": course_states +"/classroom:v1/classroom.courses.list/pageSize": page_size +"/classroom:v1/classroom.courses.list/pageToken": page_token +"/classroom:v1/classroom.courses.aliases.create": create_course_alias +"/classroom:v1/classroom.courses.aliases.create/courseId": course_id +"/classroom:v1/classroom.courses.aliases.delete": delete_course_alias +"/classroom:v1/classroom.courses.aliases.delete/courseId": course_id +"/classroom:v1/classroom.courses.aliases.delete/alias": alias_ +"/classroom:v1/classroom.courses.aliases.list": list_course_aliases +"/classroom:v1/classroom.courses.aliases.list/courseId": course_id +"/classroom:v1/classroom.courses.aliases.list/pageSize": page_size +"/classroom:v1/classroom.courses.aliases.list/pageToken": page_token +"/classroom:v1/classroom.courses.teachers.create": create_course_teacher +"/classroom:v1/classroom.courses.teachers.create/courseId": course_id +"/classroom:v1/classroom.courses.teachers.get": get_course_teacher +"/classroom:v1/classroom.courses.teachers.get/courseId": course_id +"/classroom:v1/classroom.courses.teachers.get/userId": user_id +"/classroom:v1/classroom.courses.teachers.delete": delete_course_teacher +"/classroom:v1/classroom.courses.teachers.delete/courseId": course_id +"/classroom:v1/classroom.courses.teachers.delete/userId": user_id +"/classroom:v1/classroom.courses.teachers.list": list_course_teachers +"/classroom:v1/classroom.courses.teachers.list/courseId": course_id +"/classroom:v1/classroom.courses.teachers.list/pageSize": page_size +"/classroom:v1/classroom.courses.teachers.list/pageToken": page_token +"/classroom:v1/classroom.courses.students.create": create_course_student +"/classroom:v1/classroom.courses.students.create/courseId": course_id +"/classroom:v1/classroom.courses.students.create/enrollmentCode": enrollment_code +"/classroom:v1/classroom.courses.students.get": get_course_student +"/classroom:v1/classroom.courses.students.get/courseId": course_id +"/classroom:v1/classroom.courses.students.get/userId": user_id +"/classroom:v1/classroom.courses.students.delete": delete_course_student +"/classroom:v1/classroom.courses.students.delete/courseId": course_id +"/classroom:v1/classroom.courses.students.delete/userId": user_id +"/classroom:v1/classroom.courses.students.list": list_course_students +"/classroom:v1/classroom.courses.students.list/courseId": course_id +"/classroom:v1/classroom.courses.students.list/pageSize": page_size +"/classroom:v1/classroom.courses.students.list/pageToken": page_token +"/classroom:v1/classroom.courses.courseWork.create/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.get/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.get/id": id +"/classroom:v1/classroom.courses.courseWork.list/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.list/courseWorkStates": course_work_states +"/classroom:v1/classroom.courses.courseWork.list/orderBy": order_by +"/classroom:v1/classroom.courses.courseWork.list/pageSize": page_size +"/classroom:v1/classroom.courses.courseWork.list/pageToken": page_token +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.get/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.get/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.get/id": id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch/id": id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch/updateMask": update_mask +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/userId": user_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/states": states +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/late": late +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/pageSize": page_size +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/pageToken": page_token +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.turnIn": turn_in_student_submission +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.turnIn/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.turnIn/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.turnIn/id": id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.reclaim": reclaim_student_submission +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.reclaim/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.reclaim/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.reclaim/id": id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.return": return_student_submission +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.return/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.return/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.return/id": id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.modifyAttachments": modify_student_submission_attachments +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.modifyAttachments/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.modifyAttachments/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.modifyAttachments/id": id +"/classroom:v1/classroom.userProfiles.get": get_user_profile +"/classroom:v1/classroom.userProfiles.get/userId": user_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.list": list_user_profile_guardian_invitations +"/classroom:v1/classroom.userProfiles.guardianInvitations.list/studentId": student_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.list/invitedEmailAddress": invited_email_address +"/classroom:v1/classroom.userProfiles.guardianInvitations.list/states": states +"/classroom:v1/classroom.userProfiles.guardianInvitations.list/pageToken": page_token +"/classroom:v1/classroom.userProfiles.guardianInvitations.list/pageSize": page_size +"/classroom:v1/classroom.userProfiles.guardianInvitations.get": get_user_profile_guardian_invitation +"/classroom:v1/classroom.userProfiles.guardianInvitations.get/studentId": student_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.get/invitationId": invitation_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.create": create_user_profile_guardian_invitation +"/classroom:v1/classroom.userProfiles.guardianInvitations.create/studentId": student_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.patch": patch_user_profile_guardian_invitation +"/classroom:v1/classroom.userProfiles.guardianInvitations.patch/studentId": student_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.patch/invitationId": invitation_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.patch/updateMask": update_mask +"/classroom:v1/classroom.userProfiles.guardians.list": list_user_profile_guardians +"/classroom:v1/classroom.userProfiles.guardians.list/studentId": student_id +"/classroom:v1/classroom.userProfiles.guardians.list/invitedEmailAddress": invited_email_address +"/classroom:v1/classroom.userProfiles.guardians.list/pageToken": page_token +"/classroom:v1/classroom.userProfiles.guardians.list/pageSize": page_size +"/classroom:v1/classroom.userProfiles.guardians.get": get_user_profile_guardian +"/classroom:v1/classroom.userProfiles.guardians.get/studentId": student_id +"/classroom:v1/classroom.userProfiles.guardians.get/guardianId": guardian_id +"/classroom:v1/classroom.userProfiles.guardians.delete": delete_user_profile_guardian +"/classroom:v1/classroom.userProfiles.guardians.delete/studentId": student_id +"/classroom:v1/classroom.userProfiles.guardians.delete/guardianId": guardian_id +"/classroom:v1/classroom.invitations.create": create_invitation +"/classroom:v1/classroom.invitations.get": get_invitation +"/classroom:v1/classroom.invitations.get/id": id +"/classroom:v1/classroom.invitations.delete": delete_invitation +"/classroom:v1/classroom.invitations.delete/id": id +"/classroom:v1/classroom.invitations.list": list_invitations +"/classroom:v1/classroom.invitations.list/userId": user_id +"/classroom:v1/classroom.invitations.list/courseId": course_id +"/classroom:v1/classroom.invitations.list/pageSize": page_size +"/classroom:v1/classroom.invitations.list/pageToken": page_token +"/classroom:v1/classroom.invitations.accept": accept_invitation +"/classroom:v1/classroom.invitations.accept/id": id +"/classroom:v1/Course": course +"/classroom:v1/Course/id": id +"/classroom:v1/Course/name": name +"/classroom:v1/Course/section": section +"/classroom:v1/Course/descriptionHeading": description_heading +"/classroom:v1/Course/description": description +"/classroom:v1/Course/room": room +"/classroom:v1/Course/ownerId": owner_id +"/classroom:v1/Course/creationTime": creation_time +"/classroom:v1/Course/updateTime": update_time +"/classroom:v1/Course/enrollmentCode": enrollment_code +"/classroom:v1/Course/courseState": course_state +"/classroom:v1/Course/alternateLink": alternate_link +"/classroom:v1/Course/teacherGroupEmail": teacher_group_email +"/classroom:v1/Course/courseGroupEmail": course_group_email +"/classroom:v1/Course/teacherFolder": teacher_folder +"/classroom:v1/Course/courseMaterialSets": course_material_sets +"/classroom:v1/Course/courseMaterialSets/course_material_set": course_material_set +"/classroom:v1/Course/guardiansEnabled": guardians_enabled +"/classroom:v1/DriveFolder": drive_folder +"/classroom:v1/DriveFolder/id": id +"/classroom:v1/DriveFolder/title": title +"/classroom:v1/DriveFolder/alternateLink": alternate_link +"/classroom:v1/CourseMaterialSet": course_material_set +"/classroom:v1/CourseMaterialSet/title": title +"/classroom:v1/CourseMaterialSet/materials": materials +"/classroom:v1/CourseMaterialSet/materials/material": material +"/classroom:v1/CourseMaterial": course_material +"/classroom:v1/CourseMaterial/driveFile": drive_file +"/classroom:v1/CourseMaterial/youTubeVideo": you_tube_video +"/classroom:v1/CourseMaterial/link": link +"/classroom:v1/CourseMaterial/form": form +"/classroom:v1/DriveFile": drive_file +"/classroom:v1/DriveFile/id": id +"/classroom:v1/DriveFile/title": title +"/classroom:v1/DriveFile/alternateLink": alternate_link +"/classroom:v1/DriveFile/thumbnailUrl": thumbnail_url +"/classroom:v1/YouTubeVideo": you_tube_video +"/classroom:v1/YouTubeVideo/id": id +"/classroom:v1/YouTubeVideo/title": title +"/classroom:v1/YouTubeVideo/alternateLink": alternate_link +"/classroom:v1/YouTubeVideo/thumbnailUrl": thumbnail_url +"/classroom:v1/Link": link +"/classroom:v1/Link/url": url +"/classroom:v1/Link/title": title +"/classroom:v1/Link/thumbnailUrl": thumbnail_url +"/classroom:v1/Form": form +"/classroom:v1/Form/formUrl": form_url +"/classroom:v1/Form/responseUrl": response_url +"/classroom:v1/Form/title": title +"/classroom:v1/Form/thumbnailUrl": thumbnail_url +"/classroom:v1/Empty": empty +"/classroom:v1/ListCoursesResponse": list_courses_response +"/classroom:v1/ListCoursesResponse/courses": courses +"/classroom:v1/ListCoursesResponse/courses/course": course +"/classroom:v1/ListCoursesResponse/nextPageToken": next_page_token +"/classroom:v1/CourseAlias": course_alias +"/classroom:v1/CourseAlias/alias": alias +"/classroom:v1/ListCourseAliasesResponse": list_course_aliases_response +"/classroom:v1/ListCourseAliasesResponse/aliases": aliases +"/classroom:v1/ListCourseAliasesResponse/aliases/alias": alias +"/classroom:v1/ListCourseAliasesResponse/nextPageToken": next_page_token +"/classroom:v1/ListGuardianInvitationsResponse": list_guardian_invitations_response +"/classroom:v1/ListGuardianInvitationsResponse/guardianInvitations": guardian_invitations +"/classroom:v1/ListGuardianInvitationsResponse/guardianInvitations/guardian_invitation": guardian_invitation +"/classroom:v1/ListGuardianInvitationsResponse/nextPageToken": next_page_token +"/classroom:v1/GuardianInvitation": guardian_invitation +"/classroom:v1/GuardianInvitation/studentId": student_id +"/classroom:v1/GuardianInvitation/invitationId": invitation_id +"/classroom:v1/GuardianInvitation/invitedEmailAddress": invited_email_address +"/classroom:v1/GuardianInvitation/state": state +"/classroom:v1/GuardianInvitation/creationTime": creation_time +"/classroom:v1/ListGuardiansResponse": list_guardians_response +"/classroom:v1/ListGuardiansResponse/guardians": guardians +"/classroom:v1/ListGuardiansResponse/guardians/guardian": guardian +"/classroom:v1/ListGuardiansResponse/nextPageToken": next_page_token +"/classroom:v1/Guardian": guardian +"/classroom:v1/Guardian/studentId": student_id +"/classroom:v1/Guardian/guardianId": guardian_id +"/classroom:v1/Guardian/guardianProfile": guardian_profile +"/classroom:v1/Guardian/invitedEmailAddress": invited_email_address +"/classroom:v1/UserProfile": user_profile +"/classroom:v1/UserProfile/id": id +"/classroom:v1/UserProfile/name": name +"/classroom:v1/UserProfile/emailAddress": email_address +"/classroom:v1/UserProfile/photoUrl": photo_url +"/classroom:v1/UserProfile/permissions": permissions +"/classroom:v1/UserProfile/permissions/permission": permission +"/classroom:v1/Name": name +"/classroom:v1/Name/givenName": given_name +"/classroom:v1/Name/familyName": family_name +"/classroom:v1/Name/fullName": full_name +"/classroom:v1/GlobalPermission": global_permission +"/classroom:v1/GlobalPermission/permission": permission +"/classroom:v1/Teacher": teacher +"/classroom:v1/Teacher/courseId": course_id +"/classroom:v1/Teacher/userId": user_id +"/classroom:v1/Teacher/profile": profile +"/classroom:v1/ListTeachersResponse": list_teachers_response +"/classroom:v1/ListTeachersResponse/teachers": teachers +"/classroom:v1/ListTeachersResponse/teachers/teacher": teacher +"/classroom:v1/ListTeachersResponse/nextPageToken": next_page_token +"/classroom:v1/Student": student +"/classroom:v1/Student/courseId": course_id +"/classroom:v1/Student/userId": user_id +"/classroom:v1/Student/profile": profile +"/classroom:v1/Student/studentWorkFolder": student_work_folder +"/classroom:v1/ListStudentsResponse": list_students_response +"/classroom:v1/ListStudentsResponse/students": students +"/classroom:v1/ListStudentsResponse/students/student": student +"/classroom:v1/ListStudentsResponse/nextPageToken": next_page_token +"/classroom:v1/Invitation": invitation +"/classroom:v1/Invitation/id": id +"/classroom:v1/Invitation/userId": user_id +"/classroom:v1/Invitation/courseId": course_id +"/classroom:v1/Invitation/role": role +"/classroom:v1/ListInvitationsResponse": list_invitations_response +"/classroom:v1/ListInvitationsResponse/invitations": invitations +"/classroom:v1/ListInvitationsResponse/invitations/invitation": invitation +"/classroom:v1/ListInvitationsResponse/nextPageToken": next_page_token +"/classroom:v1/CourseWork": course_work +"/classroom:v1/CourseWork/courseId": course_id +"/classroom:v1/CourseWork/id": id +"/classroom:v1/CourseWork/title": title +"/classroom:v1/CourseWork/description": description +"/classroom:v1/CourseWork/materials": materials +"/classroom:v1/CourseWork/materials/material": material +"/classroom:v1/CourseWork/state": state +"/classroom:v1/CourseWork/alternateLink": alternate_link +"/classroom:v1/CourseWork/creationTime": creation_time +"/classroom:v1/CourseWork/updateTime": update_time +"/classroom:v1/CourseWork/dueDate": due_date +"/classroom:v1/CourseWork/dueTime": due_time +"/classroom:v1/CourseWork/maxPoints": max_points +"/classroom:v1/CourseWork/workType": work_type +"/classroom:v1/CourseWork/associatedWithDeveloper": associated_with_developer +"/classroom:v1/CourseWork/submissionModificationMode": submission_modification_mode +"/classroom:v1/CourseWork/assignment": assignment +"/classroom:v1/CourseWork/multipleChoiceQuestion": multiple_choice_question +"/classroom:v1/Material": material +"/classroom:v1/Material/driveFile": drive_file +"/classroom:v1/Material/youtubeVideo": youtube_video +"/classroom:v1/Material/link": link +"/classroom:v1/Material/form": form +"/classroom:v1/SharedDriveFile": shared_drive_file +"/classroom:v1/SharedDriveFile/driveFile": drive_file +"/classroom:v1/SharedDriveFile/shareMode": share_mode +"/classroom:v1/Date": date +"/classroom:v1/Date/year": year +"/classroom:v1/Date/month": month +"/classroom:v1/Date/day": day +"/classroom:v1/TimeOfDay": time_of_day +"/classroom:v1/TimeOfDay/hours": hours +"/classroom:v1/TimeOfDay/minutes": minutes +"/classroom:v1/TimeOfDay/seconds": seconds +"/classroom:v1/TimeOfDay/nanos": nanos +"/classroom:v1/Assignment": assignment +"/classroom:v1/Assignment/studentWorkFolder": student_work_folder +"/classroom:v1/MultipleChoiceQuestion": multiple_choice_question +"/classroom:v1/MultipleChoiceQuestion/choices": choices +"/classroom:v1/MultipleChoiceQuestion/choices/choice": choice +"/classroom:v1/ListCourseWorkResponse": list_course_work_response +"/classroom:v1/ListCourseWorkResponse/courseWork": course_work +"/classroom:v1/ListCourseWorkResponse/courseWork/course_work": course_work +"/classroom:v1/ListCourseWorkResponse/nextPageToken": next_page_token +"/classroom:v1/StudentSubmission": student_submission +"/classroom:v1/StudentSubmission/courseId": course_id +"/classroom:v1/StudentSubmission/courseWorkId": course_work_id +"/classroom:v1/StudentSubmission/id": id +"/classroom:v1/StudentSubmission/userId": user_id +"/classroom:v1/StudentSubmission/creationTime": creation_time +"/classroom:v1/StudentSubmission/updateTime": update_time +"/classroom:v1/StudentSubmission/state": state +"/classroom:v1/StudentSubmission/late": late +"/classroom:v1/StudentSubmission/draftGrade": draft_grade +"/classroom:v1/StudentSubmission/assignedGrade": assigned_grade +"/classroom:v1/StudentSubmission/alternateLink": alternate_link +"/classroom:v1/StudentSubmission/courseWorkType": course_work_type +"/classroom:v1/StudentSubmission/associatedWithDeveloper": associated_with_developer +"/classroom:v1/StudentSubmission/assignmentSubmission": assignment_submission +"/classroom:v1/StudentSubmission/shortAnswerSubmission": short_answer_submission +"/classroom:v1/StudentSubmission/multipleChoiceSubmission": multiple_choice_submission +"/classroom:v1/AssignmentSubmission": assignment_submission +"/classroom:v1/AssignmentSubmission/attachments": attachments +"/classroom:v1/AssignmentSubmission/attachments/attachment": attachment +"/classroom:v1/Attachment": attachment +"/classroom:v1/Attachment/driveFile": drive_file +"/classroom:v1/Attachment/youTubeVideo": you_tube_video +"/classroom:v1/Attachment/link": link +"/classroom:v1/Attachment/form": form +"/classroom:v1/ShortAnswerSubmission": short_answer_submission +"/classroom:v1/ShortAnswerSubmission/answer": answer +"/classroom:v1/MultipleChoiceSubmission": multiple_choice_submission +"/classroom:v1/MultipleChoiceSubmission/answer": answer +"/classroom:v1/ListStudentSubmissionsResponse": list_student_submissions_response +"/classroom:v1/ListStudentSubmissionsResponse/studentSubmissions": student_submissions +"/classroom:v1/ListStudentSubmissionsResponse/studentSubmissions/student_submission": student_submission +"/classroom:v1/ListStudentSubmissionsResponse/nextPageToken": next_page_token +"/classroom:v1/TurnInStudentSubmissionRequest": turn_in_student_submission_request +"/classroom:v1/ReclaimStudentSubmissionRequest": reclaim_student_submission_request +"/classroom:v1/ReturnStudentSubmissionRequest": return_student_submission_request +"/classroom:v1/ModifyAttachmentsRequest": modify_attachments_request +"/classroom:v1/ModifyAttachmentsRequest/addAttachments": add_attachments +"/classroom:v1/ModifyAttachmentsRequest/addAttachments/add_attachment": add_attachment "/cloudbilling:v1/fields": fields "/cloudbilling:v1/key": key "/cloudbilling:v1/quotaUser": quota_user @@ -22816,23 +23328,28 @@ "/dataflow:v1b3/dataflow.projects.jobs.create/projectId": project_id "/dataflow:v1b3/dataflow.projects.jobs.create/view": view "/dataflow:v1b3/dataflow.projects.jobs.create/replaceJobId": replace_job_id +"/dataflow:v1b3/dataflow.projects.jobs.create/location": location "/dataflow:v1b3/dataflow.projects.jobs.get": get_project_job "/dataflow:v1b3/dataflow.projects.jobs.get/projectId": project_id "/dataflow:v1b3/dataflow.projects.jobs.get/jobId": job_id "/dataflow:v1b3/dataflow.projects.jobs.get/view": view +"/dataflow:v1b3/dataflow.projects.jobs.get/location": location "/dataflow:v1b3/dataflow.projects.jobs.update": update_project_job "/dataflow:v1b3/dataflow.projects.jobs.update/projectId": project_id "/dataflow:v1b3/dataflow.projects.jobs.update/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.update/location": location "/dataflow:v1b3/dataflow.projects.jobs.list": list_project_jobs "/dataflow:v1b3/dataflow.projects.jobs.list/projectId": project_id "/dataflow:v1b3/dataflow.projects.jobs.list/filter": filter "/dataflow:v1b3/dataflow.projects.jobs.list/view": view "/dataflow:v1b3/dataflow.projects.jobs.list/pageSize": page_size "/dataflow:v1b3/dataflow.projects.jobs.list/pageToken": page_token +"/dataflow:v1b3/dataflow.projects.jobs.list/location": location "/dataflow:v1b3/dataflow.projects.jobs.getMetrics": get_project_job_metrics "/dataflow:v1b3/dataflow.projects.jobs.getMetrics/projectId": project_id "/dataflow:v1b3/dataflow.projects.jobs.getMetrics/jobId": job_id "/dataflow:v1b3/dataflow.projects.jobs.getMetrics/startTime": start_time +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/location": location "/dataflow:v1b3/dataflow.projects.jobs.debug.getConfig": get_project_job_debug_config "/dataflow:v1b3/dataflow.projects.jobs.debug.getConfig/projectId": project_id "/dataflow:v1b3/dataflow.projects.jobs.debug.getConfig/jobId": job_id @@ -22847,12 +23364,54 @@ "/dataflow:v1b3/dataflow.projects.jobs.messages.list/pageToken": page_token "/dataflow:v1b3/dataflow.projects.jobs.messages.list/startTime": start_time "/dataflow:v1b3/dataflow.projects.jobs.messages.list/endTime": end_time +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/location": location "/dataflow:v1b3/dataflow.projects.jobs.workItems.reportStatus": report_project_job_work_item_status "/dataflow:v1b3/dataflow.projects.jobs.workItems.reportStatus/projectId": project_id "/dataflow:v1b3/dataflow.projects.jobs.workItems.reportStatus/jobId": job_id -"/dataflow:v1b3/dataflow.projects.jobs.workItems.lease": lease_work_item "/dataflow:v1b3/dataflow.projects.jobs.workItems.lease/projectId": project_id "/dataflow:v1b3/dataflow.projects.jobs.workItems.lease/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.create": create_project_location_job +"/dataflow:v1b3/dataflow.projects.locations.jobs.create/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.create/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.create/view": view +"/dataflow:v1b3/dataflow.projects.locations.jobs.create/replaceJobId": replace_job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.get": get_project_location_job +"/dataflow:v1b3/dataflow.projects.locations.jobs.get/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.get/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.get/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.get/view": view +"/dataflow:v1b3/dataflow.projects.locations.jobs.update": update_project_location_job +"/dataflow:v1b3/dataflow.projects.locations.jobs.update/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.update/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.update/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.list": list_project_location_jobs +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/filter": filter +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/view": view +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/pageSize": page_size +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/pageToken": page_token +"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics": get_project_location_job_metrics +"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics/startTime": start_time +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list": list_project_location_job_messages +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/minimumImportance": minimum_importance +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/pageSize": page_size +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/pageToken": page_token +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/startTime": start_time +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/endTime": end_time +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus": report_project_location_job_work_item_status +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease/jobId": job_id "/dataflow:v1b3/dataflow.projects.templates.create": create_job_from_template "/dataflow:v1b3/dataflow.projects.templates.create/projectId": project_id "/dataflow:v1b3/GetDebugConfigRequest": get_debug_config_request @@ -22887,6 +23446,7 @@ "/dataflow:v1b3/Job/tempFiles/temp_file": temp_file "/dataflow:v1b3/Job/labels": labels "/dataflow:v1b3/Job/labels/label": label +"/dataflow:v1b3/Job/location": location "/dataflow:v1b3/Environment": environment "/dataflow:v1b3/Environment/tempStoragePrefix": temp_storage_prefix "/dataflow:v1b3/Environment/clusterManagerApiService": cluster_manager_api_service @@ -22983,6 +23543,10 @@ "/dataflow:v1b3/ListJobsResponse/jobs": jobs "/dataflow:v1b3/ListJobsResponse/jobs/job": job "/dataflow:v1b3/ListJobsResponse/nextPageToken": next_page_token +"/dataflow:v1b3/ListJobsResponse/failedLocation": failed_location +"/dataflow:v1b3/ListJobsResponse/failedLocation/failed_location": failed_location +"/dataflow:v1b3/FailedLocation": failed_location +"/dataflow:v1b3/FailedLocation/name": name "/dataflow:v1b3/ListJobMessagesResponse": list_job_messages_response "/dataflow:v1b3/ListJobMessagesResponse/jobMessages": job_messages "/dataflow:v1b3/ListJobMessagesResponse/jobMessages/job_message": job_message @@ -23020,6 +23584,7 @@ "/dataflow:v1b3/ReportWorkItemStatusRequest/workItemStatuses": work_item_statuses "/dataflow:v1b3/ReportWorkItemStatusRequest/workItemStatuses/work_item_status": work_item_status "/dataflow:v1b3/ReportWorkItemStatusRequest/currentWorkerTime": current_worker_time +"/dataflow:v1b3/ReportWorkItemStatusRequest/location": location "/dataflow:v1b3/WorkItemStatus": work_item_status "/dataflow:v1b3/WorkItemStatus/workItemId": work_item_id "/dataflow:v1b3/WorkItemStatus/reportIndex": report_index @@ -23184,6 +23749,7 @@ "/dataflow:v1b3/LeaseWorkItemRequest/requestedLeaseDuration": requested_lease_duration "/dataflow:v1b3/LeaseWorkItemRequest/currentWorkerTime": current_worker_time "/dataflow:v1b3/LeaseWorkItemRequest/workerId": worker_id +"/dataflow:v1b3/LeaseWorkItemRequest/location": location "/dataflow:v1b3/LeaseWorkItemResponse": lease_work_item_response "/dataflow:v1b3/LeaseWorkItemResponse/workItems": work_items "/dataflow:v1b3/LeaseWorkItemResponse/workItems/work_item": work_item @@ -23427,6 +23993,7 @@ "/dataproc:v1/dataproc.projects.regions.clusters.get/clusterName": cluster_name "/dataproc:v1/dataproc.projects.regions.clusters.list/projectId": project_id "/dataproc:v1/dataproc.projects.regions.clusters.list/region": region +"/dataproc:v1/dataproc.projects.regions.clusters.list/filter": filter "/dataproc:v1/dataproc.projects.regions.clusters.list/pageSize": page_size "/dataproc:v1/dataproc.projects.regions.clusters.list/pageToken": page_token "/dataproc:v1/dataproc.projects.regions.clusters.diagnose": diagnose_cluster @@ -23445,6 +24012,7 @@ "/dataproc:v1/dataproc.projects.regions.jobs.list/pageToken": page_token "/dataproc:v1/dataproc.projects.regions.jobs.list/clusterName": cluster_name "/dataproc:v1/dataproc.projects.regions.jobs.list/jobStateMatcher": job_state_matcher +"/dataproc:v1/dataproc.projects.regions.jobs.list/filter": filter "/dataproc:v1/dataproc.projects.regions.jobs.cancel": cancel_job "/dataproc:v1/dataproc.projects.regions.jobs.cancel/projectId": project_id "/dataproc:v1/dataproc.projects.regions.jobs.cancel/region": region @@ -23452,21 +24020,24 @@ "/dataproc:v1/dataproc.projects.regions.jobs.delete/projectId": project_id "/dataproc:v1/dataproc.projects.regions.jobs.delete/region": region "/dataproc:v1/dataproc.projects.regions.jobs.delete/jobId": job_id -"/dataproc:v1/dataproc.projects.regions.operations.get/name": name "/dataproc:v1/dataproc.projects.regions.operations.list/name": name "/dataproc:v1/dataproc.projects.regions.operations.list/filter": filter "/dataproc:v1/dataproc.projects.regions.operations.list/pageSize": page_size "/dataproc:v1/dataproc.projects.regions.operations.list/pageToken": page_token -"/dataproc:v1/dataproc.projects.regions.operations.cancel/name": name +"/dataproc:v1/dataproc.projects.regions.operations.get/name": name "/dataproc:v1/dataproc.projects.regions.operations.delete/name": name +"/dataproc:v1/dataproc.projects.regions.operations.cancel/name": name "/dataproc:v1/Cluster": cluster "/dataproc:v1/Cluster/projectId": project_id "/dataproc:v1/Cluster/clusterName": cluster_name "/dataproc:v1/Cluster/config": config +"/dataproc:v1/Cluster/labels": labels +"/dataproc:v1/Cluster/labels/label": label "/dataproc:v1/Cluster/status": status "/dataproc:v1/Cluster/statusHistory": status_history "/dataproc:v1/Cluster/statusHistory/status_history": status_history "/dataproc:v1/Cluster/clusterUuid": cluster_uuid +"/dataproc:v1/Cluster/metrics": metrics "/dataproc:v1/ClusterConfig": cluster_config "/dataproc:v1/ClusterConfig/configBucket": config_bucket "/dataproc:v1/ClusterConfig/gceClusterConfig": gce_cluster_config @@ -23480,6 +24051,7 @@ "/dataproc:v1/GceClusterConfig/zoneUri": zone_uri "/dataproc:v1/GceClusterConfig/networkUri": network_uri "/dataproc:v1/GceClusterConfig/subnetworkUri": subnetwork_uri +"/dataproc:v1/GceClusterConfig/internalIpOnly": internal_ip_only "/dataproc:v1/GceClusterConfig/serviceAccountScopes": service_account_scopes "/dataproc:v1/GceClusterConfig/serviceAccountScopes/service_account_scope": service_account_scope "/dataproc:v1/GceClusterConfig/tags": tags @@ -23512,6 +24084,11 @@ "/dataproc:v1/ClusterStatus/state": state "/dataproc:v1/ClusterStatus/detail": detail "/dataproc:v1/ClusterStatus/stateStartTime": state_start_time +"/dataproc:v1/ClusterMetrics": cluster_metrics +"/dataproc:v1/ClusterMetrics/hdfsMetrics": hdfs_metrics +"/dataproc:v1/ClusterMetrics/hdfsMetrics/hdfs_metric": hdfs_metric +"/dataproc:v1/ClusterMetrics/yarnMetrics": yarn_metrics +"/dataproc:v1/ClusterMetrics/yarnMetrics/yarn_metric": yarn_metric "/dataproc:v1/Operation": operation "/dataproc:v1/Operation/name": name "/dataproc:v1/Operation/metadata": metadata @@ -23545,8 +24122,12 @@ "/dataproc:v1/Job/status": status "/dataproc:v1/Job/statusHistory": status_history "/dataproc:v1/Job/statusHistory/status_history": status_history +"/dataproc:v1/Job/yarnApplications": yarn_applications +"/dataproc:v1/Job/yarnApplications/yarn_application": yarn_application "/dataproc:v1/Job/driverOutputResourceUri": driver_output_resource_uri "/dataproc:v1/Job/driverControlFilesUri": driver_control_files_uri +"/dataproc:v1/Job/labels": labels +"/dataproc:v1/Job/labels/label": label "/dataproc:v1/JobReference": job_reference "/dataproc:v1/JobReference/projectId": project_id "/dataproc:v1/JobReference/jobId": job_id @@ -23637,6 +24218,11 @@ "/dataproc:v1/JobStatus/state": state "/dataproc:v1/JobStatus/details": details "/dataproc:v1/JobStatus/stateStartTime": state_start_time +"/dataproc:v1/YarnApplication": yarn_application +"/dataproc:v1/YarnApplication/name": name +"/dataproc:v1/YarnApplication/state": state +"/dataproc:v1/YarnApplication/progress": progress +"/dataproc:v1/YarnApplication/trackingUrl": tracking_url "/dataproc:v1/ListJobsResponse": list_jobs_response "/dataproc:v1/ListJobsResponse/jobs": jobs "/dataproc:v1/ListJobsResponse/jobs/job": job @@ -23657,6 +24243,8 @@ "/dataproc:v1/ClusterOperationMetadata/statusHistory/status_history": status_history "/dataproc:v1/ClusterOperationMetadata/operationType": operation_type "/dataproc:v1/ClusterOperationMetadata/description": description +"/dataproc:v1/ClusterOperationMetadata/labels": labels +"/dataproc:v1/ClusterOperationMetadata/labels/label": label "/dataproc:v1/ClusterOperationStatus": cluster_operation_status "/dataproc:v1/ClusterOperationStatus/state": state "/dataproc:v1/ClusterOperationStatus/innerState": inner_state @@ -24245,6 +24833,8 @@ "/genomics:v1/OperationMetadata/clientId": client_id "/genomics:v1/OperationMetadata/runtimeMetadata": runtime_metadata "/genomics:v1/OperationMetadata/runtimeMetadata/runtime_metadatum": runtime_metadatum +"/genomics:v1/OperationMetadata/labels": labels +"/genomics:v1/OperationMetadata/labels/label": label "/genomics:v1/OperationEvent": operation_event "/genomics:v1/OperationEvent/startTime": start_time "/genomics:v1/OperationEvent/endTime": end_time @@ -24792,341 +25382,6 @@ "/people:v1/ListConnectionsResponse/connections/connection": connection "/people:v1/ListConnectionsResponse/nextPageToken": next_page_token "/people:v1/ListConnectionsResponse/nextSyncToken": next_sync_token -"/classroom:v1/fields": fields -"/classroom:v1/key": key -"/classroom:v1/quotaUser": quota_user -"/classroom:v1/classroom.courses.create": create_course -"/classroom:v1/classroom.courses.get": get_course -"/classroom:v1/classroom.courses.get/id": id -"/classroom:v1/classroom.courses.update": update_course -"/classroom:v1/classroom.courses.update/id": id -"/classroom:v1/classroom.courses.patch": patch_course -"/classroom:v1/classroom.courses.patch/id": id -"/classroom:v1/classroom.courses.patch/updateMask": update_mask -"/classroom:v1/classroom.courses.delete": delete_course -"/classroom:v1/classroom.courses.delete/id": id -"/classroom:v1/classroom.courses.list": list_courses -"/classroom:v1/classroom.courses.list/studentId": student_id -"/classroom:v1/classroom.courses.list/teacherId": teacher_id -"/classroom:v1/classroom.courses.list/courseStates": course_states -"/classroom:v1/classroom.courses.list/pageSize": page_size -"/classroom:v1/classroom.courses.list/pageToken": page_token -"/classroom:v1/classroom.courses.aliases.create": create_course_alias -"/classroom:v1/classroom.courses.aliases.create/courseId": course_id -"/classroom:v1/classroom.courses.aliases.delete": delete_course_alias -"/classroom:v1/classroom.courses.aliases.delete/courseId": course_id -"/classroom:v1/classroom.courses.aliases.delete/alias": alias_ -"/classroom:v1/classroom.courses.aliases.list": list_course_aliases -"/classroom:v1/classroom.courses.aliases.list/courseId": course_id -"/classroom:v1/classroom.courses.aliases.list/pageSize": page_size -"/classroom:v1/classroom.courses.aliases.list/pageToken": page_token -"/classroom:v1/classroom.courses.teachers.create": create_course_teacher -"/classroom:v1/classroom.courses.teachers.create/courseId": course_id -"/classroom:v1/classroom.courses.teachers.get": get_course_teacher -"/classroom:v1/classroom.courses.teachers.get/courseId": course_id -"/classroom:v1/classroom.courses.teachers.get/userId": user_id -"/classroom:v1/classroom.courses.teachers.delete": delete_course_teacher -"/classroom:v1/classroom.courses.teachers.delete/courseId": course_id -"/classroom:v1/classroom.courses.teachers.delete/userId": user_id -"/classroom:v1/classroom.courses.teachers.list": list_course_teachers -"/classroom:v1/classroom.courses.teachers.list/courseId": course_id -"/classroom:v1/classroom.courses.teachers.list/pageSize": page_size -"/classroom:v1/classroom.courses.teachers.list/pageToken": page_token -"/classroom:v1/classroom.courses.students.create": create_course_student -"/classroom:v1/classroom.courses.students.create/courseId": course_id -"/classroom:v1/classroom.courses.students.create/enrollmentCode": enrollment_code -"/classroom:v1/classroom.courses.students.get": get_course_student -"/classroom:v1/classroom.courses.students.get/courseId": course_id -"/classroom:v1/classroom.courses.students.get/userId": user_id -"/classroom:v1/classroom.courses.students.delete": delete_course_student -"/classroom:v1/classroom.courses.students.delete/courseId": course_id -"/classroom:v1/classroom.courses.students.delete/userId": user_id -"/classroom:v1/classroom.courses.students.list": list_course_students -"/classroom:v1/classroom.courses.students.list/courseId": course_id -"/classroom:v1/classroom.courses.students.list/pageSize": page_size -"/classroom:v1/classroom.courses.students.list/pageToken": page_token -"/classroom:v1/classroom.courses.courseWork.create/courseId": course_id -"/classroom:v1/classroom.courses.courseWork.get/courseId": course_id -"/classroom:v1/classroom.courses.courseWork.get/id": id -"/classroom:v1/classroom.courses.courseWork.list/courseId": course_id -"/classroom:v1/classroom.courses.courseWork.list/courseWorkStates": course_work_states -"/classroom:v1/classroom.courses.courseWork.list/orderBy": order_by -"/classroom:v1/classroom.courses.courseWork.list/pageSize": page_size -"/classroom:v1/classroom.courses.courseWork.list/pageToken": page_token -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.get/courseId": course_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.get/courseWorkId": course_work_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.get/id": id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch/courseId": course_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch/courseWorkId": course_work_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch/id": id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch/updateMask": update_mask -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/courseId": course_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/courseWorkId": course_work_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/userId": user_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/states": states -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/late": late -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/pageSize": page_size -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/pageToken": page_token -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.turnIn": turn_in_student_submission -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.turnIn/courseId": course_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.turnIn/courseWorkId": course_work_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.turnIn/id": id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.reclaim": reclaim_student_submission -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.reclaim/courseId": course_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.reclaim/courseWorkId": course_work_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.reclaim/id": id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.return": return_student_submission -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.return/courseId": course_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.return/courseWorkId": course_work_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.return/id": id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.modifyAttachments": modify_student_submission_attachments -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.modifyAttachments/courseId": course_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.modifyAttachments/courseWorkId": course_work_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.modifyAttachments/id": id -"/classroom:v1/classroom.userProfiles.get": get_user_profile -"/classroom:v1/classroom.userProfiles.get/userId": user_id -"/classroom:v1/classroom.userProfiles.guardianInvitations.list": list_user_profile_guardian_invitations -"/classroom:v1/classroom.userProfiles.guardianInvitations.list/studentId": student_id -"/classroom:v1/classroom.userProfiles.guardianInvitations.list/invitedEmailAddress": invited_email_address -"/classroom:v1/classroom.userProfiles.guardianInvitations.list/states": states -"/classroom:v1/classroom.userProfiles.guardianInvitations.list/pageToken": page_token -"/classroom:v1/classroom.userProfiles.guardianInvitations.list/pageSize": page_size -"/classroom:v1/classroom.userProfiles.guardianInvitations.get": get_user_profile_guardian_invitation -"/classroom:v1/classroom.userProfiles.guardianInvitations.get/studentId": student_id -"/classroom:v1/classroom.userProfiles.guardianInvitations.get/invitationId": invitation_id -"/classroom:v1/classroom.userProfiles.guardianInvitations.create": create_user_profile_guardian_invitation -"/classroom:v1/classroom.userProfiles.guardianInvitations.create/studentId": student_id -"/classroom:v1/classroom.userProfiles.guardianInvitations.patch": patch_user_profile_guardian_invitation -"/classroom:v1/classroom.userProfiles.guardianInvitations.patch/studentId": student_id -"/classroom:v1/classroom.userProfiles.guardianInvitations.patch/invitationId": invitation_id -"/classroom:v1/classroom.userProfiles.guardianInvitations.patch/updateMask": update_mask -"/classroom:v1/classroom.userProfiles.guardians.list": list_user_profile_guardians -"/classroom:v1/classroom.userProfiles.guardians.list/studentId": student_id -"/classroom:v1/classroom.userProfiles.guardians.list/invitedEmailAddress": invited_email_address -"/classroom:v1/classroom.userProfiles.guardians.list/pageToken": page_token -"/classroom:v1/classroom.userProfiles.guardians.list/pageSize": page_size -"/classroom:v1/classroom.userProfiles.guardians.get": get_user_profile_guardian -"/classroom:v1/classroom.userProfiles.guardians.get/studentId": student_id -"/classroom:v1/classroom.userProfiles.guardians.get/guardianId": guardian_id -"/classroom:v1/classroom.userProfiles.guardians.delete": delete_user_profile_guardian -"/classroom:v1/classroom.userProfiles.guardians.delete/studentId": student_id -"/classroom:v1/classroom.userProfiles.guardians.delete/guardianId": guardian_id -"/classroom:v1/classroom.invitations.create": create_invitation -"/classroom:v1/classroom.invitations.get": get_invitation -"/classroom:v1/classroom.invitations.get/id": id -"/classroom:v1/classroom.invitations.delete": delete_invitation -"/classroom:v1/classroom.invitations.delete/id": id -"/classroom:v1/classroom.invitations.list": list_invitations -"/classroom:v1/classroom.invitations.list/userId": user_id -"/classroom:v1/classroom.invitations.list/courseId": course_id -"/classroom:v1/classroom.invitations.list/pageSize": page_size -"/classroom:v1/classroom.invitations.list/pageToken": page_token -"/classroom:v1/classroom.invitations.accept": accept_invitation -"/classroom:v1/classroom.invitations.accept/id": id -"/classroom:v1/Course": course -"/classroom:v1/Course/id": id -"/classroom:v1/Course/name": name -"/classroom:v1/Course/section": section -"/classroom:v1/Course/descriptionHeading": description_heading -"/classroom:v1/Course/description": description -"/classroom:v1/Course/room": room -"/classroom:v1/Course/ownerId": owner_id -"/classroom:v1/Course/creationTime": creation_time -"/classroom:v1/Course/updateTime": update_time -"/classroom:v1/Course/enrollmentCode": enrollment_code -"/classroom:v1/Course/courseState": course_state -"/classroom:v1/Course/alternateLink": alternate_link -"/classroom:v1/Course/teacherGroupEmail": teacher_group_email -"/classroom:v1/Course/courseGroupEmail": course_group_email -"/classroom:v1/Course/teacherFolder": teacher_folder -"/classroom:v1/Course/courseMaterialSets": course_material_sets -"/classroom:v1/Course/courseMaterialSets/course_material_set": course_material_set -"/classroom:v1/Course/guardiansEnabled": guardians_enabled -"/classroom:v1/DriveFolder": drive_folder -"/classroom:v1/DriveFolder/id": id -"/classroom:v1/DriveFolder/title": title -"/classroom:v1/DriveFolder/alternateLink": alternate_link -"/classroom:v1/CourseMaterialSet": course_material_set -"/classroom:v1/CourseMaterialSet/title": title -"/classroom:v1/CourseMaterialSet/materials": materials -"/classroom:v1/CourseMaterialSet/materials/material": material -"/classroom:v1/CourseMaterial": course_material -"/classroom:v1/CourseMaterial/driveFile": drive_file -"/classroom:v1/CourseMaterial/youTubeVideo": you_tube_video -"/classroom:v1/CourseMaterial/link": link -"/classroom:v1/CourseMaterial/form": form -"/classroom:v1/DriveFile": drive_file -"/classroom:v1/DriveFile/id": id -"/classroom:v1/DriveFile/title": title -"/classroom:v1/DriveFile/alternateLink": alternate_link -"/classroom:v1/DriveFile/thumbnailUrl": thumbnail_url -"/classroom:v1/YouTubeVideo": you_tube_video -"/classroom:v1/YouTubeVideo/id": id -"/classroom:v1/YouTubeVideo/title": title -"/classroom:v1/YouTubeVideo/alternateLink": alternate_link -"/classroom:v1/YouTubeVideo/thumbnailUrl": thumbnail_url -"/classroom:v1/Link": link -"/classroom:v1/Link/url": url -"/classroom:v1/Link/title": title -"/classroom:v1/Link/thumbnailUrl": thumbnail_url -"/classroom:v1/Form": form -"/classroom:v1/Form/formUrl": form_url -"/classroom:v1/Form/responseUrl": response_url -"/classroom:v1/Form/title": title -"/classroom:v1/Form/thumbnailUrl": thumbnail_url -"/classroom:v1/Empty": empty -"/classroom:v1/ListCoursesResponse": list_courses_response -"/classroom:v1/ListCoursesResponse/courses": courses -"/classroom:v1/ListCoursesResponse/courses/course": course -"/classroom:v1/ListCoursesResponse/nextPageToken": next_page_token -"/classroom:v1/CourseAlias": course_alias -"/classroom:v1/CourseAlias/alias": alias -"/classroom:v1/ListCourseAliasesResponse": list_course_aliases_response -"/classroom:v1/ListCourseAliasesResponse/aliases": aliases -"/classroom:v1/ListCourseAliasesResponse/aliases/alias": alias -"/classroom:v1/ListCourseAliasesResponse/nextPageToken": next_page_token -"/classroom:v1/ListGuardianInvitationsResponse": list_guardian_invitations_response -"/classroom:v1/ListGuardianInvitationsResponse/guardianInvitations": guardian_invitations -"/classroom:v1/ListGuardianInvitationsResponse/guardianInvitations/guardian_invitation": guardian_invitation -"/classroom:v1/ListGuardianInvitationsResponse/nextPageToken": next_page_token -"/classroom:v1/GuardianInvitation": guardian_invitation -"/classroom:v1/GuardianInvitation/studentId": student_id -"/classroom:v1/GuardianInvitation/invitationId": invitation_id -"/classroom:v1/GuardianInvitation/invitedEmailAddress": invited_email_address -"/classroom:v1/GuardianInvitation/state": state -"/classroom:v1/GuardianInvitation/creationTime": creation_time -"/classroom:v1/ListGuardiansResponse": list_guardians_response -"/classroom:v1/ListGuardiansResponse/guardians": guardians -"/classroom:v1/ListGuardiansResponse/guardians/guardian": guardian -"/classroom:v1/ListGuardiansResponse/nextPageToken": next_page_token -"/classroom:v1/Guardian": guardian -"/classroom:v1/Guardian/studentId": student_id -"/classroom:v1/Guardian/guardianId": guardian_id -"/classroom:v1/Guardian/guardianProfile": guardian_profile -"/classroom:v1/Guardian/invitedEmailAddress": invited_email_address -"/classroom:v1/UserProfile": user_profile -"/classroom:v1/UserProfile/id": id -"/classroom:v1/UserProfile/name": name -"/classroom:v1/UserProfile/emailAddress": email_address -"/classroom:v1/UserProfile/photoUrl": photo_url -"/classroom:v1/UserProfile/permissions": permissions -"/classroom:v1/UserProfile/permissions/permission": permission -"/classroom:v1/Name": name -"/classroom:v1/Name/givenName": given_name -"/classroom:v1/Name/familyName": family_name -"/classroom:v1/Name/fullName": full_name -"/classroom:v1/GlobalPermission": global_permission -"/classroom:v1/GlobalPermission/permission": permission -"/classroom:v1/Teacher": teacher -"/classroom:v1/Teacher/courseId": course_id -"/classroom:v1/Teacher/userId": user_id -"/classroom:v1/Teacher/profile": profile -"/classroom:v1/ListTeachersResponse": list_teachers_response -"/classroom:v1/ListTeachersResponse/teachers": teachers -"/classroom:v1/ListTeachersResponse/teachers/teacher": teacher -"/classroom:v1/ListTeachersResponse/nextPageToken": next_page_token -"/classroom:v1/Student": student -"/classroom:v1/Student/courseId": course_id -"/classroom:v1/Student/userId": user_id -"/classroom:v1/Student/profile": profile -"/classroom:v1/Student/studentWorkFolder": student_work_folder -"/classroom:v1/ListStudentsResponse": list_students_response -"/classroom:v1/ListStudentsResponse/students": students -"/classroom:v1/ListStudentsResponse/students/student": student -"/classroom:v1/ListStudentsResponse/nextPageToken": next_page_token -"/classroom:v1/Invitation": invitation -"/classroom:v1/Invitation/id": id -"/classroom:v1/Invitation/userId": user_id -"/classroom:v1/Invitation/courseId": course_id -"/classroom:v1/Invitation/role": role -"/classroom:v1/ListInvitationsResponse": list_invitations_response -"/classroom:v1/ListInvitationsResponse/invitations": invitations -"/classroom:v1/ListInvitationsResponse/invitations/invitation": invitation -"/classroom:v1/ListInvitationsResponse/nextPageToken": next_page_token -"/classroom:v1/CourseWork": course_work -"/classroom:v1/CourseWork/courseId": course_id -"/classroom:v1/CourseWork/id": id -"/classroom:v1/CourseWork/title": title -"/classroom:v1/CourseWork/description": description -"/classroom:v1/CourseWork/materials": materials -"/classroom:v1/CourseWork/materials/material": material -"/classroom:v1/CourseWork/state": state -"/classroom:v1/CourseWork/alternateLink": alternate_link -"/classroom:v1/CourseWork/creationTime": creation_time -"/classroom:v1/CourseWork/updateTime": update_time -"/classroom:v1/CourseWork/dueDate": due_date -"/classroom:v1/CourseWork/dueTime": due_time -"/classroom:v1/CourseWork/maxPoints": max_points -"/classroom:v1/CourseWork/workType": work_type -"/classroom:v1/CourseWork/associatedWithDeveloper": associated_with_developer -"/classroom:v1/CourseWork/submissionModificationMode": submission_modification_mode -"/classroom:v1/CourseWork/assignment": assignment -"/classroom:v1/CourseWork/multipleChoiceQuestion": multiple_choice_question -"/classroom:v1/Material": material -"/classroom:v1/Material/driveFile": drive_file -"/classroom:v1/Material/youtubeVideo": youtube_video -"/classroom:v1/Material/link": link -"/classroom:v1/Material/form": form -"/classroom:v1/SharedDriveFile": shared_drive_file -"/classroom:v1/SharedDriveFile/driveFile": drive_file -"/classroom:v1/SharedDriveFile/shareMode": share_mode -"/classroom:v1/Date": date -"/classroom:v1/Date/year": year -"/classroom:v1/Date/month": month -"/classroom:v1/Date/day": day -"/classroom:v1/TimeOfDay": time_of_day -"/classroom:v1/TimeOfDay/hours": hours -"/classroom:v1/TimeOfDay/minutes": minutes -"/classroom:v1/TimeOfDay/seconds": seconds -"/classroom:v1/TimeOfDay/nanos": nanos -"/classroom:v1/Assignment": assignment -"/classroom:v1/Assignment/studentWorkFolder": student_work_folder -"/classroom:v1/MultipleChoiceQuestion": multiple_choice_question -"/classroom:v1/MultipleChoiceQuestion/choices": choices -"/classroom:v1/MultipleChoiceQuestion/choices/choice": choice -"/classroom:v1/ListCourseWorkResponse": list_course_work_response -"/classroom:v1/ListCourseWorkResponse/courseWork": course_work -"/classroom:v1/ListCourseWorkResponse/courseWork/course_work": course_work -"/classroom:v1/ListCourseWorkResponse/nextPageToken": next_page_token -"/classroom:v1/StudentSubmission": student_submission -"/classroom:v1/StudentSubmission/courseId": course_id -"/classroom:v1/StudentSubmission/courseWorkId": course_work_id -"/classroom:v1/StudentSubmission/id": id -"/classroom:v1/StudentSubmission/userId": user_id -"/classroom:v1/StudentSubmission/creationTime": creation_time -"/classroom:v1/StudentSubmission/updateTime": update_time -"/classroom:v1/StudentSubmission/state": state -"/classroom:v1/StudentSubmission/late": late -"/classroom:v1/StudentSubmission/draftGrade": draft_grade -"/classroom:v1/StudentSubmission/assignedGrade": assigned_grade -"/classroom:v1/StudentSubmission/alternateLink": alternate_link -"/classroom:v1/StudentSubmission/courseWorkType": course_work_type -"/classroom:v1/StudentSubmission/associatedWithDeveloper": associated_with_developer -"/classroom:v1/StudentSubmission/assignmentSubmission": assignment_submission -"/classroom:v1/StudentSubmission/shortAnswerSubmission": short_answer_submission -"/classroom:v1/StudentSubmission/multipleChoiceSubmission": multiple_choice_submission -"/classroom:v1/AssignmentSubmission": assignment_submission -"/classroom:v1/AssignmentSubmission/attachments": attachments -"/classroom:v1/AssignmentSubmission/attachments/attachment": attachment -"/classroom:v1/Attachment": attachment -"/classroom:v1/Attachment/driveFile": drive_file -"/classroom:v1/Attachment/youTubeVideo": you_tube_video -"/classroom:v1/Attachment/link": link -"/classroom:v1/Attachment/form": form -"/classroom:v1/ShortAnswerSubmission": short_answer_submission -"/classroom:v1/ShortAnswerSubmission/answer": answer -"/classroom:v1/MultipleChoiceSubmission": multiple_choice_submission -"/classroom:v1/MultipleChoiceSubmission/answer": answer -"/classroom:v1/ListStudentSubmissionsResponse": list_student_submissions_response -"/classroom:v1/ListStudentSubmissionsResponse/studentSubmissions": student_submissions -"/classroom:v1/ListStudentSubmissionsResponse/studentSubmissions/student_submission": student_submission -"/classroom:v1/ListStudentSubmissionsResponse/nextPageToken": next_page_token -"/classroom:v1/TurnInStudentSubmissionRequest": turn_in_student_submission_request -"/classroom:v1/ReclaimStudentSubmissionRequest": reclaim_student_submission_request -"/classroom:v1/ReturnStudentSubmissionRequest": return_student_submission_request -"/classroom:v1/ModifyAttachmentsRequest": modify_attachments_request -"/classroom:v1/ModifyAttachmentsRequest/addAttachments": add_attachments -"/classroom:v1/ModifyAttachmentsRequest/addAttachments/add_attachment": add_attachment "/proximitybeacon:v1beta1/fields": fields "/proximitybeacon:v1beta1/key": key "/proximitybeacon:v1beta1/quotaUser": quota_user @@ -25712,6 +25967,7 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/authorizedDomains": authorized_domains "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/authorizedDomains/authorized_domain": authorized_domain "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/changeEmailTemplate": change_email_template +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/dynamicLinksDomain": dynamic_links_domain "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/enableAnonymousUser": enable_anonymous_user "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/idpConfig": idp_config "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/idpConfig/idp_config": idp_config @@ -25768,11 +26024,15 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserResponse/localId": local_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/captchaChallenge": captcha_challenge "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/captchaResponse": captcha_response +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/disabled": disabled "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/displayName": display_name "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/email": email +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/emailVerified": email_verified "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/idToken": id_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/instanceId": instance_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/password": password +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/photoUrl": photo_url +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/allowOverwrite": allow_overwrite "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/delegatedProjectNumber": delegated_project_number "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/hashAlgorithm": hash_algorithm "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/memoryCost": memory_cost @@ -25879,8 +26139,8 @@ "/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/photoUrl": photo_url "/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/providerId": provider_id "/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/rawId": raw_id -"/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/rawUserInfo": raw_user_info "/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/screenName": screen_name +"/identitytoolkit:v3/UserInfo/rawPassword": raw_password "/identitytoolkit:v3/UserInfo/salt": salt "/identitytoolkit:v3/UserInfo/screenName": screen_name "/identitytoolkit:v3/UserInfo/validSince": valid_since @@ -26082,9 +26342,11 @@ "/logging:v2beta1/logging.projects.logs.delete/logName": log_name "/logging:v2beta1/logging.projects.sinks.update": update_project_sink "/logging:v2beta1/logging.projects.sinks.update/sinkName": sink_name +"/logging:v2beta1/logging.projects.sinks.update/uniqueWriterIdentity": unique_writer_identity "/logging:v2beta1/logging.projects.sinks.get": get_project_sink "/logging:v2beta1/logging.projects.sinks.get/sinkName": sink_name "/logging:v2beta1/logging.projects.sinks.create": create_project_sink +"/logging:v2beta1/logging.projects.sinks.create/uniqueWriterIdentity": unique_writer_identity "/logging:v2beta1/logging.projects.sinks.create/parent": parent "/logging:v2beta1/logging.projects.sinks.list": list_project_sinks "/logging:v2beta1/logging.projects.sinks.list/pageSize": page_size @@ -28054,12 +28316,18 @@ "/sheets:v4/sheets.spreadsheets.values.get/range": range "/sheets:v4/sheets.spreadsheets.values.get/majorDimension": major_dimension "/sheets:v4/sheets.spreadsheets.values.append": append_spreadsheet_value +"/sheets:v4/sheets.spreadsheets.values.append/responseValueRenderOption": response_value_render_option "/sheets:v4/sheets.spreadsheets.values.append/valueInputOption": value_input_option +"/sheets:v4/sheets.spreadsheets.values.append/responseDateTimeRenderOption": response_date_time_render_option +"/sheets:v4/sheets.spreadsheets.values.append/includeValuesInResponse": include_values_in_response "/sheets:v4/sheets.spreadsheets.values.append/spreadsheetId": spreadsheet_id -"/sheets:v4/sheets.spreadsheets.values.append/insertDataOption": insert_data_option "/sheets:v4/sheets.spreadsheets.values.append/range": range +"/sheets:v4/sheets.spreadsheets.values.append/insertDataOption": insert_data_option "/sheets:v4/sheets.spreadsheets.values.update": update_spreadsheet_value +"/sheets:v4/sheets.spreadsheets.values.update/responseValueRenderOption": response_value_render_option "/sheets:v4/sheets.spreadsheets.values.update/valueInputOption": value_input_option +"/sheets:v4/sheets.spreadsheets.values.update/responseDateTimeRenderOption": response_date_time_render_option +"/sheets:v4/sheets.spreadsheets.values.update/includeValuesInResponse": include_values_in_response "/sheets:v4/sheets.spreadsheets.values.update/spreadsheetId": spreadsheet_id "/sheets:v4/sheets.spreadsheets.values.update/range": range "/sheets:v4/sheets.spreadsheets.values.batchClear": batch_clear_values @@ -28123,11 +28391,12 @@ "/sheets:v4/UpdateNamedRangeRequest/fields": fields "/sheets:v4/UpdateNamedRangeRequest/namedRange": named_range "/sheets:v4/UpdateValuesResponse": update_values_response -"/sheets:v4/UpdateValuesResponse/updatedRange": updated_range "/sheets:v4/UpdateValuesResponse/updatedColumns": updated_columns +"/sheets:v4/UpdateValuesResponse/updatedCells": updated_cells +"/sheets:v4/UpdateValuesResponse/updatedData": updated_data +"/sheets:v4/UpdateValuesResponse/updatedRange": updated_range "/sheets:v4/UpdateValuesResponse/spreadsheetId": spreadsheet_id "/sheets:v4/UpdateValuesResponse/updatedRows": updated_rows -"/sheets:v4/UpdateValuesResponse/updatedCells": updated_cells "/sheets:v4/SpreadsheetProperties": spreadsheet_properties "/sheets:v4/SpreadsheetProperties/timeZone": time_zone "/sheets:v4/SpreadsheetProperties/autoRecalc": auto_recalc @@ -28176,6 +28445,7 @@ "/sheets:v4/Response/updateConditionalFormatRule": update_conditional_format_rule "/sheets:v4/Response/addChart": add_chart "/sheets:v4/Response/deleteConditionalFormatRule": delete_conditional_format_rule +"/sheets:v4/Response/addBanding": add_banding "/sheets:v4/Response/duplicateSheet": duplicate_sheet "/sheets:v4/Response/duplicateFilterView": duplicate_filter_view "/sheets:v4/Response/addNamedRange": add_named_range @@ -28195,6 +28465,8 @@ "/sheets:v4/SortRangeRequest/range": range "/sheets:v4/SortRangeRequest/sortSpecs": sort_specs "/sheets:v4/SortRangeRequest/sortSpecs/sort_spec": sort_spec +"/sheets:v4/AddBandingResponse": add_banding_response +"/sheets:v4/AddBandingResponse/bandedRange": banded_range "/sheets:v4/TextFormatRun": text_format_run "/sheets:v4/TextFormatRun/startIndex": start_index "/sheets:v4/TextFormatRun/format": format @@ -28238,6 +28510,9 @@ "/sheets:v4/BatchUpdateValuesRequest/valueInputOption": value_input_option "/sheets:v4/BatchUpdateValuesRequest/data": data "/sheets:v4/BatchUpdateValuesRequest/data/datum": datum +"/sheets:v4/BatchUpdateValuesRequest/responseValueRenderOption": response_value_render_option +"/sheets:v4/BatchUpdateValuesRequest/responseDateTimeRenderOption": response_date_time_render_option +"/sheets:v4/BatchUpdateValuesRequest/includeValuesInResponse": include_values_in_response "/sheets:v4/ClearBasicFilterRequest": clear_basic_filter_request "/sheets:v4/ClearBasicFilterRequest/sheetId": sheet_id "/sheets:v4/BatchClearValuesResponse": batch_clear_values_response @@ -28334,8 +28609,12 @@ "/sheets:v4/DuplicateFilterViewRequest": duplicate_filter_view_request "/sheets:v4/DuplicateFilterViewRequest/filterId": filter_id "/sheets:v4/BatchUpdateSpreadsheetRequest": batch_update_spreadsheet_request +"/sheets:v4/BatchUpdateSpreadsheetRequest/includeSpreadsheetInResponse": include_spreadsheet_in_response "/sheets:v4/BatchUpdateSpreadsheetRequest/requests": requests "/sheets:v4/BatchUpdateSpreadsheetRequest/requests/request": request +"/sheets:v4/BatchUpdateSpreadsheetRequest/responseRanges": response_ranges +"/sheets:v4/BatchUpdateSpreadsheetRequest/responseRanges/response_range": response_range +"/sheets:v4/BatchUpdateSpreadsheetRequest/responseIncludeGridData": response_include_grid_data "/sheets:v4/SheetProperties": sheet_properties "/sheets:v4/SheetProperties/title": title "/sheets:v4/SheetProperties/index": index @@ -28429,6 +28708,8 @@ "/sheets:v4/PivotValue/sourceColumnOffset": source_column_offset "/sheets:v4/PivotValue/summarizeFunction": summarize_function "/sheets:v4/PivotValue/name": name +"/sheets:v4/DeleteBandingRequest": delete_banding_request +"/sheets:v4/DeleteBandingRequest/bandedRangeId": banded_range_id "/sheets:v4/BasicFilter": basic_filter "/sheets:v4/BasicFilter/criteria": criteria "/sheets:v4/BasicFilter/criteria/criterium": criterium @@ -28452,6 +28733,8 @@ "/sheets:v4/AddNamedRangeRequest/namedRange": named_range "/sheets:v4/AddChartResponse": add_chart_response "/sheets:v4/AddChartResponse/chart": chart +"/sheets:v4/AddBandingRequest": add_banding_request +"/sheets:v4/AddBandingRequest/bandedRange": banded_range "/sheets:v4/AppendCellsRequest": append_cells_request "/sheets:v4/AppendCellsRequest/sheetId": sheet_id "/sheets:v4/AppendCellsRequest/rows": rows @@ -28482,16 +28765,21 @@ "/sheets:v4/NamedRange/namedRangeId": named_range_id "/sheets:v4/NamedRange/range": range "/sheets:v4/NamedRange/name": name -"/sheets:v4/SetBasicFilterRequest": set_basic_filter_request -"/sheets:v4/SetBasicFilterRequest/filter": filter "/sheets:v4/UpdateEmbeddedObjectPositionRequest": update_embedded_object_position_request "/sheets:v4/UpdateEmbeddedObjectPositionRequest/newPosition": new_position "/sheets:v4/UpdateEmbeddedObjectPositionRequest/objectId": object_id_prop "/sheets:v4/UpdateEmbeddedObjectPositionRequest/fields": fields +"/sheets:v4/SetBasicFilterRequest": set_basic_filter_request +"/sheets:v4/SetBasicFilterRequest/filter": filter "/sheets:v4/AutoResizeDimensionsRequest": auto_resize_dimensions_request "/sheets:v4/AutoResizeDimensionsRequest/dimensions": dimensions "/sheets:v4/DuplicateFilterViewResponse": duplicate_filter_view_response "/sheets:v4/DuplicateFilterViewResponse/filter": filter +"/sheets:v4/BandingProperties": banding_properties +"/sheets:v4/BandingProperties/footerColor": footer_color +"/sheets:v4/BandingProperties/headerColor": header_color +"/sheets:v4/BandingProperties/secondBandColor": second_band_color +"/sheets:v4/BandingProperties/firstBandColor": first_band_color "/sheets:v4/PivotGroup": pivot_group "/sheets:v4/PivotGroup/sortOrder": sort_order "/sheets:v4/PivotGroup/sourceColumnOffset": source_column_offset @@ -28507,6 +28795,9 @@ "/sheets:v4/GridRange/endColumnIndex": end_column_index "/sheets:v4/DeleteSheetRequest": delete_sheet_request "/sheets:v4/DeleteSheetRequest/sheetId": sheet_id +"/sheets:v4/UpdateBandingRequest": update_banding_request +"/sheets:v4/UpdateBandingRequest/bandedRange": banded_range +"/sheets:v4/UpdateBandingRequest/fields": fields "/sheets:v4/ChartData": chart_data "/sheets:v4/ChartData/sourceRange": source_range "/sheets:v4/Sheet": sheet @@ -28524,6 +28815,8 @@ "/sheets:v4/Sheet/merges/merge": merge "/sheets:v4/Sheet/data": data "/sheets:v4/Sheet/data/datum": datum +"/sheets:v4/Sheet/bandedRanges": banded_ranges +"/sheets:v4/Sheet/bandedRanges/banded_range": banded_range "/sheets:v4/CopyPasteRequest": copy_paste_request "/sheets:v4/CopyPasteRequest/pasteType": paste_type "/sheets:v4/CopyPasteRequest/pasteOrientation": paste_orientation @@ -28543,6 +28836,7 @@ "/sheets:v4/ExtendedValue/stringValue": string_value "/sheets:v4/BatchUpdateSpreadsheetResponse": batch_update_spreadsheet_response "/sheets:v4/BatchUpdateSpreadsheetResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/BatchUpdateSpreadsheetResponse/updatedSpreadsheet": updated_spreadsheet "/sheets:v4/BatchUpdateSpreadsheetResponse/replies": replies "/sheets:v4/BatchUpdateSpreadsheetResponse/replies/reply": reply "/sheets:v4/GradientRule": gradient_rule @@ -28620,8 +28914,11 @@ "/sheets:v4/Request/updateConditionalFormatRule": update_conditional_format_rule "/sheets:v4/Request/setBasicFilter": set_basic_filter "/sheets:v4/Request/mergeCells": merge_cells +"/sheets:v4/Request/updateBanding": update_banding "/sheets:v4/Request/addChart": add_chart "/sheets:v4/Request/deleteConditionalFormatRule": delete_conditional_format_rule +"/sheets:v4/Request/addBanding": add_banding +"/sheets:v4/Request/deleteBanding": delete_banding "/sheets:v4/Request/updateChartSpec": update_chart_spec "/sheets:v4/Request/deleteDimension": delete_dimension "/sheets:v4/Request/deleteEmbeddedObject": delete_embedded_object @@ -28648,6 +28945,11 @@ "/sheets:v4/InsertDimensionRequest/range": range "/sheets:v4/DeleteEmbeddedObjectRequest": delete_embedded_object_request "/sheets:v4/DeleteEmbeddedObjectRequest/objectId": object_id_prop +"/sheets:v4/BandedRange": banded_range +"/sheets:v4/BandedRange/bandedRangeId": banded_range_id +"/sheets:v4/BandedRange/rowProperties": row_properties +"/sheets:v4/BandedRange/columnProperties": column_properties +"/sheets:v4/BandedRange/range": range "/sheets:v4/DeleteConditionalFormatRuleResponse": delete_conditional_format_rule_response "/sheets:v4/DeleteConditionalFormatRuleResponse/rule": rule "/siteVerification:v1/fields": fields @@ -28680,6 +28982,461 @@ "/siteVerification:v1/SiteVerificationWebResourceResource/site": site "/siteVerification:v1/SiteVerificationWebResourceResource/site/identifier": identifier "/siteVerification:v1/SiteVerificationWebResourceResource/site/type": type +"/slides:v1/key": key +"/slides:v1/quotaUser": quota_user +"/slides:v1/fields": fields +"/slides:v1/slides.presentations.get": get_presentation +"/slides:v1/slides.presentations.get/presentationId": presentation_id +"/slides:v1/slides.presentations.create": create_presentation +"/slides:v1/slides.presentations.batchUpdate": batch_update_presentation +"/slides:v1/slides.presentations.batchUpdate/presentationId": presentation_id +"/slides:v1/slides.presentations.pages.get": get_presentation_page +"/slides:v1/slides.presentations.pages.get/presentationId": presentation_id +"/slides:v1/slides.presentations.pages.get/pageObjectId": page_object_id +"/slides:v1/StretchedPictureFill": stretched_picture_fill +"/slides:v1/StretchedPictureFill/contentUrl": content_url +"/slides:v1/StretchedPictureFill/size": size +"/slides:v1/Image": image +"/slides:v1/Image/contentUrl": content_url +"/slides:v1/Image/imageProperties": image_properties +"/slides:v1/VideoProperties": video_properties +"/slides:v1/VideoProperties/outline": outline +"/slides:v1/CropProperties": crop_properties +"/slides:v1/CropProperties/rightOffset": right_offset +"/slides:v1/CropProperties/angle": angle +"/slides:v1/CropProperties/leftOffset": left_offset +"/slides:v1/CropProperties/topOffset": top_offset +"/slides:v1/CropProperties/bottomOffset": bottom_offset +"/slides:v1/TableRange": table_range +"/slides:v1/TableRange/location": location +"/slides:v1/TableRange/rowSpan": row_span +"/slides:v1/TableRange/columnSpan": column_span +"/slides:v1/UpdateTextStyleRequest": update_text_style_request +"/slides:v1/UpdateTextStyleRequest/style": style +"/slides:v1/UpdateTextStyleRequest/objectId": object_id_prop +"/slides:v1/UpdateTextStyleRequest/fields": fields +"/slides:v1/UpdateTextStyleRequest/textRange": text_range +"/slides:v1/UpdateTextStyleRequest/cellLocation": cell_location +"/slides:v1/InsertTextRequest": insert_text_request +"/slides:v1/InsertTextRequest/text": text +"/slides:v1/InsertTextRequest/objectId": object_id_prop +"/slides:v1/InsertTextRequest/insertionIndex": insertion_index +"/slides:v1/InsertTextRequest/cellLocation": cell_location +"/slides:v1/RgbColor": rgb_color +"/slides:v1/RgbColor/green": green +"/slides:v1/RgbColor/blue": blue +"/slides:v1/RgbColor/red": red +"/slides:v1/PageElementProperties": page_element_properties +"/slides:v1/PageElementProperties/size": size +"/slides:v1/PageElementProperties/pageObjectId": page_object_id +"/slides:v1/PageElementProperties/transform": transform +"/slides:v1/DeleteTextRequest": delete_text_request +"/slides:v1/DeleteTextRequest/objectId": object_id_prop +"/slides:v1/DeleteTextRequest/textRange": text_range +"/slides:v1/DeleteTextRequest/cellLocation": cell_location +"/slides:v1/ParagraphStyle": paragraph_style +"/slides:v1/ParagraphStyle/lineSpacing": line_spacing +"/slides:v1/ParagraphStyle/spacingMode": spacing_mode +"/slides:v1/ParagraphStyle/alignment": alignment +"/slides:v1/ParagraphStyle/spaceAbove": space_above +"/slides:v1/ParagraphStyle/direction": direction +"/slides:v1/ParagraphStyle/indentEnd": indent_end +"/slides:v1/ParagraphStyle/indentFirstLine": indent_first_line +"/slides:v1/ParagraphStyle/indentStart": indent_start +"/slides:v1/ParagraphStyle/spaceBelow": space_below +"/slides:v1/Page": page +"/slides:v1/Page/slideProperties": slide_properties +"/slides:v1/Page/pageType": page_type +"/slides:v1/Page/pageElements": page_elements +"/slides:v1/Page/pageElements/page_element": page_element +"/slides:v1/Page/pageProperties": page_properties +"/slides:v1/Page/layoutProperties": layout_properties +"/slides:v1/Page/objectId": object_id_prop +"/slides:v1/UpdateShapePropertiesRequest": update_shape_properties_request +"/slides:v1/UpdateShapePropertiesRequest/shapeProperties": shape_properties +"/slides:v1/UpdateShapePropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdateShapePropertiesRequest/fields": fields +"/slides:v1/CreateLineResponse": create_line_response +"/slides:v1/CreateLineResponse/objectId": object_id_prop +"/slides:v1/Presentation": presentation +"/slides:v1/Presentation/title": title +"/slides:v1/Presentation/locale": locale +"/slides:v1/Presentation/slides": slides +"/slides:v1/Presentation/slides/slide": slide +"/slides:v1/Presentation/masters": masters +"/slides:v1/Presentation/masters/master": master +"/slides:v1/Presentation/pageSize": page_size +"/slides:v1/Presentation/presentationId": presentation_id +"/slides:v1/Presentation/layouts": layouts +"/slides:v1/Presentation/layouts/layout": layout +"/slides:v1/CreateImageRequest": create_image_request +"/slides:v1/CreateImageRequest/url": url +"/slides:v1/CreateImageRequest/objectId": object_id_prop +"/slides:v1/CreateImageRequest/elementProperties": element_properties +"/slides:v1/SlideProperties": slide_properties +"/slides:v1/SlideProperties/layoutObjectId": layout_object_id +"/slides:v1/SlideProperties/masterObjectId": master_object_id +"/slides:v1/UpdatePageElementTransformRequest": update_page_element_transform_request +"/slides:v1/UpdatePageElementTransformRequest/applyMode": apply_mode +"/slides:v1/UpdatePageElementTransformRequest/objectId": object_id_prop +"/slides:v1/UpdatePageElementTransformRequest/transform": transform +"/slides:v1/List": list +"/slides:v1/List/nestingLevel": nesting_level +"/slides:v1/List/nestingLevel/nesting_level": nesting_level +"/slides:v1/List/listId": list_id +"/slides:v1/CreateVideoResponse": create_video_response +"/slides:v1/CreateVideoResponse/objectId": object_id_prop +"/slides:v1/InsertTableRowsRequest": insert_table_rows_request +"/slides:v1/InsertTableRowsRequest/tableObjectId": table_object_id +"/slides:v1/InsertTableRowsRequest/insertBelow": insert_below +"/slides:v1/InsertTableRowsRequest/cellLocation": cell_location +"/slides:v1/InsertTableRowsRequest/number": number +"/slides:v1/UpdateVideoPropertiesRequest": update_video_properties_request +"/slides:v1/UpdateVideoPropertiesRequest/videoProperties": video_properties +"/slides:v1/UpdateVideoPropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdateVideoPropertiesRequest/fields": fields +"/slides:v1/OpaqueColor": opaque_color +"/slides:v1/OpaqueColor/rgbColor": rgb_color +"/slides:v1/OpaqueColor/themeColor": theme_color +"/slides:v1/Response": response +"/slides:v1/Response/createTable": create_table +"/slides:v1/Response/replaceAllText": replace_all_text +"/slides:v1/Response/createLine": create_line +"/slides:v1/Response/createSheetsChart": create_sheets_chart +"/slides:v1/Response/createSlide": create_slide +"/slides:v1/Response/createShape": create_shape +"/slides:v1/Response/replaceAllShapesWithImage": replace_all_shapes_with_image +"/slides:v1/Response/createVideo": create_video +"/slides:v1/Response/createImage": create_image +"/slides:v1/Response/duplicateObject": duplicate_object +"/slides:v1/LineProperties": line_properties +"/slides:v1/LineProperties/weight": weight +"/slides:v1/LineProperties/startArrow": start_arrow +"/slides:v1/LineProperties/endArrow": end_arrow +"/slides:v1/LineProperties/lineFill": line_fill +"/slides:v1/LineProperties/dashStyle": dash_style +"/slides:v1/Table": table +"/slides:v1/Table/columns": columns +"/slides:v1/Table/tableColumns": table_columns +"/slides:v1/Table/tableColumns/table_column": table_column +"/slides:v1/Table/rows": rows +"/slides:v1/Table/tableRows": table_rows +"/slides:v1/Table/tableRows/table_row": table_row +"/slides:v1/NestingLevel": nesting_level +"/slides:v1/NestingLevel/bulletStyle": bullet_style +"/slides:v1/DuplicateObjectResponse": duplicate_object_response +"/slides:v1/DuplicateObjectResponse/objectId": object_id_prop +"/slides:v1/RefreshSheetsChartRequest": refresh_sheets_chart_request +"/slides:v1/RefreshSheetsChartRequest/objectId": object_id_prop +"/slides:v1/TableCellLocation": table_cell_location +"/slides:v1/TableCellLocation/rowIndex": row_index +"/slides:v1/TableCellLocation/columnIndex": column_index +"/slides:v1/TextContent": text_content +"/slides:v1/TextContent/lists": lists +"/slides:v1/TextContent/lists/list": list +"/slides:v1/TextContent/textElements": text_elements +"/slides:v1/TextContent/textElements/text_element": text_element +"/slides:v1/PageElement": page_element +"/slides:v1/PageElement/description": description +"/slides:v1/PageElement/title": title +"/slides:v1/PageElement/transform": transform +"/slides:v1/PageElement/video": video +"/slides:v1/PageElement/sheetsChart": sheets_chart +"/slides:v1/PageElement/line": line +"/slides:v1/PageElement/table": table +"/slides:v1/PageElement/wordArt": word_art +"/slides:v1/PageElement/shape": shape +"/slides:v1/PageElement/elementGroup": element_group +"/slides:v1/PageElement/image": image +"/slides:v1/PageElement/objectId": object_id_prop +"/slides:v1/PageElement/size": size +"/slides:v1/UpdatePagePropertiesRequest": update_page_properties_request +"/slides:v1/UpdatePagePropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdatePagePropertiesRequest/fields": fields +"/slides:v1/UpdatePagePropertiesRequest/pageProperties": page_properties +"/slides:v1/UpdateTableCellPropertiesRequest": update_table_cell_properties_request +"/slides:v1/UpdateTableCellPropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdateTableCellPropertiesRequest/tableRange": table_range +"/slides:v1/UpdateTableCellPropertiesRequest/fields": fields +"/slides:v1/UpdateTableCellPropertiesRequest/tableCellProperties": table_cell_properties +"/slides:v1/BatchUpdatePresentationRequest": batch_update_presentation_request +"/slides:v1/BatchUpdatePresentationRequest/requests": requests +"/slides:v1/BatchUpdatePresentationRequest/requests/request": request +"/slides:v1/Dimension": dimension +"/slides:v1/Dimension/unit": unit +"/slides:v1/Dimension/magnitude": magnitude +"/slides:v1/Placeholder": placeholder +"/slides:v1/Placeholder/index": index +"/slides:v1/Placeholder/type": type +"/slides:v1/Placeholder/parentObjectId": parent_object_id +"/slides:v1/CreateSheetsChartRequest": create_sheets_chart_request +"/slides:v1/CreateSheetsChartRequest/chartId": chart_id +"/slides:v1/CreateSheetsChartRequest/objectId": object_id_prop +"/slides:v1/CreateSheetsChartRequest/spreadsheetId": spreadsheet_id +"/slides:v1/CreateSheetsChartRequest/elementProperties": element_properties +"/slides:v1/CreateSheetsChartRequest/linkingMode": linking_mode +"/slides:v1/DeleteTableRowRequest": delete_table_row_request +"/slides:v1/DeleteTableRowRequest/tableObjectId": table_object_id +"/slides:v1/DeleteTableRowRequest/cellLocation": cell_location +"/slides:v1/Video": video +"/slides:v1/Video/url": url +"/slides:v1/Video/videoProperties": video_properties +"/slides:v1/Video/source": source +"/slides:v1/Video/id": id +"/slides:v1/Link": link +"/slides:v1/Link/url": url +"/slides:v1/Link/relativeLink": relative_link +"/slides:v1/Link/slideIndex": slide_index +"/slides:v1/Link/pageObjectId": page_object_id +"/slides:v1/PageBackgroundFill": page_background_fill +"/slides:v1/PageBackgroundFill/stretchedPictureFill": stretched_picture_fill +"/slides:v1/PageBackgroundFill/propertyState": property_state +"/slides:v1/PageBackgroundFill/solidFill": solid_fill +"/slides:v1/ColorStop": color_stop +"/slides:v1/ColorStop/color": color +"/slides:v1/ColorStop/position": position +"/slides:v1/ColorStop/alpha": alpha +"/slides:v1/ThemeColorPair": theme_color_pair +"/slides:v1/ThemeColorPair/color": color +"/slides:v1/ThemeColorPair/type": type +"/slides:v1/ReplaceAllShapesWithImageRequest": replace_all_shapes_with_image_request +"/slides:v1/ReplaceAllShapesWithImageRequest/replaceMethod": replace_method +"/slides:v1/ReplaceAllShapesWithImageRequest/containsText": contains_text +"/slides:v1/ReplaceAllShapesWithImageRequest/imageUrl": image_url +"/slides:v1/DeleteObjectRequest": delete_object_request +"/slides:v1/DeleteObjectRequest/objectId": object_id_prop +"/slides:v1/CreateImageResponse": create_image_response +"/slides:v1/CreateImageResponse/objectId": object_id_prop +"/slides:v1/Recolor": recolor +"/slides:v1/Recolor/recolorStops": recolor_stops +"/slides:v1/Recolor/recolorStops/recolor_stop": recolor_stop +"/slides:v1/TextStyle": text_style +"/slides:v1/TextStyle/bold": bold +"/slides:v1/TextStyle/italic": italic +"/slides:v1/TextStyle/baselineOffset": baseline_offset +"/slides:v1/TextStyle/foregroundColor": foreground_color +"/slides:v1/TextStyle/fontFamily": font_family +"/slides:v1/TextStyle/strikethrough": strikethrough +"/slides:v1/TextStyle/link": link +"/slides:v1/TextStyle/smallCaps": small_caps +"/slides:v1/TextStyle/backgroundColor": background_color +"/slides:v1/TextStyle/fontSize": font_size +"/slides:v1/TextStyle/underline": underline +"/slides:v1/TableCellBackgroundFill": table_cell_background_fill +"/slides:v1/TableCellBackgroundFill/propertyState": property_state +"/slides:v1/TableCellBackgroundFill/solidFill": solid_fill +"/slides:v1/SolidFill": solid_fill +"/slides:v1/SolidFill/color": color +"/slides:v1/SolidFill/alpha": alpha +"/slides:v1/DuplicateObjectRequest": duplicate_object_request +"/slides:v1/DuplicateObjectRequest/objectId": object_id_prop +"/slides:v1/DuplicateObjectRequest/objectIds": object_ids +"/slides:v1/DuplicateObjectRequest/objectIds/object_id": object_id_prop +"/slides:v1/SheetsChart": sheets_chart +"/slides:v1/SheetsChart/chartId": chart_id +"/slides:v1/SheetsChart/spreadsheetId": spreadsheet_id +"/slides:v1/SheetsChart/sheetsChartProperties": sheets_chart_properties +"/slides:v1/SheetsChart/contentUrl": content_url +"/slides:v1/PageProperties": page_properties +"/slides:v1/PageProperties/pageBackgroundFill": page_background_fill +"/slides:v1/PageProperties/colorScheme": color_scheme +"/slides:v1/Shadow": shadow +"/slides:v1/Shadow/alignment": alignment +"/slides:v1/Shadow/rotateWithShape": rotate_with_shape +"/slides:v1/Shadow/transform": transform +"/slides:v1/Shadow/color": color +"/slides:v1/Shadow/blurRadius": blur_radius +"/slides:v1/Shadow/propertyState": property_state +"/slides:v1/Shadow/alpha": alpha +"/slides:v1/Shadow/type": type +"/slides:v1/LayoutReference": layout_reference +"/slides:v1/LayoutReference/predefinedLayout": predefined_layout +"/slides:v1/LayoutReference/layoutId": layout_id +"/slides:v1/CreateSheetsChartResponse": create_sheets_chart_response +"/slides:v1/CreateSheetsChartResponse/objectId": object_id_prop +"/slides:v1/ReplaceAllTextResponse": replace_all_text_response +"/slides:v1/ReplaceAllTextResponse/occurrencesChanged": occurrences_changed +"/slides:v1/LayoutProperties": layout_properties +"/slides:v1/LayoutProperties/displayName": display_name +"/slides:v1/LayoutProperties/masterObjectId": master_object_id +"/slides:v1/LayoutProperties/name": name +"/slides:v1/InsertTableColumnsRequest": insert_table_columns_request +"/slides:v1/InsertTableColumnsRequest/tableObjectId": table_object_id +"/slides:v1/InsertTableColumnsRequest/insertRight": insert_right +"/slides:v1/InsertTableColumnsRequest/cellLocation": cell_location +"/slides:v1/InsertTableColumnsRequest/number": number +"/slides:v1/DeleteTableColumnRequest": delete_table_column_request +"/slides:v1/DeleteTableColumnRequest/tableObjectId": table_object_id +"/slides:v1/DeleteTableColumnRequest/cellLocation": cell_location +"/slides:v1/TableRow": table_row +"/slides:v1/TableRow/rowHeight": row_height +"/slides:v1/TableRow/tableCells": table_cells +"/slides:v1/TableRow/tableCells/table_cell": table_cell +"/slides:v1/AffineTransform": affine_transform +"/slides:v1/AffineTransform/unit": unit +"/slides:v1/AffineTransform/shearY": shear_y +"/slides:v1/AffineTransform/translateX": translate_x +"/slides:v1/AffineTransform/shearX": shear_x +"/slides:v1/AffineTransform/scaleY": scale_y +"/slides:v1/AffineTransform/scaleX": scale_x +"/slides:v1/AffineTransform/translateY": translate_y +"/slides:v1/CreateShapeRequest": create_shape_request +"/slides:v1/CreateShapeRequest/objectId": object_id_prop +"/slides:v1/CreateShapeRequest/shapeType": shape_type +"/slides:v1/CreateShapeRequest/elementProperties": element_properties +"/slides:v1/ShapeBackgroundFill": shape_background_fill +"/slides:v1/ShapeBackgroundFill/propertyState": property_state +"/slides:v1/ShapeBackgroundFill/solidFill": solid_fill +"/slides:v1/Line": line +"/slides:v1/Line/lineProperties": line_properties +"/slides:v1/Line/lineType": line_type +"/slides:v1/SheetsChartProperties": sheets_chart_properties +"/slides:v1/SheetsChartProperties/chartImageProperties": chart_image_properties +"/slides:v1/AutoText": auto_text +"/slides:v1/AutoText/style": style +"/slides:v1/AutoText/type": type +"/slides:v1/TextElement": text_element +"/slides:v1/TextElement/endIndex": end_index +"/slides:v1/TextElement/textRun": text_run +"/slides:v1/TextElement/startIndex": start_index +"/slides:v1/TextElement/paragraphMarker": paragraph_marker +"/slides:v1/TextElement/autoText": auto_text +"/slides:v1/UpdateSlidesPositionRequest": update_slides_position_request +"/slides:v1/UpdateSlidesPositionRequest/insertionIndex": insertion_index +"/slides:v1/UpdateSlidesPositionRequest/slideObjectIds": slide_object_ids +"/slides:v1/UpdateSlidesPositionRequest/slideObjectIds/slide_object_id": slide_object_id +"/slides:v1/ReplaceAllTextRequest": replace_all_text_request +"/slides:v1/ReplaceAllTextRequest/containsText": contains_text +"/slides:v1/ReplaceAllTextRequest/replaceText": replace_text +"/slides:v1/ShapeProperties": shape_properties +"/slides:v1/ShapeProperties/outline": outline +"/slides:v1/ShapeProperties/shapeBackgroundFill": shape_background_fill +"/slides:v1/ShapeProperties/shadow": shadow +"/slides:v1/CreateShapeResponse": create_shape_response +"/slides:v1/CreateShapeResponse/objectId": object_id_prop +"/slides:v1/CreateSlideResponse": create_slide_response +"/slides:v1/CreateSlideResponse/objectId": object_id_prop +"/slides:v1/UpdateImagePropertiesRequest": update_image_properties_request +"/slides:v1/UpdateImagePropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdateImagePropertiesRequest/fields": fields +"/slides:v1/UpdateImagePropertiesRequest/imageProperties": image_properties +"/slides:v1/CreateVideoRequest": create_video_request +"/slides:v1/CreateVideoRequest/objectId": object_id_prop +"/slides:v1/CreateVideoRequest/source": source +"/slides:v1/CreateVideoRequest/elementProperties": element_properties +"/slides:v1/CreateVideoRequest/id": id +"/slides:v1/CreateTableRequest": create_table_request +"/slides:v1/CreateTableRequest/columns": columns +"/slides:v1/CreateTableRequest/objectId": object_id_prop +"/slides:v1/CreateTableRequest/rows": rows +"/slides:v1/CreateTableRequest/elementProperties": element_properties +"/slides:v1/OptionalColor": optional_color +"/slides:v1/OptionalColor/opaqueColor": opaque_color +"/slides:v1/TextRun": text_run +"/slides:v1/TextRun/style": style +"/slides:v1/TextRun/content": content +"/slides:v1/Shape": shape +"/slides:v1/Shape/text": text +"/slides:v1/Shape/shapeProperties": shape_properties +"/slides:v1/Shape/shapeType": shape_type +"/slides:v1/Shape/placeholder": placeholder +"/slides:v1/BatchUpdatePresentationResponse": batch_update_presentation_response +"/slides:v1/BatchUpdatePresentationResponse/presentationId": presentation_id +"/slides:v1/BatchUpdatePresentationResponse/replies": replies +"/slides:v1/BatchUpdatePresentationResponse/replies/reply": reply +"/slides:v1/ImageProperties": image_properties +"/slides:v1/ImageProperties/cropProperties": crop_properties +"/slides:v1/ImageProperties/outline": outline +"/slides:v1/ImageProperties/shadow": shadow +"/slides:v1/ImageProperties/transparency": transparency +"/slides:v1/ImageProperties/contrast": contrast +"/slides:v1/ImageProperties/recolor": recolor +"/slides:v1/ImageProperties/brightness": brightness +"/slides:v1/Group": group +"/slides:v1/Group/children": children +"/slides:v1/Group/children/child": child +"/slides:v1/Outline": outline +"/slides:v1/Outline/weight": weight +"/slides:v1/Outline/dashStyle": dash_style +"/slides:v1/Outline/propertyState": property_state +"/slides:v1/Outline/outlineFill": outline_fill +"/slides:v1/TableCell": table_cell +"/slides:v1/TableCell/text": text +"/slides:v1/TableCell/location": location +"/slides:v1/TableCell/rowSpan": row_span +"/slides:v1/TableCell/tableCellProperties": table_cell_properties +"/slides:v1/TableCell/columnSpan": column_span +"/slides:v1/ReplaceAllShapesWithImageResponse": replace_all_shapes_with_image_response +"/slides:v1/ReplaceAllShapesWithImageResponse/occurrencesChanged": occurrences_changed +"/slides:v1/CreateSlideRequest": create_slide_request +"/slides:v1/CreateSlideRequest/objectId": object_id_prop +"/slides:v1/CreateSlideRequest/insertionIndex": insertion_index +"/slides:v1/CreateSlideRequest/slideLayoutReference": slide_layout_reference +"/slides:v1/TableCellProperties": table_cell_properties +"/slides:v1/TableCellProperties/tableCellBackgroundFill": table_cell_background_fill +"/slides:v1/CreateTableResponse": create_table_response +"/slides:v1/CreateTableResponse/objectId": object_id_prop +"/slides:v1/Size": size +"/slides:v1/Size/width": width +"/slides:v1/Size/height": height +"/slides:v1/ColorScheme": color_scheme +"/slides:v1/ColorScheme/colors": colors +"/slides:v1/ColorScheme/colors/color": color +"/slides:v1/ParagraphMarker": paragraph_marker +"/slides:v1/ParagraphMarker/style": style +"/slides:v1/ParagraphMarker/bullet": bullet +"/slides:v1/CreateParagraphBulletsRequest": create_paragraph_bullets_request +"/slides:v1/CreateParagraphBulletsRequest/objectId": object_id_prop +"/slides:v1/CreateParagraphBulletsRequest/textRange": text_range +"/slides:v1/CreateParagraphBulletsRequest/bulletPreset": bullet_preset +"/slides:v1/CreateParagraphBulletsRequest/cellLocation": cell_location +"/slides:v1/SubstringMatchCriteria": substring_match_criteria +"/slides:v1/SubstringMatchCriteria/text": text +"/slides:v1/SubstringMatchCriteria/matchCase": match_case +"/slides:v1/Range": range +"/slides:v1/Range/endIndex": end_index +"/slides:v1/Range/startIndex": start_index +"/slides:v1/Range/type": type +"/slides:v1/WordArt": word_art +"/slides:v1/WordArt/renderedText": rendered_text +"/slides:v1/TableColumnProperties": table_column_properties +"/slides:v1/TableColumnProperties/columnWidth": column_width +"/slides:v1/Request": request +"/slides:v1/Request/createParagraphBullets": create_paragraph_bullets +"/slides:v1/Request/insertTableColumns": insert_table_columns +"/slides:v1/Request/createTable": create_table +"/slides:v1/Request/deleteText": delete_text +"/slides:v1/Request/replaceAllText": replace_all_text +"/slides:v1/Request/updateVideoProperties": update_video_properties +"/slides:v1/Request/insertText": insert_text +"/slides:v1/Request/deleteTableRow": delete_table_row +"/slides:v1/Request/updateTextStyle": update_text_style +"/slides:v1/Request/insertTableRows": insert_table_rows +"/slides:v1/Request/updateTableCellProperties": update_table_cell_properties +"/slides:v1/Request/refreshSheetsChart": refresh_sheets_chart +"/slides:v1/Request/createSheetsChart": create_sheets_chart +"/slides:v1/Request/updatePageProperties": update_page_properties +"/slides:v1/Request/updateShapeProperties": update_shape_properties +"/slides:v1/Request/createSlide": create_slide +"/slides:v1/Request/deleteObject": delete_object +"/slides:v1/Request/createShape": create_shape +"/slides:v1/Request/updatePageElementTransform": update_page_element_transform +"/slides:v1/Request/updateSlidesPosition": update_slides_position +"/slides:v1/Request/replaceAllShapesWithImage": replace_all_shapes_with_image +"/slides:v1/Request/updateImageProperties": update_image_properties +"/slides:v1/Request/createVideo": create_video +"/slides:v1/Request/createImage": create_image +"/slides:v1/Request/duplicateObject": duplicate_object +"/slides:v1/Request/deleteTableColumn": delete_table_column +"/slides:v1/LineFill": line_fill +"/slides:v1/LineFill/solidFill": solid_fill +"/slides:v1/OutlineFill": outline_fill +"/slides:v1/OutlineFill/solidFill": solid_fill +"/slides:v1/Bullet": bullet +"/slides:v1/Bullet/nestingLevel": nesting_level +"/slides:v1/Bullet/glyph": glyph +"/slides:v1/Bullet/bulletStyle": bullet_style +"/slides:v1/Bullet/listId": list_id "/speech:v1beta1/key": key "/speech:v1beta1/quotaUser": quota_user "/speech:v1beta1/fields": fields @@ -28690,10 +29447,10 @@ "/speech:v1beta1/speech.operations.list/filter": filter "/speech:v1beta1/speech.operations.list/name": name "/speech:v1beta1/speech.operations.list/pageToken": page_token -"/speech:v1beta1/speech.operations.cancel": cancel_operation -"/speech:v1beta1/speech.operations.cancel/name": name "/speech:v1beta1/speech.operations.delete": delete_operation "/speech:v1beta1/speech.operations.delete/name": name +"/speech:v1beta1/speech.operations.cancel": cancel_operation +"/speech:v1beta1/speech.operations.cancel/name": name "/speech:v1beta1/Status": status "/speech:v1beta1/Status/code": code "/speech:v1beta1/Status/details": details @@ -30576,6 +31333,7 @@ "/youtube:v3/youtube.liveStreams.update/part": part "/youtube:v3/youtube.playlistItems.delete": delete_playlist_item "/youtube:v3/youtube.playlistItems.delete/id": id +"/youtube:v3/youtube.playlistItems.delete/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtube:v3/youtube.playlistItems.insert": insert_playlist_item "/youtube:v3/youtube.playlistItems.insert/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtube:v3/youtube.playlistItems.insert/part": part @@ -30588,6 +31346,7 @@ "/youtube:v3/youtube.playlistItems.list/playlistId": playlist_id "/youtube:v3/youtube.playlistItems.list/videoId": video_id "/youtube:v3/youtube.playlistItems.update": update_playlist_item +"/youtube:v3/youtube.playlistItems.update/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtube:v3/youtube.playlistItems.update/part": part "/youtube:v3/youtube.playlists.delete": delete_playlist "/youtube:v3/youtube.playlists.delete/id": id @@ -30692,7 +31451,9 @@ "/youtube:v3/youtube.videos.list/hl": hl "/youtube:v3/youtube.videos.list/id": id "/youtube:v3/youtube.videos.list/locale": locale +"/youtube:v3/youtube.videos.list/maxHeight": max_height "/youtube:v3/youtube.videos.list/maxResults": max_results +"/youtube:v3/youtube.videos.list/maxWidth": max_width "/youtube:v3/youtube.videos.list/myRating": my_rating "/youtube:v3/youtube.videos.list/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtube:v3/youtube.videos.list/pageToken": page_token @@ -30858,7 +31619,6 @@ "/youtube:v3/ChannelBrandingSettings/image": image "/youtube:v3/ChannelBrandingSettings/watch": watch "/youtube:v3/ChannelContentDetails": channel_content_details -"/youtube:v3/ChannelContentDetails/googlePlusUserId": google_plus_user_id "/youtube:v3/ChannelContentDetails/relatedPlaylists": related_playlists "/youtube:v3/ChannelContentDetails/relatedPlaylists/favorites": favorites "/youtube:v3/ChannelContentDetails/relatedPlaylists/likes": likes @@ -30985,7 +31745,6 @@ "/youtube:v3/CommentSnippet/authorChannelId": author_channel_id "/youtube:v3/CommentSnippet/authorChannelUrl": author_channel_url "/youtube:v3/CommentSnippet/authorDisplayName": author_display_name -"/youtube:v3/CommentSnippet/authorGoogleplusProfileUrl": author_googleplus_profile_url "/youtube:v3/CommentSnippet/authorProfileImageUrl": author_profile_image_url "/youtube:v3/CommentSnippet/canRate": can_rate "/youtube:v3/CommentSnippet/channelId": channel_id @@ -31696,6 +32455,7 @@ "/youtube:v3/VideoContentDetails/definition": definition "/youtube:v3/VideoContentDetails/dimension": dimension "/youtube:v3/VideoContentDetails/duration": duration +"/youtube:v3/VideoContentDetails/hasCustomThumbnail": has_custom_thumbnail "/youtube:v3/VideoContentDetails/licensedContent": licensed_content "/youtube:v3/VideoContentDetails/projection": projection "/youtube:v3/VideoContentDetails/regionRestriction": region_restriction @@ -31714,7 +32474,6 @@ "/youtube:v3/VideoFileDetails/fileName": file_name "/youtube:v3/VideoFileDetails/fileSize": file_size "/youtube:v3/VideoFileDetails/fileType": file_type -"/youtube:v3/VideoFileDetails/recordingLocation": recording_location "/youtube:v3/VideoFileDetails/videoStreams": video_streams "/youtube:v3/VideoFileDetails/videoStreams/video_stream": video_stream "/youtube:v3/VideoFileDetailsAudioStream": video_file_details_audio_stream @@ -31760,7 +32519,9 @@ "/youtube:v3/VideoMonetizationDetails": video_monetization_details "/youtube:v3/VideoMonetizationDetails/access": access "/youtube:v3/VideoPlayer": video_player +"/youtube:v3/VideoPlayer/embedHeight": embed_height "/youtube:v3/VideoPlayer/embedHtml": embed_html +"/youtube:v3/VideoPlayer/embedWidth": embed_width "/youtube:v3/VideoProcessingDetails": video_processing_details "/youtube:v3/VideoProcessingDetails/editorSuggestionsAvailability": editor_suggestions_availability "/youtube:v3/VideoProcessingDetails/fileDetailsAvailability": file_details_availability diff --git a/generated/google/apis/adexchangebuyer2_v2beta1.rb b/generated/google/apis/adexchangebuyer2_v2beta1.rb index 9eaeb6f82..e01bba400 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/ module Adexchangebuyer2V2beta1 VERSION = 'V2beta1' - REVISION = '20161019' + REVISION = '20161107' # Manage your Ad Exchange buyer account configuration AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' diff --git a/generated/google/apis/adexchangebuyer_v1_4.rb b/generated/google/apis/adexchangebuyer_v1_4.rb index 913152273..c3306edb8 100644 --- a/generated/google/apis/adexchangebuyer_v1_4.rb +++ b/generated/google/apis/adexchangebuyer_v1_4.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/ad-exchange/buyer-rest module AdexchangebuyerV1_4 VERSION = 'V1_4' - REVISION = '20161006' + REVISION = '20161020' # Manage your Ad Exchange buyer account configuration AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' diff --git a/generated/google/apis/adexchangebuyer_v1_4/classes.rb b/generated/google/apis/adexchangebuyer_v1_4/classes.rb index f94bd7367..abc0315d0 100644 --- a/generated/google/apis/adexchangebuyer_v1_4/classes.rb +++ b/generated/google/apis/adexchangebuyer_v1_4/classes.rb @@ -93,11 +93,12 @@ module Google # The protocol that the bidder endpoint is using. By default, OpenRTB protocols # use JSON, except PROTOCOL_OPENRTB_PROTOBUF. PROTOCOL_OPENRTB_PROTOBUF uses - # protobuf encoding over the latest OpenRTB protocol version, which is 2.3 right + # protobuf encoding over the latest OpenRTB protocol version, which is 2.4 right # now. Allowed values: # - PROTOCOL_ADX # - PROTOCOL_OPENRTB_2_2 # - PROTOCOL_OPENRTB_2_3 + # - PROTOCOL_OPENRTB_2_4 # - PROTOCOL_OPENRTB_PROTOBUF # Corresponds to the JSON property `bidProtocol` # @return [String] @@ -620,7 +621,7 @@ module Google attr_accessor :version # The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not - # be set. Note, this is diffrent from resource.native_ad.video_url above. + # be set. Note, this is different from resource.native_ad.video_url above. # Corresponds to the JSON property `videoURL` # @return [String] attr_accessor :video_url @@ -816,6 +817,11 @@ module Google # @return [String] attr_accessor :call_to_action + # The URL that the browser/SDK will load when the user clicks the ad. + # Corresponds to the JSON property `clickLinkUrl` + # @return [String] + attr_accessor :click_link_url + # The URL to use for click tracking. # Corresponds to the JSON property `clickTrackingUrl` # @return [String] @@ -856,7 +862,8 @@ module Google # @return [String] attr_accessor :store - # + # The URL of the XML VAST for a native ad. Note this is a separate field from + # resource.video_url. # Corresponds to the JSON property `videoURL` # @return [String] attr_accessor :video_url @@ -871,6 +878,7 @@ module Google @app_icon = args[:app_icon] if args.key?(:app_icon) @body = args[:body] if args.key?(:body) @call_to_action = args[:call_to_action] if args.key?(:call_to_action) + @click_link_url = args[:click_link_url] if args.key?(:click_link_url) @click_tracking_url = args[:click_tracking_url] if args.key?(:click_tracking_url) @headline = args[:headline] if args.key?(:headline) @image = args[:image] if args.key?(:image) @@ -2427,6 +2435,14 @@ module Google # @return [Array] attr_accessor :supported_creative_attributes + # Requests containing the specified type of user data will match. Possible + # values are HOSTED_MATCH_DATA, which means the request is cookie-targetable and + # has a match in the buyer's hosted match table, and COOKIE_OR_IDFA, which means + # the request has either a targetable cookie or an iOS IDFA. + # Corresponds to the JSON property `userIdentifierDataRequired` + # @return [Array] + attr_accessor :user_identifier_data_required + # Requests containing any of these user list ids will match. # Corresponds to the JSON property `userLists` # @return [Array] @@ -2474,6 +2490,7 @@ module Google @placements = args[:placements] if args.key?(:placements) @platforms = args[:platforms] if args.key?(:platforms) @supported_creative_attributes = args[:supported_creative_attributes] if args.key?(:supported_creative_attributes) + @user_identifier_data_required = args[:user_identifier_data_required] if args.key?(:user_identifier_data_required) @user_lists = args[:user_lists] if args.key?(:user_lists) @vendor_types = args[:vendor_types] if args.key?(:vendor_types) @verticals = args[:verticals] if args.key?(:verticals) diff --git a/generated/google/apis/adexchangebuyer_v1_4/representations.rb b/generated/google/apis/adexchangebuyer_v1_4/representations.rb index 664b9f62d..05bd96d38 100644 --- a/generated/google/apis/adexchangebuyer_v1_4/representations.rb +++ b/generated/google/apis/adexchangebuyer_v1_4/representations.rb @@ -699,6 +699,7 @@ module Google property :body, as: 'body' property :call_to_action, as: 'callToAction' + property :click_link_url, as: 'clickLinkUrl' property :click_tracking_url, as: 'clickTrackingUrl' property :headline, as: 'headline' property :image, as: 'image', class: Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::Image, decorator: Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::Image::Representation @@ -1139,6 +1140,7 @@ module Google collection :platforms, as: 'platforms' collection :supported_creative_attributes, as: 'supportedCreativeAttributes' + collection :user_identifier_data_required, as: 'userIdentifierDataRequired' collection :user_lists, as: 'userLists' collection :vendor_types, as: 'vendorTypes' collection :verticals, as: 'verticals' diff --git a/generated/google/apis/admin_directory_v1.rb b/generated/google/apis/admin_directory_v1.rb index a4160a9ed..58bc35ce0 100644 --- a/generated/google/apis/admin_directory_v1.rb +++ b/generated/google/apis/admin_directory_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/admin-sdk/directory/ module AdminDirectoryV1 VERSION = 'DirectoryV1' - REVISION = '20161003' + REVISION = '20161020' # View and manage customer related information AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer' diff --git a/generated/google/apis/adsense_v1_4.rb b/generated/google/apis/adsense_v1_4.rb index 540926638..152b1fece 100644 --- a/generated/google/apis/adsense_v1_4.rb +++ b/generated/google/apis/adsense_v1_4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/adsense/management/ module AdsenseV1_4 VERSION = 'V1_4' - REVISION = '20161019' + REVISION = '20161107' # View and manage your AdSense data AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense' diff --git a/generated/google/apis/adsense_v1_4/classes.rb b/generated/google/apis/adsense_v1_4/classes.rb index 6c3f286e7..6cb60a5fc 100644 --- a/generated/google/apis/adsense_v1_4/classes.rb +++ b/generated/google/apis/adsense_v1_4/classes.rb @@ -236,7 +236,7 @@ module Google # @return [Google::Apis::AdsenseV1_4::AdStyle::Colors] attr_accessor :colors - # The style of the corners in the ad. + # The style of the corners in the ad (deprecated: never populated, ignored). # Corresponds to the JSON property `corners` # @return [String] attr_accessor :corners diff --git a/generated/google/apis/adsensehost_v4_1.rb b/generated/google/apis/adsensehost_v4_1.rb index 7ce65aeda..c45745620 100644 --- a/generated/google/apis/adsensehost_v4_1.rb +++ b/generated/google/apis/adsensehost_v4_1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/adsense/host/ module AdsensehostV4_1 VERSION = 'V4_1' - REVISION = '20161019' + REVISION = '20161107' # View and manage your AdSense host data and associated accounts AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost' diff --git a/generated/google/apis/adsensehost_v4_1/classes.rb b/generated/google/apis/adsensehost_v4_1/classes.rb index a3205a287..118419279 100644 --- a/generated/google/apis/adsensehost_v4_1/classes.rb +++ b/generated/google/apis/adsensehost_v4_1/classes.rb @@ -209,8 +209,7 @@ module Google # @return [Google::Apis::AdsensehostV4_1::AdStyle::Colors] attr_accessor :colors - # The style of the corners in the ad. Possible values are SQUARE, - # SLIGHTLY_ROUNDED and VERY_ROUNDED. + # The style of the corners in the ad (deprecated: never populated, ignored). # Corresponds to the JSON property `corners` # @return [String] attr_accessor :corners diff --git a/generated/google/apis/androidenterprise_v1.rb b/generated/google/apis/androidenterprise_v1.rb index 4757a326c..680d89784 100644 --- a/generated/google/apis/androidenterprise_v1.rb +++ b/generated/google/apis/androidenterprise_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android/work/play/emm-api module AndroidenterpriseV1 VERSION = 'V1' - REVISION = '20161011' + REVISION = '20161102' # Manage corporate Android devices AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise' diff --git a/generated/google/apis/androidenterprise_v1/classes.rb b/generated/google/apis/androidenterprise_v1/classes.rb index a443be59b..925b092b7 100644 --- a/generated/google/apis/androidenterprise_v1/classes.rb +++ b/generated/google/apis/androidenterprise_v1/classes.rb @@ -88,7 +88,8 @@ module Google # The list of permissions the admin is granted within the iframe. The admin will # only be allowed to view an iframe if they have all of the permissions - # associated with it. + # associated with it. The only valid value is "approveApps" that will allow the + # admin to access the iframe in "approve" mode. # Corresponds to the JSON property `permission` # @return [Array] attr_accessor :permission @@ -2022,12 +2023,13 @@ module Google # @return [String] attr_accessor :kind - # Sets a store layout type. If set to "custom", "homepageId" must be specified. - # If set to "basic", the layout will consist of all approved apps accessible by - # the user, split in pages of 100 each; in this case, "homepageId" must not be - # specified. The "basic" setting takes precedence over any existing collections - # setup for this enterprise (if any). Should the enterprise use - # collectionViewers for controlling access rights, these will still be respected. + # The store layout type. By default, this value is set to "basic". If set to " + # custom", "homepageId" must be specified. If set to "basic", the layout will + # consist of all approved apps accessible by the user, split in pages of 100 + # each; in this case, "homepageId" must not be specified. The "basic" setting + # takes precedence over any existing collections setup for this enterprise (if + # any). Should the enterprise use collectionViewers for controlling access + # rights, these will still be respected. # Corresponds to the JSON property `storeLayoutType` # @return [String] attr_accessor :store_layout_type diff --git a/generated/google/apis/androidenterprise_v1/service.rb b/generated/google/apis/androidenterprise_v1/service.rb index 3bdc5fd8f..adaff0775 100644 --- a/generated/google/apis/androidenterprise_v1/service.rb +++ b/generated/google/apis/androidenterprise_v1/service.rb @@ -1226,7 +1226,13 @@ module Google execute_or_queue_command(command, &block) end - # Sets the store layout for the enterprise. + # Sets the store layout for the enterprise. By default, storeLayoutType is set + # to "basic" and the basic store layout is enabled. The basic layout only + # contains apps approved by the administrator, and that have been added to the + # available product set for a user (using the setAvailableProductSet call). + # Apps on the page are sorted in order of their product ID value. If you create + # a custom store layout (by setting storeLayoutType = "custom"), the basic store + # layout is disabled. # @param [String] enterprise_id # The ID of the enterprise. # @param [Google::Apis::AndroidenterpriseV1::StoreLayout] store_layout_object diff --git a/generated/google/apis/appengine_v1beta5.rb b/generated/google/apis/appengine_v1beta5.rb index 081a56694..cf069d1ed 100644 --- a/generated/google/apis/appengine_v1beta5.rb +++ b/generated/google/apis/appengine_v1beta5.rb @@ -25,10 +25,16 @@ module Google # @see https://cloud.google.com/appengine/docs/admin-api/ module AppengineV1beta5 VERSION = 'V1beta5' - REVISION = '20161012' + REVISION = '20161101' + + # View and manage your applications deployed on Google App Engine + AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # View your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' end end end diff --git a/generated/google/apis/appengine_v1beta5/classes.rb b/generated/google/apis/appengine_v1beta5/classes.rb index 561a86579..931fa4ad0 100644 --- a/generated/google/apis/appengine_v1beta5/classes.rb +++ b/generated/google/apis/appengine_v1beta5/classes.rb @@ -22,6 +22,31 @@ module Google module Apis module AppengineV1beta5 + # The response message for Operations.ListOperations. + class ListOperationsResponse + include Google::Apis::Core::Hashable + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + # The standard List next-page token. + # 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) + @operations = args[:operations] if args.key?(:operations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # This resource represents a long-running operation that is the result of a # network API call. class Operation @@ -175,31 +200,6 @@ module Google end end - # The response message for Operations.ListOperations. - class ListOperationsResponse - include Google::Apis::Core::Hashable - - # A list of operations that matches the specified filter in the request. - # Corresponds to the JSON property `operations` - # @return [Array] - attr_accessor :operations - - # The standard List next-page token. - # 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) - @operations = args[:operations] if args.key?(:operations) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - # An Application resource contains the top-level configuration of an App Engine # application. class Application @@ -1519,6 +1519,12 @@ module Google attr_accessor :vm_unlocked alias_method :vm_unlocked?, :vm_unlocked + # The IP address of this instance. Only applicable for instances in App Engine + # flexible environment. @OutputOnly + # Corresponds to the JSON property `vmIp` + # @return [String] + attr_accessor :vm_ip + def initialize(**args) update!(**args) end @@ -1540,6 +1546,7 @@ module Google @memory_usage = args[:memory_usage] if args.key?(:memory_usage) @vm_status = args[:vm_status] if args.key?(:vm_status) @vm_unlocked = args[:vm_unlocked] if args.key?(:vm_unlocked) + @vm_ip = args[:vm_ip] if args.key?(:vm_ip) end end @@ -1572,12 +1579,21 @@ module Google class DebugInstanceRequest include Google::Apis::Core::Hashable + # Public SSH key to add to the instance. Example: `[USERNAME]:ssh-rsa KEY_VALUE` + # or `[USERNAME]:ssh-rsa [KEY_VALUE] google-ssh `"userName":"[USERNAME]"," + # expireOn":"[EXPIRE_TIME]"`` For more information, see [Adding and Removing SSH + # Keys](https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys) + # Corresponds to the JSON property `sshKey` + # @return [String] + attr_accessor :ssh_key + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @ssh_key = args[:ssh_key] if args.key?(:ssh_key) end end @@ -1646,6 +1662,51 @@ module Google end end + # Metadata for the given google.longrunning.Operation. + class OperationMetadataExperimental + include Google::Apis::Core::Hashable + + # API method that initiated this operation. Example: `google.appengine. + # experimental.CustomDomains.CreateCustomDomain`. @OutputOnly + # Corresponds to the JSON property `method` + # @return [String] + attr_accessor :method_prop + + # Time that this operation was created. @OutputOnly + # Corresponds to the JSON property `insertTime` + # @return [String] + attr_accessor :insert_time + + # Time that this operation completed. @OutputOnly + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # User who requested this operation. @OutputOnly + # Corresponds to the JSON property `user` + # @return [String] + attr_accessor :user + + # Name of the resource that this operation is acting on. Example: `apps/myapp/ + # customDomains/example.com`. @OutputOnly + # Corresponds to the JSON property `target` + # @return [String] + attr_accessor :target + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @method_prop = args[:method_prop] if args.key?(:method_prop) + @insert_time = args[:insert_time] if args.key?(:insert_time) + @end_time = args[:end_time] if args.key?(:end_time) + @user = args[:user] if args.key?(:user) + @target = args[:target] if args.key?(:target) + end + end + # Metadata for the given google.longrunning.Operation. class OperationMetadata include Google::Apis::Core::Hashable diff --git a/generated/google/apis/appengine_v1beta5/representations.rb b/generated/google/apis/appengine_v1beta5/representations.rb index bf084b19f..b95f0739a 100644 --- a/generated/google/apis/appengine_v1beta5/representations.rb +++ b/generated/google/apis/appengine_v1beta5/representations.rb @@ -22,6 +22,12 @@ module Google module Apis module AppengineV1beta5 + class ListOperationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Operation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -34,12 +40,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ListOperationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Application class Representation < Google::Apis::Core::JsonRepresentation; end @@ -238,6 +238,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class OperationMetadataExperimental + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class OperationMetadata class Representation < Google::Apis::Core::JsonRepresentation; end @@ -262,6 +268,15 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ListOperationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :operations, as: 'operations', class: Google::Apis::AppengineV1beta5::Operation, decorator: Google::Apis::AppengineV1beta5::Operation::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -283,15 +298,6 @@ module Google end end - class ListOperationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :operations, as: 'operations', class: Google::Apis::AppengineV1beta5::Operation, decorator: Google::Apis::AppengineV1beta5::Operation::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - class Application # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -627,6 +633,7 @@ module Google property :memory_usage, as: 'memoryUsage' property :vm_status, as: 'vmStatus' property :vm_unlocked, as: 'vmUnlocked' + property :vm_ip, as: 'vmIp' end end @@ -642,6 +649,7 @@ module Google class DebugInstanceRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :ssh_key, as: 'sshKey' end end @@ -664,6 +672,17 @@ module Google end end + class OperationMetadataExperimental + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :method_prop, as: 'method' + property :insert_time, as: 'insertTime' + property :end_time, as: 'endTime' + property :user, as: 'user' + property :target, as: 'target' + end + end + class OperationMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/appengine_v1beta5/service.rb b/generated/google/apis/appengine_v1beta5/service.rb index bfabd4650..ebe96781d 100644 --- a/generated/google/apis/appengine_v1beta5/service.rb +++ b/generated/google/apis/appengine_v1beta5/service.rb @@ -118,7 +118,7 @@ module Google execute_or_queue_command(command, &block) end - # Updates application parameters. + # Updates application fields. # @param [String] apps_id # Part of `name`. Name of the application to update. Example: `apps/myapp`. # @param [Google::Apis::AppengineV1beta5::Application] application_object @@ -154,40 +154,6 @@ module Google execute_or_queue_command(command, &block) end - # Gets the latest state of a long-running operation. Clients can use this method - # to poll the operation result at intervals as recommended by the API service. - # @param [String] apps_id - # Part of `name`. The name of the operation resource. - # @param [String] operations_id - # Part of `name`. See documentation of `appsId`. - # @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::AppengineV1beta5::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AppengineV1beta5::Operation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta5/apps/{appsId}/operations/{operationsId}', options) - command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation - command.response_class = Google::Apis::AppengineV1beta5::Operation - command.params['appsId'] = apps_id unless apps_id.nil? - command.params['operationsId'] = operations_id unless operations_id.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 operations that match the specified filter in the request. If the server # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` # binding below allows API services to override the binding to use different @@ -230,6 +196,40 @@ module Google execute_or_queue_command(command, &block) end + # Gets the latest state of a long-running operation. Clients can use this method + # to poll the operation result at intervals as recommended by the API service. + # @param [String] apps_id + # Part of `name`. The name of the operation resource. + # @param [String] operations_id + # Part of `name`. See documentation of `appsId`. + # @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::AppengineV1beta5::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AppengineV1beta5::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta5/apps/{appsId}/operations/{operationsId}', options) + command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation + command.response_class = Google::Apis::AppengineV1beta5::Operation + command.params['appsId'] = apps_id unless apps_id.nil? + command.params['operationsId'] = operations_id unless operations_id.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 the specified service and all enclosed versions. # @param [String] apps_id # Part of `name`. Name of the resource requested. Example: `apps/myapp/services/ diff --git a/generated/google/apis/appsactivity_v1.rb b/generated/google/apis/appsactivity_v1.rb index bf14fc692..f046f5ba4 100644 --- a/generated/google/apis/appsactivity_v1.rb +++ b/generated/google/apis/appsactivity_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/google-apps/activity/ module AppsactivityV1 VERSION = 'V1' - REVISION = '20161013' + REVISION = '20161101' # View the activity history of your Google Apps AUTH_ACTIVITY = 'https://www.googleapis.com/auth/activity' diff --git a/generated/google/apis/appsactivity_v1/classes.rb b/generated/google/apis/appsactivity_v1/classes.rb index 06f33c2b4..f462ff6f7 100644 --- a/generated/google/apis/appsactivity_v1/classes.rb +++ b/generated/google/apis/appsactivity_v1/classes.rb @@ -374,6 +374,12 @@ module Google attr_accessor :is_deleted alias_method :is_deleted?, :is_deleted + # Whether the user is the authenticated user. + # Corresponds to the JSON property `isMe` + # @return [Boolean] + attr_accessor :is_me + alias_method :is_me?, :is_me + # The displayable name of the user. # Corresponds to the JSON property `name` # @return [String] @@ -398,6 +404,7 @@ module Google # Update properties of this object def update!(**args) @is_deleted = args[:is_deleted] if args.key?(:is_deleted) + @is_me = args[:is_me] if args.key?(:is_me) @name = args[:name] if args.key?(:name) @permission_id = args[:permission_id] if args.key?(:permission_id) @photo = args[:photo] if args.key?(:photo) diff --git a/generated/google/apis/appsactivity_v1/representations.rb b/generated/google/apis/appsactivity_v1/representations.rb index 421e91634..66559006d 100644 --- a/generated/google/apis/appsactivity_v1/representations.rb +++ b/generated/google/apis/appsactivity_v1/representations.rb @@ -197,6 +197,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :is_deleted, as: 'isDeleted' + property :is_me, as: 'isMe' property :name, as: 'name' property :permission_id, as: 'permissionId' property :photo, as: 'photo', class: Google::Apis::AppsactivityV1::Photo, decorator: Google::Apis::AppsactivityV1::Photo::Representation diff --git a/generated/google/apis/appstate_v1.rb b/generated/google/apis/appstate_v1.rb index 9f6cabf27..865cd8f25 100644 --- a/generated/google/apis/appstate_v1.rb +++ b/generated/google/apis/appstate_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services/web/api/states module AppstateV1 VERSION = 'V1' - REVISION = '20160908' + REVISION = '20161103' # View and manage your data for this application AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate' diff --git a/generated/google/apis/bigquery_v2.rb b/generated/google/apis/bigquery_v2.rb index 7d3c1ee5f..06b53fb45 100644 --- a/generated/google/apis/bigquery_v2.rb +++ b/generated/google/apis/bigquery_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigqueryV2 VERSION = 'V2' - REVISION = '20161006' + REVISION = '20161029' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquery_v2/classes.rb b/generated/google/apis/bigquery_v2/classes.rb index 62cd77067..59884d5b1 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -1061,6 +1061,16 @@ module Google # @return [Google::Apis::BigqueryV2::JobConfigurationExtract] attr_accessor :extract + # [Experimental] The labels associated with this job. You can use these to + # organize and group your jobs. Label keys and values can be no longer than 63 + # characters, can only contain letters, numeric characters, underscores and + # dashes. International characters are allowed. Label values are optional. Label + # keys must start with a letter and must be unique within a dataset. Both keys + # and values are additionally constrained to be <= 128 bytes in size. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + # [Pick one] Configures a load job. # Corresponds to the JSON property `load` # @return [Google::Apis::BigqueryV2::JobConfigurationLoad] @@ -1080,6 +1090,7 @@ module Google @copy = args[:copy] if args.key?(:copy) @dry_run = args[:dry_run] if args.key?(:dry_run) @extract = args[:extract] if args.key?(:extract) + @labels = args[:labels] if args.key?(:labels) @load = args[:load] if args.key?(:load) @query = args[:query] if args.key?(:query) end @@ -1418,12 +1429,12 @@ module Google # @return [String] attr_accessor :query - # [Experimental] Query parameters for Standard SQL queries. + # Query parameters for standard SQL queries. # Corresponds to the JSON property `queryParameters` # @return [Array] attr_accessor :query_parameters - # [Experimental] Allows the schema of the desitination table to be updated as a + # [Experimental] Allows the schema of the destination table to be updated as a # side effect of the query job. Schema update options are supported in two cases: # when writeDisposition is WRITE_APPEND; when writeDisposition is # WRITE_TRUNCATE and the destination table is a partition of a table, specified @@ -1444,12 +1455,11 @@ module Google # @return [Hash] attr_accessor :table_definitions - # [Experimental] Specifies whether to use BigQuery's legacy SQL dialect for this - # query. The default value is true. If set to false, the query will use BigQuery' - # s standard SQL: https://cloud.google.com/bigquery/sql-reference/ When - # useLegacySql is set to false, the values of allowLargeResults and - # flattenResults are ignored; query will be run as if allowLargeResults is true - # and flattenResults is false. + # Specifies whether to use BigQuery's legacy SQL dialect for this query. The + # default value is true. If set to false, the query will use BigQuery's standard + # SQL: https://cloud.google.com/bigquery/sql-reference/ When useLegacySql is set + # to false, the values of allowLargeResults and flattenResults are ignored; + # query will be run as if allowLargeResults is true and flattenResults is false. # Corresponds to the JSON property `useLegacySql` # @return [Boolean] attr_accessor :use_legacy_sql @@ -2221,12 +2231,11 @@ module Google # @return [Fixnum] attr_accessor :timeout_ms - # [Experimental] Specifies whether to use BigQuery's legacy SQL dialect for this - # query. The default value is true. If set to false, the query will use BigQuery' - # s standard SQL: https://cloud.google.com/bigquery/sql-reference/ When - # useLegacySql is set to false, the values of allowLargeResults and - # flattenResults are ignored; query will be run as if allowLargeResults is true - # and flattenResults is false. + # Specifies whether to use BigQuery's legacy SQL dialect for this query. The + # default value is true. If set to false, the query will use BigQuery's standard + # SQL: https://cloud.google.com/bigquery/sql-reference/ When useLegacySql is set + # to false, the values of allowLargeResults and flattenResults are ignored; + # query will be run as if allowLargeResults is true and flattenResults is false. # Corresponds to the JSON property `useLegacySql` # @return [Boolean] attr_accessor :use_legacy_sql @@ -2998,10 +3007,10 @@ module Google # @return [String] attr_accessor :query - # [Experimental] Specifies whether to use BigQuery's legacy SQL for this view. - # The default value is true. If set to false, the view will use BigQuery's - # standard SQL: https://cloud.google.com/bigquery/sql-reference/ Queries and - # views that reference this view must use the same flag value. + # Specifies whether to use BigQuery's legacy SQL for this view. The default + # value is true. If set to false, the view will use BigQuery's standard SQL: + # https://cloud.google.com/bigquery/sql-reference/ Queries and views that + # reference this view must use the same flag value. # Corresponds to the JSON property `useLegacySql` # @return [Boolean] attr_accessor :use_legacy_sql diff --git a/generated/google/apis/bigquery_v2/representations.rb b/generated/google/apis/bigquery_v2/representations.rb index 85b0019f7..d2f1025b8 100644 --- a/generated/google/apis/bigquery_v2/representations.rb +++ b/generated/google/apis/bigquery_v2/representations.rb @@ -592,6 +592,7 @@ module Google property :dry_run, as: 'dryRun' property :extract, as: 'extract', class: Google::Apis::BigqueryV2::JobConfigurationExtract, decorator: Google::Apis::BigqueryV2::JobConfigurationExtract::Representation + hash :labels, as: 'labels' property :load, as: 'load', class: Google::Apis::BigqueryV2::JobConfigurationLoad, decorator: Google::Apis::BigqueryV2::JobConfigurationLoad::Representation property :query, as: 'query', class: Google::Apis::BigqueryV2::JobConfigurationQuery, decorator: Google::Apis::BigqueryV2::JobConfigurationQuery::Representation diff --git a/generated/google/apis/calendar_v3.rb b/generated/google/apis/calendar_v3.rb index 21271e719..ad6c13cd2 100644 --- a/generated/google/apis/calendar_v3.rb +++ b/generated/google/apis/calendar_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/google-apps/calendar/firstapp module CalendarV3 VERSION = 'V3' - REVISION = '20161016' + REVISION = '20161101' # Manage your calendars AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar' diff --git a/generated/google/apis/civicinfo_v2.rb b/generated/google/apis/civicinfo_v2.rb index ac34a2b4f..e5b808b3a 100644 --- a/generated/google/apis/civicinfo_v2.rb +++ b/generated/google/apis/civicinfo_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/civic-information module CivicinfoV2 VERSION = 'V2' - REVISION = '20161017' + REVISION = '20161102' end end end diff --git a/generated/google/apis/civicinfo_v2/classes.rb b/generated/google/apis/civicinfo_v2/classes.rb index 5cbef1cdc..39d54ced7 100644 --- a/generated/google/apis/civicinfo_v2/classes.rb +++ b/generated/google/apis/civicinfo_v2/classes.rb @@ -965,6 +965,206 @@ module Google end end + # + class PostalAddress + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `addressLines` + # @return [Array] + attr_accessor :address_lines + + # + # Corresponds to the JSON property `administrativeAreaName` + # @return [String] + attr_accessor :administrative_area_name + + # + # Corresponds to the JSON property `countryName` + # @return [String] + attr_accessor :country_name + + # + # Corresponds to the JSON property `countryNameCode` + # @return [String] + attr_accessor :country_name_code + + # + # Corresponds to the JSON property `dependentLocalityName` + # @return [String] + attr_accessor :dependent_locality_name + + # + # Corresponds to the JSON property `dependentThoroughfareLeadingType` + # @return [String] + attr_accessor :dependent_thoroughfare_leading_type + + # + # Corresponds to the JSON property `dependentThoroughfareName` + # @return [String] + attr_accessor :dependent_thoroughfare_name + + # + # Corresponds to the JSON property `dependentThoroughfarePostDirection` + # @return [String] + attr_accessor :dependent_thoroughfare_post_direction + + # + # Corresponds to the JSON property `dependentThoroughfarePreDirection` + # @return [String] + attr_accessor :dependent_thoroughfare_pre_direction + + # + # Corresponds to the JSON property `dependentThoroughfareTrailingType` + # @return [String] + attr_accessor :dependent_thoroughfare_trailing_type + + # + # Corresponds to the JSON property `dependentThoroughfaresConnector` + # @return [String] + attr_accessor :dependent_thoroughfares_connector + + # + # Corresponds to the JSON property `dependentThoroughfaresIndicator` + # @return [String] + attr_accessor :dependent_thoroughfares_indicator + + # + # Corresponds to the JSON property `dependentThoroughfaresType` + # @return [String] + attr_accessor :dependent_thoroughfares_type + + # + # Corresponds to the JSON property `firmName` + # @return [String] + attr_accessor :firm_name + + # + # Corresponds to the JSON property `isDisputed` + # @return [Boolean] + attr_accessor :is_disputed + alias_method :is_disputed?, :is_disputed + + # + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # + # Corresponds to the JSON property `localityName` + # @return [String] + attr_accessor :locality_name + + # + # Corresponds to the JSON property `postBoxNumber` + # @return [String] + attr_accessor :post_box_number + + # + # Corresponds to the JSON property `postalCodeNumber` + # @return [String] + attr_accessor :postal_code_number + + # + # Corresponds to the JSON property `postalCodeNumberExtension` + # @return [String] + attr_accessor :postal_code_number_extension + + # + # Corresponds to the JSON property `premiseName` + # @return [String] + attr_accessor :premise_name + + # + # Corresponds to the JSON property `recipientName` + # @return [String] + attr_accessor :recipient_name + + # + # Corresponds to the JSON property `sortingCode` + # @return [String] + attr_accessor :sorting_code + + # + # Corresponds to the JSON property `subAdministrativeAreaName` + # @return [String] + attr_accessor :sub_administrative_area_name + + # + # Corresponds to the JSON property `subPremiseName` + # @return [String] + attr_accessor :sub_premise_name + + # + # Corresponds to the JSON property `thoroughfareLeadingType` + # @return [String] + attr_accessor :thoroughfare_leading_type + + # + # Corresponds to the JSON property `thoroughfareName` + # @return [String] + attr_accessor :thoroughfare_name + + # + # Corresponds to the JSON property `thoroughfareNumber` + # @return [String] + attr_accessor :thoroughfare_number + + # + # Corresponds to the JSON property `thoroughfarePostDirection` + # @return [String] + attr_accessor :thoroughfare_post_direction + + # + # Corresponds to the JSON property `thoroughfarePreDirection` + # @return [String] + attr_accessor :thoroughfare_pre_direction + + # + # Corresponds to the JSON property `thoroughfareTrailingType` + # @return [String] + attr_accessor :thoroughfare_trailing_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @address_lines = args[:address_lines] if args.key?(:address_lines) + @administrative_area_name = args[:administrative_area_name] if args.key?(:administrative_area_name) + @country_name = args[:country_name] if args.key?(:country_name) + @country_name_code = args[:country_name_code] if args.key?(:country_name_code) + @dependent_locality_name = args[:dependent_locality_name] if args.key?(:dependent_locality_name) + @dependent_thoroughfare_leading_type = args[:dependent_thoroughfare_leading_type] if args.key?(:dependent_thoroughfare_leading_type) + @dependent_thoroughfare_name = args[:dependent_thoroughfare_name] if args.key?(:dependent_thoroughfare_name) + @dependent_thoroughfare_post_direction = args[:dependent_thoroughfare_post_direction] if args.key?(:dependent_thoroughfare_post_direction) + @dependent_thoroughfare_pre_direction = args[:dependent_thoroughfare_pre_direction] if args.key?(:dependent_thoroughfare_pre_direction) + @dependent_thoroughfare_trailing_type = args[:dependent_thoroughfare_trailing_type] if args.key?(:dependent_thoroughfare_trailing_type) + @dependent_thoroughfares_connector = args[:dependent_thoroughfares_connector] if args.key?(:dependent_thoroughfares_connector) + @dependent_thoroughfares_indicator = args[:dependent_thoroughfares_indicator] if args.key?(:dependent_thoroughfares_indicator) + @dependent_thoroughfares_type = args[:dependent_thoroughfares_type] if args.key?(:dependent_thoroughfares_type) + @firm_name = args[:firm_name] if args.key?(:firm_name) + @is_disputed = args[:is_disputed] if args.key?(:is_disputed) + @language_code = args[:language_code] if args.key?(:language_code) + @locality_name = args[:locality_name] if args.key?(:locality_name) + @post_box_number = args[:post_box_number] if args.key?(:post_box_number) + @postal_code_number = args[:postal_code_number] if args.key?(:postal_code_number) + @postal_code_number_extension = args[:postal_code_number_extension] if args.key?(:postal_code_number_extension) + @premise_name = args[:premise_name] if args.key?(:premise_name) + @recipient_name = args[:recipient_name] if args.key?(:recipient_name) + @sorting_code = args[:sorting_code] if args.key?(:sorting_code) + @sub_administrative_area_name = args[:sub_administrative_area_name] if args.key?(:sub_administrative_area_name) + @sub_premise_name = args[:sub_premise_name] if args.key?(:sub_premise_name) + @thoroughfare_leading_type = args[:thoroughfare_leading_type] if args.key?(:thoroughfare_leading_type) + @thoroughfare_name = args[:thoroughfare_name] if args.key?(:thoroughfare_name) + @thoroughfare_number = args[:thoroughfare_number] if args.key?(:thoroughfare_number) + @thoroughfare_post_direction = args[:thoroughfare_post_direction] if args.key?(:thoroughfare_post_direction) + @thoroughfare_pre_direction = args[:thoroughfare_pre_direction] if args.key?(:thoroughfare_pre_direction) + @thoroughfare_trailing_type = args[:thoroughfare_trailing_type] if args.key?(:thoroughfare_trailing_type) + end + end + # class RepresentativeInfoData include Google::Apis::Core::Hashable @@ -1154,6 +1354,11 @@ module Google # @return [Google::Apis::CivicinfoV2::ContextParams] attr_accessor :context_params + # + # Corresponds to the JSON property `voterInfoSegmentResult` + # @return [Google::Apis::CivicinfoV2::VoterInfoSegmentResult] + attr_accessor :voter_info_segment_result + def initialize(**args) update!(**args) end @@ -1161,6 +1366,7 @@ module Google # Update properties of this object def update!(**args) @context_params = args[:context_params] if args.key?(:context_params) + @voter_info_segment_result = args[:voter_info_segment_result] if args.key?(:voter_info_segment_result) end end @@ -1251,6 +1457,43 @@ module Google @state = args[:state] if args.key?(:state) end end + + # + class VoterInfoSegmentResult + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `generatedMillis` + # @return [String] + attr_accessor :generated_millis + + # + # Corresponds to the JSON property `postalAddress` + # @return [Google::Apis::CivicinfoV2::PostalAddress] + attr_accessor :postal_address + + # A request for information about a voter. + # Corresponds to the JSON property `request` + # @return [Google::Apis::CivicinfoV2::VoterInfoRequest] + attr_accessor :request + + # The result of a voter info lookup query. + # Corresponds to the JSON property `response` + # @return [Google::Apis::CivicinfoV2::VoterInfoResponse] + attr_accessor :response + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @generated_millis = args[:generated_millis] if args.key?(:generated_millis) + @postal_address = args[:postal_address] if args.key?(:postal_address) + @request = args[:request] if args.key?(:request) + @response = args[:response] if args.key?(:response) + end + end end end end diff --git a/generated/google/apis/civicinfo_v2/representations.rb b/generated/google/apis/civicinfo_v2/representations.rb index 433c78986..2f069a028 100644 --- a/generated/google/apis/civicinfo_v2/representations.rb +++ b/generated/google/apis/civicinfo_v2/representations.rb @@ -136,6 +136,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class PostalAddress + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class RepresentativeInfoData class Representation < Google::Apis::Core::JsonRepresentation; end @@ -178,6 +184,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class VoterInfoSegmentResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AdministrationRegion # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -415,6 +427,43 @@ module Google end end + class PostalAddress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :address_lines, as: 'addressLines' + property :administrative_area_name, as: 'administrativeAreaName' + property :country_name, as: 'countryName' + property :country_name_code, as: 'countryNameCode' + property :dependent_locality_name, as: 'dependentLocalityName' + property :dependent_thoroughfare_leading_type, as: 'dependentThoroughfareLeadingType' + property :dependent_thoroughfare_name, as: 'dependentThoroughfareName' + property :dependent_thoroughfare_post_direction, as: 'dependentThoroughfarePostDirection' + property :dependent_thoroughfare_pre_direction, as: 'dependentThoroughfarePreDirection' + property :dependent_thoroughfare_trailing_type, as: 'dependentThoroughfareTrailingType' + property :dependent_thoroughfares_connector, as: 'dependentThoroughfaresConnector' + property :dependent_thoroughfares_indicator, as: 'dependentThoroughfaresIndicator' + property :dependent_thoroughfares_type, as: 'dependentThoroughfaresType' + property :firm_name, as: 'firmName' + property :is_disputed, as: 'isDisputed' + property :language_code, as: 'languageCode' + property :locality_name, as: 'localityName' + property :post_box_number, as: 'postBoxNumber' + property :postal_code_number, as: 'postalCodeNumber' + property :postal_code_number_extension, as: 'postalCodeNumberExtension' + property :premise_name, as: 'premiseName' + property :recipient_name, as: 'recipientName' + property :sorting_code, as: 'sortingCode' + property :sub_administrative_area_name, as: 'subAdministrativeAreaName' + property :sub_premise_name, as: 'subPremiseName' + property :thoroughfare_leading_type, as: 'thoroughfareLeadingType' + property :thoroughfare_name, as: 'thoroughfareName' + property :thoroughfare_number, as: 'thoroughfareNumber' + property :thoroughfare_post_direction, as: 'thoroughfarePostDirection' + property :thoroughfare_pre_direction, as: 'thoroughfarePreDirection' + property :thoroughfare_trailing_type, as: 'thoroughfareTrailingType' + end + end + class RepresentativeInfoData # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -476,6 +525,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :context_params, as: 'contextParams', class: Google::Apis::CivicinfoV2::ContextParams, decorator: Google::Apis::CivicinfoV2::ContextParams::Representation + property :voter_info_segment_result, as: 'voterInfoSegmentResult', class: Google::Apis::CivicinfoV2::VoterInfoSegmentResult, decorator: Google::Apis::CivicinfoV2::VoterInfoSegmentResult::Representation + end end @@ -503,6 +554,19 @@ module Google end end + + class VoterInfoSegmentResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generated_millis, as: 'generatedMillis' + property :postal_address, as: 'postalAddress', class: Google::Apis::CivicinfoV2::PostalAddress, decorator: Google::Apis::CivicinfoV2::PostalAddress::Representation + + property :request, as: 'request', class: Google::Apis::CivicinfoV2::VoterInfoRequest, decorator: Google::Apis::CivicinfoV2::VoterInfoRequest::Representation + + property :response, as: 'response', class: Google::Apis::CivicinfoV2::VoterInfoResponse, decorator: Google::Apis::CivicinfoV2::VoterInfoResponse::Representation + + end + end end end end diff --git a/generated/google/apis/classroom_v1/service.rb b/generated/google/apis/classroom_v1/service.rb index 06e0c77bd..5a344eda8 100644 --- a/generated/google/apis/classroom_v1/service.rb +++ b/generated/google/apis/classroom_v1/service.rb @@ -43,7 +43,7 @@ module Google attr_accessor :quota_user def initialize - super('https://prod-day0-classroom.sandbox.googleapis.com/', '') + super('https://classroom.googleapis.com/', '') end # Creates a course. The user specified in `ownerId` is the owner of the created diff --git a/generated/google/apis/cloudbuild_v1.rb b/generated/google/apis/cloudbuild_v1.rb index a34dc4311..0b66e0a18 100644 --- a/generated/google/apis/cloudbuild_v1.rb +++ b/generated/google/apis/cloudbuild_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/container-builder/docs/ module CloudbuildV1 VERSION = 'V1' - REVISION = '20161020' + REVISION = '20161108' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudbuild_v1/classes.rb b/generated/google/apis/cloudbuild_v1/classes.rb index 5721cfa9d..0e637f0f8 100644 --- a/generated/google/apis/cloudbuild_v1/classes.rb +++ b/generated/google/apis/cloudbuild_v1/classes.rb @@ -582,6 +582,13 @@ module Google # @return [String] attr_accessor :start_time + # The ID of the BuildTrigger that triggered this build, if it was + # triggered automatically. + # @OutputOnly + # Corresponds to the JSON property `buildTriggerId` + # @return [String] + attr_accessor :build_trigger_id + # Google Cloud Storage bucket where logs should be written (see # [Bucket Name # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements) @@ -617,6 +624,7 @@ module Google @status_detail = args[:status_detail] if args.key?(:status_detail) @images = args[:images] if args.key?(:images) @start_time = args[:start_time] if args.key?(:start_time) + @build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id) @logs_bucket = args[:logs_bucket] if args.key?(:logs_bucket) @project_id = args[:project_id] if args.key?(:project_id) end diff --git a/generated/google/apis/cloudbuild_v1/representations.rb b/generated/google/apis/cloudbuild_v1/representations.rb index c30b8147d..bc4af534c 100644 --- a/generated/google/apis/cloudbuild_v1/representations.rb +++ b/generated/google/apis/cloudbuild_v1/representations.rb @@ -264,6 +264,7 @@ module Google property :status_detail, as: 'statusDetail' collection :images, as: 'images' property :start_time, as: 'startTime' + property :build_trigger_id, as: 'buildTriggerId' property :logs_bucket, as: 'logsBucket' property :project_id, as: 'projectId' end diff --git a/generated/google/apis/cloudmonitoring_v2beta2.rb b/generated/google/apis/cloudmonitoring_v2beta2.rb index 89e895fb1..e97ea1f5e 100644 --- a/generated/google/apis/cloudmonitoring_v2beta2.rb +++ b/generated/google/apis/cloudmonitoring_v2beta2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/monitoring/v2beta2/ module CloudmonitoringV2beta2 VERSION = 'V2beta2' - REVISION = '20160718' + REVISION = '20161031' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/compute_beta.rb b/generated/google/apis/compute_beta.rb index 7d47396f2..b2f263e62 100644 --- a/generated/google/apis/compute_beta.rb +++ b/generated/google/apis/compute_beta.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeBeta VERSION = 'Beta' - REVISION = '20161012' + REVISION = '20161019' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/compute_beta/classes.rb b/generated/google/apis/compute_beta/classes.rb index 383ecc3f4..1c06cf2b9 100644 --- a/generated/google/apis/compute_beta/classes.rb +++ b/generated/google/apis/compute_beta/classes.rb @@ -415,8 +415,12 @@ module Google attr_accessor :mode # Specifies a valid partial or full URL to an existing Persistent Disk resource. - # This field is only applicable for persistent disks. Note that for - # InstanceTemplate, it is just disk name, not URL for the disk. + # When creating a new instance, one of initializeParams.sourceImage or disks. + # source is required. + # If desired, you can also attach existing non-root persistent disks using this + # property. This field is only applicable for persistent disks. + # Note that for InstanceTemplate, specify the disk name, not the URL for the + # disk. # Corresponds to the JSON property `source` # @return [String] attr_accessor :source @@ -488,8 +492,8 @@ module Google # @return [String] attr_accessor :disk_type - # The source image used to create this disk. If the source image is deleted, - # this field will not be set. + # The source image to create this disk. When creating a new instance, one of + # initializeParams.sourceImage or disks.source is required. # To create a disk with one of the public operating system images, specify the # image by its family name. For example, specify family/debian-8 to use the # latest Debian 8 image: @@ -503,6 +507,7 @@ module Google # latest version of the image in that family. Replace the image name with family/ # family-name: # global/images/family/my-private-family + # If the source image is deleted later, this field will not be set. # Corresponds to the JSON property `sourceImage` # @return [String] attr_accessor :source_image @@ -527,6 +532,35 @@ module Google end end + # Enables "data access" audit logging for a service and specifies a list of + # members that are log-exempted. + class AuditConfig + include Google::Apis::Core::Hashable + + # Specifies the identities that are exempted from "data access" audit logging + # for the `service` specified above. Follows the same format of Binding.members. + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members + + # Specifies a service that will be enabled for "data access" audit logging. For + # example, `resourcemanager`, `storage`, `compute`. `allServices` is a special + # value that covers all services. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @service = args[:service] if args.key?(:service) + end + end + # Represents an Autoscaler resource. Autoscalers allow you to automatically # scale virtual machine instances in managed instance groups according to an # autoscaling policy that you define. For more information, read Autoscaling @@ -1092,6 +1126,117 @@ module Google end end + # A BackendBucket resource. This resource defines a Cloud Storage bucket. + class BackendBucket + include Google::Apis::Core::Hashable + + # Cloud Storage bucket name. + # Corresponds to the JSON property `bucketName` + # @return [String] + attr_accessor :bucket_name + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # An optional textual description of the resource; provided by the client when + # the resource is created. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # If true, enable Cloud CDN for this BackendBucket. + # Corresponds to the JSON property `enableCdn` + # @return [Boolean] + attr_accessor :enable_cdn + alias_method :enable_cdn?, :enable_cdn + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Type of the resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of the resource. Provided by the client when the resource is created. The + # name must be 1-63 characters long, and comply with RFC1035. Specifically, the + # name must be 1-63 characters long and match the regular expression [a-z]([-a- + # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, + # and all following characters must be a dash, lowercase letter, or digit, + # except the last character, which cannot be a dash. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # [Output Only] Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_name = args[:bucket_name] if args.key?(:bucket_name) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @description = args[:description] if args.key?(:description) + @enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # Contains a list of BackendBucket resources. + class BackendBucketList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of BackendBucket resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # Type of resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] A token used to continue a truncated list request. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + # A BackendService resource. This resource defines a group of backend virtual # machines and their serving capacity. class BackendService @@ -1459,10 +1604,55 @@ module Google end end + # Associates `members` with a `role`. + class Binding + include Google::Apis::Core::Hashable + + # Specifies the identities requesting access for a Cloud Platform resource. ` + # members` can have the following values: + # * `allUsers`: A special identifier that represents anyone who is on the + # internet; with or without a Google account. + # * `allAuthenticatedUsers`: A special identifier that represents anyone who is + # authenticated with a Google account or a service account. + # * `user:`emailid``: An email address that represents a specific Google account. + # For example, `alice@gmail.com` or `joe@example.com`. + # * `serviceAccount:`emailid``: An email address that represents a service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. + # * `group:`emailid``: An email address that represents a Google group. For + # example, `admins@example.com`. + # * `domain:`domain``: A Google Apps domain name that represents all the users + # of that domain. For example, `google.com` or `example.com`. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor` + # , or `roles/owner`. + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) + end + end + # class CacheInvalidationRule include Google::Apis::Core::Hashable + # If set, this invalidation rule will only apply to requests with a Host header + # matching host. + # Corresponds to the JSON property `host` + # @return [String] + attr_accessor :host + # # Corresponds to the JSON property `path` # @return [String] @@ -1474,10 +1664,61 @@ module Google # Update properties of this object def update!(**args) + @host = args[:host] if args.key?(:host) @path = args[:path] if args.key?(:path) end end + # A condition to be met. + class Condition + include Google::Apis::Core::Hashable + + # Trusted attributes supplied by the IAM system. + # Corresponds to the JSON property `iam` + # @return [String] + attr_accessor :iam + + # An operator to apply the subject with. + # Corresponds to the JSON property `op` + # @return [String] + attr_accessor :op + + # Trusted attributes discharged by the service. + # Corresponds to the JSON property `svc` + # @return [String] + attr_accessor :svc + + # Trusted attributes supplied by any service that owns resources and uses the + # IAM system for access control. + # Corresponds to the JSON property `sys` + # @return [String] + attr_accessor :sys + + # DEPRECATED. Use 'values' instead. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The objects of the condition. This is mutually exclusive with 'value'. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @iam = args[:iam] if args.key?(:iam) + @op = args[:op] if args.key?(:op) + @svc = args[:svc] if args.key?(:svc) + @sys = args[:sys] if args.key?(:sys) + @value = args[:value] if args.key?(:value) + @values = args[:values] if args.key?(:values) + end + end + # Message containing connection draining configuration. class ConnectionDraining include Google::Apis::Core::Hashable @@ -1568,20 +1809,23 @@ module Google class DeprecationStatus include Google::Apis::Core::Hashable - # An optional RFC3339 timestamp on or after which the deprecation state of this - # resource will be changed to DELETED. + # An optional RFC3339 timestamp on or after which the state of this resource is + # intended to change to DELETED. This is only informational and the status will + # not change unless the client explicitly changes it. # Corresponds to the JSON property `deleted` # @return [String] attr_accessor :deleted - # An optional RFC3339 timestamp on or after which the deprecation state of this - # resource will be changed to DEPRECATED. + # An optional RFC3339 timestamp on or after which the state of this resource is + # intended to change to DEPRECATED. This is only informational and the status + # will not change unless the client explicitly changes it. # Corresponds to the JSON property `deprecated` # @return [String] attr_accessor :deprecated - # An optional RFC3339 timestamp on or after which the deprecation state of this - # resource will be changed to OBSOLETE. + # An optional RFC3339 timestamp on or after which the state of this resource is + # intended to change to OBSOLETE. This is only informational and the status will + # not change unless the client explicitly changes it. # Corresponds to the JSON property `obsolete` # @return [String] attr_accessor :obsolete @@ -5723,6 +5967,50 @@ module Google end end + # Specifies what kind of log the caller must write + class LogConfig + include Google::Apis::Core::Hashable + + # Options for counters + # Corresponds to the JSON property `counter` + # @return [Google::Apis::ComputeBeta::LogConfigCounterOptions] + attr_accessor :counter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @counter = args[:counter] if args.key?(:counter) + end + end + + # Options for counters + class LogConfigCounterOptions + include Google::Apis::Core::Hashable + + # The field value to attribute. + # Corresponds to the JSON property `field` + # @return [String] + attr_accessor :field + + # The metric to update. + # Corresponds to the JSON property `metric` + # @return [String] + attr_accessor :metric + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + @metric = args[:metric] if args.key?(:metric) + end + end + # A Machine Type resource. class MachineType include Google::Apis::Core::Hashable @@ -6559,9 +6847,9 @@ module Google # @return [String] attr_accessor :target_id - # [Output Only] The URL of the resource that the operation modifies. If creating - # a persistent disk snapshot, this points to the persistent disk that the - # snapshot was created from. + # [Output Only] The URL of the resource that the operation modifies. For + # operations related to creating a snapshot, this points to the persistent disk + # that the snapshot was created from. # Corresponds to the JSON property `targetLink` # @return [String] attr_accessor :target_link @@ -6996,6 +7284,88 @@ module Google end end + # Defines an Identity and Access Management (IAM) policy. It is used to specify + # access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of ` + # members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", + # "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ + # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user: + # sean@example.com"] ` ] ` + # For a description of IAM and its features, see the [IAM developer's guide]( + # https://cloud.google.com/iam). + class Policy + include Google::Apis::Core::Hashable + + # Specifies audit logging configs for "data access". "data access": generally + # refers to data reads/writes and admin reads. "admin activity": generally + # refers to admin writes. + # Note: `AuditConfig` doesn't apply to "admin activity", which always enables + # audit logging. + # Corresponds to the JSON property `auditConfigs` + # @return [Array] + attr_accessor :audit_configs + + # Associates a list of `members` to a `role`. Multiple `bindings` must not be + # specified for the same `role`. `bindings` with no members will result in an + # error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + # `etag` is used for optimistic concurrency control as a way to help prevent + # simultaneous updates of a policy from overwriting each other. It is strongly + # suggested that systems make use of the `etag` in the read-modify-write cycle + # to perform policy updates in order to avoid race conditions: An `etag` is + # returned in the response to `getIamPolicy`, and systems are expected to put + # that etag in the request to `setIamPolicy` to ensure that their change will be + # applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # + # Corresponds to the JSON property `iamOwned` + # @return [Boolean] + attr_accessor :iam_owned + alias_method :iam_owned?, :iam_owned + + # If more than one rule is specified, the rules are applied in the following + # manner: - All matching LOG rules are always applied. - If any DENY/ + # DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if + # one or more matching rule requires logging. - Otherwise, if any ALLOW/ + # ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if + # one or more matching rule requires logging. - Otherwise, if no rule applies, + # permission is denied. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audit_configs = args[:audit_configs] if args.key?(:audit_configs) + @bindings = args[:bindings] if args.key?(:bindings) + @etag = args[:etag] if args.key?(:etag) + @iam_owned = args[:iam_owned] if args.key?(:iam_owned) + @rules = args[:rules] if args.key?(:rules) + @version = args[:version] if args.key?(:version) + end + end + # A Project resource. Projects can only be created in the Google Cloud Platform # Console. Unless marked otherwise, values can only be modified in the console. class Project @@ -8430,6 +8800,66 @@ module Google end end + # A rule to be applied in a Policy. + class Rule + include Google::Apis::Core::Hashable + + # Required + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # Additional restrictions that must be met + # Corresponds to the JSON property `conditions` + # @return [Array] + attr_accessor :conditions + + # Human-readable description of the rule. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/ + # AUTHORITY_SELECTOR is in at least one of these entries. + # Corresponds to the JSON property `ins` + # @return [Array] + attr_accessor :ins + + # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries + # that match the LOG action. + # Corresponds to the JSON property `logConfigs` + # @return [Array] + attr_accessor :log_configs + + # If one or more 'not_in' clauses are specified, the rule matches if the + # PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. + # Corresponds to the JSON property `notIns` + # @return [Array] + attr_accessor :not_ins + + # A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value + # of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets. + # *') matches all verbs. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @action = args[:action] if args.key?(:action) + @conditions = args[:conditions] if args.key?(:conditions) + @description = args[:description] if args.key?(:description) + @ins = args[:ins] if args.key?(:ins) + @log_configs = args[:log_configs] if args.key?(:log_configs) + @not_ins = args[:not_ins] if args.key?(:not_ins) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + # class SslHealthCheck include Google::Apis::Core::Hashable diff --git a/generated/google/apis/compute_beta/representations.rb b/generated/google/apis/compute_beta/representations.rb index 8678d2909..d00e2a444 100644 --- a/generated/google/apis/compute_beta/representations.rb +++ b/generated/google/apis/compute_beta/representations.rb @@ -76,6 +76,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AuditConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Autoscaler class Representation < Google::Apis::Core::JsonRepresentation; end @@ -148,6 +154,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class BackendBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BackendBucketList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BackendService class Representation < Google::Apis::Core::JsonRepresentation; end @@ -190,12 +208,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Binding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CacheInvalidationRule class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Condition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ConnectionDraining class Representation < Google::Apis::Core::JsonRepresentation; end @@ -718,6 +748,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class LogConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogConfigCounterOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class MachineType class Representation < Google::Apis::Core::JsonRepresentation; end @@ -886,6 +928,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Policy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Project class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1096,6 +1144,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Rule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SslHealthCheck class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1633,6 +1687,14 @@ module Google end end + class AuditConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :exempted_members, as: 'exemptedMembers' + property :service, as: 'service' + end + end + class Autoscaler # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1766,6 +1828,32 @@ module Google end end + class BackendBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucket_name, as: 'bucketName' + property :creation_timestamp, as: 'creationTimestamp' + property :description, as: 'description' + property :enable_cdn, as: 'enableCdn' + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + property :self_link, as: 'selfLink' + end + end + + class BackendBucketList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeBeta::BackendBucket, decorator: Google::Apis::ComputeBeta::BackendBucket::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + class BackendService # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1854,13 +1942,34 @@ module Google end end + class Binding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :members, as: 'members' + property :role, as: 'role' + end + end + class CacheInvalidationRule # @private class Representation < Google::Apis::Core::JsonRepresentation + property :host, as: 'host' property :path, as: 'path' end end + class Condition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :iam, as: 'iam' + property :op, as: 'op' + property :svc, as: 'svc' + property :sys, as: 'sys' + property :value, as: 'value' + collection :values, as: 'values' + end + end + class ConnectionDraining # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2874,6 +2983,22 @@ module Google end end + class LogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :counter, as: 'counter', class: Google::Apis::ComputeBeta::LogConfigCounterOptions, decorator: Google::Apis::ComputeBeta::LogConfigCounterOptions::Representation + + end + end + + class LogConfigCounterOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field' + property :metric, as: 'metric' + end + end + class MachineType # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3186,6 +3311,21 @@ module Google end end + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_configs, as: 'auditConfigs', class: Google::Apis::ComputeBeta::AuditConfig, decorator: Google::Apis::ComputeBeta::AuditConfig::Representation + + collection :bindings, as: 'bindings', class: Google::Apis::ComputeBeta::Binding, decorator: Google::Apis::ComputeBeta::Binding::Representation + + property :etag, :base64 => true, as: 'etag' + property :iam_owned, as: 'iamOwned' + collection :rules, as: 'rules', class: Google::Apis::ComputeBeta::Rule, decorator: Google::Apis::ComputeBeta::Rule::Representation + + property :version, as: 'version' + end + end + class Project # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3568,6 +3708,21 @@ module Google end end + class Rule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :action, as: 'action' + collection :conditions, as: 'conditions', class: Google::Apis::ComputeBeta::Condition, decorator: Google::Apis::ComputeBeta::Condition::Representation + + property :description, as: 'description' + collection :ins, as: 'ins' + collection :log_configs, as: 'logConfigs', class: Google::Apis::ComputeBeta::LogConfig, decorator: Google::Apis::ComputeBeta::LogConfig::Representation + + collection :not_ins, as: 'notIns' + collection :permissions, as: 'permissions' + end + end + class SslHealthCheck # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/compute_beta/service.rb b/generated/google/apis/compute_beta/service.rb index 272ad6385..166b28b5f 100644 --- a/generated/google/apis/compute_beta/service.rb +++ b/generated/google/apis/compute_beta/service.rb @@ -793,6 +793,284 @@ module Google execute_or_queue_command(command, &block) end + # Deletes the specified BackendBucket resource. + # @param [String] project + # Project ID for this request. + # @param [String] backend_bucket + # Name of the BackendBucket resource to delete. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_backend_bucket(project, backend_bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/global/backendBuckets/{backendBucket}', options) + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['backendBucket'] = backend_bucket unless backend_bucket.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 + + # Returns the specified BackendBucket resource. Get a list of available backend + # buckets by making a list() request. + # @param [String] project + # Project ID for this request. + # @param [String] backend_bucket + # Name of the BackendBucket resource to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::BackendBucket] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::BackendBucket] + # + # @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_backend_bucket(project, backend_bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/backendBuckets/{backendBucket}', options) + command.response_representation = Google::Apis::ComputeBeta::BackendBucket::Representation + command.response_class = Google::Apis::ComputeBeta::BackendBucket + command.params['project'] = project unless project.nil? + command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Creates a BackendBucket resource in the specified project using the data + # included in the request. + # @param [String] project + # Project ID for this request. + # @param [Google::Apis::ComputeBeta::BackendBucket] backend_bucket_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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_backend_bucket(project, backend_bucket_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/backendBuckets', options) + command.request_representation = Google::Apis::ComputeBeta::BackendBucket::Representation + command.request_object = backend_bucket_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.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 the list of BackendBucket resources available to the specified + # project. + # @param [String] project + # Project ID for this request. + # @param [String] filter + # Sets a filter expression for filtering listed resources, in the form filter=` + # expression`. Your `expression` must be in the format: field_name + # comparison_string literal_string. + # The field_name is the name of the field you want to compare. Only atomic field + # types are supported (string, number, boolean). The comparison_string must be + # either eq (equals) or ne (not equals). The literal_string is the string value + # to filter to. The literal value must be valid for the type of field you are + # filtering by (string, number, boolean). For string fields, the literal value + # is interpreted as a regular expression using RE2 syntax. The literal value + # must match the entire field. + # For example, to filter for instances that do not have a name of example- + # instance, you would use filter=name ne example-instance. + # You can filter on nested fields. For example, you could filter on instances + # that have set the scheduling.automaticRestart field to true. Use filtering on + # nested fields to take advantage of labels to organize and search for results + # based on label values. + # To filter on multiple expressions, provide each separate expression within + # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us- + # central1-f). Multiple expressions are treated as AND expressions, meaning that + # resources must match all expressions to pass the filters. + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. If the number + # of available results is larger than maxResults, Compute Engine returns a + # nextPageToken that can be used to get the next page of results in subsequent + # list requests. + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::BackendBucketList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::BackendBucketList] + # + # @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_backend_buckets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/backendBuckets', options) + command.response_representation = Google::Apis::ComputeBeta::BackendBucketList::Representation + command.response_class = Google::Apis::ComputeBeta::BackendBucketList + command.params['project'] = project unless project.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified BackendBucket resource with the data included in the + # request. This method supports patch semantics. + # @param [String] project + # Project ID for this request. + # @param [String] backend_bucket + # Name of the BackendBucket resource to update. + # @param [Google::Apis::ComputeBeta::BackendBucket] backend_bucket_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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_backend_bucket(project, backend_bucket, backend_bucket_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, '{project}/global/backendBuckets/{backendBucket}', options) + command.request_representation = Google::Apis::ComputeBeta::BackendBucket::Representation + command.request_object = backend_bucket_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['backendBucket'] = backend_bucket unless backend_bucket.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 the specified BackendBucket resource with the data included in the + # request. + # @param [String] project + # Project ID for this request. + # @param [String] backend_bucket + # Name of the BackendBucket resource to update. + # @param [Google::Apis::ComputeBeta::BackendBucket] backend_bucket_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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_backend_bucket(project, backend_bucket, backend_bucket_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, '{project}/global/backendBuckets/{backendBucket}', options) + command.request_representation = Google::Apis::ComputeBeta::BackendBucket::Representation + command.request_object = backend_bucket_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['backendBucket'] = backend_bucket unless backend_bucket.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 the list of all BackendService resources, regional and global, # available to the specified project. # @param [String] project @@ -5048,6 +5326,10 @@ module Google # The name of the zone where the managed instance group is located. # @param [String] instance_group_manager # The name of the managed instance group. + # @param [String] filter + # @param [Fixnum] max_results + # @param [String] order_by + # @param [String] page_token # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5069,13 +5351,17 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagersListManagedInstancesResponse::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagersListManagedInstancesResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['order_by'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -8955,6 +9241,10 @@ module Google # Name of the region scoping this request. # @param [String] instance_group_manager # The name of the managed instance group. + # @param [String] filter + # @param [Fixnum] max_results + # @param [String] order_by + # @param [String] page_token # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -8976,13 +9266,17 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options) command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse::Representation command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['order_by'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -11353,6 +11647,48 @@ module Google execute_or_queue_command(command, &block) end + # Gets the access control policy for a resource. May be empty if no such policy + # or resource exists. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] resource + # Name of the resource for this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Policy] + # + # @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_subnetwork_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/subnetworks/{resource}/getIamPolicy', options) + command.response_representation = Google::Apis::ComputeBeta::Policy::Representation + command.response_class = Google::Apis::ComputeBeta::Policy + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Creates a subnetwork in the specified project using the data included in the # request. # @param [String] project @@ -11475,6 +11811,51 @@ module Google execute_or_queue_command(command, &block) end + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] resource + # Name of the resource for this request. + # @param [Google::Apis::ComputeBeta::Policy] policy_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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Policy] + # + # @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 set_subnetwork_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{resource}/setIamPolicy', options) + command.request_representation = Google::Apis::ComputeBeta::Policy::Representation + command.request_object = policy_object + command.response_representation = Google::Apis::ComputeBeta::Policy::Representation + command.response_class = Google::Apis::ComputeBeta::Policy + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['resource'] = resource unless resource.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 + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. diff --git a/generated/google/apis/compute_v1.rb b/generated/google/apis/compute_v1.rb index 5bec588c2..bf5cf2a2e 100644 --- a/generated/google/apis/compute_v1.rb +++ b/generated/google/apis/compute_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeV1 VERSION = 'V1' - REVISION = '20161012' + REVISION = '20161019' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/compute_v1/classes.rb b/generated/google/apis/compute_v1/classes.rb index 5c71fb690..2041793e7 100644 --- a/generated/google/apis/compute_v1/classes.rb +++ b/generated/google/apis/compute_v1/classes.rb @@ -415,8 +415,12 @@ module Google attr_accessor :mode # Specifies a valid partial or full URL to an existing Persistent Disk resource. - # This field is only applicable for persistent disks. Note that for - # InstanceTemplate, it is just disk name, not URL for the disk. + # When creating a new instance, one of initializeParams.sourceImage or disks. + # source is required. + # If desired, you can also attach existing non-root persistent disks using this + # property. This field is only applicable for persistent disks. + # Note that for InstanceTemplate, specify the disk name, not the URL for the + # disk. # Corresponds to the JSON property `source` # @return [String] attr_accessor :source @@ -483,8 +487,8 @@ module Google # @return [String] attr_accessor :disk_type - # The source image used to create this disk. If the source image is deleted, - # this field will not be set. + # The source image to create this disk. When creating a new instance, one of + # initializeParams.sourceImage or disks.source is required. # To create a disk with one of the public operating system images, specify the # image by its family name. For example, specify family/debian-8 to use the # latest Debian 8 image: @@ -498,6 +502,7 @@ module Google # latest version of the image in that family. Replace the image name with family/ # family-name: # global/images/family/my-private-family + # If the source image is deleted later, this field will not be set. # Corresponds to the JSON property `sourceImage` # @return [String] attr_accessor :source_image @@ -1370,20 +1375,23 @@ module Google class DeprecationStatus include Google::Apis::Core::Hashable - # An optional RFC3339 timestamp on or after which the deprecation state of this - # resource will be changed to DELETED. + # An optional RFC3339 timestamp on or after which the state of this resource is + # intended to change to DELETED. This is only informational and the status will + # not change unless the client explicitly changes it. # Corresponds to the JSON property `deleted` # @return [String] attr_accessor :deleted - # An optional RFC3339 timestamp on or after which the deprecation state of this - # resource will be changed to DEPRECATED. + # An optional RFC3339 timestamp on or after which the state of this resource is + # intended to change to DEPRECATED. This is only informational and the status + # will not change unless the client explicitly changes it. # Corresponds to the JSON property `deprecated` # @return [String] attr_accessor :deprecated - # An optional RFC3339 timestamp on or after which the deprecation state of this - # resource will be changed to OBSOLETE. + # An optional RFC3339 timestamp on or after which the state of this resource is + # intended to change to OBSOLETE. This is only informational and the status will + # not change unless the client explicitly changes it. # Corresponds to the JSON property `obsolete` # @return [String] attr_accessor :obsolete @@ -6068,9 +6076,9 @@ module Google # @return [String] attr_accessor :target_id - # [Output Only] The URL of the resource that the operation modifies. If creating - # a persistent disk snapshot, this points to the persistent disk that the - # snapshot was created from. + # [Output Only] The URL of the resource that the operation modifies. For + # operations related to creating a snapshot, this points to the persistent disk + # that the snapshot was created from. # Corresponds to the JSON property `targetLink` # @return [String] attr_accessor :target_link @@ -8165,6 +8173,28 @@ module Google end end + # + class SubnetworksExpandIpCidrRangeRequest + include Google::Apis::Core::Hashable + + # The IP (in CIDR format or netmask) of internal addresses that are legal on + # this Subnetwork. This range should be disjoint from other subnetworks within + # this network. This range can only be larger than (i.e. a superset of) the + # range previously defined before the update. + # Corresponds to the JSON property `ipCidrRange` + # @return [String] + attr_accessor :ip_cidr_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range) + end + end + # class SubnetworksScopedList include Google::Apis::Core::Hashable diff --git a/generated/google/apis/compute_v1/representations.rb b/generated/google/apis/compute_v1/representations.rb index 4f0b30c5d..47d82b80f 100644 --- a/generated/google/apis/compute_v1/representations.rb +++ b/generated/google/apis/compute_v1/representations.rb @@ -1024,6 +1024,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SubnetworksExpandIpCidrRangeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SubnetworksScopedList class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3317,6 +3323,13 @@ module Google end end + class SubnetworksExpandIpCidrRangeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ip_cidr_range, as: 'ipCidrRange' + end + end + class SubnetworksScopedList # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/compute_v1/service.rb b/generated/google/apis/compute_v1/service.rb index 695f64087..b1734f3fc 100644 --- a/generated/google/apis/compute_v1/service.rb +++ b/generated/google/apis/compute_v1/service.rb @@ -4377,6 +4377,9 @@ module Google # The name of the zone where the managed instance group is located. # @param [String] instance_group_manager # The name of the managed instance group. + # @param [String] filter + # @param [Fixnum] max_results + # @param [String] page_token # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -4398,13 +4401,16 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options) command.response_representation = Google::Apis::ComputeV1::InstanceGroupManagersListManagedInstancesResponse::Representation command.response_class = Google::Apis::ComputeV1::InstanceGroupManagersListManagedInstancesResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -6650,6 +6656,44 @@ module Google execute_or_queue_command(command, &block) end + # Switches the network mode from auto subnet mode to custom subnet mode. + # @param [String] project + # Project ID for this request. + # @param [String] network + # Name of the network to be updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def switch_network_to_custom_mode(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/networks/{network}/switchToCustomMode', options) + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['network'] = network unless network.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 + # Returns the specified Project resource. # @param [String] project # Project ID for this request. @@ -8237,6 +8281,50 @@ module Google execute_or_queue_command(command, &block) end + # Expands the IP CIDR range of the subnetwork to a specified value. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] subnetwork + # Name of the Subnetwork resource to update. + # @param [Google::Apis::ComputeV1::SubnetworksExpandIpCidrRangeRequest] subnetworks_expand_ip_cidr_range_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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def expand_subnetwork_ip_cidr_range(project, region, subnetwork, subnetworks_expand_ip_cidr_range_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange', options) + command.request_representation = Google::Apis::ComputeV1::SubnetworksExpandIpCidrRangeRequest::Representation + command.request_object = subnetworks_expand_ip_cidr_range_request_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['subnetwork'] = subnetwork unless subnetwork.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 + # Returns the specified subnetwork. Get a list of available subnetworks list() # request. # @param [String] project diff --git a/generated/google/apis/content_v2.rb b/generated/google/apis/content_v2.rb index 34661a43e..02fc4c0d2 100644 --- a/generated/google/apis/content_v2.rb +++ b/generated/google/apis/content_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2 VERSION = 'V2' - REVISION = '20160928' + REVISION = '20161027' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2/classes.rb b/generated/google/apis/content_v2/classes.rb index e05f5d687..ae7e8fe5f 100644 --- a/generated/google/apis/content_v2/classes.rb +++ b/generated/google/apis/content_v2/classes.rb @@ -2414,6 +2414,14 @@ module Google # @return [Google::Apis::ContentV2::LoyaltyPoints] attr_accessor :loyalty_points + # Store pickup information. Only supported for local inventory. Not setting + # pickup means "don't update" while setting it to the empty value (`` in JSON) + # means "delete". Otherwise, pickupMethod and pickupSla must be set together, + # unless pickupMethod is "not supported". + # Corresponds to the JSON property `pickup` + # @return [Google::Apis::ContentV2::InventoryPickup] + attr_accessor :pickup + # The price of the product. # Corresponds to the JSON property `price` # @return [Google::Apis::ContentV2::Price] @@ -2453,6 +2461,7 @@ module Google @installment = args[:installment] if args.key?(:installment) @kind = args[:kind] if args.key?(:kind) @loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points) + @pickup = args[:pickup] if args.key?(:pickup) @price = args[:price] if args.key?(:price) @quantity = args[:quantity] if args.key?(:quantity) @sale_price = args[:sale_price] if args.key?(:sale_price) @@ -2582,6 +2591,36 @@ module Google end end + # + class InventoryPickup + include Google::Apis::Core::Hashable + + # Whether store pickup is available for this offer and whether the pickup option + # should be shown as buy, reserve, or not supported. Only supported for local + # inventory. Unless the value is "not supported", must be submitted together + # with pickupSla. + # Corresponds to the JSON property `pickupMethod` + # @return [String] + attr_accessor :pickup_method + + # The expected date that an order will be ready for pickup, relative to when the + # order is placed. Only supported for local inventory. Must be submitted + # together with pickupMethod. + # Corresponds to the JSON property `pickupSla` + # @return [String] + attr_accessor :pickup_sla + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @pickup_method = args[:pickup_method] if args.key?(:pickup_method) + @pickup_sla = args[:pickup_sla] if args.key?(:pickup_sla) + end + end + # class SetInventoryRequest include Google::Apis::Core::Hashable @@ -2601,6 +2640,14 @@ module Google # @return [Google::Apis::ContentV2::LoyaltyPoints] attr_accessor :loyalty_points + # Store pickup information. Only supported for local inventory. Not setting + # pickup means "don't update" while setting it to the empty value (`` in JSON) + # means "delete". Otherwise, pickupMethod and pickupSla must be set together, + # unless pickupMethod is "not supported". + # Corresponds to the JSON property `pickup` + # @return [Google::Apis::ContentV2::InventoryPickup] + attr_accessor :pickup + # The price of the product. # Corresponds to the JSON property `price` # @return [Google::Apis::ContentV2::Price] @@ -2639,6 +2686,7 @@ module Google @availability = args[:availability] if args.key?(:availability) @installment = args[:installment] if args.key?(:installment) @loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points) + @pickup = args[:pickup] if args.key?(:pickup) @price = args[:price] if args.key?(:price) @quantity = args[:quantity] if args.key?(:quantity) @sale_price = args[:sale_price] if args.key?(:sale_price) diff --git a/generated/google/apis/content_v2/representations.rb b/generated/google/apis/content_v2/representations.rb index 2aed887f6..27e579d02 100644 --- a/generated/google/apis/content_v2/representations.rb +++ b/generated/google/apis/content_v2/representations.rb @@ -430,6 +430,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class InventoryPickup + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SetInventoryRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1714,6 +1720,8 @@ module Google property :kind, as: 'kind' property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation + property :pickup, as: 'pickup', class: Google::Apis::ContentV2::InventoryPickup, decorator: Google::Apis::ContentV2::InventoryPickup::Representation + property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation property :quantity, as: 'quantity' @@ -1763,6 +1771,14 @@ module Google end end + class InventoryPickup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :pickup_method, as: 'pickupMethod' + property :pickup_sla, as: 'pickupSla' + end + end + class SetInventoryRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1771,6 +1787,8 @@ module Google property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation + property :pickup, as: 'pickup', class: Google::Apis::ContentV2::InventoryPickup, decorator: Google::Apis::ContentV2::InventoryPickup::Representation + property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation property :quantity, as: 'quantity' diff --git a/generated/google/apis/dataflow_v1b3.rb b/generated/google/apis/dataflow_v1b3.rb index dc04d8178..3c175fad1 100644 --- a/generated/google/apis/dataflow_v1b3.rb +++ b/generated/google/apis/dataflow_v1b3.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dataflow module DataflowV1b3 VERSION = 'V1b3' - REVISION = '20161004' + REVISION = '20160928' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dataflow_v1b3/classes.rb b/generated/google/apis/dataflow_v1b3/classes.rb index 700826938..a79d2fae1 100644 --- a/generated/google/apis/dataflow_v1b3/classes.rb +++ b/generated/google/apis/dataflow_v1b3/classes.rb @@ -232,6 +232,11 @@ module Google # @return [Hash] attr_accessor :labels + # The location which contains this job. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + def initialize(**args) update!(**args) end @@ -255,6 +260,7 @@ module Google @replaced_by_job_id = args[:replaced_by_job_id] if args.key?(:replaced_by_job_id) @temp_files = args[:temp_files] if args.key?(:temp_files) @labels = args[:labels] if args.key?(:labels) + @location = args[:location] if args.key?(:location) end end @@ -910,6 +916,11 @@ module Google # @return [String] attr_accessor :next_page_token + # Zero or more messages describing locations that failed to respond. + # Corresponds to the JSON property `failedLocation` + # @return [Array] + attr_accessor :failed_location + def initialize(**args) update!(**args) end @@ -918,6 +929,27 @@ module Google def update!(**args) @jobs = args[:jobs] if args.key?(:jobs) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @failed_location = args[:failed_location] if args.key?(:failed_location) + end + end + + # FailedLocation indicates which location failed to respond to a request for + # data. + class FailedLocation + include Google::Apis::Core::Hashable + + # The name of the failed location. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) end end @@ -1182,6 +1214,11 @@ module Google # @return [String] attr_accessor :current_worker_time + # The location which contains the WorkItem's job. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + def initialize(**args) update!(**args) end @@ -1191,6 +1228,7 @@ module Google @worker_id = args[:worker_id] if args.key?(:worker_id) @work_item_statuses = args[:work_item_statuses] if args.key?(:work_item_statuses) @current_worker_time = args[:current_worker_time] if args.key?(:current_worker_time) + @location = args[:location] if args.key?(:location) end end @@ -2424,6 +2462,11 @@ module Google # @return [String] attr_accessor :worker_id + # The location which contains the WorkItem's job. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + def initialize(**args) update!(**args) end @@ -2435,6 +2478,7 @@ module Google @requested_lease_duration = args[:requested_lease_duration] if args.key?(:requested_lease_duration) @current_worker_time = args[:current_worker_time] if args.key?(:current_worker_time) @worker_id = args[:worker_id] if args.key?(:worker_id) + @location = args[:location] if args.key?(:location) end end diff --git a/generated/google/apis/dataflow_v1b3/representations.rb b/generated/google/apis/dataflow_v1b3/representations.rb index 9a848ea01..3abfc7329 100644 --- a/generated/google/apis/dataflow_v1b3/representations.rb +++ b/generated/google/apis/dataflow_v1b3/representations.rb @@ -118,6 +118,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class FailedLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListJobMessagesResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -675,6 +681,7 @@ module Google property :replaced_by_job_id, as: 'replacedByJobId' collection :temp_files, as: 'tempFiles' hash :labels, as: 'labels' + property :location, as: 'location' end end @@ -819,6 +826,15 @@ module Google collection :jobs, as: 'jobs', class: Google::Apis::DataflowV1b3::Job, decorator: Google::Apis::DataflowV1b3::Job::Representation property :next_page_token, as: 'nextPageToken' + collection :failed_location, as: 'failedLocation', class: Google::Apis::DataflowV1b3::FailedLocation, decorator: Google::Apis::DataflowV1b3::FailedLocation::Representation + + end + end + + class FailedLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' end end @@ -890,6 +906,7 @@ module Google collection :work_item_statuses, as: 'workItemStatuses', class: Google::Apis::DataflowV1b3::WorkItemStatus, decorator: Google::Apis::DataflowV1b3::WorkItemStatus::Representation property :current_worker_time, as: 'currentWorkerTime' + property :location, as: 'location' end end @@ -1244,6 +1261,7 @@ module Google property :requested_lease_duration, as: 'requestedLeaseDuration' property :current_worker_time, as: 'currentWorkerTime' property :worker_id, as: 'workerId' + property :location, as: 'location' end end diff --git a/generated/google/apis/dataflow_v1b3/service.rb b/generated/google/apis/dataflow_v1b3/service.rb index ed3d8e10e..b00355258 100644 --- a/generated/google/apis/dataflow_v1b3/service.rb +++ b/generated/google/apis/dataflow_v1b3/service.rb @@ -88,6 +88,8 @@ module Google # Level of information requested in response. # @param [String] replace_job_id # DEPRECATED. This field is now on the Job message. + # @param [String] location + # The location which contains this job. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -105,7 +107,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_job(project_id, job_object = nil, view: nil, replace_job_id: nil, fields: nil, quota_user: nil, options: nil, &block) + def create_project_job(project_id, job_object = nil, view: nil, replace_job_id: nil, location: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs', options) command.request_representation = Google::Apis::DataflowV1b3::Job::Representation command.request_object = job_object @@ -114,6 +116,7 @@ module Google command.params['projectId'] = project_id unless project_id.nil? command.query['view'] = view unless view.nil? command.query['replaceJobId'] = replace_job_id unless replace_job_id.nil? + command.query['location'] = location unless location.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -126,6 +129,8 @@ module Google # Identifies a single job. # @param [String] view # Level of information requested in response. + # @param [String] location + # The location which contains this job. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -143,13 +148,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_job(project_id, job_id, view: nil, fields: nil, quota_user: nil, options: nil, &block) + def get_project_job(project_id, job_id, view: nil, location: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}', options) command.response_representation = Google::Apis::DataflowV1b3::Job::Representation command.response_class = Google::Apis::DataflowV1b3::Job command.params['projectId'] = project_id unless project_id.nil? command.params['jobId'] = job_id unless job_id.nil? command.query['view'] = view unless view.nil? + command.query['location'] = location unless location.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -161,6 +167,8 @@ module Google # @param [String] job_id # Identifies a single job. # @param [Google::Apis::DataflowV1b3::Job] job_object + # @param [String] location + # The location which contains this job. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -178,7 +186,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_project_job(project_id, job_id, job_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def update_project_job(project_id, job_id, job_object = nil, location: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1b3/projects/{projectId}/jobs/{jobId}', options) command.request_representation = Google::Apis::DataflowV1b3::Job::Representation command.request_object = job_object @@ -186,6 +194,7 @@ module Google command.response_class = Google::Apis::DataflowV1b3::Job command.params['projectId'] = project_id unless project_id.nil? command.params['jobId'] = job_id unless job_id.nil? + command.query['location'] = location unless location.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -205,6 +214,8 @@ module Google # @param [String] page_token # Set this to the 'next_page_token' field of a previous response to request # additional results in a long list. + # @param [String] location + # The location which contains this job. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -222,7 +233,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_jobs(project_id, filter: nil, view: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_jobs(project_id, filter: nil, view: nil, page_size: nil, page_token: nil, location: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs', options) command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse @@ -231,6 +242,7 @@ module Google command.query['view'] = view unless view.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? + command.query['location'] = location unless location.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -244,6 +256,8 @@ module Google # @param [String] start_time # Return only metric data that has changed since this time. Default is to return # all information about all metrics for the job. + # @param [String] location + # The location which contains the job specified by job_id. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -261,13 +275,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_job_metrics(project_id, job_id, start_time: nil, fields: nil, quota_user: nil, options: nil, &block) + def get_project_job_metrics(project_id, job_id, start_time: nil, location: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/metrics', options) command.response_representation = Google::Apis::DataflowV1b3::JobMetrics::Representation command.response_class = Google::Apis::DataflowV1b3::JobMetrics command.params['projectId'] = project_id unless project_id.nil? command.params['jobId'] = job_id unless job_id.nil? command.query['startTime'] = start_time unless start_time.nil? + command.query['location'] = location unless location.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -365,6 +380,8 @@ module Google # @param [String] end_time # Return only messages with timestamps < end_time. The default is now (i.e. # return up to the latest messages available). + # @param [String] location + # The location which contains the job specified by job_id. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -382,7 +399,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_job_messages(project_id, job_id, minimum_importance: nil, page_size: nil, page_token: nil, start_time: nil, end_time: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_job_messages(project_id, job_id, minimum_importance: nil, page_size: nil, page_token: nil, start_time: nil, end_time: nil, location: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/messages', options) command.response_representation = Google::Apis::DataflowV1b3::ListJobMessagesResponse::Representation command.response_class = Google::Apis::DataflowV1b3::ListJobMessagesResponse @@ -393,6 +410,7 @@ module Google command.query['pageToken'] = page_token unless page_token.nil? command.query['startTime'] = start_time unless start_time.nil? command.query['endTime'] = end_time unless end_time.nil? + command.query['location'] = location unless location.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -457,7 +475,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def lease_work_item(project_id, job_id, lease_work_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def lease_project_work_item(project_id, job_id, lease_work_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease', options) command.request_representation = Google::Apis::DataflowV1b3::LeaseWorkItemRequest::Representation command.request_object = lease_work_item_request_object @@ -470,6 +488,348 @@ module Google execute_or_queue_command(command, &block) end + # Creates a dataflow job. + # @param [String] project_id + # The project which owns the job. + # @param [String] location + # The location which contains this job. + # @param [Google::Apis::DataflowV1b3::Job] job_object + # @param [String] view + # Level of information requested in response. + # @param [String] replace_job_id + # DEPRECATED. This field is now on the Job message. + # @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::DataflowV1b3::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::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_project_location_job(project_id, location, job_object = nil, view: nil, replace_job_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs', options) + command.request_representation = Google::Apis::DataflowV1b3::Job::Representation + command.request_object = job_object + command.response_representation = Google::Apis::DataflowV1b3::Job::Representation + command.response_class = Google::Apis::DataflowV1b3::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.nil? + command.query['view'] = view unless view.nil? + command.query['replaceJobId'] = replace_job_id unless replace_job_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the state of the specified dataflow job. + # @param [String] project_id + # The project which owns the job. + # @param [String] location + # The location which contains this job. + # @param [String] job_id + # Identifies a single job. + # @param [String] view + # Level of information requested in response. + # @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::DataflowV1b3::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::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_project_location_job(project_id, location, job_id, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', options) + command.response_representation = Google::Apis::DataflowV1b3::Job::Representation + command.response_class = Google::Apis::DataflowV1b3::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['view'] = view unless view.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 state of an existing dataflow job. + # @param [String] project_id + # The project which owns the job. + # @param [String] location + # The location which contains this job. + # @param [String] job_id + # Identifies a single job. + # @param [Google::Apis::DataflowV1b3::Job] job_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::DataflowV1b3::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::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 update_project_location_job(project_id, location, job_id, job_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', options) + command.request_representation = Google::Apis::DataflowV1b3::Job::Representation + command.request_object = job_object + command.response_representation = Google::Apis::DataflowV1b3::Job::Representation + command.response_class = Google::Apis::DataflowV1b3::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # List the jobs of a project + # @param [String] project_id + # The project which owns the jobs. + # @param [String] location + # The location which contains this job. + # @param [String] filter + # The kind of filter to use. + # @param [String] view + # Level of information requested in response. Default is SUMMARY. + # @param [Fixnum] page_size + # If there are many jobs, limit response to at most this many. The actual number + # of jobs returned will be the lesser of max_responses and an unspecified server- + # defined limit. + # @param [String] page_token + # Set this to the 'next_page_token' field of a previous response to request + # additional results in a long list. + # @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::DataflowV1b3::ListJobsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::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_project_location_jobs(project_id, location, filter: nil, view: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs', options) + command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.nil? + command.query['filter'] = filter unless filter.nil? + command.query['view'] = view unless view.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 + + # Request the job status. + # @param [String] project_id + # A project id. + # @param [String] location + # The location which contains the job specified by job_id. + # @param [String] job_id + # The job to get messages for. + # @param [String] start_time + # Return only metric data that has changed since this time. Default is to return + # all information about all metrics for the job. + # @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::DataflowV1b3::JobMetrics] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::JobMetrics] + # + # @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_project_location_job_metrics(project_id, location, job_id, start_time: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics', options) + command.response_representation = Google::Apis::DataflowV1b3::JobMetrics::Representation + command.response_class = Google::Apis::DataflowV1b3::JobMetrics + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['startTime'] = start_time unless start_time.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Request the job status. + # @param [String] project_id + # A project id. + # @param [String] location + # The location which contains the job specified by job_id. + # @param [String] job_id + # The job to get messages about. + # @param [String] minimum_importance + # Filter to only get messages with importance >= level + # @param [Fixnum] page_size + # If specified, determines the maximum number of messages to return. If + # unspecified, the service may choose an appropriate default, or may return an + # arbitrarily large number of results. + # @param [String] page_token + # If supplied, this should be the value of next_page_token returned by an + # earlier call. This will cause the next page of results to be returned. + # @param [String] start_time + # If specified, return only messages with timestamps >= start_time. The default + # is the job creation time (i.e. beginning of messages). + # @param [String] end_time + # Return only messages with timestamps < end_time. The default is now (i.e. + # return up to the latest messages available). + # @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::DataflowV1b3::ListJobMessagesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::ListJobMessagesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_job_messages(project_id, location, job_id, minimum_importance: nil, page_size: nil, page_token: nil, start_time: nil, end_time: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages', options) + command.response_representation = Google::Apis::DataflowV1b3::ListJobMessagesResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::ListJobMessagesResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['minimumImportance'] = minimum_importance unless minimum_importance.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['startTime'] = start_time unless start_time.nil? + command.query['endTime'] = end_time unless end_time.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Reports the status of dataflow WorkItems leased by a worker. + # @param [String] project_id + # The project which owns the WorkItem's job. + # @param [String] location + # The location which contains the WorkItem's job. + # @param [String] job_id + # The job which the WorkItem is part of. + # @param [Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest] report_work_item_status_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::DataflowV1b3::ReportWorkItemStatusResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse] + # + # @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 report_project_location_job_work_item_status(project_id, location, job_id, report_work_item_status_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus', options) + command.request_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest::Representation + command.request_object = report_work_item_status_request_object + command.response_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Leases a dataflow WorkItem to run. + # @param [String] project_id + # Identifies the project this worker belongs to. + # @param [String] location + # The location which contains the WorkItem's job. + # @param [String] job_id + # Identifies the workflow job this worker belongs to. + # @param [Google::Apis::DataflowV1b3::LeaseWorkItemRequest] lease_work_item_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::DataflowV1b3::LeaseWorkItemResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::LeaseWorkItemResponse] + # + # @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 lease_project_location_work_item(project_id, location, job_id, lease_work_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease', options) + command.request_representation = Google::Apis::DataflowV1b3::LeaseWorkItemRequest::Representation + command.request_object = lease_work_item_request_object + command.response_representation = Google::Apis::DataflowV1b3::LeaseWorkItemResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::LeaseWorkItemResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Creates a dataflow job from a template. # @param [String] project_id # The project which owns the job. diff --git a/generated/google/apis/dataproc_v1.rb b/generated/google/apis/dataproc_v1.rb index cca6550be..77b130b31 100644 --- a/generated/google/apis/dataproc_v1.rb +++ b/generated/google/apis/dataproc_v1.rb @@ -20,12 +20,12 @@ module Google module Apis # Google Cloud Dataproc API # - # Manages Hadoop-based clusters and jobs on Google Cloud Platform. + # An API for managing Hadoop-based clusters and jobs on Google Cloud Platform. # # @see https://cloud.google.com/dataproc/ module DataprocV1 VERSION = 'V1' - REVISION = '20160503' + REVISION = '20161102' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dataproc_v1/classes.rb b/generated/google/apis/dataproc_v1/classes.rb index d931dac6b..86f65e601 100644 --- a/generated/google/apis/dataproc_v1/classes.rb +++ b/generated/google/apis/dataproc_v1/classes.rb @@ -43,6 +43,15 @@ module Google # @return [Google::Apis::DataprocV1::ClusterConfig] attr_accessor :config + # [Optional] The labels to associate with this cluster. Label **keys** must + # contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf. + # org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must + # contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf. + # org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + # The status of a cluster and its instances. # Corresponds to the JSON property `status` # @return [Google::Apis::DataprocV1::ClusterStatus] @@ -59,6 +68,13 @@ module Google # @return [String] attr_accessor :cluster_uuid + # Contains cluster daemon metrics, such as HDFS and YARN stats. **Beta Feature**: + # This report is available for testing purposes only. It may be changed before + # final release. + # Corresponds to the JSON property `metrics` + # @return [Google::Apis::DataprocV1::ClusterMetrics] + attr_accessor :metrics + def initialize(**args) update!(**args) end @@ -68,9 +84,11 @@ module Google @project_id = args[:project_id] if args.key?(:project_id) @cluster_name = args[:cluster_name] if args.key?(:cluster_name) @config = args[:config] if args.key?(:config) + @labels = args[:labels] if args.key?(:labels) @status = args[:status] if args.key?(:status) @status_history = args[:status_history] if args.key?(:status_history) @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) + @metrics = args[:metrics] if args.key?(:metrics) end end @@ -94,20 +112,20 @@ module Google # @return [Google::Apis::DataprocV1::GceClusterConfig] attr_accessor :gce_cluster_config - # The config settings for Google Compute Engine resources in an instance group, - # such as a master or worker group. + # [Optional] The config settings for Google Compute Engine resources in an + # instance group, such as a master or worker group. # Corresponds to the JSON property `masterConfig` # @return [Google::Apis::DataprocV1::InstanceGroupConfig] attr_accessor :master_config - # The config settings for Google Compute Engine resources in an instance group, - # such as a master or worker group. + # [Optional] The config settings for Google Compute Engine resources in an + # instance group, such as a master or worker group. # Corresponds to the JSON property `workerConfig` # @return [Google::Apis::DataprocV1::InstanceGroupConfig] attr_accessor :worker_config - # The config settings for Google Compute Engine resources in an instance group, - # such as a master or worker group. + # [Optional] The config settings for Google Compute Engine resources in an + # instance group, such as a master or worker group. # Corresponds to the JSON property `secondaryWorkerConfig` # @return [Google::Apis::DataprocV1::InstanceGroupConfig] attr_accessor :secondary_worker_config @@ -120,9 +138,10 @@ module Google # [Optional] Commands to execute on each node after config is completed. By # default, executables are run on master and all worker nodes. You can test a # node's role metadata to run an executable on a master or worker node, as shown - # below: ROLE=$(/usr/share/google/get_metadata_value attributes/role) if [[ "$` - # ROLE`" == 'Master' ]]; then ... master specific actions ... else ... worker - # specific actions ... fi + # below using `curl` (you can also use `wget`): ROLE=$(curl -H Metadata-Flavor: + # Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) + # if [[ "$`ROLE`" == 'Master' ]]; then ... master specific actions ... else ... + # worker specific actions ... fi # Corresponds to the JSON property `initializationActions` # @return [Array] attr_accessor :initialization_actions @@ -155,41 +174,55 @@ module Google # @return [String] attr_accessor :zone_uri - # The Google Compute Engine network to be used for machine communications. - # Cannot be specified with subnetwork_uri. If neither network_uri nor - # subnetwork_uri is specified, the "default" network of the project is used, if - # it exists. Cannot be a "Custom Subnet Network" (see https://cloud.google.com/ - # compute/docs/subnetworks for more information). Example: `https://www. - # googleapis.com/compute/v1/projects/[project_id]/regions/global/default`. + # [Optional] The Google Compute Engine network to be used for machine + # communications. Cannot be specified with subnetwork_uri. If neither ` + # network_uri` nor `subnetwork_uri` is specified, the "default" network of the + # project is used, if it exists. Cannot be a "Custom Subnet Network" (see [Using + # Subnetworks](/compute/docs/subnetworks) for more information). Example: `https: + # //www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default`. # Corresponds to the JSON property `networkUri` # @return [String] attr_accessor :network_uri - # The Google Compute Engine subnetwork to be used for machine communications. - # Cannot be specified with network_uri. Example: `https://www.googleapis.com/ - # compute/v1/projects/[project_id]/regions/us-east1/sub0`. + # [Optional] The Google Compute Engine subnetwork to be used for machine + # communications. Cannot be specified with network_uri. Example: `https://www. + # googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0`. # Corresponds to the JSON property `subnetworkUri` # @return [String] attr_accessor :subnetwork_uri - # The URIs of service account scopes to be included in Google Compute Engine - # instances. The following base set of scopes is always included: * https://www. - # googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis.com/ - # auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write If - # no scopes are specfied, the following defaults are also provided: * https:// - # www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable. + # [Optional] If true, all instances in the cluster will only have internal IP + # addresses. By default, clusters are not restricted to internal IP addresses, + # and will have ephemeral external IP addresses assigned to each instance. This ` + # internal_ip_only` restriction can only be enabled for subnetwork enabled + # networks, and all off-cluster dependencies must be configured to be accessible + # without external IP addresses. + # Corresponds to the JSON property `internalIpOnly` + # @return [Boolean] + attr_accessor :internal_ip_only + alias_method :internal_ip_only?, :internal_ip_only + + # [Optional] The URIs of service account scopes to be included in Google Compute + # Engine instances. The following base set of scopes is always included: * https: + # //www.googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis. + # com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write + # If no scopes are specified, the following defaults are also provided: * https:/ + # /www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable. # admin.table * https://www.googleapis.com/auth/bigtable.data * https://www. # googleapis.com/auth/devstorage.full_control # Corresponds to the JSON property `serviceAccountScopes` # @return [Array] attr_accessor :service_account_scopes - # The Google Compute Engine tags to add to all instances. + # The Google Compute Engine tags to add to all instances (see [Tagging instances] + # (/compute/docs/label-or-tag-resources#tags)). # Corresponds to the JSON property `tags` # @return [Array] attr_accessor :tags - # The Google Compute Engine metadata entries to add to all instances. + # The Google Compute Engine metadata entries to add to all instances (see [ + # Project and instance metadata](https://cloud.google.com/compute/docs/storing- + # retrieving-metadata#project_and_instance_metadata)). # Corresponds to the JSON property `metadata` # @return [Hash] attr_accessor :metadata @@ -203,24 +236,25 @@ module Google @zone_uri = args[:zone_uri] if args.key?(:zone_uri) @network_uri = args[:network_uri] if args.key?(:network_uri) @subnetwork_uri = args[:subnetwork_uri] if args.key?(:subnetwork_uri) + @internal_ip_only = args[:internal_ip_only] if args.key?(:internal_ip_only) @service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes) @tags = args[:tags] if args.key?(:tags) @metadata = args[:metadata] if args.key?(:metadata) end end - # The config settings for Google Compute Engine resources in an instance group, - # such as a master or worker group. + # [Optional] The config settings for Google Compute Engine resources in an + # instance group, such as a master or worker group. class InstanceGroupConfig include Google::Apis::Core::Hashable - # The number of VM instances in the instance group. For master instance groups, - # must be set to 1. + # [Required] The number of VM instances in the instance group. For master + # instance groups, must be set to 1. # Corresponds to the JSON property `numInstances` # @return [Fixnum] attr_accessor :num_instances - # The list of instance names. Cloud Dataproc derives the names from ` + # [Optional] The list of instance names. Cloud Dataproc derives the names from ` # cluster_name`, `num_instances`, and the instance group if not set by user ( # recommended practice is to let Cloud Dataproc derive the name). # Corresponds to the JSON property `instanceNames` @@ -233,9 +267,9 @@ module Google # @return [String] attr_accessor :image_uri - # The Google Compute Engine machine type used for cluster instances. Example: ` - # https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/ - # machineTypes/n1-standard-2`. + # [Required] The Google Compute Engine machine type used for cluster instances. + # Example: `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us- + # east1-a/machineTypes/n1-standard-2`. # Corresponds to the JSON property `machineTypeUri` # @return [String] attr_accessor :machine_type_uri @@ -245,7 +279,7 @@ module Google # @return [Google::Apis::DataprocV1::DiskConfig] attr_accessor :disk_config - # Specifies that this instance group contains Preemptible Instances. + # [Optional] Specifies that this instance group contains preemptible instances. # Corresponds to the JSON property `isPreemptible` # @return [Boolean] attr_accessor :is_preemptible @@ -282,9 +316,10 @@ module Google attr_accessor :boot_disk_size_gb # [Optional] Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are - # not attached, the boot disk is used to store runtime logs and HDFS data. If - # one or more SSDs are attached, this runtime bulk data is spread across them, - # and the boot disk contains only basic config and installed binaries. + # not attached, the boot disk is used to store runtime logs and [HDFS](https:// + # hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs + # are attached, this runtime bulk data is spread across them, and the boot disk + # contains only basic config and installed binaries. # Corresponds to the JSON property `numLocalSsds` # @return [Fixnum] attr_accessor :num_local_ssds @@ -390,17 +425,17 @@ module Google class ClusterStatus include Google::Apis::Core::Hashable - # The cluster's state. + # [Output-only] The cluster's state. # Corresponds to the JSON property `state` # @return [String] attr_accessor :state - # Optional details of cluster's state. + # [Output-only] Optional details of cluster's state. # Corresponds to the JSON property `detail` # @return [String] attr_accessor :detail - # Time when this state was entered. + # [Output-only] Time when this state was entered. # Corresponds to the JSON property `stateStartTime` # @return [String] attr_accessor :state_start_time @@ -417,6 +452,33 @@ module Google end end + # Contains cluster daemon metrics, such as HDFS and YARN stats. **Beta Feature**: + # This report is available for testing purposes only. It may be changed before + # final release. + class ClusterMetrics + include Google::Apis::Core::Hashable + + # The HDFS metrics. + # Corresponds to the JSON property `hdfsMetrics` + # @return [Hash] + attr_accessor :hdfs_metrics + + # The YARN metrics. + # Corresponds to the JSON property `yarnMetrics` + # @return [Hash] + attr_accessor :yarn_metrics + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @hdfs_metrics = args[:hdfs_metrics] if args.key?(:hdfs_metrics) + @yarn_metrics = args[:yarn_metrics] if args.key?(:yarn_metrics) + end + end + # This resource represents a long-running operation that is the result of a # network API call. class Operation @@ -579,9 +641,9 @@ module Google # @return [Array] attr_accessor :clusters - # [Optional] This token is included in the response if there are more results to - # fetch. To fetch additional results, provide this value as the `page_token` in - # a subsequent ListClustersRequest. + # [Output-only] This token is included in the response if there are more results + # to fetch. To fetch additional results, provide this value as the `page_token` + # in a subsequent ListClustersRequest. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -643,32 +705,40 @@ module Google # @return [Google::Apis::DataprocV1::JobPlacement] attr_accessor :placement - # A Cloud Dataproc job for running Hadoop MapReduce jobs on YARN. + # A Cloud Dataproc job for running [Apache Hadoop MapReduce](https://hadoop. + # apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/ + # MapReduceTutorial.html) jobs on [Apache Hadoop YARN](https://hadoop.apache.org/ + # docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). # Corresponds to the JSON property `hadoopJob` # @return [Google::Apis::DataprocV1::HadoopJob] attr_accessor :hadoop_job - # A Cloud Dataproc job for running Spark applications on YARN. + # A Cloud Dataproc job for running [Apache Spark](http://spark.apache.org/) + # applications on YARN. # Corresponds to the JSON property `sparkJob` # @return [Google::Apis::DataprocV1::SparkJob] attr_accessor :spark_job - # A Cloud Dataproc job for running PySpark applications on YARN. + # A Cloud Dataproc job for running [Apache PySpark](https://spark.apache.org/ + # docs/0.9.0/python-programming-guide.html) applications on YARN. # Corresponds to the JSON property `pysparkJob` # @return [Google::Apis::DataprocV1::PySparkJob] attr_accessor :pyspark_job - # A Cloud Dataproc job for running Hive queries on YARN. + # A Cloud Dataproc job for running [Apache Hive](https://hive.apache.org/) + # queries on YARN. # Corresponds to the JSON property `hiveJob` # @return [Google::Apis::DataprocV1::HiveJob] attr_accessor :hive_job - # A Cloud Dataproc job for running Pig queries on YARN. + # A Cloud Dataproc job for running [Apache Pig](https://pig.apache.org/) queries + # on YARN. # Corresponds to the JSON property `pigJob` # @return [Google::Apis::DataprocV1::PigJob] attr_accessor :pig_job - # A Cloud Dataproc job for running Spark SQL queries. + # A Cloud Dataproc job for running [Apache Spark SQL](http://spark.apache.org/ + # sql/) queries. # Corresponds to the JSON property `sparkSqlJob` # @return [Google::Apis::DataprocV1::SparkSqlJob] attr_accessor :spark_sql_job @@ -683,6 +753,13 @@ module Google # @return [Array] attr_accessor :status_history + # [Output-only] The collection of YARN applications spun up by this job. **Beta** + # Feature: This report is available for testing purposes only. It may be + # changed before final release. + # Corresponds to the JSON property `yarnApplications` + # @return [Array] + attr_accessor :yarn_applications + # [Output-only] A URI pointing to the location of the stdout of the job's driver # program. # Corresponds to the JSON property `driverOutputResourceUri` @@ -696,6 +773,15 @@ module Google # @return [String] attr_accessor :driver_control_files_uri + # [Optional] The labels to associate with this job. Label **keys** must contain + # 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/ + # rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 + # to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/ + # rfc1035.txt). No more than 32 labels can be associated with a job. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + def initialize(**args) update!(**args) end @@ -712,8 +798,10 @@ module Google @spark_sql_job = args[:spark_sql_job] if args.key?(:spark_sql_job) @status = args[:status] if args.key?(:status) @status_history = args[:status_history] if args.key?(:status_history) + @yarn_applications = args[:yarn_applications] if args.key?(:yarn_applications) @driver_output_resource_uri = args[:driver_output_resource_uri] if args.key?(:driver_output_resource_uri) @driver_control_files_uri = args[:driver_control_files_uri] if args.key?(:driver_control_files_uri) + @labels = args[:labels] if args.key?(:labels) end end @@ -726,7 +814,7 @@ module Google # @return [String] attr_accessor :project_id - # [Required] The job ID, which must be unique within the project. The job ID is + # [Optional] The job ID, which must be unique within the project. The job ID is # generated by the server upon job submission or provided by the user as a means # to perform retries without creating duplicate jobs. The ID must contain only # letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The @@ -772,7 +860,10 @@ module Google end end - # A Cloud Dataproc job for running Hadoop MapReduce jobs on YARN. + # A Cloud Dataproc job for running [Apache Hadoop MapReduce](https://hadoop. + # apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/ + # MapReduceTutorial.html) jobs on [Apache Hadoop YARN](https://hadoop.apache.org/ + # docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). class HadoopJob include Google::Apis::Core::Hashable @@ -868,7 +959,8 @@ module Google end end - # A Cloud Dataproc job for running Spark applications on YARN. + # A Cloud Dataproc job for running [Apache Spark](http://spark.apache.org/) + # applications on YARN. class SparkJob include Google::Apis::Core::Hashable @@ -939,7 +1031,8 @@ module Google end end - # A Cloud Dataproc job for running PySpark applications on YARN. + # A Cloud Dataproc job for running [Apache PySpark](https://spark.apache.org/ + # docs/0.9.0/python-programming-guide.html) applications on YARN. class PySparkJob include Google::Apis::Core::Hashable @@ -1010,7 +1103,8 @@ module Google end end - # A Cloud Dataproc job for running Hive queries on YARN. + # A Cloud Dataproc job for running [Apache Hive](https://hive.apache.org/) + # queries on YARN. class HiveJob include Google::Apis::Core::Hashable @@ -1090,7 +1184,8 @@ module Google end end - # A Cloud Dataproc job for running Pig queries on YARN. + # A Cloud Dataproc job for running [Apache Pig](https://pig.apache.org/) queries + # on YARN. class PigJob include Google::Apis::Core::Hashable @@ -1153,7 +1248,8 @@ module Google end end - # A Cloud Dataproc job for running Spark SQL queries. + # A Cloud Dataproc job for running [Apache Spark SQL](http://spark.apache.org/ + # sql/) queries. class SparkSqlJob include Google::Apis::Core::Hashable @@ -1209,13 +1305,13 @@ module Google class JobStatus include Google::Apis::Core::Hashable - # [Required] A state message specifying the overall job state. + # [Output-only] A state message specifying the overall job state. # Corresponds to the JSON property `state` # @return [String] attr_accessor :state - # [Optional] Job state details, such as an error description if the state is - # ERROR. + # [Output-only] Optional job state details, such as an error description if the + # state is ERROR. # Corresponds to the JSON property `details` # @return [String] attr_accessor :details @@ -1237,6 +1333,49 @@ module Google end end + # A YARN application created by a job. Application information is a subset of + # org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto. **Beta Feature* + # *: This report is available for testing purposes only. It may be changed + # before final release. + class YarnApplication + include Google::Apis::Core::Hashable + + # [Required] The application name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # [Required] The application state. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # [Required] The numerical progress of the application, from 1 to 100. + # Corresponds to the JSON property `progress` + # @return [Float] + attr_accessor :progress + + # [Optional] The HTTP URL of the ApplicationMaster, HistoryServer, or + # TimelineServer that provides application-specific information. The URL uses + # the internal hostname, and requires a proxy server for resolution and, + # possibly, access. + # Corresponds to the JSON property `trackingUrl` + # @return [String] + attr_accessor :tracking_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @state = args[:state] if args.key?(:state) + @progress = args[:progress] if args.key?(:progress) + @tracking_url = args[:tracking_url] if args.key?(:tracking_url) + end + end + # A list of jobs in a project. class ListJobsResponse include Google::Apis::Core::Hashable @@ -1323,8 +1462,8 @@ module Google class DiagnoseClusterResults include Google::Apis::Core::Hashable - # [Output-only] The Google Cloud Storage URI of the diagnostic output. This is a - # plain text file with a summary of collected diagnostics. + # [Output-only] The Google Cloud Storage URI of the diagnostic output. The + # output report is a plain text file with a summary of collected diagnostics. # Corresponds to the JSON property `outputUri` # @return [String] attr_accessor :output_uri @@ -1343,12 +1482,12 @@ module Google class ClusterOperationMetadata include Google::Apis::Core::Hashable - # Name of the cluster for the operation. + # [Output-only] Name of the cluster for the operation. # Corresponds to the JSON property `clusterName` # @return [String] attr_accessor :cluster_name - # Cluster UUId for the operation. + # [Output-only] Cluster UUID for the operation. # Corresponds to the JSON property `clusterUuid` # @return [String] attr_accessor :cluster_uuid @@ -1373,6 +1512,11 @@ module Google # @return [String] attr_accessor :description + # [Output-only] labels associated with the operation + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + def initialize(**args) update!(**args) end @@ -1385,6 +1529,7 @@ module Google @status_history = args[:status_history] if args.key?(:status_history) @operation_type = args[:operation_type] if args.key?(:operation_type) @description = args[:description] if args.key?(:description) + @labels = args[:labels] if args.key?(:labels) end end @@ -1392,22 +1537,22 @@ module Google class ClusterOperationStatus include Google::Apis::Core::Hashable - # A message containing the operation state. + # [Output-only] A message containing the operation state. # Corresponds to the JSON property `state` # @return [String] attr_accessor :state - # A message containing the detailed operation state. + # [Output-only] A message containing the detailed operation state. # Corresponds to the JSON property `innerState` # @return [String] attr_accessor :inner_state - # A message containing any operation metadata details. + # [Output-only]A message containing any operation metadata details. # Corresponds to the JSON property `details` # @return [String] attr_accessor :details - # The time this state was entered. + # [Output-only] The time this state was entered. # Corresponds to the JSON property `stateStartTime` # @return [String] attr_accessor :state_start_time diff --git a/generated/google/apis/dataproc_v1/representations.rb b/generated/google/apis/dataproc_v1/representations.rb index c519ae6bd..21fb9a7a6 100644 --- a/generated/google/apis/dataproc_v1/representations.rb +++ b/generated/google/apis/dataproc_v1/representations.rb @@ -76,6 +76,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ClusterMetrics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Operation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -178,6 +184,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class YarnApplication + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListJobsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -245,11 +257,14 @@ module Google property :cluster_name, as: 'clusterName' property :config, as: 'config', class: Google::Apis::DataprocV1::ClusterConfig, decorator: Google::Apis::DataprocV1::ClusterConfig::Representation + hash :labels, as: 'labels' property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation property :cluster_uuid, as: 'clusterUuid' + property :metrics, as: 'metrics', class: Google::Apis::DataprocV1::ClusterMetrics, decorator: Google::Apis::DataprocV1::ClusterMetrics::Representation + end end @@ -278,6 +293,7 @@ module Google property :zone_uri, as: 'zoneUri' property :network_uri, as: 'networkUri' property :subnetwork_uri, as: 'subnetworkUri' + property :internal_ip_only, as: 'internalIpOnly' collection :service_account_scopes, as: 'serviceAccountScopes' collection :tags, as: 'tags' hash :metadata, as: 'metadata' @@ -340,6 +356,14 @@ module Google end end + class ClusterMetrics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :hdfs_metrics, as: 'hdfsMetrics' + hash :yarn_metrics, as: 'yarnMetrics' + end + end + class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -407,8 +431,11 @@ module Google collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation + collection :yarn_applications, as: 'yarnApplications', class: Google::Apis::DataprocV1::YarnApplication, decorator: Google::Apis::DataprocV1::YarnApplication::Representation + property :driver_output_resource_uri, as: 'driverOutputResourceUri' property :driver_control_files_uri, as: 'driverControlFilesUri' + hash :labels, as: 'labels' end end @@ -538,6 +565,16 @@ module Google end end + class YarnApplication + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :state, as: 'state' + property :progress, as: 'progress' + property :tracking_url, as: 'trackingUrl' + end + end + class ListJobsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -586,6 +623,7 @@ module Google property :operation_type, as: 'operationType' property :description, as: 'description' + hash :labels, as: 'labels' end end diff --git a/generated/google/apis/dataproc_v1/service.rb b/generated/google/apis/dataproc_v1/service.rb index 775290b4b..c1f71859d 100644 --- a/generated/google/apis/dataproc_v1/service.rb +++ b/generated/google/apis/dataproc_v1/service.rb @@ -22,7 +22,7 @@ module Google module DataprocV1 # Google Cloud Dataproc API # - # Manages Hadoop-based clusters and jobs on Google Cloud Platform. + # An API for managing Hadoop-based clusters and jobs on Google Cloud Platform. # # @example # require 'google/apis/dataproc_v1' @@ -215,10 +215,24 @@ module Google # belongs to. # @param [String] region # [Required] The Cloud Dataproc region in which to handle the request. + # @param [String] filter + # [Optional] A filter constraining the clusters to list. Filters are case- + # sensitive and have the following syntax: field:value [field:value] ... or + # field = value [AND [field = value]] ... where **field** is one of `status. + # state`, `clusterName`, or `labels.[KEY]`, and `[KEY]` is a label key. **value** + # can be `*` to match all values. `status.state` can be one of the following: ` + # ACTIVE`, `INACTIVE`, `CREATING`, `RUNNING`, `ERROR`, `DELETING`, or `UPDATING`. + # `ACTIVE` contains the `CREATING`, `UPDATING`, and `RUNNING` states. `INACTIVE` + # contains the `DELETING` and `ERROR` states. `clusterName` is the name of the + # cluster provided at creation time. Only the logical `AND` operator is + # supported; space-separated items are treated as having an implicit `AND` + # operator. Example valid filters are: status.state:ACTIVE clusterName:mycluster + # labels.env:staging \ labels.starred:* and status.state = ACTIVE AND + # clusterName = mycluster \ AND labels.env = staging AND labels.starred = * # @param [Fixnum] page_size - # The standard List page size. + # [Optional] The standard List page size. # @param [String] page_token - # The standard List page token. + # [Optional] The standard List page token. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -236,12 +250,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_clusters(project_id, region, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_clusters(project_id, region, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/clusters', options) command.response_representation = Google::Apis::DataprocV1::ListClustersResponse::Representation command.response_class = Google::Apis::DataprocV1::ListClustersResponse command.params['projectId'] = project_id unless project_id.nil? command.params['region'] = region unless region.nil? + command.query['filter'] = filter unless filter.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? @@ -376,7 +391,18 @@ module Google # [Optional] If set, the returned jobs list includes only jobs that were # submitted to the named cluster. # @param [String] job_state_matcher - # [Optional] Specifies enumerated categories of jobs to list. + # [Optional] Specifies enumerated categories of jobs to list (default = match + # ALL jobs). + # @param [String] filter + # [Optional] A filter constraining the jobs to list. Filters are case-sensitive + # and have the following syntax: field:value] ... or [field = value] AND [field [ + # = value]] ... where **field** is `status.state` or `labels.[KEY]`, and `[KEY]` + # is a label key. **value** can be `*` to match all values. `status.state` can + # be either `ACTIVE` or `INACTIVE`. Only the logical `AND` operator is supported; + # space-separated items are treated as having an implicit `AND` operator. + # Example valid filters are: status.state:ACTIVE labels.env:staging labels. + # starred:* and status.state = ACTIVE AND labels.env = staging AND labels. + # starred = * # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -394,7 +420,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_jobs(project_id, region, page_size: nil, page_token: nil, cluster_name: nil, job_state_matcher: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_jobs(project_id, region, page_size: nil, page_token: nil, cluster_name: nil, job_state_matcher: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/jobs', options) command.response_representation = Google::Apis::DataprocV1::ListJobsResponse::Representation command.response_class = Google::Apis::DataprocV1::ListJobsResponse @@ -404,6 +430,7 @@ module Google command.query['pageToken'] = page_token unless page_token.nil? command.query['clusterName'] = cluster_name unless cluster_name.nil? command.query['jobStateMatcher'] = job_state_matcher unless job_state_matcher.nil? + command.query['filter'] = filter unless filter.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -488,37 +515,6 @@ module Google execute_or_queue_command(command, &block) end - # Gets the latest state of a long-running operation. Clients can use this method - # to poll the operation result at intervals as recommended by the API service. - # @param [String] name - # The name of the operation resource. - # @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::DataprocV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataprocV1::Operation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_operation(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::DataprocV1::Operation::Representation - command.response_class = Google::Apis::DataprocV1::Operation - 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 operations that match the specified filter in the request. If the server # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` # binding below allows API services to override the binding to use different @@ -561,13 +557,10 @@ module Google execute_or_queue_command(command, &block) end - # Starts asynchronous cancellation on a long-running operation. The server makes - # a best effort to cancel the operation, but success is not guaranteed. If the - # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. - # Clients can use Operations.GetOperation or other methods to check whether the - # cancellation succeeded or whether the operation completed despite cancellation. + # Gets the latest state of a long-running operation. Clients can use this method + # to poll the operation result at intervals as recommended by the API service. # @param [String] name - # The name of the operation resource to be cancelled. + # The name of the operation resource. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -577,18 +570,18 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Empty] parsed result object + # @yieldparam result [Google::Apis::DataprocV1::Operation] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::DataprocV1::Empty] + # @return [Google::Apis::DataprocV1::Operation] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def cancel_operation(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:cancel', options) - command.response_representation = Google::Apis::DataprocV1::Empty::Representation - command.response_class = Google::Apis::DataprocV1::Empty + def get_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::DataprocV1::Operation::Representation + command.response_class = Google::Apis::DataprocV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -627,6 +620,43 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end + + # Starts asynchronous cancellation on a long-running operation. The server makes + # a best effort to cancel the operation, but success is not guaranteed. If the + # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + # Clients can use Operations.GetOperation or other methods to check whether the + # cancellation succeeded or whether the operation completed despite cancellation. + # On successful cancellation, the operation is not deleted; instead, it becomes + # an operation with an Operation.error value with a google.rpc.Status.code of 1, + # corresponding to `Code.CANCELLED`. + # @param [String] name + # The name of the operation resource to be cancelled. + # @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::DataprocV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::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 cancel_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:cancel', options) + command.response_representation = Google::Apis::DataprocV1::Empty::Representation + command.response_class = Google::Apis::DataprocV1::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 protected diff --git a/generated/google/apis/datastore_v1.rb b/generated/google/apis/datastore_v1.rb index c8a79bcb6..f3032793b 100644 --- a/generated/google/apis/datastore_v1.rb +++ b/generated/google/apis/datastore_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/datastore/ module DatastoreV1 VERSION = 'V1' - REVISION = '20161013' + REVISION = '20161025' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/deploymentmanager_v2.rb b/generated/google/apis/deploymentmanager_v2.rb index 8f8a0e8aa..cb5c7c9c1 100644 --- a/generated/google/apis/deploymentmanager_v2.rb +++ b/generated/google/apis/deploymentmanager_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/deployment-manager/ module DeploymentmanagerV2 VERSION = 'V2' - REVISION = '20160915' + REVISION = '20161013' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/deploymentmanager_v2/classes.rb b/generated/google/apis/deploymentmanager_v2/classes.rb index 5ff5bb854..7a13d6b5e 100644 --- a/generated/google/apis/deploymentmanager_v2/classes.rb +++ b/generated/google/apis/deploymentmanager_v2/classes.rb @@ -690,9 +690,9 @@ module Google # @return [String] attr_accessor :target_id - # [Output Only] The URL of the resource that the operation modifies. If creating - # a persistent disk snapshot, this points to the persistent disk that the - # snapshot was created from. + # [Output Only] The URL of the resource that the operation modifies. For + # operations related to creating a snapshot, this points to the persistent disk + # that the snapshot was created from. # Corresponds to the JSON property `targetLink` # @return [String] attr_accessor :target_link diff --git a/generated/google/apis/deploymentmanager_v2/service.rb b/generated/google/apis/deploymentmanager_v2/service.rb index 06cc85787..b5ed8d757 100644 --- a/generated/google/apis/deploymentmanager_v2/service.rb +++ b/generated/google/apis/deploymentmanager_v2/service.rb @@ -285,6 +285,15 @@ module Google # of available results is larger than maxResults, Compute Engine returns a # nextPageToken that can be used to get the next page of results in subsequent # list requests. + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -309,13 +318,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_deployments(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/deployments', options) command.response_representation = Google::Apis::DeploymentmanagerV2::ListDeploymentsResponse::Representation command.response_class = Google::Apis::DeploymentmanagerV2::ListDeploymentsResponse command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.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? @@ -638,6 +648,15 @@ module Google # of available results is larger than maxResults, Compute Engine returns a # nextPageToken that can be used to get the next page of results in subsequent # list requests. + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -662,7 +681,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_manifests(project, deployment, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_manifests(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/deployments/{deployment}/manifests', options) command.response_representation = Google::Apis::DeploymentmanagerV2::ListManifestsResponse::Representation command.response_class = Google::Apis::DeploymentmanagerV2::ListManifestsResponse @@ -670,6 +689,7 @@ module Google command.params['deployment'] = deployment unless deployment.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.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? @@ -744,6 +764,15 @@ module Google # of available results is larger than maxResults, Compute Engine returns a # nextPageToken that can be used to get the next page of results in subsequent # list requests. + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -768,13 +797,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_operations(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/operations', options) command.response_representation = Google::Apis::DeploymentmanagerV2::ListOperationsResponse::Representation command.response_class = Google::Apis::DeploymentmanagerV2::ListOperationsResponse command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.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? @@ -854,6 +884,15 @@ module Google # of available results is larger than maxResults, Compute Engine returns a # nextPageToken that can be used to get the next page of results in subsequent # list requests. + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -878,7 +917,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_resources(project, deployment, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_resources(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/deployments/{deployment}/resources', options) command.response_representation = Google::Apis::DeploymentmanagerV2::ListResourcesResponse::Representation command.response_class = Google::Apis::DeploymentmanagerV2::ListResourcesResponse @@ -886,6 +925,7 @@ module Google command.params['deployment'] = deployment unless deployment.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.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? @@ -922,6 +962,15 @@ module Google # of available results is larger than maxResults, Compute Engine returns a # nextPageToken that can be used to get the next page of results in subsequent # list requests. + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -946,13 +995,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_types(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/types', options) command.response_representation = Google::Apis::DeploymentmanagerV2::ListTypesResponse::Representation command.response_class = Google::Apis::DeploymentmanagerV2::ListTypesResponse command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.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? diff --git a/generated/google/apis/dfareporting_v2_6.rb b/generated/google/apis/dfareporting_v2_6.rb index a72200b28..63baca8cd 100644 --- a/generated/google/apis/dfareporting_v2_6.rb +++ b/generated/google/apis/dfareporting_v2_6.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/doubleclick-advertisers/ module DfareportingV2_6 VERSION = 'V2_6' - REVISION = '20160803' + REVISION = '20161027' # Manage DoubleClick Digital Marketing conversions AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions' diff --git a/generated/google/apis/dfareporting_v2_6/classes.rb b/generated/google/apis/dfareporting_v2_6/classes.rb index f7d184722..cf90c96b1 100644 --- a/generated/google/apis/dfareporting_v2_6/classes.rb +++ b/generated/google/apis/dfareporting_v2_6/classes.rb @@ -649,7 +649,7 @@ module Google # @return [String] attr_accessor :account_id - # Whether this ad is active. + # Whether this ad is active. When true, archived must be false. # Corresponds to the JSON property `active` # @return [Boolean] attr_accessor :active @@ -665,7 +665,7 @@ module Google # @return [Google::Apis::DfareportingV2_6::DimensionValue] attr_accessor :advertiser_id_dimension_value - # Whether this ad is archived. + # Whether this ad is archived. When true, active must be false. # Corresponds to the JSON property `archived` # @return [Boolean] attr_accessor :archived @@ -2280,7 +2280,8 @@ module Google # @return [String] attr_accessor :kind - # Whether the user has Limit Ad Tracking set. + # Whether Limit Ad Tracking is enabled. When set to true, the conversion will be + # used for reporting but not targeting. This will prevent remarketing. # Corresponds to the JSON property `limitAdTracking` # @return [Boolean] attr_accessor :limit_ad_tracking diff --git a/generated/google/apis/dfareporting_v2_6/service.rb b/generated/google/apis/dfareporting_v2_6/service.rb index 2c17b0c84..e7f8b47d1 100644 --- a/generated/google/apis/dfareporting_v2_6/service.rb +++ b/generated/google/apis/dfareporting_v2_6/service.rb @@ -312,7 +312,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of account user profiles, possibly filtered. + # Retrieves a list of account user profiles, possibly filtered. This method + # supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Boolean] active @@ -497,7 +498,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of accounts, possibly filtered. + # Retrieves the list of accounts, possibly filtered. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Boolean] active @@ -714,7 +715,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of ads, possibly filtered. + # Retrieves a list of ads, possibly filtered. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Boolean] active @@ -1024,7 +1025,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of advertiser groups, possibly filtered. + # Retrieves a list of advertiser groups, possibly filtered. This method supports + # paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] ids @@ -1238,7 +1240,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of advertisers, possibly filtered. + # Retrieves a list of advertisers, possibly filtered. This method supports + # paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] advertiser_group_ids @@ -1473,6 +1476,7 @@ module Google end # Retrieves the list of creative IDs associated with the specified campaign. + # This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] campaign_id @@ -1602,7 +1606,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of campaigns, possibly filtered. + # Retrieves a list of campaigns, possibly filtered. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] advertiser_group_ids @@ -1799,7 +1803,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of change logs. + # Retrieves a list of change logs. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] action @@ -2107,7 +2111,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of content categories, possibly filtered. + # Retrieves a list of content categories, possibly filtered. This method + # supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] ids @@ -2528,7 +2533,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of creative field values, possibly filtered. + # Retrieves a list of creative field values, possibly filtered. This method + # supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] creative_field_id @@ -2782,7 +2788,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of creative fields, possibly filtered. + # Retrieves a list of creative fields, possibly filtered. This method supports + # paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] advertiser_ids @@ -2999,7 +3006,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of creative groups, possibly filtered. + # Retrieves a list of creative groups, possibly filtered. This method supports + # paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] advertiser_ids @@ -3219,7 +3227,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of creatives, possibly filtered. + # Retrieves a list of creatives, possibly filtered. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Boolean] active @@ -3470,7 +3478,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of directory site contacts, possibly filtered. + # Retrieves a list of directory site contacts, possibly filtered. This method + # supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] directory_site_ids @@ -3610,7 +3619,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of directory sites, possibly filtered. + # Retrieves a list of directory sites, possibly filtered. This method supports + # paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Boolean] accepts_in_stream_video_placements @@ -4345,7 +4355,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of floodlight activities, possibly filtered. + # Retrieves a list of floodlight activities, possibly filtered. This method + # supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] advertiser_id @@ -4589,7 +4600,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of floodlight activity groups, possibly filtered. + # Retrieves a list of floodlight activity groups, possibly filtered. This method + # supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] advertiser_id @@ -4942,7 +4954,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of inventory items, possibly filtered. + # Retrieves a list of inventory items, possibly filtered. This method supports + # paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] project_id @@ -5582,7 +5595,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of order documents, possibly filtered. + # Retrieves a list of order documents, possibly filtered. This method supports + # paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] project_id @@ -5694,7 +5708,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of orders, possibly filtered. + # Retrieves a list of orders, possibly filtered. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] project_id @@ -5834,7 +5848,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of placement groups, possibly filtered. + # Retrieves a list of placement groups, possibly filtered. This method supports + # paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] advertiser_ids @@ -6134,7 +6149,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of placement strategies, possibly filtered. + # Retrieves a list of placement strategies, possibly filtered. This method + # supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] ids @@ -6392,7 +6408,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of placements, possibly filtered. + # Retrieves a list of placements, possibly filtered. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] advertiser_ids @@ -6770,7 +6786,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of projects, possibly filtered. + # Retrieves a list of projects, possibly filtered. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] advertiser_ids @@ -7060,7 +7076,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of remarketing lists, possibly filtered. + # Retrieves a list of remarketing lists, possibly filtered. This method supports + # paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] advertiser_id @@ -7703,7 +7720,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of sites, possibly filtered. + # Retrieves a list of sites, possibly filtered. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Boolean] accepts_in_stream_video_placements @@ -8068,7 +8085,7 @@ module Google execute_or_queue_command(command, &block) end - # Gets a list of subaccounts, possibly filtered. + # Gets a list of subaccounts, possibly filtered. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] ids @@ -8243,7 +8260,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of targetable remarketing lists, possibly filtered. + # Retrieves a list of targetable remarketing lists, possibly filtered. This + # method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] advertiser_id @@ -8381,7 +8399,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of targeting templates, optionally filtered. + # Retrieves a list of targeting templates, optionally filtered. This method + # supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] advertiser_id @@ -8849,7 +8868,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of user roles, possibly filtered. + # Retrieves a list of user roles, possibly filtered. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Boolean] account_user_role_only diff --git a/generated/google/apis/dns_v1.rb b/generated/google/apis/dns_v1.rb index b0e44d01a..3169d943e 100644 --- a/generated/google/apis/dns_v1.rb +++ b/generated/google/apis/dns_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-dns module DnsV1 VERSION = 'V1' - REVISION = '20161005' + REVISION = '20161020' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/doubleclicksearch_v2.rb b/generated/google/apis/doubleclicksearch_v2.rb index c77a4d65b..3143245a5 100644 --- a/generated/google/apis/doubleclicksearch_v2.rb +++ b/generated/google/apis/doubleclicksearch_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/doubleclick-search/ module DoubleclicksearchV2 VERSION = 'V2' - REVISION = '20161012' + REVISION = '20161031' # View and manage your advertising data in DoubleClick Search AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch' diff --git a/generated/google/apis/drive_v2.rb b/generated/google/apis/drive_v2.rb index 93291bafd..902ec4bf9 100644 --- a/generated/google/apis/drive_v2.rb +++ b/generated/google/apis/drive_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/drive/ module DriveV2 VERSION = 'V2' - REVISION = '20161006' + REVISION = '20161027' # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/drive_v2/classes.rb b/generated/google/apis/drive_v2/classes.rb index 878995002..4cdf4766b 100644 --- a/generated/google/apis/drive_v2/classes.rb +++ b/generated/google/apis/drive_v2/classes.rb @@ -1802,6 +1802,12 @@ module Google attr_accessor :hidden alias_method :hidden?, :hidden + # Whether the file has been modified by this user. + # Corresponds to the JSON property `modified` + # @return [Boolean] + attr_accessor :modified + alias_method :modified?, :modified + # Whether viewers and commenters are prevented from downloading, printing, and # copying this file. # Corresponds to the JSON property `restricted` @@ -1835,6 +1841,7 @@ module Google # Update properties of this object def update!(**args) @hidden = args[:hidden] if args.key?(:hidden) + @modified = args[:modified] if args.key?(:modified) @restricted = args[:restricted] if args.key?(:restricted) @starred = args[:starred] if args.key?(:starred) @trashed = args[:trashed] if args.key?(:trashed) diff --git a/generated/google/apis/drive_v2/representations.rb b/generated/google/apis/drive_v2/representations.rb index 49317953f..1922c2ef3 100644 --- a/generated/google/apis/drive_v2/representations.rb +++ b/generated/google/apis/drive_v2/representations.rb @@ -687,6 +687,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :hidden, as: 'hidden' + property :modified, as: 'modified' property :restricted, as: 'restricted' property :starred, as: 'starred' property :trashed, as: 'trashed' diff --git a/generated/google/apis/drive_v3.rb b/generated/google/apis/drive_v3.rb index 3c4748404..a2bc1e9c1 100644 --- a/generated/google/apis/drive_v3.rb +++ b/generated/google/apis/drive_v3.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/drive/ module DriveV3 VERSION = 'V3' - REVISION = '20161006' + REVISION = '20161027' # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/drive_v3/classes.rb b/generated/google/apis/drive_v3/classes.rb index d727bb18a..7dd23d1ef 100644 --- a/generated/google/apis/drive_v3/classes.rb +++ b/generated/google/apis/drive_v3/classes.rb @@ -563,6 +563,12 @@ module Google # @return [String] attr_accessor :mime_type + # Whether the file has been modified by this user. + # Corresponds to the JSON property `modifiedByMe` + # @return [Boolean] + attr_accessor :modified_by_me + alias_method :modified_by_me?, :modified_by_me + # The last time the file was modified by the user (RFC 3339 date-time). # Corresponds to the JSON property `modifiedByMeTime` # @return [DateTime] @@ -744,6 +750,7 @@ module Google @last_modifying_user = args[:last_modifying_user] if args.key?(:last_modifying_user) @md5_checksum = args[:md5_checksum] if args.key?(:md5_checksum) @mime_type = args[:mime_type] if args.key?(:mime_type) + @modified_by_me = args[:modified_by_me] if args.key?(:modified_by_me) @modified_by_me_time = args[:modified_by_me_time] if args.key?(:modified_by_me_time) @modified_time = args[:modified_time] if args.key?(:modified_time) @name = args[:name] if args.key?(:name) diff --git a/generated/google/apis/drive_v3/representations.rb b/generated/google/apis/drive_v3/representations.rb index 73cdc6abb..b86443c96 100644 --- a/generated/google/apis/drive_v3/representations.rb +++ b/generated/google/apis/drive_v3/representations.rb @@ -314,6 +314,7 @@ module Google property :md5_checksum, as: 'md5Checksum' property :mime_type, as: 'mimeType' + property :modified_by_me, as: 'modifiedByMe' property :modified_by_me_time, as: 'modifiedByMeTime', type: DateTime property :modified_time, as: 'modifiedTime', type: DateTime diff --git a/generated/google/apis/games_configuration_v1configuration.rb b/generated/google/apis/games_configuration_v1configuration.rb index 597f0a9fc..8a07f7c0d 100644 --- a/generated/google/apis/games_configuration_v1configuration.rb +++ b/generated/google/apis/games_configuration_v1configuration.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services module GamesConfigurationV1configuration VERSION = 'V1configuration' - REVISION = '20160908' + REVISION = '20161103' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/games_management_v1management.rb b/generated/google/apis/games_management_v1management.rb index 97775c7c0..5dc17fce0 100644 --- a/generated/google/apis/games_management_v1management.rb +++ b/generated/google/apis/games_management_v1management.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services module GamesManagementV1management VERSION = 'V1management' - REVISION = '20160908' + REVISION = '20161103' # Share your Google+ profile information and view and manage your game activity AUTH_GAMES = 'https://www.googleapis.com/auth/games' diff --git a/generated/google/apis/games_v1.rb b/generated/google/apis/games_v1.rb index 70deee3b6..840e17f8e 100644 --- a/generated/google/apis/games_v1.rb +++ b/generated/google/apis/games_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services/ module GamesV1 VERSION = 'V1' - REVISION = '20160908' + REVISION = '20161103' # View and manage its own configuration data in your Google Drive AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata' diff --git a/generated/google/apis/genomics_v1.rb b/generated/google/apis/genomics_v1.rb index 9e31b9e2b..ae1f5e417 100644 --- a/generated/google/apis/genomics_v1.rb +++ b/generated/google/apis/genomics_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/genomics/ module GenomicsV1 VERSION = 'V1' - REVISION = '20161005' + REVISION = '20160928' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/genomics_v1/classes.rb b/generated/google/apis/genomics_v1/classes.rb index 7f57b07a8..24e74b1e7 100644 --- a/generated/google/apis/genomics_v1/classes.rb +++ b/generated/google/apis/genomics_v1/classes.rb @@ -3345,8 +3345,8 @@ module Google # @return [Array] attr_accessor :events - # Optionally provided by the caller when submitting the request that creates the - # operation. + # This field is deprecated. Use `labels` instead. Optionally provided by the + # caller when submitting the request that creates the operation. # Corresponds to the JSON property `clientId` # @return [String] attr_accessor :client_id @@ -3356,6 +3356,12 @@ module Google # @return [Hash] attr_accessor :runtime_metadata + # Optionally provided by the caller when submitting the request that creates the + # operation. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + def initialize(**args) update!(**args) end @@ -3370,6 +3376,7 @@ module Google @events = args[:events] if args.key?(:events) @client_id = args[:client_id] if args.key?(:client_id) @runtime_metadata = args[:runtime_metadata] if args.key?(:runtime_metadata) + @labels = args[:labels] if args.key?(:labels) end end diff --git a/generated/google/apis/genomics_v1/representations.rb b/generated/google/apis/genomics_v1/representations.rb index 51e8540d4..b527cba32 100644 --- a/generated/google/apis/genomics_v1/representations.rb +++ b/generated/google/apis/genomics_v1/representations.rb @@ -1314,6 +1314,7 @@ module Google property :client_id, as: 'clientId' hash :runtime_metadata, as: 'runtimeMetadata' + hash :labels, as: 'labels' end end diff --git a/generated/google/apis/genomics_v1/service.rb b/generated/google/apis/genomics_v1/service.rb index 6609b152f..8ae3dc920 100644 --- a/generated/google/apis/genomics_v1/service.rb +++ b/generated/google/apis/genomics_v1/service.rb @@ -764,7 +764,8 @@ module Google # The time this job was created, in seconds from the [epoch](http://en. # wikipedia.org/wiki/Unix_time). Can use `>=` and/or `= 1432140000` * `projectId # = my-project AND createTime >= 1432140000 AND createTime <= 1432150000 AND - # status = RUNNING` + # status = RUNNING` * `projectId = my-project AND labels.color = *` * `projectId + # = my-project AND labels.color = red` # @param [Fixnum] page_size # The maximum number of results to return. If unspecified, defaults to 256. The # maximum value is 2048. diff --git a/generated/google/apis/gmail_v1.rb b/generated/google/apis/gmail_v1.rb index d2f61d76a..070643b71 100644 --- a/generated/google/apis/gmail_v1.rb +++ b/generated/google/apis/gmail_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/gmail/api/ module GmailV1 VERSION = 'V1' - REVISION = '20160711' + REVISION = '20161019' # View and manage your mail AUTH_SCOPE = 'https://mail.google.com/' @@ -39,6 +39,9 @@ module Google # Manage mailbox labels AUTH_GMAIL_LABELS = 'https://www.googleapis.com/auth/gmail.labels' + # View your email message metadata such as labels and headers, but not the email body + AUTH_GMAIL_METADATA = 'https://www.googleapis.com/auth/gmail.metadata' + # View and modify but not delete your email AUTH_GMAIL_MODIFY = 'https://www.googleapis.com/auth/gmail.modify' diff --git a/generated/google/apis/gmail_v1/classes.rb b/generated/google/apis/gmail_v1/classes.rb index f58ffd0b4..96b28e15e 100644 --- a/generated/google/apis/gmail_v1/classes.rb +++ b/generated/google/apis/gmail_v1/classes.rb @@ -870,10 +870,10 @@ module Google # @return [String] attr_accessor :attachment_id - # The body data of a MIME message part. May be empty for MIME container types - # that have no message body or when the body data is sent as a separate - # attachment. An attachment ID is present if the body data is contained in a - # separate attachment. + # The body data of a MIME message part as a base64url encoded string. May be + # empty for MIME container types that have no message body or when the body data + # is sent as a separate attachment. An attachment ID is present if the body data + # is contained in a separate attachment. # Corresponds to the JSON property `data` # @return [String] attr_accessor :data @@ -1036,8 +1036,7 @@ module Google # Settings associated with a send-as alias, which can be either the primary # login address associated with the account or a custom "from" address. Send-as - # aliases correspond to the "Send Mail As" feature in the web interface. See - # for more details. + # aliases correspond to the "Send Mail As" feature in the web interface. class SendAs include Google::Apis::Core::Hashable @@ -1092,9 +1091,8 @@ module Google # @return [Google::Apis::GmailV1::SmtpMsa] attr_accessor :smtp_msa - # Whether Gmail should treat this address as an alias for the user's primary - # email address. See for more details. This setting only applies to custom " - # from" aliases. + # Whether Gmail should treat this address as an alias for the user's primary + # email address. This setting only applies to custom "from" aliases. # Corresponds to the JSON property `treatAsAlias` # @return [Boolean] attr_accessor :treat_as_alias @@ -1210,7 +1208,7 @@ module Google end # Vacation auto-reply settings for an account. These settings correspond to the " - # Vacation responder" feature in the web interface. See for more details. + # Vacation responder" feature in the web interface. class VacationSettings include Google::Apis::Core::Hashable diff --git a/generated/google/apis/identitytoolkit_v3.rb b/generated/google/apis/identitytoolkit_v3.rb index 41f709cfc..a1f483ff3 100644 --- a/generated/google/apis/identitytoolkit_v3.rb +++ b/generated/google/apis/identitytoolkit_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/identity-toolkit/v3/ module IdentitytoolkitV3 VERSION = 'V3' - REVISION = '20161010' + REVISION = '20161024' # View and administer all your Firebase data and settings AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase' diff --git a/generated/google/apis/identitytoolkit_v3/classes.rb b/generated/google/apis/identitytoolkit_v3/classes.rb index 962921fac..88534cdf0 100644 --- a/generated/google/apis/identitytoolkit_v3/classes.rb +++ b/generated/google/apis/identitytoolkit_v3/classes.rb @@ -507,6 +507,11 @@ module Google # @return [Google::Apis::IdentitytoolkitV3::EmailTemplate] attr_accessor :change_email_template + # + # Corresponds to the JSON property `dynamicLinksDomain` + # @return [String] + attr_accessor :dynamic_links_domain + # Whether anonymous user is enabled. # Corresponds to the JSON property `enableAnonymousUser` # @return [Boolean] @@ -554,6 +559,7 @@ module Google @api_key = args[:api_key] if args.key?(:api_key) @authorized_domains = args[:authorized_domains] if args.key?(:authorized_domains) @change_email_template = args[:change_email_template] if args.key?(:change_email_template) + @dynamic_links_domain = args[:dynamic_links_domain] if args.key?(:dynamic_links_domain) @enable_anonymous_user = args[:enable_anonymous_user] if args.key?(:enable_anonymous_user) @idp_config = args[:idp_config] if args.key?(:idp_config) @legacy_reset_password_template = args[:legacy_reset_password_template] if args.key?(:legacy_reset_password_template) @@ -905,6 +911,12 @@ module Google # @return [String] attr_accessor :captcha_response + # Whether to disable the user. Only can be used by service account. + # Corresponds to the JSON property `disabled` + # @return [Boolean] + attr_accessor :disabled + alias_method :disabled?, :disabled + # The name of the user. # Corresponds to the JSON property `displayName` # @return [String] @@ -915,6 +927,12 @@ module Google # @return [String] attr_accessor :email + # Mark the email as verified or not. Only can be used by service account. + # Corresponds to the JSON property `emailVerified` + # @return [Boolean] + attr_accessor :email_verified + alias_method :email_verified?, :email_verified + # The GITKit token of the authenticated user. # Corresponds to the JSON property `idToken` # @return [String] @@ -930,6 +948,11 @@ module Google # @return [String] attr_accessor :password + # The photo url of the user. + # Corresponds to the JSON property `photoUrl` + # @return [String] + attr_accessor :photo_url + def initialize(**args) update!(**args) end @@ -938,11 +961,14 @@ module Google def update!(**args) @captcha_challenge = args[:captcha_challenge] if args.key?(:captcha_challenge) @captcha_response = args[:captcha_response] if args.key?(:captcha_response) + @disabled = args[:disabled] if args.key?(:disabled) @display_name = args[:display_name] if args.key?(:display_name) @email = args[:email] if args.key?(:email) + @email_verified = args[:email_verified] if args.key?(:email_verified) @id_token = args[:id_token] if args.key?(:id_token) @instance_id = args[:instance_id] if args.key?(:instance_id) @password = args[:password] if args.key?(:password) + @photo_url = args[:photo_url] if args.key?(:photo_url) end end @@ -950,6 +976,12 @@ module Google class UploadAccountRequest include Google::Apis::Core::Hashable + # Whether allow overwrite existing account when user local_id exists. + # Corresponds to the JSON property `allowOverwrite` + # @return [Boolean] + attr_accessor :allow_overwrite + alias_method :allow_overwrite?, :allow_overwrite + # GCP project number of the requesting delegated app. Currently only intended # for Firebase V1 migration. # Corresponds to the JSON property `delegatedProjectNumber` @@ -1005,6 +1037,7 @@ module Google # Update properties of this object def update!(**args) + @allow_overwrite = args[:allow_overwrite] if args.key?(:allow_overwrite) @delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number) @hash_algorithm = args[:hash_algorithm] if args.key?(:hash_algorithm) @memory_cost = args[:memory_cost] if args.key?(:memory_cost) @@ -1646,6 +1679,11 @@ module Google # @return [Array] attr_accessor :provider_user_info + # The user's plain text password. + # Corresponds to the JSON property `rawPassword` + # @return [String] + attr_accessor :raw_password + # The user's password salt. # Corresponds to the JSON property `salt` # @return [String] @@ -1684,6 +1722,7 @@ module Google @password_updated_at = args[:password_updated_at] if args.key?(:password_updated_at) @photo_url = args[:photo_url] if args.key?(:photo_url) @provider_user_info = args[:provider_user_info] if args.key?(:provider_user_info) + @raw_password = args[:raw_password] if args.key?(:raw_password) @salt = args[:salt] if args.key?(:salt) @screen_name = args[:screen_name] if args.key?(:screen_name) @valid_since = args[:valid_since] if args.key?(:valid_since) @@ -1725,11 +1764,6 @@ module Google # @return [String] attr_accessor :raw_id - # Raw IDP-returned user info. - # Corresponds to the JSON property `rawUserInfo` - # @return [String] - attr_accessor :raw_user_info - # User's screen name at Twitter or login name at Github. # Corresponds to the JSON property `screenName` # @return [String] @@ -1747,7 +1781,6 @@ module Google @photo_url = args[:photo_url] if args.key?(:photo_url) @provider_id = args[:provider_id] if args.key?(:provider_id) @raw_id = args[:raw_id] if args.key?(:raw_id) - @raw_user_info = args[:raw_user_info] if args.key?(:raw_user_info) @screen_name = args[:screen_name] if args.key?(:screen_name) end end diff --git a/generated/google/apis/identitytoolkit_v3/representations.rb b/generated/google/apis/identitytoolkit_v3/representations.rb index 5228323c3..140dc35b6 100644 --- a/generated/google/apis/identitytoolkit_v3/representations.rb +++ b/generated/google/apis/identitytoolkit_v3/representations.rb @@ -364,6 +364,7 @@ module Google collection :authorized_domains, as: 'authorizedDomains' property :change_email_template, as: 'changeEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation + property :dynamic_links_domain, as: 'dynamicLinksDomain' property :enable_anonymous_user, as: 'enableAnonymousUser' collection :idp_config, as: 'idpConfig', class: Google::Apis::IdentitytoolkitV3::IdpConfig, decorator: Google::Apis::IdentitytoolkitV3::IdpConfig::Representation @@ -464,17 +465,21 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :captcha_challenge, as: 'captchaChallenge' property :captcha_response, as: 'captchaResponse' + property :disabled, as: 'disabled' property :display_name, as: 'displayName' property :email, as: 'email' + property :email_verified, as: 'emailVerified' property :id_token, as: 'idToken' property :instance_id, as: 'instanceId' property :password, as: 'password' + property :photo_url, as: 'photoUrl' end end class UploadAccountRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :allow_overwrite, as: 'allowOverwrite' property :delegated_project_number, as: 'delegatedProjectNumber' property :hash_algorithm, as: 'hashAlgorithm' property :memory_cost, as: 'memoryCost' @@ -639,6 +644,7 @@ module Google property :photo_url, as: 'photoUrl' collection :provider_user_info, as: 'providerUserInfo', class: Google::Apis::IdentitytoolkitV3::UserInfo::ProviderUserInfo, decorator: Google::Apis::IdentitytoolkitV3::UserInfo::ProviderUserInfo::Representation + property :raw_password, as: 'rawPassword' property :salt, :base64 => true, as: 'salt' property :screen_name, as: 'screenName' property :valid_since, as: 'validSince' @@ -654,7 +660,6 @@ module Google property :photo_url, as: 'photoUrl' property :provider_id, as: 'providerId' property :raw_id, as: 'rawId' - property :raw_user_info, as: 'rawUserInfo' property :screen_name, as: 'screenName' end end diff --git a/generated/google/apis/language_v1beta1.rb b/generated/google/apis/language_v1beta1.rb index cca4e9c70..dd38e4b91 100644 --- a/generated/google/apis/language_v1beta1.rb +++ b/generated/google/apis/language_v1beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/natural-language/ module LanguageV1beta1 VERSION = 'V1beta1' - REVISION = '20161006' + REVISION = '20161103' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/language_v1beta1/classes.rb b/generated/google/apis/language_v1beta1/classes.rb index 4d021c50b..0ee6f58d7 100644 --- a/generated/google/apis/language_v1beta1/classes.rb +++ b/generated/google/apis/language_v1beta1/classes.rb @@ -505,8 +505,9 @@ module Google class Sentiment include Google::Apis::Core::Hashable - # Polarity of the sentiment in the [-1.0, 1.0] range. Larger numbers - # represent more positive sentiments. + # DEPRECATED FIELD - This field is being deprecated in + # favor of score. Please refer to our documentation at + # https://cloud.google.com/natural-language/docs for more information. # Corresponds to the JSON property `polarity` # @return [Float] attr_accessor :polarity diff --git a/generated/google/apis/language_v1beta1/service.rb b/generated/google/apis/language_v1beta1/service.rb index c217a0e41..b17f52e44 100644 --- a/generated/google/apis/language_v1beta1/service.rb +++ b/generated/google/apis/language_v1beta1/service.rb @@ -30,10 +30,10 @@ module Google # require 'google/apis/language_v1beta1' # # Language = Google::Apis::LanguageV1beta1 # Alias the module - # service = Language::CloudNaturalLanguageAPIService.new + # service = Language::CloudNaturalLanguageService.new # # @see https://cloud.google.com/natural-language/ - class CloudNaturalLanguageAPIService < Google::Apis::Core::BaseService + class CloudNaturalLanguageService < 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. diff --git a/generated/google/apis/logging_v2beta1.rb b/generated/google/apis/logging_v2beta1.rb index a462dd6fe..bd8e64c4e 100644 --- a/generated/google/apis/logging_v2beta1.rb +++ b/generated/google/apis/logging_v2beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/logging/docs/ module LoggingV2beta1 VERSION = 'V2beta1' - REVISION = '20161017' + REVISION = '20161107' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/logging_v2beta1/classes.rb b/generated/google/apis/logging_v2beta1/classes.rb index 6a0864648..8578f6237 100644 --- a/generated/google/apis/logging_v2beta1/classes.rb +++ b/generated/google/apis/logging_v2beta1/classes.rb @@ -114,6 +114,10 @@ module Google end # Describes a sink used to export log entries outside of Stackdriver Logging. + # A logs filter controls which log entries are exported. Sinks can have a + # start time and an end time; these can be used to place log entries from an + # exact time range into a particular destination. If both `start_time` and + # `end_time` are present, then `start_time` must be less than `end_time`. class LogSink include Google::Apis::Core::Hashable @@ -134,11 +138,14 @@ module Google # log entry that was originally written to Stackdriver Logging. # Example filter (V2 format): # logName=projects/my-projectid/logs/syslog AND severity>=ERROR + # The maximum length of the filter is 20000 characters. # Corresponds to the JSON property `filter` # @return [String] attr_accessor :filter - # Optional. Time at which this sink expires. + # Optional. Time at which this sink will stop exporting log entries. If this + # value is present, then log entries are exported only if `entry.timestamp` < + # `end_time`. # Corresponds to the JSON property `endTime` # @return [String] attr_accessor :end_time @@ -152,10 +159,9 @@ module Google # @return [String] attr_accessor :name - # Optional. Time range for which this sink is active. - # Logs are exported only if start_time <= entry.timestamp < end_time - # Both start_time and end_time may be omitted to specify - # (half) infinite ranges. The start_time must be less than the end_time. + # Optional. The time at which this sink will begin exporting log entries. If + # this value is present, then log entries are exported only if `start_time` + # <=`entry.timestamp`. # Corresponds to the JSON property `startTime` # @return [String] attr_accessor :start_time @@ -168,15 +174,11 @@ module Google # @return [String] attr_accessor :output_version_format - # Output only. The IAM identity to which the destination needs to grant write - # access. This may be a service account or a group. - # Examples (Do not assume these specific values): - # "serviceAccount:cloud-logs@system.gserviceaccount.com" - # "group:cloud-logs@google.com" - # For GCS destinations, the role "roles/owner" is required on the bucket - # For Cloud Pubsub destinations, the role "roles/pubsub.publisher" is - # required on the topic - # For BigQuery, the role "roles/editor" is required on the dataset + # Output only. An IAM identity—a service account or group—that + # will write exported log entries to the destination on behalf of Stackdriver + # Logging. You must grant this identity write-access to the destination. + # Consult the destination service's documentation to determine the exact role + # that must be granted. # Corresponds to the JSON property `writerIdentity` # @return [String] attr_accessor :writer_identity @@ -209,6 +211,7 @@ module Google # Required. An [advanced logs filter](/logging/docs/view/advanced_filters). # Example: `"resource.type=gae_app AND severity>=ERROR"`. + # The maximum length of the filter is 20000 characters. # Corresponds to the JSON property `filter` # @return [String] attr_accessor :filter @@ -878,9 +881,9 @@ module Google # @return [String] attr_accessor :request_id - # Whether this is the first RequestLog entry for this request. If an active - # request has several RequestLog entries written to Cloud Logging, this field - # will be set for one of them. + # Whether this is the first `RequestLog` entry for this request. If an + # active request has several `RequestLog` entries written to Stackdriver + # Logging, then this field will be set for one of them. # Corresponds to the JSON property `first` # @return [Boolean] attr_accessor :first @@ -986,7 +989,7 @@ module Google # @return [String] attr_accessor :app_id - # Cloud Trace identifier for this request. + # Stackdriver Trace identifier for this request. # Corresponds to the JSON property `traceId` # @return [String] attr_accessor :trace_id @@ -1107,6 +1110,7 @@ module Google # Optional. A filter that chooses which log entries to return. See [Advanced # Logs Filters](/logging/docs/view/advanced_filters). Only log entries that # match the filter are returned. An empty filter matches all log entries. + # The maximum length of the filter is 20000 characters. # Corresponds to the JSON property `filter` # @return [String] attr_accessor :filter diff --git a/generated/google/apis/logging_v2beta1/service.rb b/generated/google/apis/logging_v2beta1/service.rb index 5b3c0b5fc..9ddcd0d3c 100644 --- a/generated/google/apis/logging_v2beta1/service.rb +++ b/generated/google/apis/logging_v2beta1/service.rb @@ -260,6 +260,12 @@ module Google # resource and the sink identifier. If the sink does not exist, this method # creates the sink. Example: `"projects/my-project-id/sinks/my-sink-id"`. # @param [Google::Apis::LoggingV2beta1::LogSink] log_sink_object + # @param [Boolean] unique_writer_identity + # Optional. Whether the sink will have a dedicated service account returned + # in the sink's writer_identity. Set this field to be true to export + # logs from one project to a different project. This field is ignored for + # non-project sinks (e.g. organization sinks) because those sinks are + # required to have dedicated service accounts. # @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. @@ -277,13 +283,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_project_sink(sink_name, log_sink_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def update_project_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:put, 'v2beta1/{+sinkName}', options) command.request_representation = Google::Apis::LoggingV2beta1::LogSink::Representation command.request_object = log_sink_object command.response_representation = Google::Apis::LoggingV2beta1::LogSink::Representation command.response_class = Google::Apis::LoggingV2beta1::LogSink command.params['sinkName'] = sink_name unless sink_name.nil? + command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) @@ -326,6 +333,12 @@ module Google # Example: `"projects/my-project-id"`. # The new sink must be provided in the request. # @param [Google::Apis::LoggingV2beta1::LogSink] log_sink_object + # @param [Boolean] unique_writer_identity + # Optional. Whether the sink will have a dedicated service account returned + # in the sink's writer_identity. Set this field to be true to export + # logs from one project to a different project. This field is ignored for + # non-project sinks (e.g. organization sinks) because those sinks are + # required to have dedicated service accounts. # @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. @@ -343,13 +356,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_sink(parent, log_sink_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def create_project_sink(parent, log_sink_object = nil, unique_writer_identity: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:post, 'v2beta1/{+parent}/sinks', options) command.request_representation = Google::Apis::LoggingV2beta1::LogSink::Representation command.request_object = log_sink_object command.response_representation = Google::Apis::LoggingV2beta1::LogSink::Representation command.response_class = Google::Apis::LoggingV2beta1::LogSink command.params['parent'] = parent unless parent.nil? + command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) @@ -357,7 +371,7 @@ module Google # Lists sinks. # @param [String] parent - # Required. The cloud resource containing the sinks. + # Required. The resource name where this sink was created. # Example: `"projects/my-logging-project"`. # @param [Fixnum] page_size # Optional. The maximum number of results to return from this request. diff --git a/generated/google/apis/monitoring_v3.rb b/generated/google/apis/monitoring_v3.rb index f45d76450..2e698e335 100644 --- a/generated/google/apis/monitoring_v3.rb +++ b/generated/google/apis/monitoring_v3.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/monitoring/api/ module MonitoringV3 VERSION = 'V3' - REVISION = '20161017' + REVISION = '20161031' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/monitoring_v3/classes.rb b/generated/google/apis/monitoring_v3/classes.rb index 99c56fcca..b1b762c5e 100644 --- a/generated/google/apis/monitoring_v3/classes.rb +++ b/generated/google/apis/monitoring_v3/classes.rb @@ -22,19 +22,19 @@ module Google module Apis module MonitoringV3 - # A specific metric identified by specifying values for all of the labels of a + # A specific metric, identified by specifying values for all of the labels of a # MetricDescriptor. class Metric include Google::Apis::Core::Hashable - # The set of labels that uniquely identify a metric. To specify a metric, all - # labels enumerated in the MetricDescriptor must be assigned values. + # The set of label values that uniquely identify this metric. All labels listed + # in the MetricDescriptor must be assigned values. # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels - # An existing metric type, see google.api.MetricDescriptor. For example, compute. - # googleapis.com/instance/cpu/usage_time. + # An existing metric type, see google.api.MetricDescriptor. For example, custom. + # googleapis.com/invoice/paid/amount. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -274,7 +274,7 @@ module Google class TimeSeries include Google::Apis::Core::Hashable - # A specific metric identified by specifying values for all of the labels of a + # A specific metric, identified by specifying values for all of the labels of a # MetricDescriptor. # Corresponds to the JSON property `metric` # @return [Google::Apis::MonitoringV3::Metric] @@ -340,7 +340,9 @@ module Google end end - # Defines a metric type and its schema. + # Defines a metric type and its schema. Once a metric descriptor is created, + # deleting or altering it stops data collection and makes the metric type's + # existing data unusable. class MetricDescriptor include Google::Apis::Core::Hashable @@ -401,9 +403,10 @@ module Google attr_accessor :unit # The set of labels that can be used to describe a specific instance of this - # metric type. For example, the compute.googleapis.com/instance/network/ - # received_bytes_count metric type has a label, loadbalanced, that specifies - # whether the traffic was received through a load balanced IP address. + # metric type. For example, the appengine.googleapis.com/http/server/ + # response_latencies metric type has a label for the HTTP response code, + # response_code, so you can look at latencies for successful responses or just + # for responses that failed. # Corresponds to the JSON property `labels` # @return [Array] attr_accessor :labels @@ -426,24 +429,23 @@ module Google # @return [String] attr_accessor :display_name - # Resource name. The format of the name may vary between different - # implementations. For examples: - # projects/`project_id`/metricDescriptors/`type=**` - # metricDescriptors/`type=**` + # The resource name of the metric descriptor. Depending on the implementation, + # the name typically includes: (1) the parent resource name that defines the + # scope of the metric type or of its data; and (2) the metric's URL-encoded type, + # which also appears in the type field of this descriptor. For example, + # following is the resource name of a custom metric within the GCP project + # 123456789: + # "projects/123456789/metricDescriptors/custom.googleapis.com%2Finvoice% + # 2Fpaid%2Famount" # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # The metric type including a DNS name prefix, for example "compute. - # googleapis.com/instance/cpu/utilization". Metric types should use a - # natural hierarchical grouping such as the following: - # compute.googleapis.com/instance/cpu/utilization - # compute.googleapis.com/instance/disk/read_ops_count - # compute.googleapis.com/instance/network/received_bytes_count - # Note that if the metric type changes, the monitoring data will be discontinued, - # and anything depends on it will break, such as monitoring dashboards, - # alerting rules and quota limits. Therefore, once a metric has been published, - # its type should be immutable. + # The metric type, including its DNS name prefix. The type is not URL-encoded. + # All user-defined metric types have the DNS name custom.googleapis.com. Metric + # types should use a natural hierarchical grouping. For example: + # "custom.googleapis.com/invoice/paid/amount" + # "appengine.googleapis.com/http/server/response_latencies" # Corresponds to the JSON property `type` # @return [String] attr_accessor :type diff --git a/generated/google/apis/oauth2_v2.rb b/generated/google/apis/oauth2_v2.rb index 050ced11d..071a38f70 100644 --- a/generated/google/apis/oauth2_v2.rb +++ b/generated/google/apis/oauth2_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/accounts/docs/OAuth2 module Oauth2V2 VERSION = 'V2' - REVISION = '20160915' + REVISION = '20161103' # Know the list of people in your circles, your age range, and language AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' diff --git a/generated/google/apis/pagespeedonline_v2.rb b/generated/google/apis/pagespeedonline_v2.rb index c4e94e09f..3240ff1c3 100644 --- a/generated/google/apis/pagespeedonline_v2.rb +++ b/generated/google/apis/pagespeedonline_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/speed/docs/insights/v2/getting-started module PagespeedonlineV2 VERSION = 'V2' - REVISION = '20160811' + REVISION = '20161101' end end end diff --git a/generated/google/apis/plus_domains_v1.rb b/generated/google/apis/plus_domains_v1.rb index 0a5471383..6064c75ba 100644 --- a/generated/google/apis/plus_domains_v1.rb +++ b/generated/google/apis/plus_domains_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/+/domains/ module PlusDomainsV1 VERSION = 'V1' - REVISION = '20161018' + REVISION = '20161107' # View your circles and the people and pages in them AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read' diff --git a/generated/google/apis/plus_v1.rb b/generated/google/apis/plus_v1.rb index a22ed6e05..9c3deb55b 100644 --- a/generated/google/apis/plus_v1.rb +++ b/generated/google/apis/plus_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/+/api/ module PlusV1 VERSION = 'V1' - REVISION = '20161018' + REVISION = '20161107' # Know the list of people in your circles, your age range, and language AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' diff --git a/generated/google/apis/sheets_v4.rb b/generated/google/apis/sheets_v4.rb index 2d3951656..871d8f05d 100644 --- a/generated/google/apis/sheets_v4.rb +++ b/generated/google/apis/sheets_v4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/sheets/ module SheetsV4 VERSION = 'V4' - REVISION = '20161014' + REVISION = '20161105' # View the files in your Google Drive AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly' diff --git a/generated/google/apis/sheets_v4/classes.rb b/generated/google/apis/sheets_v4/classes.rb index 3dff83e3f..9363d7a78 100644 --- a/generated/google/apis/sheets_v4/classes.rb +++ b/generated/google/apis/sheets_v4/classes.rb @@ -604,16 +604,26 @@ module Google class UpdateValuesResponse include Google::Apis::Core::Hashable - # The range (in A1 notation) that updates were applied to. - # Corresponds to the JSON property `updatedRange` - # @return [String] - attr_accessor :updated_range - # The number of columns where at least one cell in the column was updated. # Corresponds to the JSON property `updatedColumns` # @return [Fixnum] attr_accessor :updated_columns + # The number of cells updated. + # Corresponds to the JSON property `updatedCells` + # @return [Fixnum] + attr_accessor :updated_cells + + # Data within a range of the spreadsheet. + # Corresponds to the JSON property `updatedData` + # @return [Google::Apis::SheetsV4::ValueRange] + attr_accessor :updated_data + + # The range (in A1 notation) that updates were applied to. + # Corresponds to the JSON property `updatedRange` + # @return [String] + attr_accessor :updated_range + # The spreadsheet the updates were applied to. # Corresponds to the JSON property `spreadsheetId` # @return [String] @@ -624,22 +634,18 @@ module Google # @return [Fixnum] attr_accessor :updated_rows - # The number of cells updated. - # Corresponds to the JSON property `updatedCells` - # @return [Fixnum] - attr_accessor :updated_cells - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @updated_range = args[:updated_range] if args.key?(:updated_range) @updated_columns = args[:updated_columns] if args.key?(:updated_columns) + @updated_cells = args[:updated_cells] if args.key?(:updated_cells) + @updated_data = args[:updated_data] if args.key?(:updated_data) + @updated_range = args[:updated_range] if args.key?(:updated_range) @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) @updated_rows = args[:updated_rows] if args.key?(:updated_rows) - @updated_cells = args[:updated_cells] if args.key?(:updated_cells) end end @@ -1042,6 +1048,11 @@ module Google # @return [Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse] attr_accessor :delete_conditional_format_rule + # The result of adding a banded range. + # Corresponds to the JSON property `addBanding` + # @return [Google::Apis::SheetsV4::AddBandingResponse] + attr_accessor :add_banding + # The result of duplicating a sheet. # Corresponds to the JSON property `duplicateSheet` # @return [Google::Apis::SheetsV4::DuplicateSheetResponse] @@ -1071,6 +1082,7 @@ module Google @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule) @add_chart = args[:add_chart] if args.key?(:add_chart) @delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule) + @add_banding = args[:add_banding] if args.key?(:add_banding) @duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet) @duplicate_filter_view = args[:duplicate_filter_view] if args.key?(:duplicate_filter_view) @add_named_range = args[:add_named_range] if args.key?(:add_named_range) @@ -1225,6 +1237,25 @@ module Google end end + # The result of adding a banded range. + class AddBandingResponse + include Google::Apis::Core::Hashable + + # A banded (alternating colors) range in a sheet. + # Corresponds to the JSON property `bandedRange` + # @return [Google::Apis::SheetsV4::BandedRange] + attr_accessor :banded_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @banded_range = args[:banded_range] if args.key?(:banded_range) + end + end + # A run of a text format. The format of this run continues until the start # index of the next run. # When updating, all fields must be set. @@ -1559,6 +1590,32 @@ module Google # @return [Array] attr_accessor :data + # Determines how values in the response should be rendered. + # The default render option is ValueRenderOption.FORMATTED_VALUE. + # Corresponds to the JSON property `responseValueRenderOption` + # @return [String] + attr_accessor :response_value_render_option + + # Determines how dates, times, and durations in the response should be + # rendered. This is ignored if response_value_render_option is + # FORMATTED_VALUE. + # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. + # Corresponds to the JSON property `responseDateTimeRenderOption` + # @return [String] + attr_accessor :response_date_time_render_option + + # Determines if the update response should include the values + # of the cells that were updated. By default, responses + # do not include the updated values. The `updatedData` field within + # each of the BatchUpdateValuesResponse.responses will contain + # the updated values. If the range to write was larger than than the range + # actually written, the response will include all values in the requested + # range (excluding trailing empty rows and columns). + # Corresponds to the JSON property `includeValuesInResponse` + # @return [Boolean] + attr_accessor :include_values_in_response + alias_method :include_values_in_response?, :include_values_in_response + def initialize(**args) update!(**args) end @@ -1567,6 +1624,9 @@ module Google def update!(**args) @value_input_option = args[:value_input_option] if args.key?(:value_input_option) @data = args[:data] if args.key?(:data) + @response_value_render_option = args[:response_value_render_option] if args.key?(:response_value_render_option) + @response_date_time_render_option = args[:response_date_time_render_option] if args.key?(:response_date_time_render_option) + @include_values_in_response = args[:include_values_in_response] if args.key?(:include_values_in_response) end end @@ -2668,18 +2728,42 @@ module Google class BatchUpdateSpreadsheetRequest include Google::Apis::Core::Hashable + # Determines if the update response should include the spreadsheet + # resource. + # Corresponds to the JSON property `includeSpreadsheetInResponse` + # @return [Boolean] + attr_accessor :include_spreadsheet_in_response + alias_method :include_spreadsheet_in_response?, :include_spreadsheet_in_response + # A list of updates to apply to the spreadsheet. # Corresponds to the JSON property `requests` # @return [Array] attr_accessor :requests + # Limits the ranges included in the response spreadsheet. + # Meaningful only if include_spreadsheet_response is 'true'. + # Corresponds to the JSON property `responseRanges` + # @return [Array] + attr_accessor :response_ranges + + # True if grid data should be returned. Meaningful only if + # if include_spreadsheet_response is 'true'. + # This parameter is ignored if a field mask was set in the request. + # Corresponds to the JSON property `responseIncludeGridData` + # @return [Boolean] + attr_accessor :response_include_grid_data + alias_method :response_include_grid_data?, :response_include_grid_data + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @include_spreadsheet_in_response = args[:include_spreadsheet_in_response] if args.key?(:include_spreadsheet_in_response) @requests = args[:requests] if args.key?(:requests) + @response_ranges = args[:response_ranges] if args.key?(:response_ranges) + @response_include_grid_data = args[:response_include_grid_data] if args.key?(:response_include_grid_data) end end @@ -3554,6 +3638,25 @@ module Google end end + # Removes the banded range with the given ID from the spreadsheet. + class DeleteBandingRequest + include Google::Apis::Core::Hashable + + # The ID of the banded range to delete. + # Corresponds to the JSON property `bandedRangeId` + # @return [Fixnum] + attr_accessor :banded_range_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @banded_range_id = args[:banded_range_id] if args.key?(:banded_range_id) + end + end + # The default filter associated with a sheet. class BasicFilter include Google::Apis::Core::Hashable @@ -3855,6 +3958,25 @@ module Google end end + # Adds a new banded range to the spreadsheet. + class AddBandingRequest + include Google::Apis::Core::Hashable + + # A banded (alternating colors) range in a sheet. + # Corresponds to the JSON property `bandedRange` + # @return [Google::Apis::SheetsV4::BandedRange] + attr_accessor :banded_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @banded_range = args[:banded_range] if args.key?(:banded_range) + end + end + # Adds new cells after the last row with data in a sheet, # inserting new rows into the sheet if necessary. class AppendCellsRequest @@ -4124,25 +4246,6 @@ module Google end end - # Sets the basic filter associated with a sheet. - class SetBasicFilterRequest - include Google::Apis::Core::Hashable - - # The default filter associated with a sheet. - # Corresponds to the JSON property `filter` - # @return [Google::Apis::SheetsV4::BasicFilter] - attr_accessor :filter - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @filter = args[:filter] if args.key?(:filter) - end - end - # Update an embedded object's position (such as a moving or resizing a # chart or image). class UpdateEmbeddedObjectPositionRequest @@ -4181,6 +4284,25 @@ module Google end end + # Sets the basic filter associated with a sheet. + class SetBasicFilterRequest + include Google::Apis::Core::Hashable + + # The default filter associated with a sheet. + # Corresponds to the JSON property `filter` + # @return [Google::Apis::SheetsV4::BasicFilter] + attr_accessor :filter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filter = args[:filter] if args.key?(:filter) + end + end + # Automatically resizes one or more dimensions based on the contents # of the cells in that dimension. class AutoResizeDimensionsRequest @@ -4224,6 +4346,445 @@ module Google end end + # Properties referring a single dimension (either row or column). If both + # BandedRange.row_properties and BandedRange.column_properties are + # set, the fill colors are applied to cells according to the following rules: + # * header_color and footer_color take priority over band colors. + # * first_band_color takes priority over second_band_color. + # * row_properties takes priority over column_properties. + # For example, the first row color takes priority over the first column + # color, but the first column color takes priority over the second row color. + # Similarly, the row header takes priority over the column header in the + # top left cell, but the column header takes priority over the first row + # color if the row header is not set. + class BandingProperties + include Google::Apis::Core::Hashable + + # Represents a color in the RGBA color space. This representation is designed + # for simplicity of conversion to/from color representations in various + # languages over compactness; for example, the fields of this representation + # can be trivially provided to the constructor of "java.awt.Color" in Java; it + # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" + # method in iOS; and, with just a little work, it can be easily formatted into + # a CSS "rgba()" string in JavaScript, as well. Here are some examples: + # Example (Java): + # import com.google.type.Color; + # // ... + # public static java.awt.Color fromProto(Color protocolor) ` + # float alpha = protocolor.hasAlpha() + # ? protocolor.getAlpha().getValue() + # : 1.0; + # return new java.awt.Color( + # protocolor.getRed(), + # protocolor.getGreen(), + # protocolor.getBlue(), + # alpha); + # ` + # public static Color toProto(java.awt.Color color) ` + # float red = (float) color.getRed(); + # float green = (float) color.getGreen(); + # float blue = (float) color.getBlue(); + # float denominator = 255.0; + # Color.Builder resultBuilder = + # Color + # .newBuilder() + # .setRed(red / denominator) + # .setGreen(green / denominator) + # .setBlue(blue / denominator); + # int alpha = color.getAlpha(); + # if (alpha != 255) ` + # result.setAlpha( + # FloatValue + # .newBuilder() + # .setValue(((float) alpha) / denominator) + # .build()); + # ` + # return resultBuilder.build(); + # ` + # // ... + # Example (iOS / Obj-C): + # // ... + # static UIColor* fromProto(Color* protocolor) ` + # float red = [protocolor red]; + # float green = [protocolor green]; + # float blue = [protocolor blue]; + # FloatValue* alpha_wrapper = [protocolor alpha]; + # float alpha = 1.0; + # if (alpha_wrapper != nil) ` + # alpha = [alpha_wrapper value]; + # ` + # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; + # ` + # static Color* toProto(UIColor* color) ` + # CGFloat red, green, blue, alpha; + # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` + # return nil; + # ` + # Color* result = [Color alloc] init]; + # [result setRed:red]; + # [result setGreen:green]; + # [result setBlue:blue]; + # if (alpha <= 0.9999) ` + # [result setAlpha:floatWrapperWithValue(alpha)]; + # ` + # [result autorelease]; + # return result; + # ` + # // ... + # Example (JavaScript): + # // ... + # var protoToCssColor = function(rgb_color) ` + # var redFrac = rgb_color.red || 0.0; + # var greenFrac = rgb_color.green || 0.0; + # var blueFrac = rgb_color.blue || 0.0; + # var red = Math.floor(redFrac * 255); + # var green = Math.floor(greenFrac * 255); + # var blue = Math.floor(blueFrac * 255); + # if (!('alpha' in rgb_color)) ` + # return rgbToCssColor_(red, green, blue); + # ` + # var alphaFrac = rgb_color.alpha.value || 0.0; + # var rgbParams = [red, green, blue].join(','); + # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); + # `; + # var rgbToCssColor_ = function(red, green, blue) ` + # var rgbNumber = new Number((red << 16) | (green << 8) | blue); + # var hexString = rgbNumber.toString(16); + # var missingZeros = 6 - hexString.length; + # var resultBuilder = ['#']; + # for (var i = 0; i < missingZeros; i++) ` + # resultBuilder.push('0'); + # ` + # resultBuilder.push(hexString); + # return resultBuilder.join(''); + # `; + # // ... + # Corresponds to the JSON property `footerColor` + # @return [Google::Apis::SheetsV4::Color] + attr_accessor :footer_color + + # Represents a color in the RGBA color space. This representation is designed + # for simplicity of conversion to/from color representations in various + # languages over compactness; for example, the fields of this representation + # can be trivially provided to the constructor of "java.awt.Color" in Java; it + # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" + # method in iOS; and, with just a little work, it can be easily formatted into + # a CSS "rgba()" string in JavaScript, as well. Here are some examples: + # Example (Java): + # import com.google.type.Color; + # // ... + # public static java.awt.Color fromProto(Color protocolor) ` + # float alpha = protocolor.hasAlpha() + # ? protocolor.getAlpha().getValue() + # : 1.0; + # return new java.awt.Color( + # protocolor.getRed(), + # protocolor.getGreen(), + # protocolor.getBlue(), + # alpha); + # ` + # public static Color toProto(java.awt.Color color) ` + # float red = (float) color.getRed(); + # float green = (float) color.getGreen(); + # float blue = (float) color.getBlue(); + # float denominator = 255.0; + # Color.Builder resultBuilder = + # Color + # .newBuilder() + # .setRed(red / denominator) + # .setGreen(green / denominator) + # .setBlue(blue / denominator); + # int alpha = color.getAlpha(); + # if (alpha != 255) ` + # result.setAlpha( + # FloatValue + # .newBuilder() + # .setValue(((float) alpha) / denominator) + # .build()); + # ` + # return resultBuilder.build(); + # ` + # // ... + # Example (iOS / Obj-C): + # // ... + # static UIColor* fromProto(Color* protocolor) ` + # float red = [protocolor red]; + # float green = [protocolor green]; + # float blue = [protocolor blue]; + # FloatValue* alpha_wrapper = [protocolor alpha]; + # float alpha = 1.0; + # if (alpha_wrapper != nil) ` + # alpha = [alpha_wrapper value]; + # ` + # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; + # ` + # static Color* toProto(UIColor* color) ` + # CGFloat red, green, blue, alpha; + # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` + # return nil; + # ` + # Color* result = [Color alloc] init]; + # [result setRed:red]; + # [result setGreen:green]; + # [result setBlue:blue]; + # if (alpha <= 0.9999) ` + # [result setAlpha:floatWrapperWithValue(alpha)]; + # ` + # [result autorelease]; + # return result; + # ` + # // ... + # Example (JavaScript): + # // ... + # var protoToCssColor = function(rgb_color) ` + # var redFrac = rgb_color.red || 0.0; + # var greenFrac = rgb_color.green || 0.0; + # var blueFrac = rgb_color.blue || 0.0; + # var red = Math.floor(redFrac * 255); + # var green = Math.floor(greenFrac * 255); + # var blue = Math.floor(blueFrac * 255); + # if (!('alpha' in rgb_color)) ` + # return rgbToCssColor_(red, green, blue); + # ` + # var alphaFrac = rgb_color.alpha.value || 0.0; + # var rgbParams = [red, green, blue].join(','); + # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); + # `; + # var rgbToCssColor_ = function(red, green, blue) ` + # var rgbNumber = new Number((red << 16) | (green << 8) | blue); + # var hexString = rgbNumber.toString(16); + # var missingZeros = 6 - hexString.length; + # var resultBuilder = ['#']; + # for (var i = 0; i < missingZeros; i++) ` + # resultBuilder.push('0'); + # ` + # resultBuilder.push(hexString); + # return resultBuilder.join(''); + # `; + # // ... + # Corresponds to the JSON property `headerColor` + # @return [Google::Apis::SheetsV4::Color] + attr_accessor :header_color + + # Represents a color in the RGBA color space. This representation is designed + # for simplicity of conversion to/from color representations in various + # languages over compactness; for example, the fields of this representation + # can be trivially provided to the constructor of "java.awt.Color" in Java; it + # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" + # method in iOS; and, with just a little work, it can be easily formatted into + # a CSS "rgba()" string in JavaScript, as well. Here are some examples: + # Example (Java): + # import com.google.type.Color; + # // ... + # public static java.awt.Color fromProto(Color protocolor) ` + # float alpha = protocolor.hasAlpha() + # ? protocolor.getAlpha().getValue() + # : 1.0; + # return new java.awt.Color( + # protocolor.getRed(), + # protocolor.getGreen(), + # protocolor.getBlue(), + # alpha); + # ` + # public static Color toProto(java.awt.Color color) ` + # float red = (float) color.getRed(); + # float green = (float) color.getGreen(); + # float blue = (float) color.getBlue(); + # float denominator = 255.0; + # Color.Builder resultBuilder = + # Color + # .newBuilder() + # .setRed(red / denominator) + # .setGreen(green / denominator) + # .setBlue(blue / denominator); + # int alpha = color.getAlpha(); + # if (alpha != 255) ` + # result.setAlpha( + # FloatValue + # .newBuilder() + # .setValue(((float) alpha) / denominator) + # .build()); + # ` + # return resultBuilder.build(); + # ` + # // ... + # Example (iOS / Obj-C): + # // ... + # static UIColor* fromProto(Color* protocolor) ` + # float red = [protocolor red]; + # float green = [protocolor green]; + # float blue = [protocolor blue]; + # FloatValue* alpha_wrapper = [protocolor alpha]; + # float alpha = 1.0; + # if (alpha_wrapper != nil) ` + # alpha = [alpha_wrapper value]; + # ` + # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; + # ` + # static Color* toProto(UIColor* color) ` + # CGFloat red, green, blue, alpha; + # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` + # return nil; + # ` + # Color* result = [Color alloc] init]; + # [result setRed:red]; + # [result setGreen:green]; + # [result setBlue:blue]; + # if (alpha <= 0.9999) ` + # [result setAlpha:floatWrapperWithValue(alpha)]; + # ` + # [result autorelease]; + # return result; + # ` + # // ... + # Example (JavaScript): + # // ... + # var protoToCssColor = function(rgb_color) ` + # var redFrac = rgb_color.red || 0.0; + # var greenFrac = rgb_color.green || 0.0; + # var blueFrac = rgb_color.blue || 0.0; + # var red = Math.floor(redFrac * 255); + # var green = Math.floor(greenFrac * 255); + # var blue = Math.floor(blueFrac * 255); + # if (!('alpha' in rgb_color)) ` + # return rgbToCssColor_(red, green, blue); + # ` + # var alphaFrac = rgb_color.alpha.value || 0.0; + # var rgbParams = [red, green, blue].join(','); + # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); + # `; + # var rgbToCssColor_ = function(red, green, blue) ` + # var rgbNumber = new Number((red << 16) | (green << 8) | blue); + # var hexString = rgbNumber.toString(16); + # var missingZeros = 6 - hexString.length; + # var resultBuilder = ['#']; + # for (var i = 0; i < missingZeros; i++) ` + # resultBuilder.push('0'); + # ` + # resultBuilder.push(hexString); + # return resultBuilder.join(''); + # `; + # // ... + # Corresponds to the JSON property `secondBandColor` + # @return [Google::Apis::SheetsV4::Color] + attr_accessor :second_band_color + + # Represents a color in the RGBA color space. This representation is designed + # for simplicity of conversion to/from color representations in various + # languages over compactness; for example, the fields of this representation + # can be trivially provided to the constructor of "java.awt.Color" in Java; it + # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" + # method in iOS; and, with just a little work, it can be easily formatted into + # a CSS "rgba()" string in JavaScript, as well. Here are some examples: + # Example (Java): + # import com.google.type.Color; + # // ... + # public static java.awt.Color fromProto(Color protocolor) ` + # float alpha = protocolor.hasAlpha() + # ? protocolor.getAlpha().getValue() + # : 1.0; + # return new java.awt.Color( + # protocolor.getRed(), + # protocolor.getGreen(), + # protocolor.getBlue(), + # alpha); + # ` + # public static Color toProto(java.awt.Color color) ` + # float red = (float) color.getRed(); + # float green = (float) color.getGreen(); + # float blue = (float) color.getBlue(); + # float denominator = 255.0; + # Color.Builder resultBuilder = + # Color + # .newBuilder() + # .setRed(red / denominator) + # .setGreen(green / denominator) + # .setBlue(blue / denominator); + # int alpha = color.getAlpha(); + # if (alpha != 255) ` + # result.setAlpha( + # FloatValue + # .newBuilder() + # .setValue(((float) alpha) / denominator) + # .build()); + # ` + # return resultBuilder.build(); + # ` + # // ... + # Example (iOS / Obj-C): + # // ... + # static UIColor* fromProto(Color* protocolor) ` + # float red = [protocolor red]; + # float green = [protocolor green]; + # float blue = [protocolor blue]; + # FloatValue* alpha_wrapper = [protocolor alpha]; + # float alpha = 1.0; + # if (alpha_wrapper != nil) ` + # alpha = [alpha_wrapper value]; + # ` + # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; + # ` + # static Color* toProto(UIColor* color) ` + # CGFloat red, green, blue, alpha; + # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` + # return nil; + # ` + # Color* result = [Color alloc] init]; + # [result setRed:red]; + # [result setGreen:green]; + # [result setBlue:blue]; + # if (alpha <= 0.9999) ` + # [result setAlpha:floatWrapperWithValue(alpha)]; + # ` + # [result autorelease]; + # return result; + # ` + # // ... + # Example (JavaScript): + # // ... + # var protoToCssColor = function(rgb_color) ` + # var redFrac = rgb_color.red || 0.0; + # var greenFrac = rgb_color.green || 0.0; + # var blueFrac = rgb_color.blue || 0.0; + # var red = Math.floor(redFrac * 255); + # var green = Math.floor(greenFrac * 255); + # var blue = Math.floor(blueFrac * 255); + # if (!('alpha' in rgb_color)) ` + # return rgbToCssColor_(red, green, blue); + # ` + # var alphaFrac = rgb_color.alpha.value || 0.0; + # var rgbParams = [red, green, blue].join(','); + # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); + # `; + # var rgbToCssColor_ = function(red, green, blue) ` + # var rgbNumber = new Number((red << 16) | (green << 8) | blue); + # var hexString = rgbNumber.toString(16); + # var missingZeros = 6 - hexString.length; + # var resultBuilder = ['#']; + # for (var i = 0; i < missingZeros; i++) ` + # resultBuilder.push('0'); + # ` + # resultBuilder.push(hexString); + # return resultBuilder.join(''); + # `; + # // ... + # Corresponds to the JSON property `firstBandColor` + # @return [Google::Apis::SheetsV4::Color] + attr_accessor :first_band_color + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @footer_color = args[:footer_color] if args.key?(:footer_color) + @header_color = args[:header_color] if args.key?(:header_color) + @second_band_color = args[:second_band_color] if args.key?(:second_band_color) + @first_band_color = args[:first_band_color] if args.key?(:first_band_color) + end + end + # A single grouping (either row or column) in a pivot table. class PivotGroup include Google::Apis::Core::Hashable @@ -4354,6 +4915,33 @@ module Google end end + # Updates properties of the supplied banded range. + class UpdateBandingRequest + include Google::Apis::Core::Hashable + + # A banded (alternating colors) range in a sheet. + # Corresponds to the JSON property `bandedRange` + # @return [Google::Apis::SheetsV4::BandedRange] + attr_accessor :banded_range + + # The fields that should be updated. At least one field must be specified. + # The root `bandedRange` is implied and should not be specified. + # A single `"*"` can be used as short-hand for listing every field. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @banded_range = args[:banded_range] if args.key?(:banded_range) + @fields = args[:fields] if args.key?(:fields) + end + end + # The data included in a domain or series. class ChartData include Google::Apis::Core::Hashable @@ -4424,6 +5012,11 @@ module Google # @return [Array] attr_accessor :data + # The banded (i.e. alternating colors) ranges on this sheet. + # Corresponds to the JSON property `bandedRanges` + # @return [Array] + attr_accessor :banded_ranges + def initialize(**args) update!(**args) end @@ -4438,6 +5031,7 @@ module Google @basic_filter = args[:basic_filter] if args.key?(:basic_filter) @merges = args[:merges] if args.key?(:merges) @data = args[:data] if args.key?(:data) + @banded_ranges = args[:banded_ranges] if args.key?(:banded_ranges) end end @@ -4640,6 +5234,11 @@ module Google # @return [String] attr_accessor :spreadsheet_id + # Resource that represents a spreadsheet. + # Corresponds to the JSON property `updatedSpreadsheet` + # @return [Google::Apis::SheetsV4::Spreadsheet] + attr_accessor :updated_spreadsheet + # The reply of the updates. This maps 1:1 with the updates, although # replies to some requests may be empty. # Corresponds to the JSON property `replies` @@ -4653,6 +5252,7 @@ module Google # Update properties of this object def update!(**args) @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + @updated_spreadsheet = args[:updated_spreadsheet] if args.key?(:updated_spreadsheet) @replies = args[:replies] if args.key?(:replies) end end @@ -5279,6 +5879,11 @@ module Google # @return [Google::Apis::SheetsV4::MergeCellsRequest] attr_accessor :merge_cells + # Updates properties of the supplied banded range. + # Corresponds to the JSON property `updateBanding` + # @return [Google::Apis::SheetsV4::UpdateBandingRequest] + attr_accessor :update_banding + # Adds a chart to a sheet in the spreadsheet. # Corresponds to the JSON property `addChart` # @return [Google::Apis::SheetsV4::AddChartRequest] @@ -5290,6 +5895,16 @@ module Google # @return [Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest] attr_accessor :delete_conditional_format_rule + # Adds a new banded range to the spreadsheet. + # Corresponds to the JSON property `addBanding` + # @return [Google::Apis::SheetsV4::AddBandingRequest] + attr_accessor :add_banding + + # Removes the banded range with the given ID from the spreadsheet. + # Corresponds to the JSON property `deleteBanding` + # @return [Google::Apis::SheetsV4::DeleteBandingRequest] + attr_accessor :delete_banding + # Updates a chart's specifications. # (This does not move or resize a chart. To move or resize a chart, use # UpdateEmbeddedObjectPositionRequest.) @@ -5420,8 +6035,11 @@ module Google @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule) @set_basic_filter = args[:set_basic_filter] if args.key?(:set_basic_filter) @merge_cells = args[:merge_cells] if args.key?(:merge_cells) + @update_banding = args[:update_banding] if args.key?(:update_banding) @add_chart = args[:add_chart] if args.key?(:add_chart) @delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule) + @add_banding = args[:add_banding] if args.key?(:add_banding) + @delete_banding = args[:delete_banding] if args.key?(:delete_banding) @update_chart_spec = args[:update_chart_spec] if args.key?(:update_chart_spec) @delete_dimension = args[:delete_dimension] if args.key?(:delete_dimension) @delete_embedded_object = args[:delete_embedded_object] if args.key?(:delete_embedded_object) @@ -5527,6 +6145,84 @@ module Google end end + # A banded (alternating colors) range in a sheet. + class BandedRange + include Google::Apis::Core::Hashable + + # The id of the banded range. + # Corresponds to the JSON property `bandedRangeId` + # @return [Fixnum] + attr_accessor :banded_range_id + + # Properties referring a single dimension (either row or column). If both + # BandedRange.row_properties and BandedRange.column_properties are + # set, the fill colors are applied to cells according to the following rules: + # * header_color and footer_color take priority over band colors. + # * first_band_color takes priority over second_band_color. + # * row_properties takes priority over column_properties. + # For example, the first row color takes priority over the first column + # color, but the first column color takes priority over the second row color. + # Similarly, the row header takes priority over the column header in the + # top left cell, but the column header takes priority over the first row + # color if the row header is not set. + # Corresponds to the JSON property `rowProperties` + # @return [Google::Apis::SheetsV4::BandingProperties] + attr_accessor :row_properties + + # Properties referring a single dimension (either row or column). If both + # BandedRange.row_properties and BandedRange.column_properties are + # set, the fill colors are applied to cells according to the following rules: + # * header_color and footer_color take priority over band colors. + # * first_band_color takes priority over second_band_color. + # * row_properties takes priority over column_properties. + # For example, the first row color takes priority over the first column + # color, but the first column color takes priority over the second row color. + # Similarly, the row header takes priority over the column header in the + # top left cell, but the column header takes priority over the first row + # color if the row header is not set. + # Corresponds to the JSON property `columnProperties` + # @return [Google::Apis::SheetsV4::BandingProperties] + attr_accessor :column_properties + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @banded_range_id = args[:banded_range_id] if args.key?(:banded_range_id) + @row_properties = args[:row_properties] if args.key?(:row_properties) + @column_properties = args[:column_properties] if args.key?(:column_properties) + @range = args[:range] if args.key?(:range) + end + end + # The result of deleting a conditional format rule. class DeleteConditionalFormatRuleResponse include Google::Apis::Core::Hashable diff --git a/generated/google/apis/sheets_v4/representations.rb b/generated/google/apis/sheets_v4/representations.rb index f92620f64..a367d0bac 100644 --- a/generated/google/apis/sheets_v4/representations.rb +++ b/generated/google/apis/sheets_v4/representations.rb @@ -196,6 +196,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AddBandingResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class TextFormatRun class Representation < Google::Apis::Core::JsonRepresentation; end @@ -502,6 +508,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class DeleteBandingRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BasicFilter class Representation < Google::Apis::Core::JsonRepresentation; end @@ -544,6 +556,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AddBandingRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AppendCellsRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -580,13 +598,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SetBasicFilterRequest + class UpdateEmbeddedObjectPositionRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class UpdateEmbeddedObjectPositionRequest + class SetBasicFilterRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -604,6 +622,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class BandingProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class PivotGroup class Representation < Google::Apis::Core::JsonRepresentation; end @@ -622,6 +646,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class UpdateBandingRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ChartData class Representation < Google::Apis::Core::JsonRepresentation; end @@ -760,6 +790,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class BandedRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class DeleteConditionalFormatRuleResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -910,11 +946,13 @@ module Google class UpdateValuesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :updated_range, as: 'updatedRange' property :updated_columns, as: 'updatedColumns' + property :updated_cells, as: 'updatedCells' + property :updated_data, as: 'updatedData', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation + + property :updated_range, as: 'updatedRange' property :spreadsheet_id, as: 'spreadsheetId' property :updated_rows, as: 'updatedRows' - property :updated_cells, as: 'updatedCells' end end @@ -1032,6 +1070,8 @@ module Google property :delete_conditional_format_rule, as: 'deleteConditionalFormatRule', class: Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse, decorator: Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse::Representation + property :add_banding, as: 'addBanding', class: Google::Apis::SheetsV4::AddBandingResponse, decorator: Google::Apis::SheetsV4::AddBandingResponse::Representation + property :duplicate_sheet, as: 'duplicateSheet', class: Google::Apis::SheetsV4::DuplicateSheetResponse, decorator: Google::Apis::SheetsV4::DuplicateSheetResponse::Representation property :duplicate_filter_view, as: 'duplicateFilterView', class: Google::Apis::SheetsV4::DuplicateFilterViewResponse, decorator: Google::Apis::SheetsV4::DuplicateFilterViewResponse::Representation @@ -1075,6 +1115,14 @@ module Google end end + class AddBandingResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation + + end + end + class TextFormatRun # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1173,6 +1221,9 @@ module Google property :value_input_option, as: 'valueInputOption' collection :data, as: 'data', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation + property :response_value_render_option, as: 'responseValueRenderOption' + property :response_date_time_render_option, as: 'responseDateTimeRenderOption' + property :include_values_in_response, as: 'includeValuesInResponse' end end @@ -1411,8 +1462,11 @@ module Google class BatchUpdateSpreadsheetRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :include_spreadsheet_in_response, as: 'includeSpreadsheetInResponse' collection :requests, as: 'requests', class: Google::Apis::SheetsV4::Request, decorator: Google::Apis::SheetsV4::Request::Representation + collection :response_ranges, as: 'responseRanges' + property :response_include_grid_data, as: 'responseIncludeGridData' end end @@ -1608,6 +1662,13 @@ module Google end end + class DeleteBandingRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :banded_range_id, as: 'bandedRangeId' + end + end + class BasicFilter # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1672,6 +1733,14 @@ module Google end end + class AddBandingRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation + + end + end + class AppendCellsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1736,14 +1805,6 @@ module Google end end - class SetBasicFilterRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :filter, as: 'filter', class: Google::Apis::SheetsV4::BasicFilter, decorator: Google::Apis::SheetsV4::BasicFilter::Representation - - end - end - class UpdateEmbeddedObjectPositionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1754,6 +1815,14 @@ module Google end end + class SetBasicFilterRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :filter, as: 'filter', class: Google::Apis::SheetsV4::BasicFilter, decorator: Google::Apis::SheetsV4::BasicFilter::Representation + + end + end + class AutoResizeDimensionsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1770,6 +1839,20 @@ module Google end end + class BandingProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :footer_color, as: 'footerColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + property :header_color, as: 'headerColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + property :second_band_color, as: 'secondBandColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + property :first_band_color, as: 'firstBandColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + end + end + class PivotGroup # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1801,6 +1884,15 @@ module Google end end + class UpdateBandingRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation + + property :fields, as: 'fields' + end + end + class ChartData # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1828,6 +1920,8 @@ module Google collection :data, as: 'data', class: Google::Apis::SheetsV4::GridData, decorator: Google::Apis::SheetsV4::GridData::Representation + collection :banded_ranges, as: 'bandedRanges', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation + end end @@ -1872,6 +1966,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :spreadsheet_id, as: 'spreadsheetId' + property :updated_spreadsheet, as: 'updatedSpreadsheet', class: Google::Apis::SheetsV4::Spreadsheet, decorator: Google::Apis::SheetsV4::Spreadsheet::Representation + collection :replies, as: 'replies', class: Google::Apis::SheetsV4::Response, decorator: Google::Apis::SheetsV4::Response::Representation end @@ -2061,10 +2157,16 @@ module Google property :merge_cells, as: 'mergeCells', class: Google::Apis::SheetsV4::MergeCellsRequest, decorator: Google::Apis::SheetsV4::MergeCellsRequest::Representation + property :update_banding, as: 'updateBanding', class: Google::Apis::SheetsV4::UpdateBandingRequest, decorator: Google::Apis::SheetsV4::UpdateBandingRequest::Representation + property :add_chart, as: 'addChart', class: Google::Apis::SheetsV4::AddChartRequest, decorator: Google::Apis::SheetsV4::AddChartRequest::Representation property :delete_conditional_format_rule, as: 'deleteConditionalFormatRule', class: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest::Representation + property :add_banding, as: 'addBanding', class: Google::Apis::SheetsV4::AddBandingRequest, decorator: Google::Apis::SheetsV4::AddBandingRequest::Representation + + property :delete_banding, as: 'deleteBanding', class: Google::Apis::SheetsV4::DeleteBandingRequest, decorator: Google::Apis::SheetsV4::DeleteBandingRequest::Representation + property :update_chart_spec, as: 'updateChartSpec', class: Google::Apis::SheetsV4::UpdateChartSpecRequest, decorator: Google::Apis::SheetsV4::UpdateChartSpecRequest::Representation property :delete_dimension, as: 'deleteDimension', class: Google::Apis::SheetsV4::DeleteDimensionRequest, decorator: Google::Apis::SheetsV4::DeleteDimensionRequest::Representation @@ -2127,6 +2229,19 @@ module Google end end + class BandedRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :banded_range_id, as: 'bandedRangeId' + property :row_properties, as: 'rowProperties', class: Google::Apis::SheetsV4::BandingProperties, decorator: Google::Apis::SheetsV4::BandingProperties::Representation + + property :column_properties, as: 'columnProperties', class: Google::Apis::SheetsV4::BandingProperties, decorator: Google::Apis::SheetsV4::BandingProperties::Representation + + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + end + end + class DeleteConditionalFormatRuleResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/sheets_v4/service.rb b/generated/google/apis/sheets_v4/service.rb index a323ed820..456e29bdf 100644 --- a/generated/google/apis/sheets_v4/service.rb +++ b/generated/google/apis/sheets_v4/service.rb @@ -223,10 +223,12 @@ module Google # The A1 notation of the values to retrieve. # @param [String] value_render_option # How values should be represented in the output. + # The default render option is ValueRenderOption.FORMATTED_VALUE. # @param [String] date_time_render_option # How dates, times, and durations should be represented in the output. # This is ignored if value_render_option is # FORMATTED_VALUE. + # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. # @param [String] major_dimension # The major dimension that results should use. # For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, @@ -309,10 +311,12 @@ module Google # The A1 notation of the values to retrieve. # @param [String] value_render_option # How values should be represented in the output. + # The default render option is ValueRenderOption.FORMATTED_VALUE. # @param [String] date_time_render_option # How dates, times, and durations should be represented in the output. # This is ignored if value_render_option is # FORMATTED_VALUE. + # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. # @param [String] major_dimension # The major dimension that results should use. # For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, @@ -370,8 +374,20 @@ module Google # The A1 notation of a range to search for a logical table of data. # Values will be appended after the last row of the table. # @param [Google::Apis::SheetsV4::ValueRange] value_range_object + # @param [String] response_value_render_option + # Determines how values in the response should be rendered. + # The default render option is ValueRenderOption.FORMATTED_VALUE. # @param [String] value_input_option # How the input data should be interpreted. + # @param [String] response_date_time_render_option + # Determines how dates, times, and durations in the response should be + # rendered. This is ignored if response_value_render_option is + # FORMATTED_VALUE. + # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. + # @param [Boolean] include_values_in_response + # Determines if the update response should include the values + # of the cells that were appended. By default, responses + # do not include the updated values. # @param [String] insert_data_option # How the input data should be inserted. # @param [String] quota_user @@ -391,7 +407,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def append_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, value_input_option: nil, insert_data_option: nil, quota_user: nil, fields: nil, options: nil, &block) + def append_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, response_value_render_option: nil, value_input_option: nil, response_date_time_render_option: nil, include_values_in_response: nil, insert_data_option: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values/{range}:append', options) command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation command.request_object = value_range_object @@ -399,7 +415,10 @@ module Google command.response_class = Google::Apis::SheetsV4::AppendValuesResponse command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? command.params['range'] = range unless range.nil? + command.query['responseValueRenderOption'] = response_value_render_option unless response_value_render_option.nil? command.query['valueInputOption'] = value_input_option unless value_input_option.nil? + command.query['responseDateTimeRenderOption'] = response_date_time_render_option unless response_date_time_render_option.nil? + command.query['includeValuesInResponse'] = include_values_in_response unless include_values_in_response.nil? command.query['insertDataOption'] = insert_data_option unless insert_data_option.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? @@ -414,8 +433,23 @@ module Google # @param [String] range # The A1 notation of the values to update. # @param [Google::Apis::SheetsV4::ValueRange] value_range_object + # @param [String] response_value_render_option + # Determines how values in the response should be rendered. + # The default render option is ValueRenderOption.FORMATTED_VALUE. # @param [String] value_input_option # How the input data should be interpreted. + # @param [String] response_date_time_render_option + # Determines how dates, times, and durations in the response should be + # rendered. This is ignored if response_value_render_option is + # FORMATTED_VALUE. + # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. + # @param [Boolean] include_values_in_response + # Determines if the update response should include the values + # of the cells that were updated. By default, responses + # do not include the updated values. + # If the range to write was larger than than the range actually written, + # the response will include all values in the requested range (excluding + # trailing empty rows and columns). # @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. @@ -433,7 +467,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, value_input_option: nil, quota_user: nil, fields: nil, options: nil, &block) + def update_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, response_value_render_option: nil, value_input_option: nil, response_date_time_render_option: nil, include_values_in_response: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:put, 'v4/spreadsheets/{spreadsheetId}/values/{range}', options) command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation command.request_object = value_range_object @@ -441,7 +475,10 @@ module Google command.response_class = Google::Apis::SheetsV4::UpdateValuesResponse command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? command.params['range'] = range unless range.nil? + command.query['responseValueRenderOption'] = response_value_render_option unless response_value_render_option.nil? command.query['valueInputOption'] = value_input_option unless value_input_option.nil? + command.query['responseDateTimeRenderOption'] = response_date_time_render_option unless response_date_time_render_option.nil? + command.query['includeValuesInResponse'] = include_values_in_response unless include_values_in_response.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/slides_v1.rb b/generated/google/apis/slides_v1.rb new file mode 100644 index 000000000..a1b60d313 --- /dev/null +++ b/generated/google/apis/slides_v1.rb @@ -0,0 +1,49 @@ +# 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/slides_v1/service.rb' +require 'google/apis/slides_v1/classes.rb' +require 'google/apis/slides_v1/representations.rb' + +module Google + module Apis + # Google Slides API + # + # An API for creating and editing Google Slides presentations. + # + # @see https://developers.google.com/slides/ + module SlidesV1 + VERSION = 'V1' + REVISION = '20161102' + + # View and manage the files in your Google Drive + AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' + + # View your Google Spreadsheets + AUTH_SPREADSHEETS_READONLY = 'https://www.googleapis.com/auth/spreadsheets.readonly' + + # View and manage your Google Slides presentations + AUTH_PRESENTATIONS = 'https://www.googleapis.com/auth/presentations' + + # View your Google Slides presentations + AUTH_PRESENTATIONS_READONLY = 'https://www.googleapis.com/auth/presentations.readonly' + + # View the files in your Google Drive + AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly' + + # View and manage your spreadsheets in Google Drive + AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets' + end + end +end diff --git a/generated/google/apis/slides_v1/classes.rb b/generated/google/apis/slides_v1/classes.rb new file mode 100644 index 000000000..41cc9c9cb --- /dev/null +++ b/generated/google/apis/slides_v1/classes.rb @@ -0,0 +1,3926 @@ +# 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 'date' +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 SlidesV1 + + # The stretched picture fill. The page or page element is filled entirely with + # the specified picture. The picture is stretched to fit its container. + class StretchedPictureFill + include Google::Apis::Core::Hashable + + # Reading the content_url: + # An URL to a picture with a default lifetime of 30 minutes. + # This URL is tagged with the account of the requester. Anyone with the URL + # effectively accesses the picture as the original requester. Access to the + # picture may be lost if the presentation's sharing settings change. + # Writing the content_url: + # The picture is fetched once at insertion time and a copy is stored for + # display inside the presentation. Pictures must be less than 50MB in size, + # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF + # format. + # Corresponds to the JSON property `contentUrl` + # @return [String] + attr_accessor :content_url + + # A width and height. + # Corresponds to the JSON property `size` + # @return [Google::Apis::SlidesV1::Size] + attr_accessor :size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content_url = args[:content_url] if args.key?(:content_url) + @size = args[:size] if args.key?(:size) + end + end + + # A PageElement kind representing an + # image. + class Image + include Google::Apis::Core::Hashable + + # An URL to an image with a default lifetime of 30 minutes. + # This URL is tagged with the account of the requester. Anyone with the URL + # effectively accesses the image as the original requester. Access to the + # image may be lost if the presentation's sharing settings change. + # Corresponds to the JSON property `contentUrl` + # @return [String] + attr_accessor :content_url + + # The properties of the Image. + # Corresponds to the JSON property `imageProperties` + # @return [Google::Apis::SlidesV1::ImageProperties] + attr_accessor :image_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content_url = args[:content_url] if args.key?(:content_url) + @image_properties = args[:image_properties] if args.key?(:image_properties) + end + end + + # The properties of the Video. + class VideoProperties + include Google::Apis::Core::Hashable + + # The outline of a PageElement. + # If these fields are unset, they may be inherited from a parent placeholder + # if it exists. If there is no parent, the fields will default to the value + # used for new page elements created in the Slides editor, which may depend on + # the page element kind. + # Corresponds to the JSON property `outline` + # @return [Google::Apis::SlidesV1::Outline] + attr_accessor :outline + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @outline = args[:outline] if args.key?(:outline) + end + end + + # The crop properties of an object enclosed in a container. For example, an + # Image. + # The crop properties is represented by the offsets of four edges which define + # a crop rectangle. The offsets are measured in percentage from the + # corresponding edges of the object's original bounding rectangle towards + # inside, relative to the object's original dimensions. + # - If the offset is in the interval (0, 1), the corresponding edge of crop + # rectangle is positioned inside of the object's original bounding rectangle. + # - If the offset is negative or greater than 1, the corresponding edge of crop + # rectangle is positioned outside of the object's original bounding rectangle. + # - If the left edge of the crop rectangle is on the right side of its right + # edge, the object will be flipped horizontally. + # - If the top edge of the crop rectangle is below its bottom edge, the object + # will be flipped vertically. + # - If all offsets and rotation angle is 0, the object is not cropped. + # After cropping, the content in the crop rectangle will be stretched to fit + # its container. + class CropProperties + include Google::Apis::Core::Hashable + + # The offset specifies the right edge of the crop rectangle that is located + # to the left of the original bounding rectangle right edge, relative to the + # object's original width. + # Corresponds to the JSON property `rightOffset` + # @return [Float] + attr_accessor :right_offset + + # The rotation angle of the crop window around its center, in radians. + # Rotation angle is applied after the offset. + # Corresponds to the JSON property `angle` + # @return [Float] + attr_accessor :angle + + # The offset specifies the left edge of the crop rectangle that is located to + # the right of the original bounding rectangle left edge, relative to the + # object's original width. + # Corresponds to the JSON property `leftOffset` + # @return [Float] + attr_accessor :left_offset + + # The offset specifies the top edge of the crop rectangle that is located + # below the original bounding rectangle top edge, relative to the object's + # original height. + # Corresponds to the JSON property `topOffset` + # @return [Float] + attr_accessor :top_offset + + # The offset specifies the bottom edge of the crop rectangle that is located + # above the original bounding rectangle bottom edge, relative to the object's + # original height. + # Corresponds to the JSON property `bottomOffset` + # @return [Float] + attr_accessor :bottom_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @right_offset = args[:right_offset] if args.key?(:right_offset) + @angle = args[:angle] if args.key?(:angle) + @left_offset = args[:left_offset] if args.key?(:left_offset) + @top_offset = args[:top_offset] if args.key?(:top_offset) + @bottom_offset = args[:bottom_offset] if args.key?(:bottom_offset) + end + end + + # A table range represents a reference to a subset of a table. + # It's important to note that the cells specified by a table range do not + # necessarily form a rectangle. For example, let's say we have a 3 x 3 table + # where all the cells of the last row are merged together. The table looks + # like this: + # + # [ ] + # A table range with location = (0, 0), row span = 3 and column span = 2 + # specifies the following cells: + # x x + # [ x ] + class TableRange + include Google::Apis::Core::Hashable + + # A location of a single table cell within a table. + # Corresponds to the JSON property `location` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :location + + # The row span of the table range. + # Corresponds to the JSON property `rowSpan` + # @return [Fixnum] + attr_accessor :row_span + + # The column span of the table range. + # Corresponds to the JSON property `columnSpan` + # @return [Fixnum] + attr_accessor :column_span + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @location = args[:location] if args.key?(:location) + @row_span = args[:row_span] if args.key?(:row_span) + @column_span = args[:column_span] if args.key?(:column_span) + end + end + + # Update the styling of text in a Shape or + # Table. + class UpdateTextStyleRequest + include Google::Apis::Core::Hashable + + # Represents the styling that can be applied to a TextRun. + # If this text is contained in a shape with a parent placeholder, then these + # text styles may be + # inherited from the parent. Which text styles are inherited depend on the + # nesting level of lists: + # * A text run in a paragraph that is not in a list will inherit its text style + # from the the newline character in the paragraph at the 0 nesting level of + # the list inside the parent placeholder. + # * A text run in a paragraph that is in a list will inherit its text style + # from the newline character in the paragraph at its corresponding nesting + # level of the list inside the parent placeholder. + # Inherited text styles are represented as unset fields in this message. If + # text is contained in a shape without a parent placeholder, unsetting these + # fields will revert the style to a value matching the defaults in the Slides + # editor. + # Corresponds to the JSON property `style` + # @return [Google::Apis::SlidesV1::TextStyle] + attr_accessor :style + + # The object ID of the shape or table with the text to be styled. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The fields that should be updated. + # At least one field must be specified. The root `style` is implied and + # should not be specified. A single `"*"` can be used as short-hand for + # listing every field. + # For example to update the text style to bold, set `fields` to `"bold"`. + # To reset a property to its default value, + # include its field name in the field mask but leave the field itself unset. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # Specifies a contiguous range of an indexed collection, such as characters in + # text. + # Corresponds to the JSON property `textRange` + # @return [Google::Apis::SlidesV1::Range] + attr_accessor :text_range + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @style = args[:style] if args.key?(:style) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @fields = args[:fields] if args.key?(:fields) + @text_range = args[:text_range] if args.key?(:text_range) + @cell_location = args[:cell_location] if args.key?(:cell_location) + end + end + + # Inserts text into a shape or a table cell. + class InsertTextRequest + include Google::Apis::Core::Hashable + + # The text to be inserted. + # Inserting a newline character will implicitly create a new + # ParagraphMarker at that index. + # The paragraph style of the new paragraph will be copied from the paragraph + # at the current insertion index, including lists and bullets. + # Text styles for inserted text will be determined automatically, generally + # preserving the styling of neighboring text. In most cases, the text will be + # added to the TextRun that exists at the + # insertion index. + # Some control characters (U+0000-U+0008, U+000C-U+001F) and characters + # from the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF) + # will be stripped out of the inserted text. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + # The object ID of the shape or table where the text will be inserted. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The index where the text will be inserted, in Unicode code units, based + # on TextElement indexes. + # The index is zero-based and is computed from the start of the string. + # The index may be adjusted to prevent insertions inside Unicode grapheme + # clusters. In these cases, the text will be inserted immediately after the + # grapheme cluster. + # Corresponds to the JSON property `insertionIndex` + # @return [Fixnum] + attr_accessor :insertion_index + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @text = args[:text] if args.key?(:text) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @insertion_index = args[:insertion_index] if args.key?(:insertion_index) + @cell_location = args[:cell_location] if args.key?(:cell_location) + end + end + + # An RGB color. + class RgbColor + include Google::Apis::Core::Hashable + + # The green component of the color, from 0.0 to 1.0. + # Corresponds to the JSON property `green` + # @return [Float] + attr_accessor :green + + # The blue component of the color, from 0.0 to 1.0. + # Corresponds to the JSON property `blue` + # @return [Float] + attr_accessor :blue + + # The red component of the color, from 0.0 to 1.0. + # Corresponds to the JSON property `red` + # @return [Float] + attr_accessor :red + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @green = args[:green] if args.key?(:green) + @blue = args[:blue] if args.key?(:blue) + @red = args[:red] if args.key?(:red) + end + end + + # Common properties for a page element. + # Note: When you initially create a + # PageElement, the API may modify + # the values of both `size` and `transform`, but the + # visual size will be unchanged. + class PageElementProperties + include Google::Apis::Core::Hashable + + # A width and height. + # Corresponds to the JSON property `size` + # @return [Google::Apis::SlidesV1::Size] + attr_accessor :size + + # The object ID of the page where the element is located. + # Corresponds to the JSON property `pageObjectId` + # @return [String] + attr_accessor :page_object_id + + # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] + # to transform source coordinates (x,y) into destination coordinates (x', y') + # according to: + # x' x = shear_y scale_y translate_y + # 1 [ 1 ] + # After transformation, + # x' = scale_x * x + shear_x * y + translate_x; + # y' = scale_y * y + shear_y * x + translate_y; + # This message is therefore composed of these six matrix elements. + # Corresponds to the JSON property `transform` + # @return [Google::Apis::SlidesV1::AffineTransform] + attr_accessor :transform + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @size = args[:size] if args.key?(:size) + @page_object_id = args[:page_object_id] if args.key?(:page_object_id) + @transform = args[:transform] if args.key?(:transform) + end + end + + # Deletes text from a shape or a table cell. + class DeleteTextRequest + include Google::Apis::Core::Hashable + + # The object ID of the shape or table from which the text will be deleted. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # Specifies a contiguous range of an indexed collection, such as characters in + # text. + # Corresponds to the JSON property `textRange` + # @return [Google::Apis::SlidesV1::Range] + attr_accessor :text_range + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @text_range = args[:text_range] if args.key?(:text_range) + @cell_location = args[:cell_location] if args.key?(:cell_location) + end + end + + # Styles that apply to a whole paragraph. + # If this text is contained in a shape with a parent placeholder, then these + # paragraph styles may be + # inherited from the parent. Which paragraph styles are inherited depend on the + # nesting level of lists: + # * A paragraph not in a list will inherit its paragraph style from the + # paragraph at the 0 nesting level of the list inside the parent placeholder. + # * A paragraph in a list will inherit its paragraph style from the paragraph + # at its corresponding nesting level of the list inside the parent + # placeholder. + # Inherited paragraph styles are represented as unset fields in this message. + class ParagraphStyle + include Google::Apis::Core::Hashable + + # The amount of space between lines, as a percentage of normal, where normal + # is represented as 100.0. If unset, the value is inherited from the parent. + # This property is read-only. + # Corresponds to the JSON property `lineSpacing` + # @return [Float] + attr_accessor :line_spacing + + # The spacing mode for the paragraph. This property is read-only. + # Corresponds to the JSON property `spacingMode` + # @return [String] + attr_accessor :spacing_mode + + # The text alignment for this paragraph. This property is read-only. + # Corresponds to the JSON property `alignment` + # @return [String] + attr_accessor :alignment + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `spaceAbove` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :space_above + + # The text direction of this paragraph. This property is read-only. + # Corresponds to the JSON property `direction` + # @return [String] + attr_accessor :direction + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `indentEnd` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :indent_end + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `indentFirstLine` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :indent_first_line + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `indentStart` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :indent_start + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `spaceBelow` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :space_below + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @line_spacing = args[:line_spacing] if args.key?(:line_spacing) + @spacing_mode = args[:spacing_mode] if args.key?(:spacing_mode) + @alignment = args[:alignment] if args.key?(:alignment) + @space_above = args[:space_above] if args.key?(:space_above) + @direction = args[:direction] if args.key?(:direction) + @indent_end = args[:indent_end] if args.key?(:indent_end) + @indent_first_line = args[:indent_first_line] if args.key?(:indent_first_line) + @indent_start = args[:indent_start] if args.key?(:indent_start) + @space_below = args[:space_below] if args.key?(:space_below) + end + end + + # A page in a presentation. + class Page + include Google::Apis::Core::Hashable + + # The properties of Page that are only + # relevant for pages with page_type SLIDE. + # Corresponds to the JSON property `slideProperties` + # @return [Google::Apis::SlidesV1::SlideProperties] + attr_accessor :slide_properties + + # The type of the page. + # Corresponds to the JSON property `pageType` + # @return [String] + attr_accessor :page_type + + # The page elements rendered on the page. + # Corresponds to the JSON property `pageElements` + # @return [Array] + attr_accessor :page_elements + + # The properties of the Page. + # The page will inherit properties from the parent page. Depending on the page + # type the hierarchy is defined in either + # SlideProperties or + # LayoutProperties. + # Corresponds to the JSON property `pageProperties` + # @return [Google::Apis::SlidesV1::PageProperties] + attr_accessor :page_properties + + # The properties of Page are only + # relevant for pages with page_type LAYOUT. + # Corresponds to the JSON property `layoutProperties` + # @return [Google::Apis::SlidesV1::LayoutProperties] + attr_accessor :layout_properties + + # The object ID for this page. Object IDs used by + # Page and + # PageElement share the same namespace. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @slide_properties = args[:slide_properties] if args.key?(:slide_properties) + @page_type = args[:page_type] if args.key?(:page_type) + @page_elements = args[:page_elements] if args.key?(:page_elements) + @page_properties = args[:page_properties] if args.key?(:page_properties) + @layout_properties = args[:layout_properties] if args.key?(:layout_properties) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Update the properties of a Shape. + class UpdateShapePropertiesRequest + include Google::Apis::Core::Hashable + + # The properties of a Shape. + # If the shape is a placeholder shape as determined by the + # placeholder field, then these + # properties may be inherited from a parent placeholder shape. + # Determining the rendered value of the property depends on the corresponding + # property_state field value. + # Corresponds to the JSON property `shapeProperties` + # @return [Google::Apis::SlidesV1::ShapeProperties] + attr_accessor :shape_properties + + # The object ID of the shape the updates are applied to. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The fields that should be updated. + # At least one field must be specified. The root `shapeProperties` is + # implied and should not be specified. A single `"*"` can be used as + # short-hand for listing every field. + # For example to update the shape background solid fill color, set `fields` + # to `"shapeBackgroundFill.solidFill.color"`. + # To reset a property to its default value, include its field name in the + # field mask but leave the field itself unset. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @shape_properties = args[:shape_properties] if args.key?(:shape_properties) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @fields = args[:fields] if args.key?(:fields) + end + end + + # The result of creating a line. + class CreateLineResponse + include Google::Apis::Core::Hashable + + # The object ID of the created line. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # A Google Slides presentation. + class Presentation + include Google::Apis::Core::Hashable + + # The title of the presentation. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # The locale of the presentation, as an IETF BCP 47 language tag. + # Corresponds to the JSON property `locale` + # @return [String] + attr_accessor :locale + + # The slides in the presentation. + # A slide inherits properties from a slide layout. + # Corresponds to the JSON property `slides` + # @return [Array] + attr_accessor :slides + + # The slide masters in the presentation. A slide master contains all common + # page elements and the common properties for a set of layouts. They serve + # three purposes: + # - Placeholder shapes on a master contain the default text styles and shape + # properties of all placeholder shapes on pages that use that master. + # - The master page properties define the common page properties inherited by + # its layouts. + # - Any other shapes on the master slide will appear on all slides using that + # master, regardless of their layout. + # Corresponds to the JSON property `masters` + # @return [Array] + attr_accessor :masters + + # A width and height. + # Corresponds to the JSON property `pageSize` + # @return [Google::Apis::SlidesV1::Size] + attr_accessor :page_size + + # The ID of the presentation. + # Corresponds to the JSON property `presentationId` + # @return [String] + attr_accessor :presentation_id + + # The layouts in the presentation. A layout is a template that determines + # how content is arranged and styled on the slides that inherit from that + # layout. + # Corresponds to the JSON property `layouts` + # @return [Array] + attr_accessor :layouts + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @title = args[:title] if args.key?(:title) + @locale = args[:locale] if args.key?(:locale) + @slides = args[:slides] if args.key?(:slides) + @masters = args[:masters] if args.key?(:masters) + @page_size = args[:page_size] if args.key?(:page_size) + @presentation_id = args[:presentation_id] if args.key?(:presentation_id) + @layouts = args[:layouts] if args.key?(:layouts) + end + end + + # Creates an image. + class CreateImageRequest + include Google::Apis::Core::Hashable + + # The image URL. + # The image is fetched once at insertion time and a copy is stored for + # display inside the presentation. Images must be less than 50MB in size, + # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF + # format. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # A user-supplied object ID. + # If you specify an ID, it must be unique among all pages and page elements + # in the presentation. The ID must start with an alphanumeric character or an + # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + # may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). + # The length of the ID must not be less than 5 or greater than 50. + # If you don't specify an ID, a unique one is generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # Common properties for a page element. + # Note: When you initially create a + # PageElement, the API may modify + # the values of both `size` and `transform`, but the + # visual size will be unchanged. + # Corresponds to the JSON property `elementProperties` + # @return [Google::Apis::SlidesV1::PageElementProperties] + attr_accessor :element_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @url = args[:url] if args.key?(:url) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @element_properties = args[:element_properties] if args.key?(:element_properties) + end + end + + # The properties of Page that are only + # relevant for pages with page_type SLIDE. + class SlideProperties + include Google::Apis::Core::Hashable + + # The object ID of the layout that this slide is based on. + # Corresponds to the JSON property `layoutObjectId` + # @return [String] + attr_accessor :layout_object_id + + # The object ID of the master that this slide is based on. + # Corresponds to the JSON property `masterObjectId` + # @return [String] + attr_accessor :master_object_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @layout_object_id = args[:layout_object_id] if args.key?(:layout_object_id) + @master_object_id = args[:master_object_id] if args.key?(:master_object_id) + end + end + + # Updates the transform of a page element. + class UpdatePageElementTransformRequest + include Google::Apis::Core::Hashable + + # The apply mode of the transform update. + # Corresponds to the JSON property `applyMode` + # @return [String] + attr_accessor :apply_mode + + # The object ID of the page element to update. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] + # to transform source coordinates (x,y) into destination coordinates (x', y') + # according to: + # x' x = shear_y scale_y translate_y + # 1 [ 1 ] + # After transformation, + # x' = scale_x * x + shear_x * y + translate_x; + # y' = scale_y * y + shear_y * x + translate_y; + # This message is therefore composed of these six matrix elements. + # Corresponds to the JSON property `transform` + # @return [Google::Apis::SlidesV1::AffineTransform] + attr_accessor :transform + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @apply_mode = args[:apply_mode] if args.key?(:apply_mode) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @transform = args[:transform] if args.key?(:transform) + end + end + + # A List describes the look and feel of bullets belonging to paragraphs + # associated with a list. A paragraph that is part of a list has an implicit + # reference to that list's ID. + class List + include Google::Apis::Core::Hashable + + # A map of nesting levels to the properties of bullets at the associated + # level. A list has at most nine levels of nesting, so the possible values + # for the keys of this map are 0 through 8, inclusive. + # Corresponds to the JSON property `nestingLevel` + # @return [Hash] + attr_accessor :nesting_level + + # The ID of the list. + # Corresponds to the JSON property `listId` + # @return [String] + attr_accessor :list_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @nesting_level = args[:nesting_level] if args.key?(:nesting_level) + @list_id = args[:list_id] if args.key?(:list_id) + end + end + + # The result of creating a video. + class CreateVideoResponse + include Google::Apis::Core::Hashable + + # The object ID of the created video. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Inserts rows into a table. + class InsertTableRowsRequest + include Google::Apis::Core::Hashable + + # The table to insert rows into. + # Corresponds to the JSON property `tableObjectId` + # @return [String] + attr_accessor :table_object_id + + # Whether to insert new rows below the reference cell location. + # - `True`: insert below the cell. + # - `False`: insert above the cell. + # Corresponds to the JSON property `insertBelow` + # @return [Boolean] + attr_accessor :insert_below + alias_method :insert_below?, :insert_below + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + # The number of rows to be inserted. Maximum 20 per request. + # Corresponds to the JSON property `number` + # @return [Fixnum] + attr_accessor :number + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @table_object_id = args[:table_object_id] if args.key?(:table_object_id) + @insert_below = args[:insert_below] if args.key?(:insert_below) + @cell_location = args[:cell_location] if args.key?(:cell_location) + @number = args[:number] if args.key?(:number) + end + end + + # Update the properties of a Video. + class UpdateVideoPropertiesRequest + include Google::Apis::Core::Hashable + + # The properties of the Video. + # Corresponds to the JSON property `videoProperties` + # @return [Google::Apis::SlidesV1::VideoProperties] + attr_accessor :video_properties + + # The object ID of the video the updates are applied to. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The fields that should be updated. + # At least one field must be specified. The root `videoProperties` is + # implied and should not be specified. A single `"*"` can be used as + # short-hand for listing every field. + # For example to update the video outline color, set `fields` to + # `"outline.outlineFill.solidFill.color"`. + # To reset a property to its default value, include its field name in the + # field mask but leave the field itself unset. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @video_properties = args[:video_properties] if args.key?(:video_properties) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @fields = args[:fields] if args.key?(:fields) + end + end + + # A themeable solid color value. + class OpaqueColor + include Google::Apis::Core::Hashable + + # An RGB color. + # Corresponds to the JSON property `rgbColor` + # @return [Google::Apis::SlidesV1::RgbColor] + attr_accessor :rgb_color + + # An opaque theme color. + # Corresponds to the JSON property `themeColor` + # @return [String] + attr_accessor :theme_color + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rgb_color = args[:rgb_color] if args.key?(:rgb_color) + @theme_color = args[:theme_color] if args.key?(:theme_color) + end + end + + # A single response from an update. + class Response + include Google::Apis::Core::Hashable + + # The result of creating a table. + # Corresponds to the JSON property `createTable` + # @return [Google::Apis::SlidesV1::CreateTableResponse] + attr_accessor :create_table + + # The result of replacing text. + # Corresponds to the JSON property `replaceAllText` + # @return [Google::Apis::SlidesV1::ReplaceAllTextResponse] + attr_accessor :replace_all_text + + # The result of creating a line. + # Corresponds to the JSON property `createLine` + # @return [Google::Apis::SlidesV1::CreateLineResponse] + attr_accessor :create_line + + # The result of creating an embedded Google Sheets chart. + # Corresponds to the JSON property `createSheetsChart` + # @return [Google::Apis::SlidesV1::CreateSheetsChartResponse] + attr_accessor :create_sheets_chart + + # The result of creating a slide. + # Corresponds to the JSON property `createSlide` + # @return [Google::Apis::SlidesV1::CreateSlideResponse] + attr_accessor :create_slide + + # The result of creating a shape. + # Corresponds to the JSON property `createShape` + # @return [Google::Apis::SlidesV1::CreateShapeResponse] + attr_accessor :create_shape + + # The result of replacing shapes with an image. + # Corresponds to the JSON property `replaceAllShapesWithImage` + # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse] + attr_accessor :replace_all_shapes_with_image + + # The result of creating a video. + # Corresponds to the JSON property `createVideo` + # @return [Google::Apis::SlidesV1::CreateVideoResponse] + attr_accessor :create_video + + # The result of creating an image. + # Corresponds to the JSON property `createImage` + # @return [Google::Apis::SlidesV1::CreateImageResponse] + attr_accessor :create_image + + # The response of duplicating an object. + # Corresponds to the JSON property `duplicateObject` + # @return [Google::Apis::SlidesV1::DuplicateObjectResponse] + attr_accessor :duplicate_object + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_table = args[:create_table] if args.key?(:create_table) + @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text) + @create_line = args[:create_line] if args.key?(:create_line) + @create_sheets_chart = args[:create_sheets_chart] if args.key?(:create_sheets_chart) + @create_slide = args[:create_slide] if args.key?(:create_slide) + @create_shape = args[:create_shape] if args.key?(:create_shape) + @replace_all_shapes_with_image = args[:replace_all_shapes_with_image] if args.key?(:replace_all_shapes_with_image) + @create_video = args[:create_video] if args.key?(:create_video) + @create_image = args[:create_image] if args.key?(:create_image) + @duplicate_object = args[:duplicate_object] if args.key?(:duplicate_object) + end + end + + # The properties of the Line. + # When unset, these fields default to values that match the appearance of + # new lines created in the Slides editor. + class LineProperties + include Google::Apis::Core::Hashable + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `weight` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :weight + + # The style of the arrow at the beginning of the line. + # Corresponds to the JSON property `startArrow` + # @return [String] + attr_accessor :start_arrow + + # The style of the arrow at the end of the line. + # Corresponds to the JSON property `endArrow` + # @return [String] + attr_accessor :end_arrow + + # The fill of the line. + # Corresponds to the JSON property `lineFill` + # @return [Google::Apis::SlidesV1::LineFill] + attr_accessor :line_fill + + # The dash style of the line. + # Corresponds to the JSON property `dashStyle` + # @return [String] + attr_accessor :dash_style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @weight = args[:weight] if args.key?(:weight) + @start_arrow = args[:start_arrow] if args.key?(:start_arrow) + @end_arrow = args[:end_arrow] if args.key?(:end_arrow) + @line_fill = args[:line_fill] if args.key?(:line_fill) + @dash_style = args[:dash_style] if args.key?(:dash_style) + end + end + + # A PageElement kind representing a + # table. + class Table + include Google::Apis::Core::Hashable + + # Number of columns in the table. + # Corresponds to the JSON property `columns` + # @return [Fixnum] + attr_accessor :columns + + # Properties of each column. + # Corresponds to the JSON property `tableColumns` + # @return [Array] + attr_accessor :table_columns + + # Number of rows in the table. + # Corresponds to the JSON property `rows` + # @return [Fixnum] + attr_accessor :rows + + # Properties and contents of each row. + # Cells that span multiple rows are contained in only one of these rows and + # have a row_span greater + # than 1. + # Corresponds to the JSON property `tableRows` + # @return [Array] + attr_accessor :table_rows + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @columns = args[:columns] if args.key?(:columns) + @table_columns = args[:table_columns] if args.key?(:table_columns) + @rows = args[:rows] if args.key?(:rows) + @table_rows = args[:table_rows] if args.key?(:table_rows) + end + end + + # Contains properties describing the look and feel of a list bullet at a given + # level of nesting. + class NestingLevel + include Google::Apis::Core::Hashable + + # Represents the styling that can be applied to a TextRun. + # If this text is contained in a shape with a parent placeholder, then these + # text styles may be + # inherited from the parent. Which text styles are inherited depend on the + # nesting level of lists: + # * A text run in a paragraph that is not in a list will inherit its text style + # from the the newline character in the paragraph at the 0 nesting level of + # the list inside the parent placeholder. + # * A text run in a paragraph that is in a list will inherit its text style + # from the newline character in the paragraph at its corresponding nesting + # level of the list inside the parent placeholder. + # Inherited text styles are represented as unset fields in this message. If + # text is contained in a shape without a parent placeholder, unsetting these + # fields will revert the style to a value matching the defaults in the Slides + # editor. + # Corresponds to the JSON property `bulletStyle` + # @return [Google::Apis::SlidesV1::TextStyle] + attr_accessor :bullet_style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bullet_style = args[:bullet_style] if args.key?(:bullet_style) + end + end + + # The response of duplicating an object. + class DuplicateObjectResponse + include Google::Apis::Core::Hashable + + # The ID of the new duplicate object. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Refreshes an embedded Google Sheets chart by replacing it with the latest + # version of the chart from Google Sheets. + # NOTE: Refreshing charts requires at least one of the spreadsheets.readonly, + # spreadsheets, drive.readonly, or drive OAuth scopes. + class RefreshSheetsChartRequest + include Google::Apis::Core::Hashable + + # The object ID of the chart to refresh. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # A location of a single table cell within a table. + class TableCellLocation + include Google::Apis::Core::Hashable + + # The 0-based row index. + # Corresponds to the JSON property `rowIndex` + # @return [Fixnum] + attr_accessor :row_index + + # The 0-based column index. + # Corresponds to the JSON property `columnIndex` + # @return [Fixnum] + attr_accessor :column_index + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @row_index = args[:row_index] if args.key?(:row_index) + @column_index = args[:column_index] if args.key?(:column_index) + end + end + + # The general text content. The text must reside in a compatible shape (e.g. + # text box or rectangle) or a table cell in a page. + class TextContent + include Google::Apis::Core::Hashable + + # The bulleted lists contained in this text, keyed by list ID. + # Corresponds to the JSON property `lists` + # @return [Hash] + attr_accessor :lists + + # The text contents broken down into its component parts, including styling + # information. This property is read-only. + # Corresponds to the JSON property `textElements` + # @return [Array] + attr_accessor :text_elements + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @lists = args[:lists] if args.key?(:lists) + @text_elements = args[:text_elements] if args.key?(:text_elements) + end + end + + # A visual element rendered on a page. + class PageElement + include Google::Apis::Core::Hashable + + # The description of the page element. Combined with title to display alt + # text. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The title of the page element. Combined with description to display alt + # text. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] + # to transform source coordinates (x,y) into destination coordinates (x', y') + # according to: + # x' x = shear_y scale_y translate_y + # 1 [ 1 ] + # After transformation, + # x' = scale_x * x + shear_x * y + translate_x; + # y' = scale_y * y + shear_y * x + translate_y; + # This message is therefore composed of these six matrix elements. + # Corresponds to the JSON property `transform` + # @return [Google::Apis::SlidesV1::AffineTransform] + attr_accessor :transform + + # A PageElement kind representing a + # video. + # Corresponds to the JSON property `video` + # @return [Google::Apis::SlidesV1::Video] + attr_accessor :video + + # A PageElement kind representing + # a linked chart embedded from Google Sheets. + # Corresponds to the JSON property `sheetsChart` + # @return [Google::Apis::SlidesV1::SheetsChart] + attr_accessor :sheets_chart + + # A PageElement kind representing a + # line, curved connector, or bent connector. + # Corresponds to the JSON property `line` + # @return [Google::Apis::SlidesV1::Line] + attr_accessor :line + + # A PageElement kind representing a + # table. + # Corresponds to the JSON property `table` + # @return [Google::Apis::SlidesV1::Table] + attr_accessor :table + + # A PageElement kind representing + # word art. + # Corresponds to the JSON property `wordArt` + # @return [Google::Apis::SlidesV1::WordArt] + attr_accessor :word_art + + # A PageElement kind representing a + # generic shape that does not have a more specific classification. + # Corresponds to the JSON property `shape` + # @return [Google::Apis::SlidesV1::Shape] + attr_accessor :shape + + # A PageElement kind representing a + # joined collection of PageElements. + # Corresponds to the JSON property `elementGroup` + # @return [Google::Apis::SlidesV1::Group] + attr_accessor :element_group + + # A PageElement kind representing an + # image. + # Corresponds to the JSON property `image` + # @return [Google::Apis::SlidesV1::Image] + attr_accessor :image + + # The object ID for this page element. Object IDs used by + # google.apps.slides.v1.Page and + # google.apps.slides.v1.PageElement share the same namespace. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # A width and height. + # Corresponds to the JSON property `size` + # @return [Google::Apis::SlidesV1::Size] + attr_accessor :size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @title = args[:title] if args.key?(:title) + @transform = args[:transform] if args.key?(:transform) + @video = args[:video] if args.key?(:video) + @sheets_chart = args[:sheets_chart] if args.key?(:sheets_chart) + @line = args[:line] if args.key?(:line) + @table = args[:table] if args.key?(:table) + @word_art = args[:word_art] if args.key?(:word_art) + @shape = args[:shape] if args.key?(:shape) + @element_group = args[:element_group] if args.key?(:element_group) + @image = args[:image] if args.key?(:image) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @size = args[:size] if args.key?(:size) + end + end + + # Updates the properties of a Page. + class UpdatePagePropertiesRequest + include Google::Apis::Core::Hashable + + # The object ID of the page the update is applied to. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The fields that should be updated. + # At least one field must be specified. The root `pageProperties` is + # implied and should not be specified. A single `"*"` can be used as + # short-hand for listing every field. + # For example to update the page background solid fill color, set `fields` + # to `"pageBackgroundFill.solidFill.color"`. + # To reset a property to its default value, include its field name in the + # field mask but leave the field itself unset. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # The properties of the Page. + # The page will inherit properties from the parent page. Depending on the page + # type the hierarchy is defined in either + # SlideProperties or + # LayoutProperties. + # Corresponds to the JSON property `pageProperties` + # @return [Google::Apis::SlidesV1::PageProperties] + attr_accessor :page_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @fields = args[:fields] if args.key?(:fields) + @page_properties = args[:page_properties] if args.key?(:page_properties) + end + end + + # Update the properties of a TableCell. + class UpdateTableCellPropertiesRequest + include Google::Apis::Core::Hashable + + # The object ID of the table. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # A table range represents a reference to a subset of a table. + # It's important to note that the cells specified by a table range do not + # necessarily form a rectangle. For example, let's say we have a 3 x 3 table + # where all the cells of the last row are merged together. The table looks + # like this: + # + # [ ] + # A table range with location = (0, 0), row span = 3 and column span = 2 + # specifies the following cells: + # x x + # [ x ] + # Corresponds to the JSON property `tableRange` + # @return [Google::Apis::SlidesV1::TableRange] + attr_accessor :table_range + + # The fields that should be updated. + # At least one field must be specified. The root `tableCellProperties` is + # implied and should not be specified. A single `"*"` can be used as + # short-hand for listing every field. + # For example to update the table cell background solid fill color, set + # `fields` to `"tableCellBackgroundFill.solidFill.color"`. + # To reset a property to its default value, include its field name in the + # field mask but leave the field itself unset. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # The properties of the TableCell. + # Corresponds to the JSON property `tableCellProperties` + # @return [Google::Apis::SlidesV1::TableCellProperties] + attr_accessor :table_cell_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @table_range = args[:table_range] if args.key?(:table_range) + @fields = args[:fields] if args.key?(:fields) + @table_cell_properties = args[:table_cell_properties] if args.key?(:table_cell_properties) + end + end + + # Request message for PresentationsService.BatchUpdatePresentation. + class BatchUpdatePresentationRequest + include Google::Apis::Core::Hashable + + # A list of updates to apply to the presentation. + # Corresponds to the JSON property `requests` + # @return [Array] + attr_accessor :requests + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @requests = args[:requests] if args.key?(:requests) + end + end + + # A magnitude in a single direction in the specified units. + class Dimension + include Google::Apis::Core::Hashable + + # The units for magnitude. + # Corresponds to the JSON property `unit` + # @return [String] + attr_accessor :unit + + # The magnitude. + # Corresponds to the JSON property `magnitude` + # @return [Float] + attr_accessor :magnitude + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @unit = args[:unit] if args.key?(:unit) + @magnitude = args[:magnitude] if args.key?(:magnitude) + end + end + + # The placeholder information that uniquely identifies a placeholder shape. + class Placeholder + include Google::Apis::Core::Hashable + + # The index of the placeholder. If the same placeholder types are the present + # in the same page, they would have different index values. + # Corresponds to the JSON property `index` + # @return [Fixnum] + attr_accessor :index + + # The type of the placeholder. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The object ID of this shape's parent placeholder. + # If unset, the parent placeholder shape does not exist, so the shape does + # not inherit properties from any other shape. + # Corresponds to the JSON property `parentObjectId` + # @return [String] + attr_accessor :parent_object_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @index = args[:index] if args.key?(:index) + @type = args[:type] if args.key?(:type) + @parent_object_id = args[:parent_object_id] if args.key?(:parent_object_id) + end + end + + # Creates an embedded Google Sheets chart. + # NOTE: Chart creation requires at least one of the spreadsheets.readonly, + # spreadsheets, drive.readonly, or drive OAuth scopes. + class CreateSheetsChartRequest + include Google::Apis::Core::Hashable + + # The ID of the specific chart in the Google Sheets spreadsheet. + # Corresponds to the JSON property `chartId` + # @return [Fixnum] + attr_accessor :chart_id + + # A user-supplied object ID. + # If specified, the ID must be unique among all pages and page elements in + # the presentation. The ID should start with a word character [a-zA-Z0-9_] + # and then followed by any number of the following characters [a-zA-Z0-9_-:]. + # The length of the ID should not be less than 5 or greater than 50. + # If empty, a unique identifier will be generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The ID of the Google Sheets spreadsheet that contains the chart. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + # Common properties for a page element. + # Note: When you initially create a + # PageElement, the API may modify + # the values of both `size` and `transform`, but the + # visual size will be unchanged. + # Corresponds to the JSON property `elementProperties` + # @return [Google::Apis::SlidesV1::PageElementProperties] + attr_accessor :element_properties + + # The mode with which the chart is linked to the source spreadsheet. When + # not specified, the chart will be an image that is not linked. + # Corresponds to the JSON property `linkingMode` + # @return [String] + attr_accessor :linking_mode + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @chart_id = args[:chart_id] if args.key?(:chart_id) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + @element_properties = args[:element_properties] if args.key?(:element_properties) + @linking_mode = args[:linking_mode] if args.key?(:linking_mode) + end + end + + # Deletes a row from a table. + class DeleteTableRowRequest + include Google::Apis::Core::Hashable + + # The table to delete rows from. + # Corresponds to the JSON property `tableObjectId` + # @return [String] + attr_accessor :table_object_id + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @table_object_id = args[:table_object_id] if args.key?(:table_object_id) + @cell_location = args[:cell_location] if args.key?(:cell_location) + end + end + + # A PageElement kind representing a + # video. + class Video + include Google::Apis::Core::Hashable + + # An URL to a video. The URL is valid as long as the source video + # exists and sharing settings do not change. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # The properties of the Video. + # Corresponds to the JSON property `videoProperties` + # @return [Google::Apis::SlidesV1::VideoProperties] + attr_accessor :video_properties + + # The video source. + # Corresponds to the JSON property `source` + # @return [String] + attr_accessor :source + + # The video source's unique identifier for this video. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @url = args[:url] if args.key?(:url) + @video_properties = args[:video_properties] if args.key?(:video_properties) + @source = args[:source] if args.key?(:source) + @id = args[:id] if args.key?(:id) + end + end + + # A hypertext link. + class Link + include Google::Apis::Core::Hashable + + # If set, indicates this is a link to the external web page at this URL. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # If set, indicates this is a link to a slide in this presentation, + # addressed by its position. + # Corresponds to the JSON property `relativeLink` + # @return [String] + attr_accessor :relative_link + + # If set, indicates this is a link to the slide at this zero-based index + # in the presentation. There may not be a slide at this index. + # Corresponds to the JSON property `slideIndex` + # @return [Fixnum] + attr_accessor :slide_index + + # If set, indicates this is a link to the specific page in this + # presentation with this ID. A page with this ID may not exist. + # Corresponds to the JSON property `pageObjectId` + # @return [String] + attr_accessor :page_object_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @url = args[:url] if args.key?(:url) + @relative_link = args[:relative_link] if args.key?(:relative_link) + @slide_index = args[:slide_index] if args.key?(:slide_index) + @page_object_id = args[:page_object_id] if args.key?(:page_object_id) + end + end + + # The page background fill. + class PageBackgroundFill + include Google::Apis::Core::Hashable + + # The stretched picture fill. The page or page element is filled entirely with + # the specified picture. The picture is stretched to fit its container. + # Corresponds to the JSON property `stretchedPictureFill` + # @return [Google::Apis::SlidesV1::StretchedPictureFill] + attr_accessor :stretched_picture_fill + + # The background fill property state. + # Updating the the fill on a page will implicitly update this field to + # `RENDERED`, unless another value is specified in the same request. To + # have no fill on a page, set this field to `NOT_RENDERED`. In this case, + # any other fill fields set in the same request will be ignored. + # Corresponds to the JSON property `propertyState` + # @return [String] + attr_accessor :property_state + + # A solid color fill. The page or page element is filled entirely with the + # specified color value. + # If any field is unset, its value may be inherited from a parent placeholder + # if it exists. + # Corresponds to the JSON property `solidFill` + # @return [Google::Apis::SlidesV1::SolidFill] + attr_accessor :solid_fill + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @stretched_picture_fill = args[:stretched_picture_fill] if args.key?(:stretched_picture_fill) + @property_state = args[:property_state] if args.key?(:property_state) + @solid_fill = args[:solid_fill] if args.key?(:solid_fill) + end + end + + # A color and position in a gradient band. + class ColorStop + include Google::Apis::Core::Hashable + + # A themeable solid color value. + # Corresponds to the JSON property `color` + # @return [Google::Apis::SlidesV1::OpaqueColor] + attr_accessor :color + + # The relative position of the color stop in the gradient band measured + # in percentage. The value should be in the interval [0.0, 1.0]. + # Corresponds to the JSON property `position` + # @return [Float] + attr_accessor :position + + # The alpha value of this color in the gradient band. Defaults to 1.0, + # fully opaque. + # Corresponds to the JSON property `alpha` + # @return [Float] + attr_accessor :alpha + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @color = args[:color] if args.key?(:color) + @position = args[:position] if args.key?(:position) + @alpha = args[:alpha] if args.key?(:alpha) + end + end + + # A pair mapping a theme color type to the concrete color it represents. + class ThemeColorPair + include Google::Apis::Core::Hashable + + # An RGB color. + # Corresponds to the JSON property `color` + # @return [Google::Apis::SlidesV1::RgbColor] + attr_accessor :color + + # The type of the theme color. + # 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) + @color = args[:color] if args.key?(:color) + @type = args[:type] if args.key?(:type) + end + end + + # Replaces all shapes that match the given criteria with the provided image. + class ReplaceAllShapesWithImageRequest + include Google::Apis::Core::Hashable + + # The replace method. + # Corresponds to the JSON property `replaceMethod` + # @return [String] + attr_accessor :replace_method + + # A criteria that matches a specific string of text in a shape or table. + # Corresponds to the JSON property `containsText` + # @return [Google::Apis::SlidesV1::SubstringMatchCriteria] + attr_accessor :contains_text + + # The image URL. + # The image is fetched once at insertion time and a copy is stored for + # display inside the presentation. Images must be less than 50MB in size, + # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF + # format. + # Corresponds to the JSON property `imageUrl` + # @return [String] + attr_accessor :image_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @replace_method = args[:replace_method] if args.key?(:replace_method) + @contains_text = args[:contains_text] if args.key?(:contains_text) + @image_url = args[:image_url] if args.key?(:image_url) + end + end + + # Deletes an object, either pages or + # page elements, from the + # presentation. + class DeleteObjectRequest + include Google::Apis::Core::Hashable + + # The object ID of the page or page element to delete. + # If after a delete operation a group contains + # only 1 or no page elements, the group is also deleted. + # If a placeholder is deleted on a layout, any empty inheriting shapes are + # also deleted. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # The result of creating an image. + class CreateImageResponse + include Google::Apis::Core::Hashable + + # The object ID of the created image. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # A recolor effect applied on an image. + class Recolor + include Google::Apis::Core::Hashable + + # The recolor effect is represented by a gradient, which is a list of color + # stops. This property is read-only. + # Corresponds to the JSON property `recolorStops` + # @return [Array] + attr_accessor :recolor_stops + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @recolor_stops = args[:recolor_stops] if args.key?(:recolor_stops) + end + end + + # Represents the styling that can be applied to a TextRun. + # If this text is contained in a shape with a parent placeholder, then these + # text styles may be + # inherited from the parent. Which text styles are inherited depend on the + # nesting level of lists: + # * A text run in a paragraph that is not in a list will inherit its text style + # from the the newline character in the paragraph at the 0 nesting level of + # the list inside the parent placeholder. + # * A text run in a paragraph that is in a list will inherit its text style + # from the newline character in the paragraph at its corresponding nesting + # level of the list inside the parent placeholder. + # Inherited text styles are represented as unset fields in this message. If + # text is contained in a shape without a parent placeholder, unsetting these + # fields will revert the style to a value matching the defaults in the Slides + # editor. + class TextStyle + include Google::Apis::Core::Hashable + + # Whether or not the text is bold. + # Corresponds to the JSON property `bold` + # @return [Boolean] + attr_accessor :bold + alias_method :bold?, :bold + + # Whether or not the text is italicized. + # Corresponds to the JSON property `italic` + # @return [Boolean] + attr_accessor :italic + alias_method :italic?, :italic + + # The text's vertical offset from its normal position. + # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically + # rendered in a smaller font size, computed based on the `font_size` field. + # The `font_size` itself is not affected by changes in this field. + # Corresponds to the JSON property `baselineOffset` + # @return [String] + attr_accessor :baseline_offset + + # A color that can either be fully opaque or fully transparent. + # Corresponds to the JSON property `foregroundColor` + # @return [Google::Apis::SlidesV1::OptionalColor] + attr_accessor :foreground_color + + # The font family of the text. + # The font family can be any font from the Font menu in Slides or from + # [Google Fonts] (https://fonts.google.com/). If the font name is + # unrecognized, the text is rendered in `Arial`. + # Some fonts can affect the weight of the text. If an update request + # specifies values for both `font_family` and `bold`, the explicitly-set + # `bold` value is used. + # Corresponds to the JSON property `fontFamily` + # @return [String] + attr_accessor :font_family + + # Whether or not the text is struck through. + # Corresponds to the JSON property `strikethrough` + # @return [Boolean] + attr_accessor :strikethrough + alias_method :strikethrough?, :strikethrough + + # A hypertext link. + # Corresponds to the JSON property `link` + # @return [Google::Apis::SlidesV1::Link] + attr_accessor :link + + # Whether or not the text is in small capital letters. + # Corresponds to the JSON property `smallCaps` + # @return [Boolean] + attr_accessor :small_caps + alias_method :small_caps?, :small_caps + + # A color that can either be fully opaque or fully transparent. + # Corresponds to the JSON property `backgroundColor` + # @return [Google::Apis::SlidesV1::OptionalColor] + attr_accessor :background_color + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `fontSize` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :font_size + + # Whether or not the text is underlined. + # Corresponds to the JSON property `underline` + # @return [Boolean] + attr_accessor :underline + alias_method :underline?, :underline + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bold = args[:bold] if args.key?(:bold) + @italic = args[:italic] if args.key?(:italic) + @baseline_offset = args[:baseline_offset] if args.key?(:baseline_offset) + @foreground_color = args[:foreground_color] if args.key?(:foreground_color) + @font_family = args[:font_family] if args.key?(:font_family) + @strikethrough = args[:strikethrough] if args.key?(:strikethrough) + @link = args[:link] if args.key?(:link) + @small_caps = args[:small_caps] if args.key?(:small_caps) + @background_color = args[:background_color] if args.key?(:background_color) + @font_size = args[:font_size] if args.key?(:font_size) + @underline = args[:underline] if args.key?(:underline) + end + end + + # The table cell background fill. + class TableCellBackgroundFill + include Google::Apis::Core::Hashable + + # The background fill property state. + # Updating the the fill on a table cell will implicitly update this field + # to `RENDERED`, unless another value is specified in the same request. To + # have no fill on a table cell, set this field to `NOT_RENDERED`. In this + # case, any other fill fields set in the same request will be ignored. + # Corresponds to the JSON property `propertyState` + # @return [String] + attr_accessor :property_state + + # A solid color fill. The page or page element is filled entirely with the + # specified color value. + # If any field is unset, its value may be inherited from a parent placeholder + # if it exists. + # Corresponds to the JSON property `solidFill` + # @return [Google::Apis::SlidesV1::SolidFill] + attr_accessor :solid_fill + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @property_state = args[:property_state] if args.key?(:property_state) + @solid_fill = args[:solid_fill] if args.key?(:solid_fill) + end + end + + # A solid color fill. The page or page element is filled entirely with the + # specified color value. + # If any field is unset, its value may be inherited from a parent placeholder + # if it exists. + class SolidFill + include Google::Apis::Core::Hashable + + # A themeable solid color value. + # Corresponds to the JSON property `color` + # @return [Google::Apis::SlidesV1::OpaqueColor] + attr_accessor :color + + # The fraction of this `color` that should be applied to the pixel. + # That is, the final pixel color is defined by the equation: + # pixel color = alpha * (color) + (1.0 - alpha) * (background color) + # This means that a value of 1.0 corresponds to a solid color, whereas + # a value of 0.0 corresponds to a completely transparent color. + # Corresponds to the JSON property `alpha` + # @return [Float] + attr_accessor :alpha + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @color = args[:color] if args.key?(:color) + @alpha = args[:alpha] if args.key?(:alpha) + end + end + + # Duplicates a slide or page element. + # When duplicating a slide, the duplicate slide will be created immediately + # following the specified slide. When duplicating a page element, the duplicate + # will be placed on the same page at the same position as the original. + class DuplicateObjectRequest + include Google::Apis::Core::Hashable + + # The ID of the object to duplicate. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The object being duplicated may contain other objects, for example when + # duplicating a slide or a group page element. This map defines how the IDs + # of duplicated objects are generated: the keys are the IDs of the original + # objects and its values are the IDs that will be assigned to the + # corresponding duplicate object. The ID of the source object's duplicate + # may be specified in this map as well, using the same value of the + # `object_id` field as a key and the newly desired ID as the value. + # All keys must correspond to existing IDs in the presentation. All values + # must be unique in the presentation and must start with an alphanumeric + # character or an underscore (matches regex `[a-zA-Z0-9_]`); remaining + # characters may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). The length of the new ID must not be less than 5 or + # greater than 50. + # If any IDs of source objects are omitted from the map, a new random ID will + # be assigned. If the map is empty or unset, all duplicate objects will + # receive a new random ID. + # Corresponds to the JSON property `objectIds` + # @return [Hash] + attr_accessor :object_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @object_ids = args[:object_ids] if args.key?(:object_ids) + end + end + + # A PageElement kind representing + # a linked chart embedded from Google Sheets. + class SheetsChart + include Google::Apis::Core::Hashable + + # The ID of the specific chart in the Google Sheets spreadsheet that is + # embedded. + # Corresponds to the JSON property `chartId` + # @return [Fixnum] + attr_accessor :chart_id + + # The ID of the Google Sheets spreadsheet that contains the source chart. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + # The properties of the SheetsChart. + # Corresponds to the JSON property `sheetsChartProperties` + # @return [Google::Apis::SlidesV1::SheetsChartProperties] + attr_accessor :sheets_chart_properties + + # The URL of an image of the embedded chart, with a default lifetime of 30 + # minutes. This URL is tagged with the account of the requester. Anyone with + # the URL effectively accesses the image as the original requester. Access to + # the image may be lost if the presentation's sharing settings change. + # Corresponds to the JSON property `contentUrl` + # @return [String] + attr_accessor :content_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @chart_id = args[:chart_id] if args.key?(:chart_id) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + @sheets_chart_properties = args[:sheets_chart_properties] if args.key?(:sheets_chart_properties) + @content_url = args[:content_url] if args.key?(:content_url) + end + end + + # The properties of the Page. + # The page will inherit properties from the parent page. Depending on the page + # type the hierarchy is defined in either + # SlideProperties or + # LayoutProperties. + class PageProperties + include Google::Apis::Core::Hashable + + # The page background fill. + # Corresponds to the JSON property `pageBackgroundFill` + # @return [Google::Apis::SlidesV1::PageBackgroundFill] + attr_accessor :page_background_fill + + # The palette of predefined colors for a page. + # Corresponds to the JSON property `colorScheme` + # @return [Google::Apis::SlidesV1::ColorScheme] + attr_accessor :color_scheme + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @page_background_fill = args[:page_background_fill] if args.key?(:page_background_fill) + @color_scheme = args[:color_scheme] if args.key?(:color_scheme) + end + end + + # The shadow properties of a page element. + # If these fields are unset, they may be inherited from a parent placeholder + # if it exists. If there is no parent, the fields will default to the value + # used for new page elements created in the Slides editor, which may depend on + # the page element kind. + class Shadow + include Google::Apis::Core::Hashable + + # The alignment point of the shadow, that sets the origin for translate, + # scale and skew of the shadow. + # Corresponds to the JSON property `alignment` + # @return [String] + attr_accessor :alignment + + # Whether the shadow should rotate with the shape. + # Corresponds to the JSON property `rotateWithShape` + # @return [Boolean] + attr_accessor :rotate_with_shape + alias_method :rotate_with_shape?, :rotate_with_shape + + # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] + # to transform source coordinates (x,y) into destination coordinates (x', y') + # according to: + # x' x = shear_y scale_y translate_y + # 1 [ 1 ] + # After transformation, + # x' = scale_x * x + shear_x * y + translate_x; + # y' = scale_y * y + shear_y * x + translate_y; + # This message is therefore composed of these six matrix elements. + # Corresponds to the JSON property `transform` + # @return [Google::Apis::SlidesV1::AffineTransform] + attr_accessor :transform + + # A themeable solid color value. + # Corresponds to the JSON property `color` + # @return [Google::Apis::SlidesV1::OpaqueColor] + attr_accessor :color + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `blurRadius` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :blur_radius + + # The shadow property state. + # Updating the the shadow on a page element will implicitly update this field + # to `RENDERED`, unless another value is specified in the same request. To + # have no shadow on a page element, set this field to `NOT_RENDERED`. In this + # case, any other shadow fields set in the same request will be ignored. + # Corresponds to the JSON property `propertyState` + # @return [String] + attr_accessor :property_state + + # The alpha of the shadow's color, from 0.0 to 1.0. + # Corresponds to the JSON property `alpha` + # @return [Float] + attr_accessor :alpha + + # The type of the shadow. + # 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) + @alignment = args[:alignment] if args.key?(:alignment) + @rotate_with_shape = args[:rotate_with_shape] if args.key?(:rotate_with_shape) + @transform = args[:transform] if args.key?(:transform) + @color = args[:color] if args.key?(:color) + @blur_radius = args[:blur_radius] if args.key?(:blur_radius) + @property_state = args[:property_state] if args.key?(:property_state) + @alpha = args[:alpha] if args.key?(:alpha) + @type = args[:type] if args.key?(:type) + end + end + + # Slide layout reference. This may reference either: + # - A predefined layout, or + # - One of the layouts in the presentation. + class LayoutReference + include Google::Apis::Core::Hashable + + # Predefined layout. + # Corresponds to the JSON property `predefinedLayout` + # @return [String] + attr_accessor :predefined_layout + + # Layout ID: the object ID of one of the layouts in the presentation. + # Corresponds to the JSON property `layoutId` + # @return [String] + attr_accessor :layout_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @predefined_layout = args[:predefined_layout] if args.key?(:predefined_layout) + @layout_id = args[:layout_id] if args.key?(:layout_id) + end + end + + # The result of creating an embedded Google Sheets chart. + class CreateSheetsChartResponse + include Google::Apis::Core::Hashable + + # The object ID of the created chart. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # The result of replacing text. + class ReplaceAllTextResponse + include Google::Apis::Core::Hashable + + # The number of occurrences changed by replacing all text. + # Corresponds to the JSON property `occurrencesChanged` + # @return [Fixnum] + attr_accessor :occurrences_changed + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed) + end + end + + # The properties of Page are only + # relevant for pages with page_type LAYOUT. + class LayoutProperties + include Google::Apis::Core::Hashable + + # The human readable name of the layout in the presentation's locale. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The object ID of the master that this layout is based on. + # Corresponds to the JSON property `masterObjectId` + # @return [String] + attr_accessor :master_object_id + + # The name of the layout. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @master_object_id = args[:master_object_id] if args.key?(:master_object_id) + @name = args[:name] if args.key?(:name) + end + end + + # Inserts columns into a table. + # Other columns in the table will be resized to fit the new column. + class InsertTableColumnsRequest + include Google::Apis::Core::Hashable + + # The table to insert columns into. + # Corresponds to the JSON property `tableObjectId` + # @return [String] + attr_accessor :table_object_id + + # Whether to insert new columns to the right of the reference cell location. + # - `True`: insert to the right. + # - `False`: insert to the left. + # Corresponds to the JSON property `insertRight` + # @return [Boolean] + attr_accessor :insert_right + alias_method :insert_right?, :insert_right + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + # The number of columns to be inserted. Maximum 20 per request. + # Corresponds to the JSON property `number` + # @return [Fixnum] + attr_accessor :number + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @table_object_id = args[:table_object_id] if args.key?(:table_object_id) + @insert_right = args[:insert_right] if args.key?(:insert_right) + @cell_location = args[:cell_location] if args.key?(:cell_location) + @number = args[:number] if args.key?(:number) + end + end + + # Deletes a column from a table. + class DeleteTableColumnRequest + include Google::Apis::Core::Hashable + + # The table to delete columns from. + # Corresponds to the JSON property `tableObjectId` + # @return [String] + attr_accessor :table_object_id + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @table_object_id = args[:table_object_id] if args.key?(:table_object_id) + @cell_location = args[:cell_location] if args.key?(:cell_location) + end + end + + # Properties and contents of each row in a table. + class TableRow + include Google::Apis::Core::Hashable + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `rowHeight` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :row_height + + # Properties and contents of each cell. + # Cells that span multiple columns are represented only once with a + # column_span greater + # than 1. As a result, the length of this collection does not always match + # the number of columns of the entire table. + # Corresponds to the JSON property `tableCells` + # @return [Array] + attr_accessor :table_cells + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @row_height = args[:row_height] if args.key?(:row_height) + @table_cells = args[:table_cells] if args.key?(:table_cells) + end + end + + # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] + # to transform source coordinates (x,y) into destination coordinates (x', y') + # according to: + # x' x = shear_y scale_y translate_y + # 1 [ 1 ] + # After transformation, + # x' = scale_x * x + shear_x * y + translate_x; + # y' = scale_y * y + shear_y * x + translate_y; + # This message is therefore composed of these six matrix elements. + class AffineTransform + include Google::Apis::Core::Hashable + + # The units for translate elements. + # Corresponds to the JSON property `unit` + # @return [String] + attr_accessor :unit + + # The Y coordinate shearing element. + # Corresponds to the JSON property `shearY` + # @return [Float] + attr_accessor :shear_y + + # The X coordinate translation element. + # Corresponds to the JSON property `translateX` + # @return [Float] + attr_accessor :translate_x + + # The X coordinate shearing element. + # Corresponds to the JSON property `shearX` + # @return [Float] + attr_accessor :shear_x + + # The Y coordinate scaling element. + # Corresponds to the JSON property `scaleY` + # @return [Float] + attr_accessor :scale_y + + # The X coordinate scaling element. + # Corresponds to the JSON property `scaleX` + # @return [Float] + attr_accessor :scale_x + + # The Y coordinate translation element. + # Corresponds to the JSON property `translateY` + # @return [Float] + attr_accessor :translate_y + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @unit = args[:unit] if args.key?(:unit) + @shear_y = args[:shear_y] if args.key?(:shear_y) + @translate_x = args[:translate_x] if args.key?(:translate_x) + @shear_x = args[:shear_x] if args.key?(:shear_x) + @scale_y = args[:scale_y] if args.key?(:scale_y) + @scale_x = args[:scale_x] if args.key?(:scale_x) + @translate_y = args[:translate_y] if args.key?(:translate_y) + end + end + + # Creates a new shape. + class CreateShapeRequest + include Google::Apis::Core::Hashable + + # A user-supplied object ID. + # If you specify an ID, it must be unique among all pages and page elements + # in the presentation. The ID must start with an alphanumeric character or an + # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + # may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). + # The length of the ID must not be less than 5 or greater than 50. + # If empty, a unique identifier will be generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The shape type. + # Corresponds to the JSON property `shapeType` + # @return [String] + attr_accessor :shape_type + + # Common properties for a page element. + # Note: When you initially create a + # PageElement, the API may modify + # the values of both `size` and `transform`, but the + # visual size will be unchanged. + # Corresponds to the JSON property `elementProperties` + # @return [Google::Apis::SlidesV1::PageElementProperties] + attr_accessor :element_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @shape_type = args[:shape_type] if args.key?(:shape_type) + @element_properties = args[:element_properties] if args.key?(:element_properties) + end + end + + # The shape background fill. + class ShapeBackgroundFill + include Google::Apis::Core::Hashable + + # The background fill property state. + # Updating the the fill on a shape will implicitly update this field to + # `RENDERED`, unless another value is specified in the same request. To + # have no fill on a shape, set this field to `NOT_RENDERED`. In this case, + # any other fill fields set in the same request will be ignored. + # Corresponds to the JSON property `propertyState` + # @return [String] + attr_accessor :property_state + + # A solid color fill. The page or page element is filled entirely with the + # specified color value. + # If any field is unset, its value may be inherited from a parent placeholder + # if it exists. + # Corresponds to the JSON property `solidFill` + # @return [Google::Apis::SlidesV1::SolidFill] + attr_accessor :solid_fill + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @property_state = args[:property_state] if args.key?(:property_state) + @solid_fill = args[:solid_fill] if args.key?(:solid_fill) + end + end + + # A PageElement kind representing a + # line, curved connector, or bent connector. + class Line + include Google::Apis::Core::Hashable + + # The properties of the Line. + # When unset, these fields default to values that match the appearance of + # new lines created in the Slides editor. + # Corresponds to the JSON property `lineProperties` + # @return [Google::Apis::SlidesV1::LineProperties] + attr_accessor :line_properties + + # The type of the line. + # Corresponds to the JSON property `lineType` + # @return [String] + attr_accessor :line_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @line_properties = args[:line_properties] if args.key?(:line_properties) + @line_type = args[:line_type] if args.key?(:line_type) + end + end + + # The properties of the SheetsChart. + class SheetsChartProperties + include Google::Apis::Core::Hashable + + # The properties of the Image. + # Corresponds to the JSON property `chartImageProperties` + # @return [Google::Apis::SlidesV1::ImageProperties] + attr_accessor :chart_image_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @chart_image_properties = args[:chart_image_properties] if args.key?(:chart_image_properties) + end + end + + # A TextElement kind that represents auto text. + class AutoText + include Google::Apis::Core::Hashable + + # Represents the styling that can be applied to a TextRun. + # If this text is contained in a shape with a parent placeholder, then these + # text styles may be + # inherited from the parent. Which text styles are inherited depend on the + # nesting level of lists: + # * A text run in a paragraph that is not in a list will inherit its text style + # from the the newline character in the paragraph at the 0 nesting level of + # the list inside the parent placeholder. + # * A text run in a paragraph that is in a list will inherit its text style + # from the newline character in the paragraph at its corresponding nesting + # level of the list inside the parent placeholder. + # Inherited text styles are represented as unset fields in this message. If + # text is contained in a shape without a parent placeholder, unsetting these + # fields will revert the style to a value matching the defaults in the Slides + # editor. + # Corresponds to the JSON property `style` + # @return [Google::Apis::SlidesV1::TextStyle] + attr_accessor :style + + # The type of this auto text. + # 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) + @style = args[:style] if args.key?(:style) + @type = args[:type] if args.key?(:type) + end + end + + # A TextElement describes the content of a range of indices in the text content + # of a Shape or TableCell. + class TextElement + include Google::Apis::Core::Hashable + + # The zero-based end index of this text element, exclusive, in Unicode code + # units. + # Corresponds to the JSON property `endIndex` + # @return [Fixnum] + attr_accessor :end_index + + # A TextElement kind that represents a run of text that all has the same + # styling. + # Corresponds to the JSON property `textRun` + # @return [Google::Apis::SlidesV1::TextRun] + attr_accessor :text_run + + # The zero-based start index of this text element, in Unicode code units. + # Corresponds to the JSON property `startIndex` + # @return [Fixnum] + attr_accessor :start_index + + # A TextElement kind that represents the beginning of a new paragraph. + # Corresponds to the JSON property `paragraphMarker` + # @return [Google::Apis::SlidesV1::ParagraphMarker] + attr_accessor :paragraph_marker + + # A TextElement kind that represents auto text. + # Corresponds to the JSON property `autoText` + # @return [Google::Apis::SlidesV1::AutoText] + attr_accessor :auto_text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_index = args[:end_index] if args.key?(:end_index) + @text_run = args[:text_run] if args.key?(:text_run) + @start_index = args[:start_index] if args.key?(:start_index) + @paragraph_marker = args[:paragraph_marker] if args.key?(:paragraph_marker) + @auto_text = args[:auto_text] if args.key?(:auto_text) + end + end + + # Updates the position of slides in the presentation. + class UpdateSlidesPositionRequest + include Google::Apis::Core::Hashable + + # The index where the slides should be inserted, based on the slide + # arrangement before the move takes place. Must be between zero and the + # number of slides in the presentation, inclusive. + # Corresponds to the JSON property `insertionIndex` + # @return [Fixnum] + attr_accessor :insertion_index + + # The IDs of the slides in the presentation that should be moved. + # The slides in this list must be in existing presentation order, without + # duplicates. + # Corresponds to the JSON property `slideObjectIds` + # @return [Array] + attr_accessor :slide_object_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @insertion_index = args[:insertion_index] if args.key?(:insertion_index) + @slide_object_ids = args[:slide_object_ids] if args.key?(:slide_object_ids) + end + end + + # Replaces all instances of text matching a criteria with replace text. + class ReplaceAllTextRequest + include Google::Apis::Core::Hashable + + # A criteria that matches a specific string of text in a shape or table. + # Corresponds to the JSON property `containsText` + # @return [Google::Apis::SlidesV1::SubstringMatchCriteria] + attr_accessor :contains_text + + # The text that will replace the matched text. + # Corresponds to the JSON property `replaceText` + # @return [String] + attr_accessor :replace_text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @contains_text = args[:contains_text] if args.key?(:contains_text) + @replace_text = args[:replace_text] if args.key?(:replace_text) + end + end + + # The properties of a Shape. + # If the shape is a placeholder shape as determined by the + # placeholder field, then these + # properties may be inherited from a parent placeholder shape. + # Determining the rendered value of the property depends on the corresponding + # property_state field value. + class ShapeProperties + include Google::Apis::Core::Hashable + + # The outline of a PageElement. + # If these fields are unset, they may be inherited from a parent placeholder + # if it exists. If there is no parent, the fields will default to the value + # used for new page elements created in the Slides editor, which may depend on + # the page element kind. + # Corresponds to the JSON property `outline` + # @return [Google::Apis::SlidesV1::Outline] + attr_accessor :outline + + # The shape background fill. + # Corresponds to the JSON property `shapeBackgroundFill` + # @return [Google::Apis::SlidesV1::ShapeBackgroundFill] + attr_accessor :shape_background_fill + + # The shadow properties of a page element. + # If these fields are unset, they may be inherited from a parent placeholder + # if it exists. If there is no parent, the fields will default to the value + # used for new page elements created in the Slides editor, which may depend on + # the page element kind. + # Corresponds to the JSON property `shadow` + # @return [Google::Apis::SlidesV1::Shadow] + attr_accessor :shadow + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @outline = args[:outline] if args.key?(:outline) + @shape_background_fill = args[:shape_background_fill] if args.key?(:shape_background_fill) + @shadow = args[:shadow] if args.key?(:shadow) + end + end + + # The result of creating a shape. + class CreateShapeResponse + include Google::Apis::Core::Hashable + + # The object ID of the created shape. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # The result of creating a slide. + class CreateSlideResponse + include Google::Apis::Core::Hashable + + # The object ID of the created slide. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Update the properties of an Image. + class UpdateImagePropertiesRequest + include Google::Apis::Core::Hashable + + # The object ID of the image the updates are applied to. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The fields that should be updated. + # At least one field must be specified. The root `imageProperties` is + # implied and should not be specified. A single `"*"` can be used as + # short-hand for listing every field. + # For example to update the image outline color, set `fields` to + # `"outline.outlineFill.solidFill.color"`. + # To reset a property to its default value, include its field name in the + # field mask but leave the field itself unset. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # The properties of the Image. + # Corresponds to the JSON property `imageProperties` + # @return [Google::Apis::SlidesV1::ImageProperties] + attr_accessor :image_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @fields = args[:fields] if args.key?(:fields) + @image_properties = args[:image_properties] if args.key?(:image_properties) + end + end + + # Creates a video. + class CreateVideoRequest + include Google::Apis::Core::Hashable + + # A user-supplied object ID. + # If you specify an ID, it must be unique among all pages and page elements + # in the presentation. The ID must start with an alphanumeric character or an + # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + # may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). + # The length of the ID must not be less than 5 or greater than 50. + # If you don't specify an ID, a unique one is generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The video source. + # Corresponds to the JSON property `source` + # @return [String] + attr_accessor :source + + # Common properties for a page element. + # Note: When you initially create a + # PageElement, the API may modify + # the values of both `size` and `transform`, but the + # visual size will be unchanged. + # Corresponds to the JSON property `elementProperties` + # @return [Google::Apis::SlidesV1::PageElementProperties] + attr_accessor :element_properties + + # The video source's unique identifier for this video. + # e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0, + # the ID is 7U3axjORYZ0. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @source = args[:source] if args.key?(:source) + @element_properties = args[:element_properties] if args.key?(:element_properties) + @id = args[:id] if args.key?(:id) + end + end + + # Creates a new table. + class CreateTableRequest + include Google::Apis::Core::Hashable + + # Number of columns in the table. + # Corresponds to the JSON property `columns` + # @return [Fixnum] + attr_accessor :columns + + # A user-supplied object ID. + # If you specify an ID, it must be unique among all pages and page elements + # in the presentation. The ID must start with an alphanumeric character or an + # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + # may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). + # The length of the ID must not be less than 5 or greater than 50. + # If you don't specify an ID, a unique one is generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # Number of rows in the table. + # Corresponds to the JSON property `rows` + # @return [Fixnum] + attr_accessor :rows + + # Common properties for a page element. + # Note: When you initially create a + # PageElement, the API may modify + # the values of both `size` and `transform`, but the + # visual size will be unchanged. + # Corresponds to the JSON property `elementProperties` + # @return [Google::Apis::SlidesV1::PageElementProperties] + attr_accessor :element_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @columns = args[:columns] if args.key?(:columns) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @rows = args[:rows] if args.key?(:rows) + @element_properties = args[:element_properties] if args.key?(:element_properties) + end + end + + # A color that can either be fully opaque or fully transparent. + class OptionalColor + include Google::Apis::Core::Hashable + + # A themeable solid color value. + # Corresponds to the JSON property `opaqueColor` + # @return [Google::Apis::SlidesV1::OpaqueColor] + attr_accessor :opaque_color + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @opaque_color = args[:opaque_color] if args.key?(:opaque_color) + end + end + + # A TextElement kind that represents a run of text that all has the same + # styling. + class TextRun + include Google::Apis::Core::Hashable + + # Represents the styling that can be applied to a TextRun. + # If this text is contained in a shape with a parent placeholder, then these + # text styles may be + # inherited from the parent. Which text styles are inherited depend on the + # nesting level of lists: + # * A text run in a paragraph that is not in a list will inherit its text style + # from the the newline character in the paragraph at the 0 nesting level of + # the list inside the parent placeholder. + # * A text run in a paragraph that is in a list will inherit its text style + # from the newline character in the paragraph at its corresponding nesting + # level of the list inside the parent placeholder. + # Inherited text styles are represented as unset fields in this message. If + # text is contained in a shape without a parent placeholder, unsetting these + # fields will revert the style to a value matching the defaults in the Slides + # editor. + # Corresponds to the JSON property `style` + # @return [Google::Apis::SlidesV1::TextStyle] + attr_accessor :style + + # The text of this run. + # Corresponds to the JSON property `content` + # @return [String] + attr_accessor :content + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @style = args[:style] if args.key?(:style) + @content = args[:content] if args.key?(:content) + end + end + + # A PageElement kind representing a + # generic shape that does not have a more specific classification. + class Shape + include Google::Apis::Core::Hashable + + # The general text content. The text must reside in a compatible shape (e.g. + # text box or rectangle) or a table cell in a page. + # Corresponds to the JSON property `text` + # @return [Google::Apis::SlidesV1::TextContent] + attr_accessor :text + + # The properties of a Shape. + # If the shape is a placeholder shape as determined by the + # placeholder field, then these + # properties may be inherited from a parent placeholder shape. + # Determining the rendered value of the property depends on the corresponding + # property_state field value. + # Corresponds to the JSON property `shapeProperties` + # @return [Google::Apis::SlidesV1::ShapeProperties] + attr_accessor :shape_properties + + # The type of the shape. + # Corresponds to the JSON property `shapeType` + # @return [String] + attr_accessor :shape_type + + # The placeholder information that uniquely identifies a placeholder shape. + # Corresponds to the JSON property `placeholder` + # @return [Google::Apis::SlidesV1::Placeholder] + attr_accessor :placeholder + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @text = args[:text] if args.key?(:text) + @shape_properties = args[:shape_properties] if args.key?(:shape_properties) + @shape_type = args[:shape_type] if args.key?(:shape_type) + @placeholder = args[:placeholder] if args.key?(:placeholder) + end + end + + # Response message from a batch update. + class BatchUpdatePresentationResponse + include Google::Apis::Core::Hashable + + # The presentation the updates were applied to. + # Corresponds to the JSON property `presentationId` + # @return [String] + attr_accessor :presentation_id + + # The reply of the updates. This maps 1:1 with the updates, although + # replies to some requests may be empty. + # Corresponds to the JSON property `replies` + # @return [Array] + attr_accessor :replies + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @presentation_id = args[:presentation_id] if args.key?(:presentation_id) + @replies = args[:replies] if args.key?(:replies) + end + end + + # The properties of the Image. + class ImageProperties + include Google::Apis::Core::Hashable + + # The crop properties of an object enclosed in a container. For example, an + # Image. + # The crop properties is represented by the offsets of four edges which define + # a crop rectangle. The offsets are measured in percentage from the + # corresponding edges of the object's original bounding rectangle towards + # inside, relative to the object's original dimensions. + # - If the offset is in the interval (0, 1), the corresponding edge of crop + # rectangle is positioned inside of the object's original bounding rectangle. + # - If the offset is negative or greater than 1, the corresponding edge of crop + # rectangle is positioned outside of the object's original bounding rectangle. + # - If the left edge of the crop rectangle is on the right side of its right + # edge, the object will be flipped horizontally. + # - If the top edge of the crop rectangle is below its bottom edge, the object + # will be flipped vertically. + # - If all offsets and rotation angle is 0, the object is not cropped. + # After cropping, the content in the crop rectangle will be stretched to fit + # its container. + # Corresponds to the JSON property `cropProperties` + # @return [Google::Apis::SlidesV1::CropProperties] + attr_accessor :crop_properties + + # The outline of a PageElement. + # If these fields are unset, they may be inherited from a parent placeholder + # if it exists. If there is no parent, the fields will default to the value + # used for new page elements created in the Slides editor, which may depend on + # the page element kind. + # Corresponds to the JSON property `outline` + # @return [Google::Apis::SlidesV1::Outline] + attr_accessor :outline + + # The shadow properties of a page element. + # If these fields are unset, they may be inherited from a parent placeholder + # if it exists. If there is no parent, the fields will default to the value + # used for new page elements created in the Slides editor, which may depend on + # the page element kind. + # Corresponds to the JSON property `shadow` + # @return [Google::Apis::SlidesV1::Shadow] + attr_accessor :shadow + + # The transparency effect of the image. The value should be in the interval + # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. + # This property is read-only. + # Corresponds to the JSON property `transparency` + # @return [Float] + attr_accessor :transparency + + # The contrast effect of the image. The value should be in the interval + # [-1.0, 1.0], where 0 means no effect. This property is read-only. + # Corresponds to the JSON property `contrast` + # @return [Float] + attr_accessor :contrast + + # A recolor effect applied on an image. + # Corresponds to the JSON property `recolor` + # @return [Google::Apis::SlidesV1::Recolor] + attr_accessor :recolor + + # The brightness effect of the image. The value should be in the interval + # [-1.0, 1.0], where 0 means no effect. This property is read-only. + # Corresponds to the JSON property `brightness` + # @return [Float] + attr_accessor :brightness + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @crop_properties = args[:crop_properties] if args.key?(:crop_properties) + @outline = args[:outline] if args.key?(:outline) + @shadow = args[:shadow] if args.key?(:shadow) + @transparency = args[:transparency] if args.key?(:transparency) + @contrast = args[:contrast] if args.key?(:contrast) + @recolor = args[:recolor] if args.key?(:recolor) + @brightness = args[:brightness] if args.key?(:brightness) + end + end + + # A PageElement kind representing a + # joined collection of PageElements. + class Group + include Google::Apis::Core::Hashable + + # The collection of elements in the group. The minimum size of a group is 2. + # Corresponds to the JSON property `children` + # @return [Array] + attr_accessor :children + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @children = args[:children] if args.key?(:children) + end + end + + # The outline of a PageElement. + # If these fields are unset, they may be inherited from a parent placeholder + # if it exists. If there is no parent, the fields will default to the value + # used for new page elements created in the Slides editor, which may depend on + # the page element kind. + class Outline + include Google::Apis::Core::Hashable + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `weight` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :weight + + # The dash style of the outline. + # Corresponds to the JSON property `dashStyle` + # @return [String] + attr_accessor :dash_style + + # The outline property state. + # Updating the the outline on a page element will implicitly update this + # field to`RENDERED`, unless another value is specified in the same request. + # To have no outline on a page element, set this field to `NOT_RENDERED`. In + # this case, any other outline fields set in the same request will be + # ignored. + # Corresponds to the JSON property `propertyState` + # @return [String] + attr_accessor :property_state + + # The fill of the outline. + # Corresponds to the JSON property `outlineFill` + # @return [Google::Apis::SlidesV1::OutlineFill] + attr_accessor :outline_fill + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @weight = args[:weight] if args.key?(:weight) + @dash_style = args[:dash_style] if args.key?(:dash_style) + @property_state = args[:property_state] if args.key?(:property_state) + @outline_fill = args[:outline_fill] if args.key?(:outline_fill) + end + end + + # Properties and contents of each table cell. + class TableCell + include Google::Apis::Core::Hashable + + # The general text content. The text must reside in a compatible shape (e.g. + # text box or rectangle) or a table cell in a page. + # Corresponds to the JSON property `text` + # @return [Google::Apis::SlidesV1::TextContent] + attr_accessor :text + + # A location of a single table cell within a table. + # Corresponds to the JSON property `location` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :location + + # Row span of the cell. + # Corresponds to the JSON property `rowSpan` + # @return [Fixnum] + attr_accessor :row_span + + # The properties of the TableCell. + # Corresponds to the JSON property `tableCellProperties` + # @return [Google::Apis::SlidesV1::TableCellProperties] + attr_accessor :table_cell_properties + + # Column span of the cell. + # Corresponds to the JSON property `columnSpan` + # @return [Fixnum] + attr_accessor :column_span + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @text = args[:text] if args.key?(:text) + @location = args[:location] if args.key?(:location) + @row_span = args[:row_span] if args.key?(:row_span) + @table_cell_properties = args[:table_cell_properties] if args.key?(:table_cell_properties) + @column_span = args[:column_span] if args.key?(:column_span) + end + end + + # The result of replacing shapes with an image. + class ReplaceAllShapesWithImageResponse + include Google::Apis::Core::Hashable + + # The number of shapes replaced with images. + # Corresponds to the JSON property `occurrencesChanged` + # @return [Fixnum] + attr_accessor :occurrences_changed + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed) + end + end + + # Creates a new slide. + class CreateSlideRequest + include Google::Apis::Core::Hashable + + # A user-supplied object ID. + # If you specify an ID, it must be unique among all pages and page elements + # in the presentation. The ID must start with an alphanumeric character or an + # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + # may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). + # The length of the ID must not be less than 5 or greater than 50. + # If you don't specify an ID, a unique one is generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The optional zero-based index indicating where to insert the slides. + # If you don't specify an index, the new slide is created at the end. + # Corresponds to the JSON property `insertionIndex` + # @return [Fixnum] + attr_accessor :insertion_index + + # Slide layout reference. This may reference either: + # - A predefined layout, or + # - One of the layouts in the presentation. + # Corresponds to the JSON property `slideLayoutReference` + # @return [Google::Apis::SlidesV1::LayoutReference] + attr_accessor :slide_layout_reference + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @insertion_index = args[:insertion_index] if args.key?(:insertion_index) + @slide_layout_reference = args[:slide_layout_reference] if args.key?(:slide_layout_reference) + end + end + + # The properties of the TableCell. + class TableCellProperties + include Google::Apis::Core::Hashable + + # The table cell background fill. + # Corresponds to the JSON property `tableCellBackgroundFill` + # @return [Google::Apis::SlidesV1::TableCellBackgroundFill] + attr_accessor :table_cell_background_fill + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @table_cell_background_fill = args[:table_cell_background_fill] if args.key?(:table_cell_background_fill) + end + end + + # The result of creating a table. + class CreateTableResponse + include Google::Apis::Core::Hashable + + # The object ID of the created table. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # A width and height. + class Size + include Google::Apis::Core::Hashable + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `width` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :width + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `height` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :height + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @width = args[:width] if args.key?(:width) + @height = args[:height] if args.key?(:height) + end + end + + # The palette of predefined colors for a page. + class ColorScheme + include Google::Apis::Core::Hashable + + # The ThemeColorType and corresponding concrete color pairs. + # Corresponds to the JSON property `colors` + # @return [Array] + attr_accessor :colors + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @colors = args[:colors] if args.key?(:colors) + end + end + + # A TextElement kind that represents the beginning of a new paragraph. + class ParagraphMarker + include Google::Apis::Core::Hashable + + # Styles that apply to a whole paragraph. + # If this text is contained in a shape with a parent placeholder, then these + # paragraph styles may be + # inherited from the parent. Which paragraph styles are inherited depend on the + # nesting level of lists: + # * A paragraph not in a list will inherit its paragraph style from the + # paragraph at the 0 nesting level of the list inside the parent placeholder. + # * A paragraph in a list will inherit its paragraph style from the paragraph + # at its corresponding nesting level of the list inside the parent + # placeholder. + # Inherited paragraph styles are represented as unset fields in this message. + # Corresponds to the JSON property `style` + # @return [Google::Apis::SlidesV1::ParagraphStyle] + attr_accessor :style + + # Describes the bullet of a paragraph. + # Corresponds to the JSON property `bullet` + # @return [Google::Apis::SlidesV1::Bullet] + attr_accessor :bullet + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @style = args[:style] if args.key?(:style) + @bullet = args[:bullet] if args.key?(:bullet) + end + end + + # Creates bullets for all of the paragraphs that overlap with the given + # text index range. + # The nesting level of each paragraph will be determined by counting leading + # tabs in front of each paragraph. To avoid excess space between the bullet and + # the corresponding paragraph, these leading tabs are removed by this request. + # This may change the indices of parts of the text. + # If the paragraph immediately before paragraphs being updated is in a list + # with a matching preset, the paragraphs being updated are added to that + # preceding list. + class CreateParagraphBulletsRequest + include Google::Apis::Core::Hashable + + # The object ID of the shape or table containing the text to add bullets to. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # Specifies a contiguous range of an indexed collection, such as characters in + # text. + # Corresponds to the JSON property `textRange` + # @return [Google::Apis::SlidesV1::Range] + attr_accessor :text_range + + # The kinds of bullet glyphs to be used. Defaults to the + # `BULLET_DISC_CIRCLE_SQUARE` preset. + # Corresponds to the JSON property `bulletPreset` + # @return [String] + attr_accessor :bullet_preset + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @text_range = args[:text_range] if args.key?(:text_range) + @bullet_preset = args[:bullet_preset] if args.key?(:bullet_preset) + @cell_location = args[:cell_location] if args.key?(:cell_location) + end + end + + # A criteria that matches a specific string of text in a shape or table. + class SubstringMatchCriteria + include Google::Apis::Core::Hashable + + # The text to search for in the shape or table. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + # Indicates whether the search should respect case: + # - `True`: the search is case sensitive. + # - `False`: the search is case insensitive. + # Corresponds to the JSON property `matchCase` + # @return [Boolean] + attr_accessor :match_case + alias_method :match_case?, :match_case + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @text = args[:text] if args.key?(:text) + @match_case = args[:match_case] if args.key?(:match_case) + end + end + + # Specifies a contiguous range of an indexed collection, such as characters in + # text. + class Range + include Google::Apis::Core::Hashable + + # The optional zero-based index of the end of the collection. + # Required for `SPECIFIC_RANGE` delete mode. + # Corresponds to the JSON property `endIndex` + # @return [Fixnum] + attr_accessor :end_index + + # The optional zero-based index of the beginning of the collection. + # Required for `SPECIFIC_RANGE` and `FROM_START_INDEX` ranges. + # Corresponds to the JSON property `startIndex` + # @return [Fixnum] + attr_accessor :start_index + + # The type of range. + # 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) + @end_index = args[:end_index] if args.key?(:end_index) + @start_index = args[:start_index] if args.key?(:start_index) + @type = args[:type] if args.key?(:type) + end + end + + # A PageElement kind representing + # word art. + class WordArt + include Google::Apis::Core::Hashable + + # The text rendered as word art. + # Corresponds to the JSON property `renderedText` + # @return [String] + attr_accessor :rendered_text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rendered_text = args[:rendered_text] if args.key?(:rendered_text) + end + end + + # Properties of each column in a table. + class TableColumnProperties + include Google::Apis::Core::Hashable + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `columnWidth` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :column_width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @column_width = args[:column_width] if args.key?(:column_width) + end + end + + # A single kind of update to apply to a presentation. + class Request + include Google::Apis::Core::Hashable + + # Creates bullets for all of the paragraphs that overlap with the given + # text index range. + # The nesting level of each paragraph will be determined by counting leading + # tabs in front of each paragraph. To avoid excess space between the bullet and + # the corresponding paragraph, these leading tabs are removed by this request. + # This may change the indices of parts of the text. + # If the paragraph immediately before paragraphs being updated is in a list + # with a matching preset, the paragraphs being updated are added to that + # preceding list. + # Corresponds to the JSON property `createParagraphBullets` + # @return [Google::Apis::SlidesV1::CreateParagraphBulletsRequest] + attr_accessor :create_paragraph_bullets + + # Inserts columns into a table. + # Other columns in the table will be resized to fit the new column. + # Corresponds to the JSON property `insertTableColumns` + # @return [Google::Apis::SlidesV1::InsertTableColumnsRequest] + attr_accessor :insert_table_columns + + # Creates a new table. + # Corresponds to the JSON property `createTable` + # @return [Google::Apis::SlidesV1::CreateTableRequest] + attr_accessor :create_table + + # Deletes text from a shape or a table cell. + # Corresponds to the JSON property `deleteText` + # @return [Google::Apis::SlidesV1::DeleteTextRequest] + attr_accessor :delete_text + + # Replaces all instances of text matching a criteria with replace text. + # Corresponds to the JSON property `replaceAllText` + # @return [Google::Apis::SlidesV1::ReplaceAllTextRequest] + attr_accessor :replace_all_text + + # Update the properties of a Video. + # Corresponds to the JSON property `updateVideoProperties` + # @return [Google::Apis::SlidesV1::UpdateVideoPropertiesRequest] + attr_accessor :update_video_properties + + # Inserts text into a shape or a table cell. + # Corresponds to the JSON property `insertText` + # @return [Google::Apis::SlidesV1::InsertTextRequest] + attr_accessor :insert_text + + # Deletes a row from a table. + # Corresponds to the JSON property `deleteTableRow` + # @return [Google::Apis::SlidesV1::DeleteTableRowRequest] + attr_accessor :delete_table_row + + # Update the styling of text in a Shape or + # Table. + # Corresponds to the JSON property `updateTextStyle` + # @return [Google::Apis::SlidesV1::UpdateTextStyleRequest] + attr_accessor :update_text_style + + # Inserts rows into a table. + # Corresponds to the JSON property `insertTableRows` + # @return [Google::Apis::SlidesV1::InsertTableRowsRequest] + attr_accessor :insert_table_rows + + # Update the properties of a TableCell. + # Corresponds to the JSON property `updateTableCellProperties` + # @return [Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest] + attr_accessor :update_table_cell_properties + + # Refreshes an embedded Google Sheets chart by replacing it with the latest + # version of the chart from Google Sheets. + # NOTE: Refreshing charts requires at least one of the spreadsheets.readonly, + # spreadsheets, drive.readonly, or drive OAuth scopes. + # Corresponds to the JSON property `refreshSheetsChart` + # @return [Google::Apis::SlidesV1::RefreshSheetsChartRequest] + attr_accessor :refresh_sheets_chart + + # Creates an embedded Google Sheets chart. + # NOTE: Chart creation requires at least one of the spreadsheets.readonly, + # spreadsheets, drive.readonly, or drive OAuth scopes. + # Corresponds to the JSON property `createSheetsChart` + # @return [Google::Apis::SlidesV1::CreateSheetsChartRequest] + attr_accessor :create_sheets_chart + + # Updates the properties of a Page. + # Corresponds to the JSON property `updatePageProperties` + # @return [Google::Apis::SlidesV1::UpdatePagePropertiesRequest] + attr_accessor :update_page_properties + + # Update the properties of a Shape. + # Corresponds to the JSON property `updateShapeProperties` + # @return [Google::Apis::SlidesV1::UpdateShapePropertiesRequest] + attr_accessor :update_shape_properties + + # Creates a new slide. + # Corresponds to the JSON property `createSlide` + # @return [Google::Apis::SlidesV1::CreateSlideRequest] + attr_accessor :create_slide + + # Deletes an object, either pages or + # page elements, from the + # presentation. + # Corresponds to the JSON property `deleteObject` + # @return [Google::Apis::SlidesV1::DeleteObjectRequest] + attr_accessor :delete_object + + # Creates a new shape. + # Corresponds to the JSON property `createShape` + # @return [Google::Apis::SlidesV1::CreateShapeRequest] + attr_accessor :create_shape + + # Updates the transform of a page element. + # Corresponds to the JSON property `updatePageElementTransform` + # @return [Google::Apis::SlidesV1::UpdatePageElementTransformRequest] + attr_accessor :update_page_element_transform + + # Updates the position of slides in the presentation. + # Corresponds to the JSON property `updateSlidesPosition` + # @return [Google::Apis::SlidesV1::UpdateSlidesPositionRequest] + attr_accessor :update_slides_position + + # Replaces all shapes that match the given criteria with the provided image. + # Corresponds to the JSON property `replaceAllShapesWithImage` + # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest] + attr_accessor :replace_all_shapes_with_image + + # Update the properties of an Image. + # Corresponds to the JSON property `updateImageProperties` + # @return [Google::Apis::SlidesV1::UpdateImagePropertiesRequest] + attr_accessor :update_image_properties + + # Creates a video. + # Corresponds to the JSON property `createVideo` + # @return [Google::Apis::SlidesV1::CreateVideoRequest] + attr_accessor :create_video + + # Creates an image. + # Corresponds to the JSON property `createImage` + # @return [Google::Apis::SlidesV1::CreateImageRequest] + attr_accessor :create_image + + # Duplicates a slide or page element. + # When duplicating a slide, the duplicate slide will be created immediately + # following the specified slide. When duplicating a page element, the duplicate + # will be placed on the same page at the same position as the original. + # Corresponds to the JSON property `duplicateObject` + # @return [Google::Apis::SlidesV1::DuplicateObjectRequest] + attr_accessor :duplicate_object + + # Deletes a column from a table. + # Corresponds to the JSON property `deleteTableColumn` + # @return [Google::Apis::SlidesV1::DeleteTableColumnRequest] + attr_accessor :delete_table_column + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_paragraph_bullets = args[:create_paragraph_bullets] if args.key?(:create_paragraph_bullets) + @insert_table_columns = args[:insert_table_columns] if args.key?(:insert_table_columns) + @create_table = args[:create_table] if args.key?(:create_table) + @delete_text = args[:delete_text] if args.key?(:delete_text) + @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text) + @update_video_properties = args[:update_video_properties] if args.key?(:update_video_properties) + @insert_text = args[:insert_text] if args.key?(:insert_text) + @delete_table_row = args[:delete_table_row] if args.key?(:delete_table_row) + @update_text_style = args[:update_text_style] if args.key?(:update_text_style) + @insert_table_rows = args[:insert_table_rows] if args.key?(:insert_table_rows) + @update_table_cell_properties = args[:update_table_cell_properties] if args.key?(:update_table_cell_properties) + @refresh_sheets_chart = args[:refresh_sheets_chart] if args.key?(:refresh_sheets_chart) + @create_sheets_chart = args[:create_sheets_chart] if args.key?(:create_sheets_chart) + @update_page_properties = args[:update_page_properties] if args.key?(:update_page_properties) + @update_shape_properties = args[:update_shape_properties] if args.key?(:update_shape_properties) + @create_slide = args[:create_slide] if args.key?(:create_slide) + @delete_object = args[:delete_object] if args.key?(:delete_object) + @create_shape = args[:create_shape] if args.key?(:create_shape) + @update_page_element_transform = args[:update_page_element_transform] if args.key?(:update_page_element_transform) + @update_slides_position = args[:update_slides_position] if args.key?(:update_slides_position) + @replace_all_shapes_with_image = args[:replace_all_shapes_with_image] if args.key?(:replace_all_shapes_with_image) + @update_image_properties = args[:update_image_properties] if args.key?(:update_image_properties) + @create_video = args[:create_video] if args.key?(:create_video) + @create_image = args[:create_image] if args.key?(:create_image) + @duplicate_object = args[:duplicate_object] if args.key?(:duplicate_object) + @delete_table_column = args[:delete_table_column] if args.key?(:delete_table_column) + end + end + + # The fill of the line. + class LineFill + include Google::Apis::Core::Hashable + + # A solid color fill. The page or page element is filled entirely with the + # specified color value. + # If any field is unset, its value may be inherited from a parent placeholder + # if it exists. + # Corresponds to the JSON property `solidFill` + # @return [Google::Apis::SlidesV1::SolidFill] + attr_accessor :solid_fill + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @solid_fill = args[:solid_fill] if args.key?(:solid_fill) + end + end + + # The fill of the outline. + class OutlineFill + include Google::Apis::Core::Hashable + + # A solid color fill. The page or page element is filled entirely with the + # specified color value. + # If any field is unset, its value may be inherited from a parent placeholder + # if it exists. + # Corresponds to the JSON property `solidFill` + # @return [Google::Apis::SlidesV1::SolidFill] + attr_accessor :solid_fill + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @solid_fill = args[:solid_fill] if args.key?(:solid_fill) + end + end + + # Describes the bullet of a paragraph. + class Bullet + include Google::Apis::Core::Hashable + + # The nesting level of this paragraph in the list. + # Corresponds to the JSON property `nestingLevel` + # @return [Fixnum] + attr_accessor :nesting_level + + # The rendered bullet glyph for this paragraph. + # Corresponds to the JSON property `glyph` + # @return [String] + attr_accessor :glyph + + # Represents the styling that can be applied to a TextRun. + # If this text is contained in a shape with a parent placeholder, then these + # text styles may be + # inherited from the parent. Which text styles are inherited depend on the + # nesting level of lists: + # * A text run in a paragraph that is not in a list will inherit its text style + # from the the newline character in the paragraph at the 0 nesting level of + # the list inside the parent placeholder. + # * A text run in a paragraph that is in a list will inherit its text style + # from the newline character in the paragraph at its corresponding nesting + # level of the list inside the parent placeholder. + # Inherited text styles are represented as unset fields in this message. If + # text is contained in a shape without a parent placeholder, unsetting these + # fields will revert the style to a value matching the defaults in the Slides + # editor. + # Corresponds to the JSON property `bulletStyle` + # @return [Google::Apis::SlidesV1::TextStyle] + attr_accessor :bullet_style + + # The ID of the list this paragraph belongs to. + # Corresponds to the JSON property `listId` + # @return [String] + attr_accessor :list_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @nesting_level = args[:nesting_level] if args.key?(:nesting_level) + @glyph = args[:glyph] if args.key?(:glyph) + @bullet_style = args[:bullet_style] if args.key?(:bullet_style) + @list_id = args[:list_id] if args.key?(:list_id) + end + end + end + end +end diff --git a/generated/google/apis/slides_v1/representations.rb b/generated/google/apis/slides_v1/representations.rb new file mode 100644 index 000000000..6ab16c2ff --- /dev/null +++ b/generated/google/apis/slides_v1/representations.rb @@ -0,0 +1,1722 @@ +# 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 'date' +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 SlidesV1 + + class StretchedPictureFill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Image + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VideoProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CropProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateTextStyleRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InsertTextRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RgbColor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PageElementProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteTextRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ParagraphStyle + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Page + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateShapePropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateLineResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Presentation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateImageRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SlideProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdatePageElementTransformRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class List + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateVideoResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InsertTableRowsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateVideoPropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OpaqueColor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Response + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LineProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Table + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NestingLevel + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DuplicateObjectResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RefreshSheetsChartRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableCellLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextContent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PageElement + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdatePagePropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateTableCellPropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchUpdatePresentationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Dimension + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Placeholder + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateSheetsChartRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteTableRowRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Video + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Link + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PageBackgroundFill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ColorStop + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ThemeColorPair + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReplaceAllShapesWithImageRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteObjectRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateImageResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Recolor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextStyle + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableCellBackgroundFill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SolidFill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DuplicateObjectRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SheetsChart + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PageProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Shadow + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LayoutReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateSheetsChartResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReplaceAllTextResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LayoutProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InsertTableColumnsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteTableColumnRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableRow + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AffineTransform + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateShapeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ShapeBackgroundFill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Line + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SheetsChartProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AutoText + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextElement + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateSlidesPositionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReplaceAllTextRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ShapeProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateShapeResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateSlideResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateImagePropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateVideoRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateTableRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OptionalColor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextRun + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Shape + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchUpdatePresentationResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ImageProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Group + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Outline + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableCell + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReplaceAllShapesWithImageResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateSlideRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableCellProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateTableResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Size + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ColorScheme + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ParagraphMarker + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateParagraphBulletsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SubstringMatchCriteria + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Range + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WordArt + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableColumnProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Request + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LineFill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OutlineFill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Bullet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StretchedPictureFill + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content_url, as: 'contentUrl' + property :size, as: 'size', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation + + end + end + + class Image + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content_url, as: 'contentUrl' + property :image_properties, as: 'imageProperties', class: Google::Apis::SlidesV1::ImageProperties, decorator: Google::Apis::SlidesV1::ImageProperties::Representation + + end + end + + class VideoProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :outline, as: 'outline', class: Google::Apis::SlidesV1::Outline, decorator: Google::Apis::SlidesV1::Outline::Representation + + end + end + + class CropProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :right_offset, as: 'rightOffset' + property :angle, as: 'angle' + property :left_offset, as: 'leftOffset' + property :top_offset, as: 'topOffset' + property :bottom_offset, as: 'bottomOffset' + end + end + + class TableRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :location, as: 'location', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :row_span, as: 'rowSpan' + property :column_span, as: 'columnSpan' + end + end + + class UpdateTextStyleRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :style, as: 'style', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation + + property :object_id_prop, as: 'objectId' + property :fields, as: 'fields' + property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation + + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + end + end + + class InsertTextRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text, as: 'text' + property :object_id_prop, as: 'objectId' + property :insertion_index, as: 'insertionIndex' + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + end + end + + class RgbColor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :green, as: 'green' + property :blue, as: 'blue' + property :red, as: 'red' + end + end + + class PageElementProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :size, as: 'size', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation + + property :page_object_id, as: 'pageObjectId' + property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation + + end + end + + class DeleteTextRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation + + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + end + end + + class ParagraphStyle + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :line_spacing, as: 'lineSpacing' + property :spacing_mode, as: 'spacingMode' + property :alignment, as: 'alignment' + property :space_above, as: 'spaceAbove', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + property :direction, as: 'direction' + property :indent_end, as: 'indentEnd', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + property :indent_first_line, as: 'indentFirstLine', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + property :indent_start, as: 'indentStart', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + property :space_below, as: 'spaceBelow', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + end + end + + class Page + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :slide_properties, as: 'slideProperties', class: Google::Apis::SlidesV1::SlideProperties, decorator: Google::Apis::SlidesV1::SlideProperties::Representation + + property :page_type, as: 'pageType' + collection :page_elements, as: 'pageElements', class: Google::Apis::SlidesV1::PageElement, decorator: Google::Apis::SlidesV1::PageElement::Representation + + property :page_properties, as: 'pageProperties', class: Google::Apis::SlidesV1::PageProperties, decorator: Google::Apis::SlidesV1::PageProperties::Representation + + property :layout_properties, as: 'layoutProperties', class: Google::Apis::SlidesV1::LayoutProperties, decorator: Google::Apis::SlidesV1::LayoutProperties::Representation + + property :object_id_prop, as: 'objectId' + end + end + + class UpdateShapePropertiesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :shape_properties, as: 'shapeProperties', class: Google::Apis::SlidesV1::ShapeProperties, decorator: Google::Apis::SlidesV1::ShapeProperties::Representation + + property :object_id_prop, as: 'objectId' + property :fields, as: 'fields' + end + end + + class CreateLineResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class Presentation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :title, as: 'title' + property :locale, as: 'locale' + collection :slides, as: 'slides', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation + + collection :masters, as: 'masters', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation + + property :page_size, as: 'pageSize', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation + + property :presentation_id, as: 'presentationId' + collection :layouts, as: 'layouts', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation + + end + end + + class CreateImageRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :url, as: 'url' + property :object_id_prop, as: 'objectId' + property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation + + end + end + + class SlideProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :layout_object_id, as: 'layoutObjectId' + property :master_object_id, as: 'masterObjectId' + end + end + + class UpdatePageElementTransformRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :apply_mode, as: 'applyMode' + property :object_id_prop, as: 'objectId' + property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation + + end + end + + class List + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :nesting_level, as: 'nestingLevel', class: Google::Apis::SlidesV1::NestingLevel, decorator: Google::Apis::SlidesV1::NestingLevel::Representation + + property :list_id, as: 'listId' + end + end + + class CreateVideoResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class InsertTableRowsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :table_object_id, as: 'tableObjectId' + property :insert_below, as: 'insertBelow' + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :number, as: 'number' + end + end + + class UpdateVideoPropertiesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :video_properties, as: 'videoProperties', class: Google::Apis::SlidesV1::VideoProperties, decorator: Google::Apis::SlidesV1::VideoProperties::Representation + + property :object_id_prop, as: 'objectId' + property :fields, as: 'fields' + end + end + + class OpaqueColor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :rgb_color, as: 'rgbColor', class: Google::Apis::SlidesV1::RgbColor, decorator: Google::Apis::SlidesV1::RgbColor::Representation + + property :theme_color, as: 'themeColor' + end + end + + class Response + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_table, as: 'createTable', class: Google::Apis::SlidesV1::CreateTableResponse, decorator: Google::Apis::SlidesV1::CreateTableResponse::Representation + + property :replace_all_text, as: 'replaceAllText', class: Google::Apis::SlidesV1::ReplaceAllTextResponse, decorator: Google::Apis::SlidesV1::ReplaceAllTextResponse::Representation + + property :create_line, as: 'createLine', class: Google::Apis::SlidesV1::CreateLineResponse, decorator: Google::Apis::SlidesV1::CreateLineResponse::Representation + + property :create_sheets_chart, as: 'createSheetsChart', class: Google::Apis::SlidesV1::CreateSheetsChartResponse, decorator: Google::Apis::SlidesV1::CreateSheetsChartResponse::Representation + + property :create_slide, as: 'createSlide', class: Google::Apis::SlidesV1::CreateSlideResponse, decorator: Google::Apis::SlidesV1::CreateSlideResponse::Representation + + property :create_shape, as: 'createShape', class: Google::Apis::SlidesV1::CreateShapeResponse, decorator: Google::Apis::SlidesV1::CreateShapeResponse::Representation + + property :replace_all_shapes_with_image, as: 'replaceAllShapesWithImage', class: Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse::Representation + + property :create_video, as: 'createVideo', class: Google::Apis::SlidesV1::CreateVideoResponse, decorator: Google::Apis::SlidesV1::CreateVideoResponse::Representation + + property :create_image, as: 'createImage', class: Google::Apis::SlidesV1::CreateImageResponse, decorator: Google::Apis::SlidesV1::CreateImageResponse::Representation + + property :duplicate_object, as: 'duplicateObject', class: Google::Apis::SlidesV1::DuplicateObjectResponse, decorator: Google::Apis::SlidesV1::DuplicateObjectResponse::Representation + + end + end + + class LineProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :weight, as: 'weight', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + property :start_arrow, as: 'startArrow' + property :end_arrow, as: 'endArrow' + property :line_fill, as: 'lineFill', class: Google::Apis::SlidesV1::LineFill, decorator: Google::Apis::SlidesV1::LineFill::Representation + + property :dash_style, as: 'dashStyle' + end + end + + class Table + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :columns, as: 'columns' + collection :table_columns, as: 'tableColumns', class: Google::Apis::SlidesV1::TableColumnProperties, decorator: Google::Apis::SlidesV1::TableColumnProperties::Representation + + property :rows, as: 'rows' + collection :table_rows, as: 'tableRows', class: Google::Apis::SlidesV1::TableRow, decorator: Google::Apis::SlidesV1::TableRow::Representation + + end + end + + class NestingLevel + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bullet_style, as: 'bulletStyle', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation + + end + end + + class DuplicateObjectResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class RefreshSheetsChartRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class TableCellLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :row_index, as: 'rowIndex' + property :column_index, as: 'columnIndex' + end + end + + class TextContent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :lists, as: 'lists', class: Google::Apis::SlidesV1::List, decorator: Google::Apis::SlidesV1::List::Representation + + collection :text_elements, as: 'textElements', class: Google::Apis::SlidesV1::TextElement, decorator: Google::Apis::SlidesV1::TextElement::Representation + + end + end + + class PageElement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :title, as: 'title' + property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation + + property :video, as: 'video', class: Google::Apis::SlidesV1::Video, decorator: Google::Apis::SlidesV1::Video::Representation + + property :sheets_chart, as: 'sheetsChart', class: Google::Apis::SlidesV1::SheetsChart, decorator: Google::Apis::SlidesV1::SheetsChart::Representation + + property :line, as: 'line', class: Google::Apis::SlidesV1::Line, decorator: Google::Apis::SlidesV1::Line::Representation + + property :table, as: 'table', class: Google::Apis::SlidesV1::Table, decorator: Google::Apis::SlidesV1::Table::Representation + + property :word_art, as: 'wordArt', class: Google::Apis::SlidesV1::WordArt, decorator: Google::Apis::SlidesV1::WordArt::Representation + + property :shape, as: 'shape', class: Google::Apis::SlidesV1::Shape, decorator: Google::Apis::SlidesV1::Shape::Representation + + property :element_group, as: 'elementGroup', class: Google::Apis::SlidesV1::Group, decorator: Google::Apis::SlidesV1::Group::Representation + + property :image, as: 'image', class: Google::Apis::SlidesV1::Image, decorator: Google::Apis::SlidesV1::Image::Representation + + property :object_id_prop, as: 'objectId' + property :size, as: 'size', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation + + end + end + + class UpdatePagePropertiesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :fields, as: 'fields' + property :page_properties, as: 'pageProperties', class: Google::Apis::SlidesV1::PageProperties, decorator: Google::Apis::SlidesV1::PageProperties::Representation + + end + end + + class UpdateTableCellPropertiesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :table_range, as: 'tableRange', class: Google::Apis::SlidesV1::TableRange, decorator: Google::Apis::SlidesV1::TableRange::Representation + + property :fields, as: 'fields' + property :table_cell_properties, as: 'tableCellProperties', class: Google::Apis::SlidesV1::TableCellProperties, decorator: Google::Apis::SlidesV1::TableCellProperties::Representation + + end + end + + class BatchUpdatePresentationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :requests, as: 'requests', class: Google::Apis::SlidesV1::Request, decorator: Google::Apis::SlidesV1::Request::Representation + + end + end + + class Dimension + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :unit, as: 'unit' + property :magnitude, as: 'magnitude' + end + end + + class Placeholder + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :index, as: 'index' + property :type, as: 'type' + property :parent_object_id, as: 'parentObjectId' + end + end + + class CreateSheetsChartRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :chart_id, as: 'chartId' + property :object_id_prop, as: 'objectId' + property :spreadsheet_id, as: 'spreadsheetId' + property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation + + property :linking_mode, as: 'linkingMode' + end + end + + class DeleteTableRowRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :table_object_id, as: 'tableObjectId' + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + end + end + + class Video + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :url, as: 'url' + property :video_properties, as: 'videoProperties', class: Google::Apis::SlidesV1::VideoProperties, decorator: Google::Apis::SlidesV1::VideoProperties::Representation + + property :source, as: 'source' + property :id, as: 'id' + end + end + + class Link + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :url, as: 'url' + property :relative_link, as: 'relativeLink' + property :slide_index, as: 'slideIndex' + property :page_object_id, as: 'pageObjectId' + end + end + + class PageBackgroundFill + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :stretched_picture_fill, as: 'stretchedPictureFill', class: Google::Apis::SlidesV1::StretchedPictureFill, decorator: Google::Apis::SlidesV1::StretchedPictureFill::Representation + + property :property_state, as: 'propertyState' + property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation + + end + end + + class ColorStop + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :color, as: 'color', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation + + property :position, as: 'position' + property :alpha, as: 'alpha' + end + end + + class ThemeColorPair + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :color, as: 'color', class: Google::Apis::SlidesV1::RgbColor, decorator: Google::Apis::SlidesV1::RgbColor::Representation + + property :type, as: 'type' + end + end + + class ReplaceAllShapesWithImageRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :replace_method, as: 'replaceMethod' + property :contains_text, as: 'containsText', class: Google::Apis::SlidesV1::SubstringMatchCriteria, decorator: Google::Apis::SlidesV1::SubstringMatchCriteria::Representation + + property :image_url, as: 'imageUrl' + end + end + + class DeleteObjectRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class CreateImageResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class Recolor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :recolor_stops, as: 'recolorStops', class: Google::Apis::SlidesV1::ColorStop, decorator: Google::Apis::SlidesV1::ColorStop::Representation + + end + end + + class TextStyle + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bold, as: 'bold' + property :italic, as: 'italic' + property :baseline_offset, as: 'baselineOffset' + property :foreground_color, as: 'foregroundColor', class: Google::Apis::SlidesV1::OptionalColor, decorator: Google::Apis::SlidesV1::OptionalColor::Representation + + property :font_family, as: 'fontFamily' + property :strikethrough, as: 'strikethrough' + property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation + + property :small_caps, as: 'smallCaps' + property :background_color, as: 'backgroundColor', class: Google::Apis::SlidesV1::OptionalColor, decorator: Google::Apis::SlidesV1::OptionalColor::Representation + + property :font_size, as: 'fontSize', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + property :underline, as: 'underline' + end + end + + class TableCellBackgroundFill + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :property_state, as: 'propertyState' + property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation + + end + end + + class SolidFill + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :color, as: 'color', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation + + property :alpha, as: 'alpha' + end + end + + class DuplicateObjectRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + hash :object_ids, as: 'objectIds' + end + end + + class SheetsChart + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :chart_id, as: 'chartId' + property :spreadsheet_id, as: 'spreadsheetId' + property :sheets_chart_properties, as: 'sheetsChartProperties', class: Google::Apis::SlidesV1::SheetsChartProperties, decorator: Google::Apis::SlidesV1::SheetsChartProperties::Representation + + property :content_url, as: 'contentUrl' + end + end + + class PageProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :page_background_fill, as: 'pageBackgroundFill', class: Google::Apis::SlidesV1::PageBackgroundFill, decorator: Google::Apis::SlidesV1::PageBackgroundFill::Representation + + property :color_scheme, as: 'colorScheme', class: Google::Apis::SlidesV1::ColorScheme, decorator: Google::Apis::SlidesV1::ColorScheme::Representation + + end + end + + class Shadow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alignment, as: 'alignment' + property :rotate_with_shape, as: 'rotateWithShape' + property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation + + property :color, as: 'color', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation + + property :blur_radius, as: 'blurRadius', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + property :property_state, as: 'propertyState' + property :alpha, as: 'alpha' + property :type, as: 'type' + end + end + + class LayoutReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :predefined_layout, as: 'predefinedLayout' + property :layout_id, as: 'layoutId' + end + end + + class CreateSheetsChartResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class ReplaceAllTextResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :occurrences_changed, as: 'occurrencesChanged' + end + end + + class LayoutProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :master_object_id, as: 'masterObjectId' + property :name, as: 'name' + end + end + + class InsertTableColumnsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :table_object_id, as: 'tableObjectId' + property :insert_right, as: 'insertRight' + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :number, as: 'number' + end + end + + class DeleteTableColumnRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :table_object_id, as: 'tableObjectId' + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + end + end + + class TableRow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :row_height, as: 'rowHeight', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + collection :table_cells, as: 'tableCells', class: Google::Apis::SlidesV1::TableCell, decorator: Google::Apis::SlidesV1::TableCell::Representation + + end + end + + class AffineTransform + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :unit, as: 'unit' + property :shear_y, as: 'shearY' + property :translate_x, as: 'translateX' + property :shear_x, as: 'shearX' + property :scale_y, as: 'scaleY' + property :scale_x, as: 'scaleX' + property :translate_y, as: 'translateY' + end + end + + class CreateShapeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :shape_type, as: 'shapeType' + property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation + + end + end + + class ShapeBackgroundFill + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :property_state, as: 'propertyState' + property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation + + end + end + + class Line + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :line_properties, as: 'lineProperties', class: Google::Apis::SlidesV1::LineProperties, decorator: Google::Apis::SlidesV1::LineProperties::Representation + + property :line_type, as: 'lineType' + end + end + + class SheetsChartProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :chart_image_properties, as: 'chartImageProperties', class: Google::Apis::SlidesV1::ImageProperties, decorator: Google::Apis::SlidesV1::ImageProperties::Representation + + end + end + + class AutoText + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :style, as: 'style', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation + + property :type, as: 'type' + end + end + + class TextElement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_index, as: 'endIndex' + property :text_run, as: 'textRun', class: Google::Apis::SlidesV1::TextRun, decorator: Google::Apis::SlidesV1::TextRun::Representation + + property :start_index, as: 'startIndex' + property :paragraph_marker, as: 'paragraphMarker', class: Google::Apis::SlidesV1::ParagraphMarker, decorator: Google::Apis::SlidesV1::ParagraphMarker::Representation + + property :auto_text, as: 'autoText', class: Google::Apis::SlidesV1::AutoText, decorator: Google::Apis::SlidesV1::AutoText::Representation + + end + end + + class UpdateSlidesPositionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :insertion_index, as: 'insertionIndex' + collection :slide_object_ids, as: 'slideObjectIds' + end + end + + class ReplaceAllTextRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :contains_text, as: 'containsText', class: Google::Apis::SlidesV1::SubstringMatchCriteria, decorator: Google::Apis::SlidesV1::SubstringMatchCriteria::Representation + + property :replace_text, as: 'replaceText' + end + end + + class ShapeProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :outline, as: 'outline', class: Google::Apis::SlidesV1::Outline, decorator: Google::Apis::SlidesV1::Outline::Representation + + property :shape_background_fill, as: 'shapeBackgroundFill', class: Google::Apis::SlidesV1::ShapeBackgroundFill, decorator: Google::Apis::SlidesV1::ShapeBackgroundFill::Representation + + property :shadow, as: 'shadow', class: Google::Apis::SlidesV1::Shadow, decorator: Google::Apis::SlidesV1::Shadow::Representation + + end + end + + class CreateShapeResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class CreateSlideResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class UpdateImagePropertiesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :fields, as: 'fields' + property :image_properties, as: 'imageProperties', class: Google::Apis::SlidesV1::ImageProperties, decorator: Google::Apis::SlidesV1::ImageProperties::Representation + + end + end + + class CreateVideoRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :source, as: 'source' + property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation + + property :id, as: 'id' + end + end + + class CreateTableRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :columns, as: 'columns' + property :object_id_prop, as: 'objectId' + property :rows, as: 'rows' + property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation + + end + end + + class OptionalColor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :opaque_color, as: 'opaqueColor', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation + + end + end + + class TextRun + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :style, as: 'style', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation + + property :content, as: 'content' + end + end + + class Shape + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text, as: 'text', class: Google::Apis::SlidesV1::TextContent, decorator: Google::Apis::SlidesV1::TextContent::Representation + + property :shape_properties, as: 'shapeProperties', class: Google::Apis::SlidesV1::ShapeProperties, decorator: Google::Apis::SlidesV1::ShapeProperties::Representation + + property :shape_type, as: 'shapeType' + property :placeholder, as: 'placeholder', class: Google::Apis::SlidesV1::Placeholder, decorator: Google::Apis::SlidesV1::Placeholder::Representation + + end + end + + class BatchUpdatePresentationResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :presentation_id, as: 'presentationId' + collection :replies, as: 'replies', class: Google::Apis::SlidesV1::Response, decorator: Google::Apis::SlidesV1::Response::Representation + + end + end + + class ImageProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :crop_properties, as: 'cropProperties', class: Google::Apis::SlidesV1::CropProperties, decorator: Google::Apis::SlidesV1::CropProperties::Representation + + property :outline, as: 'outline', class: Google::Apis::SlidesV1::Outline, decorator: Google::Apis::SlidesV1::Outline::Representation + + property :shadow, as: 'shadow', class: Google::Apis::SlidesV1::Shadow, decorator: Google::Apis::SlidesV1::Shadow::Representation + + property :transparency, as: 'transparency' + property :contrast, as: 'contrast' + property :recolor, as: 'recolor', class: Google::Apis::SlidesV1::Recolor, decorator: Google::Apis::SlidesV1::Recolor::Representation + + property :brightness, as: 'brightness' + end + end + + class Group + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :children, as: 'children', class: Google::Apis::SlidesV1::PageElement, decorator: Google::Apis::SlidesV1::PageElement::Representation + + end + end + + class Outline + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :weight, as: 'weight', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + property :dash_style, as: 'dashStyle' + property :property_state, as: 'propertyState' + property :outline_fill, as: 'outlineFill', class: Google::Apis::SlidesV1::OutlineFill, decorator: Google::Apis::SlidesV1::OutlineFill::Representation + + end + end + + class TableCell + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text, as: 'text', class: Google::Apis::SlidesV1::TextContent, decorator: Google::Apis::SlidesV1::TextContent::Representation + + property :location, as: 'location', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :row_span, as: 'rowSpan' + property :table_cell_properties, as: 'tableCellProperties', class: Google::Apis::SlidesV1::TableCellProperties, decorator: Google::Apis::SlidesV1::TableCellProperties::Representation + + property :column_span, as: 'columnSpan' + end + end + + class ReplaceAllShapesWithImageResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :occurrences_changed, as: 'occurrencesChanged' + end + end + + class CreateSlideRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :insertion_index, as: 'insertionIndex' + property :slide_layout_reference, as: 'slideLayoutReference', class: Google::Apis::SlidesV1::LayoutReference, decorator: Google::Apis::SlidesV1::LayoutReference::Representation + + end + end + + class TableCellProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :table_cell_background_fill, as: 'tableCellBackgroundFill', class: Google::Apis::SlidesV1::TableCellBackgroundFill, decorator: Google::Apis::SlidesV1::TableCellBackgroundFill::Representation + + end + end + + class CreateTableResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class Size + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :width, as: 'width', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + property :height, as: 'height', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + end + end + + class ColorScheme + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :colors, as: 'colors', class: Google::Apis::SlidesV1::ThemeColorPair, decorator: Google::Apis::SlidesV1::ThemeColorPair::Representation + + end + end + + class ParagraphMarker + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :style, as: 'style', class: Google::Apis::SlidesV1::ParagraphStyle, decorator: Google::Apis::SlidesV1::ParagraphStyle::Representation + + property :bullet, as: 'bullet', class: Google::Apis::SlidesV1::Bullet, decorator: Google::Apis::SlidesV1::Bullet::Representation + + end + end + + class CreateParagraphBulletsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation + + property :bullet_preset, as: 'bulletPreset' + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + end + end + + class SubstringMatchCriteria + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text, as: 'text' + property :match_case, as: 'matchCase' + end + end + + class Range + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_index, as: 'endIndex' + property :start_index, as: 'startIndex' + property :type, as: 'type' + end + end + + class WordArt + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :rendered_text, as: 'renderedText' + end + end + + class TableColumnProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :column_width, as: 'columnWidth', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + end + end + + class Request + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_paragraph_bullets, as: 'createParagraphBullets', class: Google::Apis::SlidesV1::CreateParagraphBulletsRequest, decorator: Google::Apis::SlidesV1::CreateParagraphBulletsRequest::Representation + + property :insert_table_columns, as: 'insertTableColumns', class: Google::Apis::SlidesV1::InsertTableColumnsRequest, decorator: Google::Apis::SlidesV1::InsertTableColumnsRequest::Representation + + property :create_table, as: 'createTable', class: Google::Apis::SlidesV1::CreateTableRequest, decorator: Google::Apis::SlidesV1::CreateTableRequest::Representation + + property :delete_text, as: 'deleteText', class: Google::Apis::SlidesV1::DeleteTextRequest, decorator: Google::Apis::SlidesV1::DeleteTextRequest::Representation + + property :replace_all_text, as: 'replaceAllText', class: Google::Apis::SlidesV1::ReplaceAllTextRequest, decorator: Google::Apis::SlidesV1::ReplaceAllTextRequest::Representation + + property :update_video_properties, as: 'updateVideoProperties', class: Google::Apis::SlidesV1::UpdateVideoPropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateVideoPropertiesRequest::Representation + + property :insert_text, as: 'insertText', class: Google::Apis::SlidesV1::InsertTextRequest, decorator: Google::Apis::SlidesV1::InsertTextRequest::Representation + + property :delete_table_row, as: 'deleteTableRow', class: Google::Apis::SlidesV1::DeleteTableRowRequest, decorator: Google::Apis::SlidesV1::DeleteTableRowRequest::Representation + + property :update_text_style, as: 'updateTextStyle', class: Google::Apis::SlidesV1::UpdateTextStyleRequest, decorator: Google::Apis::SlidesV1::UpdateTextStyleRequest::Representation + + property :insert_table_rows, as: 'insertTableRows', class: Google::Apis::SlidesV1::InsertTableRowsRequest, decorator: Google::Apis::SlidesV1::InsertTableRowsRequest::Representation + + property :update_table_cell_properties, as: 'updateTableCellProperties', class: Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest::Representation + + property :refresh_sheets_chart, as: 'refreshSheetsChart', class: Google::Apis::SlidesV1::RefreshSheetsChartRequest, decorator: Google::Apis::SlidesV1::RefreshSheetsChartRequest::Representation + + property :create_sheets_chart, as: 'createSheetsChart', class: Google::Apis::SlidesV1::CreateSheetsChartRequest, decorator: Google::Apis::SlidesV1::CreateSheetsChartRequest::Representation + + property :update_page_properties, as: 'updatePageProperties', class: Google::Apis::SlidesV1::UpdatePagePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdatePagePropertiesRequest::Representation + + property :update_shape_properties, as: 'updateShapeProperties', class: Google::Apis::SlidesV1::UpdateShapePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateShapePropertiesRequest::Representation + + property :create_slide, as: 'createSlide', class: Google::Apis::SlidesV1::CreateSlideRequest, decorator: Google::Apis::SlidesV1::CreateSlideRequest::Representation + + property :delete_object, as: 'deleteObject', class: Google::Apis::SlidesV1::DeleteObjectRequest, decorator: Google::Apis::SlidesV1::DeleteObjectRequest::Representation + + property :create_shape, as: 'createShape', class: Google::Apis::SlidesV1::CreateShapeRequest, decorator: Google::Apis::SlidesV1::CreateShapeRequest::Representation + + property :update_page_element_transform, as: 'updatePageElementTransform', class: Google::Apis::SlidesV1::UpdatePageElementTransformRequest, decorator: Google::Apis::SlidesV1::UpdatePageElementTransformRequest::Representation + + property :update_slides_position, as: 'updateSlidesPosition', class: Google::Apis::SlidesV1::UpdateSlidesPositionRequest, decorator: Google::Apis::SlidesV1::UpdateSlidesPositionRequest::Representation + + property :replace_all_shapes_with_image, as: 'replaceAllShapesWithImage', class: Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest::Representation + + property :update_image_properties, as: 'updateImageProperties', class: Google::Apis::SlidesV1::UpdateImagePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateImagePropertiesRequest::Representation + + property :create_video, as: 'createVideo', class: Google::Apis::SlidesV1::CreateVideoRequest, decorator: Google::Apis::SlidesV1::CreateVideoRequest::Representation + + property :create_image, as: 'createImage', class: Google::Apis::SlidesV1::CreateImageRequest, decorator: Google::Apis::SlidesV1::CreateImageRequest::Representation + + property :duplicate_object, as: 'duplicateObject', class: Google::Apis::SlidesV1::DuplicateObjectRequest, decorator: Google::Apis::SlidesV1::DuplicateObjectRequest::Representation + + property :delete_table_column, as: 'deleteTableColumn', class: Google::Apis::SlidesV1::DeleteTableColumnRequest, decorator: Google::Apis::SlidesV1::DeleteTableColumnRequest::Representation + + end + end + + class LineFill + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation + + end + end + + class OutlineFill + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation + + end + end + + class Bullet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :nesting_level, as: 'nestingLevel' + property :glyph, as: 'glyph' + property :bullet_style, as: 'bulletStyle', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation + + property :list_id, as: 'listId' + end + end + end + end +end diff --git a/generated/google/apis/slides_v1/service.rb b/generated/google/apis/slides_v1/service.rb new file mode 100644 index 000000000..f38655e3e --- /dev/null +++ b/generated/google/apis/slides_v1/service.rb @@ -0,0 +1,202 @@ +# 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 SlidesV1 + # Google Slides API + # + # An API for creating and editing Google Slides presentations. + # + # @example + # require 'google/apis/slides_v1' + # + # Slides = Google::Apis::SlidesV1 # Alias the module + # service = Slides::SlidesService.new + # + # @see https://developers.google.com/slides/ + class SlidesService < 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://slides.googleapis.com/', '') + end + + # Gets the latest version of the specified presentation. + # @param [String] presentation_id + # The ID of the presentation to retrieve. + # @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 [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SlidesV1::Presentation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SlidesV1::Presentation] + # + # @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_presentation(presentation_id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/presentations/{+presentationId}', options) + command.response_representation = Google::Apis::SlidesV1::Presentation::Representation + command.response_class = Google::Apis::SlidesV1::Presentation + command.params['presentationId'] = presentation_id unless presentation_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Creates a new presentation using the title given in the request. Other + # fields in the request are ignored. + # Returns the created presentation. + # @param [Google::Apis::SlidesV1::Presentation] presentation_object + # @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 [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SlidesV1::Presentation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SlidesV1::Presentation] + # + # @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_presentation(presentation_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/presentations', options) + command.request_representation = Google::Apis::SlidesV1::Presentation::Representation + command.request_object = presentation_object + command.response_representation = Google::Apis::SlidesV1::Presentation::Representation + command.response_class = Google::Apis::SlidesV1::Presentation + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Applies one or more updates to the presentation. + # Each request is validated before + # being applied. If any request is not valid then the entire request will + # fail and nothing will be applied. + # Some requests have replies to + # give you some information about how they are applied. Other requests do + # not need to return information; these each return an empty reply. + # The order of replies matches that of the requests. + # For example, suppose you call batchUpdate with four updates, and only the + # third one returns information. The response would have two empty replies, + # the reply to the third request, and another empty reply, in that order. + # Because other users may be editing the presentation, it is not guaranteed + # that the presentation will exactly reflect your changes: your changes may + # be altered with respect to collaborator changes. If there are no + # collaborators, the presentation should reflect your changes. In any case, + # it is guaranteed that the updates in your request will be applied together + # atomically. + # @param [String] presentation_id + # The presentation to apply the updates to. + # @param [Google::Apis::SlidesV1::BatchUpdatePresentationRequest] batch_update_presentation_request_object + # @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 [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SlidesV1::BatchUpdatePresentationResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SlidesV1::BatchUpdatePresentationResponse] + # + # @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_update_presentation(presentation_id, batch_update_presentation_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/presentations/{presentationId}:batchUpdate', options) + command.request_representation = Google::Apis::SlidesV1::BatchUpdatePresentationRequest::Representation + command.request_object = batch_update_presentation_request_object + command.response_representation = Google::Apis::SlidesV1::BatchUpdatePresentationResponse::Representation + command.response_class = Google::Apis::SlidesV1::BatchUpdatePresentationResponse + command.params['presentationId'] = presentation_id unless presentation_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Gets the latest version of the specified page in the presentation. + # @param [String] presentation_id + # The ID of the presentation to retrieve. + # @param [String] page_object_id + # The object ID of the page to retrieve. + # @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 [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SlidesV1::Page] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SlidesV1::Page] + # + # @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_presentation_page(presentation_id, page_object_id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/presentations/{presentationId}/pages/{pageObjectId}', options) + command.response_representation = Google::Apis::SlidesV1::Page::Representation + command.response_class = Google::Apis::SlidesV1::Page + command.params['presentationId'] = presentation_id unless presentation_id.nil? + command.params['pageObjectId'] = page_object_id unless page_object_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.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 diff --git a/generated/google/apis/speech_v1beta1.rb b/generated/google/apis/speech_v1beta1.rb index 8854ecda1..41e136c51 100644 --- a/generated/google/apis/speech_v1beta1.rb +++ b/generated/google/apis/speech_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/speech/ module SpeechV1beta1 VERSION = 'V1beta1' - REVISION = '20161017' + REVISION = '20161031' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/speech_v1beta1/service.rb b/generated/google/apis/speech_v1beta1/service.rb index a4864819a..8b1c257a2 100644 --- a/generated/google/apis/speech_v1beta1/service.rb +++ b/generated/google/apis/speech_v1beta1/service.rb @@ -120,6 +120,39 @@ module Google execute_or_queue_command(command, &block) end + # Deletes a long-running operation. This method indicates that the client is + # no longer interested in the operation result. It does not cancel the + # operation. If the server doesn't support this method, it returns + # `google.rpc.Code.UNIMPLEMENTED`. + # @param [String] name + # The name of the operation resource to be deleted. + # @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 [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SpeechV1beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpeechV1beta1::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_operation(name, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1beta1/operations/{+name}', options) + command.response_representation = Google::Apis::SpeechV1beta1::Empty::Representation + command.response_class = Google::Apis::SpeechV1beta1::Empty + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + # Starts asynchronous cancellation on a long-running operation. The server # makes a best effort to cancel the operation, but success is not # guaranteed. If the server doesn't support this method, it returns @@ -162,40 +195,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a long-running operation. This method indicates that the client is - # no longer interested in the operation result. It does not cancel the - # operation. If the server doesn't support this method, it returns - # `google.rpc.Code.UNIMPLEMENTED`. - # @param [String] name - # The name of the operation resource to be deleted. - # @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 [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::SpeechV1beta1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SpeechV1beta1::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_operation(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1beta1/operations/{+name}', options) - command.response_representation = Google::Apis::SpeechV1beta1::Empty::Representation - command.response_class = Google::Apis::SpeechV1beta1::Empty - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Perform synchronous speech-recognition: receive results after all audio + # Performs synchronous speech recognition: receive results after all audio # has been sent and processed. # @param [Google::Apis::SpeechV1beta1::SyncRecognizeRequest] sync_recognize_request_object # @param [String] quota_user @@ -226,7 +226,7 @@ module Google execute_or_queue_command(command, &block) end - # Perform asynchronous speech-recognition: receive results via the + # Performs asynchronous speech recognition: receive results via the # google.longrunning.Operations interface. Returns either an # `Operation.error` or an `Operation.response` which contains # an `AsyncRecognizeResponse` message. diff --git a/generated/google/apis/sqladmin_v1beta4.rb b/generated/google/apis/sqladmin_v1beta4.rb index 8d68d073f..0019f880f 100644 --- a/generated/google/apis/sqladmin_v1beta4.rb +++ b/generated/google/apis/sqladmin_v1beta4.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/sql/docs/reference/latest module SqladminV1beta4 VERSION = 'V1beta4' - REVISION = '20161005' + REVISION = '20161028' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/storage_v1.rb b/generated/google/apis/storage_v1.rb index f81129869..94515a0de 100644 --- a/generated/google/apis/storage_v1.rb +++ b/generated/google/apis/storage_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/storage/docs/json_api/ module StorageV1 VERSION = 'V1' - REVISION = '20161019' + REVISION = '20161027' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/vision_v1.rb b/generated/google/apis/vision_v1.rb index a0edf9243..951e541c7 100644 --- a/generated/google/apis/vision_v1.rb +++ b/generated/google/apis/vision_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/vision/ module VisionV1 VERSION = 'V1' - REVISION = '20161011' + REVISION = '20161031' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/vision_v1/classes.rb b/generated/google/apis/vision_v1/classes.rb index ff35d0075..49a529263 100644 --- a/generated/google/apis/vision_v1/classes.rb +++ b/generated/google/apis/vision_v1/classes.rb @@ -54,7 +54,7 @@ module Google # @return [Google::Apis::VisionV1::Image] attr_accessor :image - # Image context. + # Image context and/or feature-specific parameters. # Corresponds to the JSON property `imageContext` # @return [Google::Apis::VisionV1::ImageContext] attr_accessor :image_context @@ -658,7 +658,7 @@ module Google end end - # Image context. + # Image context and/or feature-specific parameters. class ImageContext include Google::Apis::Core::Hashable diff --git a/generated/google/apis/youtube_analytics_v1.rb b/generated/google/apis/youtube_analytics_v1.rb index f212452ce..0bea76616 100644 --- a/generated/google/apis/youtube_analytics_v1.rb +++ b/generated/google/apis/youtube_analytics_v1.rb @@ -25,7 +25,7 @@ module Google # @see http://developers.google.com/youtube/analytics/ module YoutubeAnalyticsV1 VERSION = 'V1' - REVISION = '20160513' + REVISION = '20161105' # Manage your YouTube account AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube' diff --git a/generated/google/apis/youtube_partner_v1.rb b/generated/google/apis/youtube_partner_v1.rb index ae94cdddd..e67bcca3d 100644 --- a/generated/google/apis/youtube_partner_v1.rb +++ b/generated/google/apis/youtube_partner_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/youtube/partner/ module YoutubePartnerV1 VERSION = 'V1' - REVISION = '20161011' + REVISION = '20161101' # View and manage your assets and associated content on YouTube AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner' diff --git a/generated/google/apis/youtube_v3.rb b/generated/google/apis/youtube_v3.rb index beaf2b0c3..340857c15 100644 --- a/generated/google/apis/youtube_v3.rb +++ b/generated/google/apis/youtube_v3.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/youtube/v3 module YoutubeV3 VERSION = 'V3' - REVISION = '20160805' + REVISION = '20161017' # Manage your YouTube account AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube' diff --git a/generated/google/apis/youtube_v3/classes.rb b/generated/google/apis/youtube_v3/classes.rb index bb598600f..6130bc5fe 100644 --- a/generated/google/apis/youtube_v3/classes.rb +++ b/generated/google/apis/youtube_v3/classes.rb @@ -1100,12 +1100,6 @@ module Google class ChannelContentDetails include Google::Apis::Core::Hashable - # The googlePlusUserId object identifies the Google+ profile ID associated with - # this channel. - # Corresponds to the JSON property `googlePlusUserId` - # @return [String] - attr_accessor :google_plus_user_id - # # Corresponds to the JSON property `relatedPlaylists` # @return [Google::Apis::YoutubeV3::ChannelContentDetails::RelatedPlaylists] @@ -1117,7 +1111,6 @@ module Google # Update properties of this object def update!(**args) - @google_plus_user_id = args[:google_plus_user_id] if args.key?(:google_plus_user_id) @related_playlists = args[:related_playlists] if args.key?(:related_playlists) end @@ -2005,11 +1998,6 @@ module Google # @return [String] attr_accessor :author_display_name - # Link to the author's Google+ profile, if any. - # Corresponds to the JSON property `authorGoogleplusProfileUrl` - # @return [String] - attr_accessor :author_googleplus_profile_url - # The URL for the avatar of the user who posted the comment. # Corresponds to the JSON property `authorProfileImageUrl` # @return [String] @@ -2092,7 +2080,6 @@ module Google @author_channel_id = args[:author_channel_id] if args.key?(:author_channel_id) @author_channel_url = args[:author_channel_url] if args.key?(:author_channel_url) @author_display_name = args[:author_display_name] if args.key?(:author_display_name) - @author_googleplus_profile_url = args[:author_googleplus_profile_url] if args.key?(:author_googleplus_profile_url) @author_profile_image_url = args[:author_profile_image_url] if args.key?(:author_profile_image_url) @can_rate = args[:can_rate] if args.key?(:can_rate) @channel_id = args[:channel_id] if args.key?(:channel_id) @@ -7311,6 +7298,13 @@ module Google # @return [String] attr_accessor :duration + # Indicates whether the video uploader has provided a custom thumbnail image for + # the video. This property is only visible to the video uploader. + # Corresponds to the JSON property `hasCustomThumbnail` + # @return [Boolean] + attr_accessor :has_custom_thumbnail + alias_method :has_custom_thumbnail?, :has_custom_thumbnail + # The value of is_license_content indicates whether the video is licensed # content. # Corresponds to the JSON property `licensedContent` @@ -7340,6 +7334,7 @@ module Google @definition = args[:definition] if args.key?(:definition) @dimension = args[:dimension] if args.key?(:dimension) @duration = args[:duration] if args.key?(:duration) + @has_custom_thumbnail = args[:has_custom_thumbnail] if args.key?(:has_custom_thumbnail) @licensed_content = args[:licensed_content] if args.key?(:licensed_content) @projection = args[:projection] if args.key?(:projection) @region_restriction = args[:region_restriction] if args.key?(:region_restriction) @@ -7434,11 +7429,6 @@ module Google # @return [String] attr_accessor :file_type - # Geographical coordinates of a point, in WGS84. - # Corresponds to the JSON property `recordingLocation` - # @return [Google::Apis::YoutubeV3::GeoPoint] - attr_accessor :recording_location - # A list of video streams contained in the uploaded video file. Each item in the # list contains detailed metadata about a video stream. # Corresponds to the JSON property `videoStreams` @@ -7459,7 +7449,6 @@ module Google @file_name = args[:file_name] if args.key?(:file_name) @file_size = args[:file_size] if args.key?(:file_size) @file_type = args[:file_type] if args.key?(:file_type) - @recording_location = args[:recording_location] if args.key?(:recording_location) @video_streams = args[:video_streams] if args.key?(:video_streams) end end @@ -7796,18 +7785,30 @@ module Google class VideoPlayer include Google::Apis::Core::Hashable + # + # Corresponds to the JSON property `embedHeight` + # @return [String] + attr_accessor :embed_height + # An