diff --git a/api_names.yaml b/api_names.yaml index e7eb54f71..512d60f09 100644 --- a/api_names.yaml +++ b/api_names.yaml @@ -909,49 +909,6 @@ "/logging:v2beta1/logging.projects.logs.entries.write": write_log_entries "/manager:v1beta2/DeploymentsListResponse": list_deployments_response "/manager:v1beta2/TemplatesListResponse": list_templates_response -"/mapsengine:v1/AssetsListResponse": list_assets_response -"/mapsengine:v1/FeaturesBatchDeleteRequest": batch_delete_features_request -"/mapsengine:v1/FeaturesBatchInsertRequest": batch_insert_features_request -"/mapsengine:v1/FeaturesBatchPatchRequest": batch_patch_features_request -"/mapsengine:v1/FeaturesListResponse": list_features_response -"/mapsengine:v1/IconsListResponse": list_icons_response -"/mapsengine:v1/LayersListResponse": list_layers_response -"/mapsengine:v1/MapsListResponse": list_maps_response -"/mapsengine:v1/ParentsListResponse": list_parents_response -"/mapsengine:v1/PermissionsBatchDeleteRequest": batch_delete_permissions_request -"/mapsengine:v1/PermissionsBatchDeleteResponse": batch_delete_permissions_response -"/mapsengine:v1/PermissionsBatchUpdateRequest": batch_update_permissions_request -"/mapsengine:v1/PermissionsBatchUpdateResponse": batch_update_permissions_response -"/mapsengine:v1/PermissionsListResponse": list_permissions_response -"/mapsengine:v1/ProjectsListResponse": list_projects_response -"/mapsengine:v1/PublishedLayersListResponse": list_published_layers_response -"/mapsengine:v1/PublishedMapsListResponse": list_published_maps_response -"/mapsengine:v1/RasterCollectionsListResponse": list_raster_collections_response -"/mapsengine:v1/RasterCollectionsRasterBatchDeleteRequest": batch_delete_raster_collections_raster_request -"/mapsengine:v1/RasterCollectionsRastersBatchDeleteResponse": batch_delete_raster_collections_rasters_response -"/mapsengine:v1/RasterCollectionsRastersBatchInsertRequest": batch_insert_raster_collections_rasters_request -"/mapsengine:v1/RasterCollectionsRastersBatchInsertResponse": batch_insert_raster_collections_rasters_response -"/mapsengine:v1/RasterCollectionsRastersListResponse": list_raster_collections_rasters_response -"/mapsengine:v1/RastersListResponse": list_rasters_response -"/mapsengine:v1/TablesListResponse": list_tables_response -"/mapsengine:v1/mapsengine.layers.getPublished": get_published_layer -"/mapsengine:v1/mapsengine.layers.listPublished": list_published_layers -"/mapsengine:v1/mapsengine.layers.permissions.batchDelete": batch_delete_layer_permission -"/mapsengine:v1/mapsengine.layers.permissions.batchUpdate": batch_update_layer_permission -"/mapsengine:v1/mapsengine.maps.getPublished": get_published_map -"/mapsengine:v1/mapsengine.maps.permissions.batchDelete": batch_delete_map_permission -"/mapsengine:v1/mapsengine.maps.permissions.batchUpdate": batch_update_map_permission -"/mapsengine:v1/mapsengine.rasterCollections.permissions.batchDelete": batch_delete_raster_collection_permission -"/mapsengine:v1/mapsengine.rasterCollections.permissions.batchUpdate": batch_update_raster_collection_permission -"/mapsengine:v1/mapsengine.rasterCollections.rasters.batchDelete": batch_delete_raster_collection_raster -"/mapsengine:v1/mapsengine.rasterCollections.rasters.batchInsert": batch_insert_raster_collection_raster -"/mapsengine:v1/mapsengine.rasters.permissions.batchDelete": batch_delete_raster_permission -"/mapsengine:v1/mapsengine.rasters.permissions.batchUpdate": batch_update_raster_permission -"/mapsengine:v1/mapsengine.tables.features.batchDelete": batch_delete_table_feature -"/mapsengine:v1/mapsengine.tables.features.batchInsert": batch_insert_table_feature -"/mapsengine:v1/mapsengine.tables.features.batchPatch": batch_patch_table_feature -"/mapsengine:v1/mapsengine.tables.permissions.batchDelete": batch_delete_table_permission -"/mapsengine:v1/mapsengine.tables.permissions.batchUpdate": batch_update_table_permission "/mirror:v1/AttachmentsListResponse": list_attachments_response "/mirror:v1/ContactsListResponse": list_contacts_response "/mirror:v1/LocationsListResponse": list_locations_response @@ -961,6 +918,7 @@ "/pagespeedonline:v2/PagespeedApiFormatStringV2": format_string "/pagespeedonline:v2/PagespeedApiImageV2": image "/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed": run_pagespeed +"/people:v1/people.people.getBatchGet": get_people "/plus:v1/plus.people.listByActivity": list_people_by_activity "/plusDomains:v1/plusDomains.circles.addPeople": add_people "/plusDomains:v1/plusDomains.circles.removePeople": remove_people diff --git a/api_names_out.yaml b/api_names_out.yaml index 6edcf29ed..3c8bbe9a9 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -885,49 +885,6 @@ "/logging:v2beta1/logging.projects.logs.entries.write": write_log_entries "/manager:v1beta2/DeploymentsListResponse": list_deployments_response "/manager:v1beta2/TemplatesListResponse": list_templates_response -"/mapsengine:v1/AssetsListResponse": list_assets_response -"/mapsengine:v1/FeaturesBatchDeleteRequest": batch_delete_features_request -"/mapsengine:v1/FeaturesBatchInsertRequest": batch_insert_features_request -"/mapsengine:v1/FeaturesBatchPatchRequest": batch_patch_features_request -"/mapsengine:v1/FeaturesListResponse": list_features_response -"/mapsengine:v1/IconsListResponse": list_icons_response -"/mapsengine:v1/LayersListResponse": list_layers_response -"/mapsengine:v1/MapsListResponse": list_maps_response -"/mapsengine:v1/ParentsListResponse": list_parents_response -"/mapsengine:v1/PermissionsBatchDeleteRequest": batch_delete_permissions_request -"/mapsengine:v1/PermissionsBatchDeleteResponse": batch_delete_permissions_response -"/mapsengine:v1/PermissionsBatchUpdateRequest": batch_update_permissions_request -"/mapsengine:v1/PermissionsBatchUpdateResponse": batch_update_permissions_response -"/mapsengine:v1/PermissionsListResponse": list_permissions_response -"/mapsengine:v1/ProjectsListResponse": list_projects_response -"/mapsengine:v1/PublishedLayersListResponse": list_published_layers_response -"/mapsengine:v1/PublishedMapsListResponse": list_published_maps_response -"/mapsengine:v1/RasterCollectionsListResponse": list_raster_collections_response -"/mapsengine:v1/RasterCollectionsRasterBatchDeleteRequest": batch_delete_raster_collections_raster_request -"/mapsengine:v1/RasterCollectionsRastersBatchDeleteResponse": batch_delete_raster_collections_rasters_response -"/mapsengine:v1/RasterCollectionsRastersBatchInsertRequest": batch_insert_raster_collections_rasters_request -"/mapsengine:v1/RasterCollectionsRastersBatchInsertResponse": batch_insert_raster_collections_rasters_response -"/mapsengine:v1/RasterCollectionsRastersListResponse": list_raster_collections_rasters_response -"/mapsengine:v1/RastersListResponse": list_rasters_response -"/mapsengine:v1/TablesListResponse": list_tables_response -"/mapsengine:v1/mapsengine.layers.getPublished": get_published_layer -"/mapsengine:v1/mapsengine.layers.listPublished": list_published_layers -"/mapsengine:v1/mapsengine.layers.permissions.batchDelete": batch_delete_layer_permission -"/mapsengine:v1/mapsengine.layers.permissions.batchUpdate": batch_update_layer_permission -"/mapsengine:v1/mapsengine.maps.getPublished": get_published_map -"/mapsengine:v1/mapsengine.maps.permissions.batchDelete": batch_delete_map_permission -"/mapsengine:v1/mapsengine.maps.permissions.batchUpdate": batch_update_map_permission -"/mapsengine:v1/mapsengine.rasterCollections.permissions.batchDelete": batch_delete_raster_collection_permission -"/mapsengine:v1/mapsengine.rasterCollections.permissions.batchUpdate": batch_update_raster_collection_permission -"/mapsengine:v1/mapsengine.rasterCollections.rasters.batchDelete": batch_delete_raster_collection_raster -"/mapsengine:v1/mapsengine.rasterCollections.rasters.batchInsert": batch_insert_raster_collection_raster -"/mapsengine:v1/mapsengine.rasters.permissions.batchDelete": batch_delete_raster_permission -"/mapsengine:v1/mapsengine.rasters.permissions.batchUpdate": batch_update_raster_permission -"/mapsengine:v1/mapsengine.tables.features.batchDelete": batch_delete_table_feature -"/mapsengine:v1/mapsengine.tables.features.batchInsert": batch_insert_table_feature -"/mapsengine:v1/mapsengine.tables.features.batchPatch": batch_patch_table_feature -"/mapsengine:v1/mapsengine.tables.permissions.batchDelete": batch_delete_table_permission -"/mapsengine:v1/mapsengine.tables.permissions.batchUpdate": batch_update_table_permission "/mirror:v1/AttachmentsListResponse": list_attachments_response "/mirror:v1/ContactsListResponse": list_contacts_response "/mirror:v1/LocationsListResponse": list_locations_response @@ -937,6 +894,7 @@ "/pagespeedonline:v2/PagespeedApiFormatStringV2": format_string "/pagespeedonline:v2/PagespeedApiImageV2": image "/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed": run_pagespeed +"/people:v1/people.people.getBatchGet": get_people "/plus:v1/plus.people.listByActivity": list_people_by_activity "/plusDomains:v1/plusDomains.circles.addPeople": add_people "/plusDomains:v1/plusDomains.circles.removePeople": remove_people @@ -1354,6 +1312,9 @@ "/compute:beta/compute.images.get": get_image "/compute:beta/compute.images.get/image": image "/compute:beta/compute.images.get/project": project +"/compute:beta/compute.images.getFromFamily": get_image_from_family +"/compute:beta/compute.images.getFromFamily/family": family +"/compute:beta/compute.images.getFromFamily/project": project "/compute:beta/compute.images.insert": insert_image "/compute:beta/compute.images.insert/project": project "/compute:beta/compute.images.list": list_images @@ -2221,6 +2182,7 @@ "/compute:beta/Image/deprecated": deprecated "/compute:beta/Image/description": description "/compute:beta/Image/diskSizeGb": disk_size_gb +"/compute:beta/Image/family": family "/compute:beta/Image/id": id "/compute:beta/Image/imageEncryptionKey": image_encryption_key "/compute:beta/Image/kind": kind @@ -7937,7 +7899,6 @@ "/books:v1/books.notification.get/locale": locale "/books:v1/books.notification.get/notification_id": notification_id "/books:v1/books.notification.get/source": source -"/books:v1/books.notification.get/targetIds": target_ids "/books:v1/books.onboarding.listCategories/locale": locale "/books:v1/books.onboarding.listCategoryVolumes/categoryId": category_id "/books:v1/books.onboarding.listCategoryVolumes/locale": locale @@ -7948,7 +7909,6 @@ "/books:v1/books.personalizedstream.get/locale": locale "/books:v1/books.personalizedstream.get/maxAllowedMaturityRating": max_allowed_maturity_rating "/books:v1/books.personalizedstream.get/source": source -"/books:v1/books.personalizedstream.get/targetIds": target_ids "/books:v1/books.promooffer.accept/androidId": android_id "/books:v1/books.promooffer.accept/device": device "/books:v1/books.promooffer.accept/manufacturer": manufacturer @@ -8012,7 +7972,6 @@ "/books:v1/books.volumes.recommended.list/locale": locale "/books:v1/books.volumes.recommended.list/maxAllowedMaturityRating": max_allowed_maturity_rating "/books:v1/books.volumes.recommended.list/source": source -"/books:v1/books.volumes.recommended.list/targetIds": target_ids "/books:v1/books.volumes.recommended.rate/locale": locale "/books:v1/books.volumes.recommended.rate/rating": rating "/books:v1/books.volumes.recommended.rate/source": source @@ -11886,6 +11845,8 @@ "/content:v2/Order/paymentMethod": payment_method "/content:v2/Order/paymentStatus": payment_status "/content:v2/Order/placedDate": placed_date +"/content:v2/Order/promotions": promotions +"/content:v2/Order/promotions/promotion": promotion "/content:v2/Order/refunds": refunds "/content:v2/Order/refunds/refund": refund "/content:v2/Order/shipments": shipments @@ -11975,6 +11936,22 @@ "/content:v2/OrderPaymentMethod/lastFourDigits": last_four_digits "/content:v2/OrderPaymentMethod/phoneNumber": phone_number "/content:v2/OrderPaymentMethod/type": type +"/content:v2/OrderPromotion": order_promotion +"/content:v2/OrderPromotion/benefits": benefits +"/content:v2/OrderPromotion/benefits/benefit": benefit +"/content:v2/OrderPromotion/effectiveDates": effective_dates +"/content:v2/OrderPromotion/genericRedemptionCode": generic_redemption_code +"/content:v2/OrderPromotion/id": id +"/content:v2/OrderPromotion/longTitle": long_title +"/content:v2/OrderPromotion/productApplicability": product_applicability +"/content:v2/OrderPromotion/redemptionChannel": redemption_channel +"/content:v2/OrderPromotionBenefit": order_promotion_benefit +"/content:v2/OrderPromotionBenefit/discount": discount +"/content:v2/OrderPromotionBenefit/offerIds": offer_ids +"/content:v2/OrderPromotionBenefit/offerIds/offer_id": offer_id +"/content:v2/OrderPromotionBenefit/subType": sub_type +"/content:v2/OrderPromotionBenefit/taxImpact": tax_impact +"/content:v2/OrderPromotionBenefit/type": type "/content:v2/OrderRefund": order_refund "/content:v2/OrderRefund/actor": actor "/content:v2/OrderRefund/amount": amount @@ -12199,6 +12176,8 @@ "/content:v2/Product/pattern": pattern "/content:v2/Product/price": price "/content:v2/Product/productType": product_type +"/content:v2/Product/promotionIds": promotion_ids +"/content:v2/Product/promotionIds/promotion_id": promotion_id "/content:v2/Product/salePrice": sale_price "/content:v2/Product/salePriceEffectiveDate": sale_price_effective_date "/content:v2/Product/sellOnGoogleQuantity": sell_on_google_quantity @@ -12331,6 +12310,8 @@ "/content:v2/TestOrder/lineItems/line_item": line_item "/content:v2/TestOrder/paymentMethod": payment_method "/content:v2/TestOrder/predefinedDeliveryAddress": predefined_delivery_address +"/content:v2/TestOrder/promotions": promotions +"/content:v2/TestOrder/promotions/promotion": promotion "/content:v2/TestOrder/shippingCost": shipping_cost "/content:v2/TestOrder/shippingCostTax": shipping_cost_tax "/content:v2/TestOrder/shippingOption": shipping_option @@ -12938,13 +12919,23 @@ "/deploymentmanager:v2/Deployment/fingerprint": fingerprint "/deploymentmanager:v2/Deployment/id": id "/deploymentmanager:v2/Deployment/insertTime": insert_time +"/deploymentmanager:v2/Deployment/labels": labels +"/deploymentmanager:v2/Deployment/labels/label": label "/deploymentmanager:v2/Deployment/manifest": manifest "/deploymentmanager:v2/Deployment/name": name "/deploymentmanager:v2/Deployment/operation": operation "/deploymentmanager:v2/Deployment/target": target "/deploymentmanager:v2/Deployment/update": update +"/deploymentmanager:v2/DeploymentLabelEntry": deployment_label_entry +"/deploymentmanager:v2/DeploymentLabelEntry/key": key +"/deploymentmanager:v2/DeploymentLabelEntry/value": value "/deploymentmanager:v2/DeploymentUpdate": deployment_update +"/deploymentmanager:v2/DeploymentUpdate/labels": labels +"/deploymentmanager:v2/DeploymentUpdate/labels/label": label "/deploymentmanager:v2/DeploymentUpdate/manifest": manifest +"/deploymentmanager:v2/DeploymentUpdateLabelEntry": deployment_update_label_entry +"/deploymentmanager:v2/DeploymentUpdateLabelEntry/key": key +"/deploymentmanager:v2/DeploymentUpdateLabelEntry/value": value "/deploymentmanager:v2/DeploymentsCancelPreviewRequest": deployments_cancel_preview_request "/deploymentmanager:v2/DeploymentsCancelPreviewRequest/fingerprint": fingerprint "/deploymentmanager:v2/DeploymentsListResponse/deployments": deployments @@ -15962,6 +15953,9 @@ "/drive:v2/drive.files.copy/visibility": visibility "/drive:v2/drive.files.delete": delete_file "/drive:v2/drive.files.delete/fileId": file_id +"/drive:v2/drive.files.export": export_file +"/drive:v2/drive.files.export/fileId": file_id +"/drive:v2/drive.files.export/mimeType": mime_type "/drive:v2/drive.files.generateIds": generate_file_ids "/drive:v2/drive.files.generateIds/maxResults": max_results "/drive:v2/drive.files.generateIds/space": space @@ -17702,6 +17696,7 @@ "/games:v1/Player/name": name "/games:v1/Player/name/familyName": family_name "/games:v1/Player/name/givenName": given_name +"/games:v1/Player/originalPlayerId": original_player_id "/games:v1/Player/playerId": player_id "/games:v1/Player/title": title "/games:v1/PlayerAchievement": player_achievement @@ -18225,6 +18220,7 @@ "/gamesManagement:v1management/Player/name": name "/gamesManagement:v1management/Player/name/familyName": family_name "/gamesManagement:v1management/Player/name/givenName": given_name +"/gamesManagement:v1management/Player/originalPlayerId": original_player_id "/gamesManagement:v1management/Player/playerId": player_id "/gamesManagement:v1management/Player/title": title "/gamesManagement:v1management/PlayerScoreResetAllResponse": player_score_reset_all_response @@ -19716,11 +19712,43 @@ "/genomics:v1/Policy/version": version "/genomics:v1/Policy/bindings": bindings "/genomics:v1/Policy/bindings/binding": binding +"/genomics:v1/Policy/rules": rules +"/genomics:v1/Policy/rules/rule": rule "/genomics:v1/Policy/etag": etag "/genomics:v1/Binding": binding "/genomics:v1/Binding/role": role "/genomics:v1/Binding/members": members "/genomics:v1/Binding/members/member": member +"/genomics:v1/Rule": rule +"/genomics:v1/Rule/description": description +"/genomics:v1/Rule/permissions": permissions +"/genomics:v1/Rule/permissions/permission": permission +"/genomics:v1/Rule/action": action +"/genomics:v1/Rule/in": in +"/genomics:v1/Rule/in/in": in +"/genomics:v1/Rule/notIn": not_in +"/genomics:v1/Rule/notIn/not_in": not_in +"/genomics:v1/Rule/conditions": conditions +"/genomics:v1/Rule/conditions/condition": condition +"/genomics:v1/Rule/logConfig": log_config +"/genomics:v1/Rule/logConfig/log_config": log_config +"/genomics:v1/Condition": condition +"/genomics:v1/Condition/iam": iam +"/genomics:v1/Condition/sys": sys +"/genomics:v1/Condition/svc": svc +"/genomics:v1/Condition/op": op +"/genomics:v1/Condition/value": value +"/genomics:v1/Condition/values": values +"/genomics:v1/Condition/values/value": value +"/genomics:v1/LogConfig": log_config +"/genomics:v1/LogConfig/counter": counter +"/genomics:v1/LogConfig/dataAccess": data_access +"/genomics:v1/LogConfig/cloudAudit": cloud_audit +"/genomics:v1/CounterOptions": counter_options +"/genomics:v1/CounterOptions/metric": metric +"/genomics:v1/CounterOptions/field": field +"/genomics:v1/DataAccessOptions": data_access_options +"/genomics:v1/CloudAuditOptions": cloud_audit_options "/genomics:v1/GetIamPolicyRequest": get_iam_policy_request "/genomics:v1/TestIamPermissionsRequest": test_iam_permissions_request "/genomics:v1/TestIamPermissionsRequest/permissions": permissions @@ -20959,6 +20987,7 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/localId": local_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/oobCode": oob_code "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/password": password +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/photoUrl": photo_url "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/provider": provider "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/provider/provider": provider "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/upgradeToFederatedLogin": upgrade_to_federated_login @@ -21013,6 +21042,7 @@ "/identitytoolkit:v3/SetAccountInfoResponse/idToken": id_token "/identitytoolkit:v3/SetAccountInfoResponse/kind": kind "/identitytoolkit:v3/SetAccountInfoResponse/newEmail": new_email +"/identitytoolkit:v3/SetAccountInfoResponse/photoUrl": photo_url "/identitytoolkit:v3/SetAccountInfoResponse/providerUserInfo": provider_user_info "/identitytoolkit:v3/SetAccountInfoResponse/providerUserInfo/provider_user_info": provider_user_info "/identitytoolkit:v3/SetAccountInfoResponse/providerUserInfo/provider_user_info/displayName": display_name @@ -21036,6 +21066,7 @@ "/identitytoolkit:v3/UserInfo/providerUserInfo": provider_user_info "/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info": provider_user_info "/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/displayName": display_name +"/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/email": email "/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/federatedId": federated_id "/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/photoUrl": photo_url "/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/providerId": provider_id @@ -21350,649 +21381,6 @@ "/manager:v1beta2/TemplatesListResponse/nextPageToken": next_page_token "/manager:v1beta2/TemplatesListResponse/resources": resources "/manager:v1beta2/TemplatesListResponse/resources/resource": resource -"/mapsengine:v1/fields": fields -"/mapsengine:v1/key": key -"/mapsengine:v1/quotaUser": quota_user -"/mapsengine:v1/userIp": user_ip -"/mapsengine:v1/mapsengine.assets.get": get_asset -"/mapsengine:v1/mapsengine.assets.get/id": id -"/mapsengine:v1/mapsengine.assets.list": list_assets -"/mapsengine:v1/mapsengine.assets.list/bbox": bbox -"/mapsengine:v1/mapsengine.assets.list/createdAfter": created_after -"/mapsengine:v1/mapsengine.assets.list/createdBefore": created_before -"/mapsengine:v1/mapsengine.assets.list/creatorEmail": creator_email -"/mapsengine:v1/mapsengine.assets.list/maxResults": max_results -"/mapsengine:v1/mapsengine.assets.list/modifiedAfter": modified_after -"/mapsengine:v1/mapsengine.assets.list/modifiedBefore": modified_before -"/mapsengine:v1/mapsengine.assets.list/pageToken": page_token -"/mapsengine:v1/mapsengine.assets.list/projectId": project_id -"/mapsengine:v1/mapsengine.assets.list/role": role -"/mapsengine:v1/mapsengine.assets.list/search": search -"/mapsengine:v1/mapsengine.assets.list/tags": tags -"/mapsengine:v1/mapsengine.assets.list/type": type -"/mapsengine:v1/mapsengine.assets.parents.list": list_asset_parents -"/mapsengine:v1/mapsengine.assets.parents.list/id": id -"/mapsengine:v1/mapsengine.assets.parents.list/maxResults": max_results -"/mapsengine:v1/mapsengine.assets.parents.list/pageToken": page_token -"/mapsengine:v1/mapsengine.assets.permissions.list": list_asset_permissions -"/mapsengine:v1/mapsengine.assets.permissions.list/id": id -"/mapsengine:v1/mapsengine.layers.cancelProcessing": cancel_layer_processing -"/mapsengine:v1/mapsengine.layers.cancelProcessing/id": id -"/mapsengine:v1/mapsengine.layers.create": create_layer -"/mapsengine:v1/mapsengine.layers.create/process": process -"/mapsengine:v1/mapsengine.layers.delete": delete_layer -"/mapsengine:v1/mapsengine.layers.delete/id": id -"/mapsengine:v1/mapsengine.layers.get": get_layer -"/mapsengine:v1/mapsengine.layers.get/id": id -"/mapsengine:v1/mapsengine.layers.get/version": version -"/mapsengine:v1/mapsengine.layers.getPublished/id": id -"/mapsengine:v1/mapsengine.layers.list": list_layers -"/mapsengine:v1/mapsengine.layers.list/bbox": bbox -"/mapsengine:v1/mapsengine.layers.list/createdAfter": created_after -"/mapsengine:v1/mapsengine.layers.list/createdBefore": created_before -"/mapsengine:v1/mapsengine.layers.list/creatorEmail": creator_email -"/mapsengine:v1/mapsengine.layers.list/maxResults": max_results -"/mapsengine:v1/mapsengine.layers.list/modifiedAfter": modified_after -"/mapsengine:v1/mapsengine.layers.list/modifiedBefore": modified_before -"/mapsengine:v1/mapsengine.layers.list/pageToken": page_token -"/mapsengine:v1/mapsengine.layers.list/processingStatus": processing_status -"/mapsengine:v1/mapsengine.layers.list/projectId": project_id -"/mapsengine:v1/mapsengine.layers.list/role": role -"/mapsengine:v1/mapsengine.layers.list/search": search -"/mapsengine:v1/mapsengine.layers.list/tags": tags -"/mapsengine:v1/mapsengine.layers.listPublished/maxResults": max_results -"/mapsengine:v1/mapsengine.layers.listPublished/pageToken": page_token -"/mapsengine:v1/mapsengine.layers.listPublished/projectId": project_id -"/mapsengine:v1/mapsengine.layers.patch": patch_layer -"/mapsengine:v1/mapsengine.layers.patch/id": id -"/mapsengine:v1/mapsengine.layers.process": process_layer -"/mapsengine:v1/mapsengine.layers.process/id": id -"/mapsengine:v1/mapsengine.layers.publish": publish_layer -"/mapsengine:v1/mapsengine.layers.publish/force": force -"/mapsengine:v1/mapsengine.layers.publish/id": id -"/mapsengine:v1/mapsengine.layers.unpublish": unpublish_layer -"/mapsengine:v1/mapsengine.layers.unpublish/id": id -"/mapsengine:v1/mapsengine.layers.parents.list": list_layer_parents -"/mapsengine:v1/mapsengine.layers.parents.list/id": id -"/mapsengine:v1/mapsengine.layers.parents.list/maxResults": max_results -"/mapsengine:v1/mapsengine.layers.parents.list/pageToken": page_token -"/mapsengine:v1/mapsengine.layers.permissions.batchDelete/id": id -"/mapsengine:v1/mapsengine.layers.permissions.batchUpdate/id": id -"/mapsengine:v1/mapsengine.layers.permissions.list": list_layer_permissions -"/mapsengine:v1/mapsengine.layers.permissions.list/id": id -"/mapsengine:v1/mapsengine.maps.create": create_map -"/mapsengine:v1/mapsengine.maps.delete": delete_map -"/mapsengine:v1/mapsengine.maps.delete/id": id -"/mapsengine:v1/mapsengine.maps.get": get_map -"/mapsengine:v1/mapsengine.maps.get/id": id -"/mapsengine:v1/mapsengine.maps.get/version": version -"/mapsengine:v1/mapsengine.maps.getPublished/id": id -"/mapsengine:v1/mapsengine.maps.list": list_maps -"/mapsengine:v1/mapsengine.maps.list/bbox": bbox -"/mapsengine:v1/mapsengine.maps.list/createdAfter": created_after -"/mapsengine:v1/mapsengine.maps.list/createdBefore": created_before -"/mapsengine:v1/mapsengine.maps.list/creatorEmail": creator_email -"/mapsengine:v1/mapsengine.maps.list/maxResults": max_results -"/mapsengine:v1/mapsengine.maps.list/modifiedAfter": modified_after -"/mapsengine:v1/mapsengine.maps.list/modifiedBefore": modified_before -"/mapsengine:v1/mapsengine.maps.list/pageToken": page_token -"/mapsengine:v1/mapsengine.maps.list/processingStatus": processing_status -"/mapsengine:v1/mapsengine.maps.list/projectId": project_id -"/mapsengine:v1/mapsengine.maps.list/role": role -"/mapsengine:v1/mapsengine.maps.list/search": search -"/mapsengine:v1/mapsengine.maps.list/tags": tags -"/mapsengine:v1/mapsengine.maps.listPublished": list_map_published -"/mapsengine:v1/mapsengine.maps.listPublished/maxResults": max_results -"/mapsengine:v1/mapsengine.maps.listPublished/pageToken": page_token -"/mapsengine:v1/mapsengine.maps.listPublished/projectId": project_id -"/mapsengine:v1/mapsengine.maps.patch": patch_map -"/mapsengine:v1/mapsengine.maps.patch/id": id -"/mapsengine:v1/mapsengine.maps.publish": publish_map -"/mapsengine:v1/mapsengine.maps.publish/force": force -"/mapsengine:v1/mapsengine.maps.publish/id": id -"/mapsengine:v1/mapsengine.maps.unpublish": unpublish_map -"/mapsengine:v1/mapsengine.maps.unpublish/id": id -"/mapsengine:v1/mapsengine.maps.permissions.batchDelete/id": id -"/mapsengine:v1/mapsengine.maps.permissions.batchUpdate/id": id -"/mapsengine:v1/mapsengine.maps.permissions.list": list_map_permissions -"/mapsengine:v1/mapsengine.maps.permissions.list/id": id -"/mapsengine:v1/mapsengine.projects.list": list_projects -"/mapsengine:v1/mapsengine.projects.icons.create": create_project_icon -"/mapsengine:v1/mapsengine.projects.icons.create/projectId": project_id -"/mapsengine:v1/mapsengine.projects.icons.get": get_project_icon -"/mapsengine:v1/mapsengine.projects.icons.get/id": id -"/mapsengine:v1/mapsengine.projects.icons.get/projectId": project_id -"/mapsengine:v1/mapsengine.projects.icons.list": list_project_icons -"/mapsengine:v1/mapsengine.projects.icons.list/maxResults": max_results -"/mapsengine:v1/mapsengine.projects.icons.list/pageToken": page_token -"/mapsengine:v1/mapsengine.projects.icons.list/projectId": project_id -"/mapsengine:v1/mapsengine.rasterCollections.cancelProcessing": cancel_raster_collection_processing -"/mapsengine:v1/mapsengine.rasterCollections.cancelProcessing/id": id -"/mapsengine:v1/mapsengine.rasterCollections.create": create_raster_collection -"/mapsengine:v1/mapsengine.rasterCollections.delete": delete_raster_collection -"/mapsengine:v1/mapsengine.rasterCollections.delete/id": id -"/mapsengine:v1/mapsengine.rasterCollections.get": get_raster_collection -"/mapsengine:v1/mapsengine.rasterCollections.get/id": id -"/mapsengine:v1/mapsengine.rasterCollections.list": list_raster_collections -"/mapsengine:v1/mapsengine.rasterCollections.list/bbox": bbox -"/mapsengine:v1/mapsengine.rasterCollections.list/createdAfter": created_after -"/mapsengine:v1/mapsengine.rasterCollections.list/createdBefore": created_before -"/mapsengine:v1/mapsengine.rasterCollections.list/creatorEmail": creator_email -"/mapsengine:v1/mapsengine.rasterCollections.list/maxResults": max_results -"/mapsengine:v1/mapsengine.rasterCollections.list/modifiedAfter": modified_after -"/mapsengine:v1/mapsengine.rasterCollections.list/modifiedBefore": modified_before -"/mapsengine:v1/mapsengine.rasterCollections.list/pageToken": page_token -"/mapsengine:v1/mapsengine.rasterCollections.list/processingStatus": processing_status -"/mapsengine:v1/mapsengine.rasterCollections.list/projectId": project_id -"/mapsengine:v1/mapsengine.rasterCollections.list/role": role -"/mapsengine:v1/mapsengine.rasterCollections.list/search": search -"/mapsengine:v1/mapsengine.rasterCollections.list/tags": tags -"/mapsengine:v1/mapsengine.rasterCollections.patch": patch_raster_collection -"/mapsengine:v1/mapsengine.rasterCollections.patch/id": id -"/mapsengine:v1/mapsengine.rasterCollections.process": process_raster_collection -"/mapsengine:v1/mapsengine.rasterCollections.process/id": id -"/mapsengine:v1/mapsengine.rasterCollections.parents.list": list_raster_collection_parents -"/mapsengine:v1/mapsengine.rasterCollections.parents.list/id": id -"/mapsengine:v1/mapsengine.rasterCollections.parents.list/maxResults": max_results -"/mapsengine:v1/mapsengine.rasterCollections.parents.list/pageToken": page_token -"/mapsengine:v1/mapsengine.rasterCollections.permissions.batchDelete/id": id -"/mapsengine:v1/mapsengine.rasterCollections.permissions.batchUpdate/id": id -"/mapsengine:v1/mapsengine.rasterCollections.permissions.list": list_raster_collection_permissions -"/mapsengine:v1/mapsengine.rasterCollections.permissions.list/id": id -"/mapsengine:v1/mapsengine.rasterCollections.rasters.batchDelete/id": id -"/mapsengine:v1/mapsengine.rasterCollections.rasters.batchInsert/id": id -"/mapsengine:v1/mapsengine.rasterCollections.rasters.list": list_raster_collection_rasters -"/mapsengine:v1/mapsengine.rasterCollections.rasters.list/bbox": bbox -"/mapsengine:v1/mapsengine.rasterCollections.rasters.list/createdAfter": created_after -"/mapsengine:v1/mapsengine.rasterCollections.rasters.list/createdBefore": created_before -"/mapsengine:v1/mapsengine.rasterCollections.rasters.list/creatorEmail": creator_email -"/mapsengine:v1/mapsengine.rasterCollections.rasters.list/id": id -"/mapsengine:v1/mapsengine.rasterCollections.rasters.list/maxResults": max_results -"/mapsengine:v1/mapsengine.rasterCollections.rasters.list/modifiedAfter": modified_after -"/mapsengine:v1/mapsengine.rasterCollections.rasters.list/modifiedBefore": modified_before -"/mapsengine:v1/mapsengine.rasterCollections.rasters.list/pageToken": page_token -"/mapsengine:v1/mapsengine.rasterCollections.rasters.list/role": role -"/mapsengine:v1/mapsengine.rasterCollections.rasters.list/search": search -"/mapsengine:v1/mapsengine.rasterCollections.rasters.list/tags": tags -"/mapsengine:v1/mapsengine.rasters.delete": delete_raster -"/mapsengine:v1/mapsengine.rasters.delete/id": id -"/mapsengine:v1/mapsengine.rasters.get": get_raster -"/mapsengine:v1/mapsengine.rasters.get/id": id -"/mapsengine:v1/mapsengine.rasters.list": list_rasters -"/mapsengine:v1/mapsengine.rasters.list/bbox": bbox -"/mapsengine:v1/mapsengine.rasters.list/createdAfter": created_after -"/mapsengine:v1/mapsengine.rasters.list/createdBefore": created_before -"/mapsengine:v1/mapsengine.rasters.list/creatorEmail": creator_email -"/mapsengine:v1/mapsengine.rasters.list/maxResults": max_results -"/mapsengine:v1/mapsengine.rasters.list/modifiedAfter": modified_after -"/mapsengine:v1/mapsengine.rasters.list/modifiedBefore": modified_before -"/mapsengine:v1/mapsengine.rasters.list/pageToken": page_token -"/mapsengine:v1/mapsengine.rasters.list/processingStatus": processing_status -"/mapsengine:v1/mapsengine.rasters.list/projectId": project_id -"/mapsengine:v1/mapsengine.rasters.list/role": role -"/mapsengine:v1/mapsengine.rasters.list/search": search -"/mapsengine:v1/mapsengine.rasters.list/tags": tags -"/mapsengine:v1/mapsengine.rasters.patch": patch_raster -"/mapsengine:v1/mapsengine.rasters.patch/id": id -"/mapsengine:v1/mapsengine.rasters.process": process_raster -"/mapsengine:v1/mapsengine.rasters.process/id": id -"/mapsengine:v1/mapsengine.rasters.upload": upload_raster -"/mapsengine:v1/mapsengine.rasters.files.insert": insert_raster_file -"/mapsengine:v1/mapsengine.rasters.files.insert/filename": filename -"/mapsengine:v1/mapsengine.rasters.files.insert/id": id -"/mapsengine:v1/mapsengine.rasters.parents.list": list_raster_parents -"/mapsengine:v1/mapsengine.rasters.parents.list/id": id -"/mapsengine:v1/mapsengine.rasters.parents.list/maxResults": max_results -"/mapsengine:v1/mapsengine.rasters.parents.list/pageToken": page_token -"/mapsengine:v1/mapsengine.rasters.permissions.batchDelete/id": id -"/mapsengine:v1/mapsengine.rasters.permissions.batchUpdate/id": id -"/mapsengine:v1/mapsengine.rasters.permissions.list": list_raster_permissions -"/mapsengine:v1/mapsengine.rasters.permissions.list/id": id -"/mapsengine:v1/mapsengine.tables.create": create_table -"/mapsengine:v1/mapsengine.tables.delete": delete_table -"/mapsengine:v1/mapsengine.tables.delete/id": id -"/mapsengine:v1/mapsengine.tables.get": get_table -"/mapsengine:v1/mapsengine.tables.get/id": id -"/mapsengine:v1/mapsengine.tables.get/version": version -"/mapsengine:v1/mapsengine.tables.list": list_tables -"/mapsengine:v1/mapsengine.tables.list/bbox": bbox -"/mapsengine:v1/mapsengine.tables.list/createdAfter": created_after -"/mapsengine:v1/mapsengine.tables.list/createdBefore": created_before -"/mapsengine:v1/mapsengine.tables.list/creatorEmail": creator_email -"/mapsengine:v1/mapsengine.tables.list/maxResults": max_results -"/mapsengine:v1/mapsengine.tables.list/modifiedAfter": modified_after -"/mapsengine:v1/mapsengine.tables.list/modifiedBefore": modified_before -"/mapsengine:v1/mapsengine.tables.list/pageToken": page_token -"/mapsengine:v1/mapsengine.tables.list/processingStatus": processing_status -"/mapsengine:v1/mapsengine.tables.list/projectId": project_id -"/mapsengine:v1/mapsengine.tables.list/role": role -"/mapsengine:v1/mapsengine.tables.list/search": search -"/mapsengine:v1/mapsengine.tables.list/tags": tags -"/mapsengine:v1/mapsengine.tables.patch": patch_table -"/mapsengine:v1/mapsengine.tables.patch/id": id -"/mapsengine:v1/mapsengine.tables.process": process_table -"/mapsengine:v1/mapsengine.tables.process/id": id -"/mapsengine:v1/mapsengine.tables.upload": upload_table -"/mapsengine:v1/mapsengine.tables.features.batchDelete/id": id -"/mapsengine:v1/mapsengine.tables.features.batchInsert/id": id -"/mapsengine:v1/mapsengine.tables.features.batchPatch/id": id -"/mapsengine:v1/mapsengine.tables.features.get": get_table_feature -"/mapsengine:v1/mapsengine.tables.features.get/id": id -"/mapsengine:v1/mapsengine.tables.features.get/select": select -"/mapsengine:v1/mapsengine.tables.features.get/tableId": table_id -"/mapsengine:v1/mapsengine.tables.features.get/version": version -"/mapsengine:v1/mapsengine.tables.features.list": list_table_features -"/mapsengine:v1/mapsengine.tables.features.list/id": id -"/mapsengine:v1/mapsengine.tables.features.list/include": include -"/mapsengine:v1/mapsengine.tables.features.list/intersects": intersects -"/mapsengine:v1/mapsengine.tables.features.list/limit": limit -"/mapsengine:v1/mapsengine.tables.features.list/maxResults": max_results -"/mapsengine:v1/mapsengine.tables.features.list/orderBy": order_by -"/mapsengine:v1/mapsengine.tables.features.list/pageToken": page_token -"/mapsengine:v1/mapsengine.tables.features.list/select": select -"/mapsengine:v1/mapsengine.tables.features.list/version": version -"/mapsengine:v1/mapsengine.tables.features.list/where": where -"/mapsengine:v1/mapsengine.tables.files.insert": insert_table_file -"/mapsengine:v1/mapsengine.tables.files.insert/filename": filename -"/mapsengine:v1/mapsengine.tables.files.insert/id": id -"/mapsengine:v1/mapsengine.tables.parents.list": list_table_parents -"/mapsengine:v1/mapsengine.tables.parents.list/id": id -"/mapsengine:v1/mapsengine.tables.parents.list/maxResults": max_results -"/mapsengine:v1/mapsengine.tables.parents.list/pageToken": page_token -"/mapsengine:v1/mapsengine.tables.permissions.batchDelete/id": id -"/mapsengine:v1/mapsengine.tables.permissions.batchUpdate/id": id -"/mapsengine:v1/mapsengine.tables.permissions.list": list_table_permissions -"/mapsengine:v1/mapsengine.tables.permissions.list/id": id -"/mapsengine:v1/AcquisitionTime": acquisition_time -"/mapsengine:v1/AcquisitionTime/end": end -"/mapsengine:v1/AcquisitionTime/precision": precision -"/mapsengine:v1/AcquisitionTime/start": start -"/mapsengine:v1/Asset": asset -"/mapsengine:v1/Asset/bbox": bbox -"/mapsengine:v1/Asset/bbox/bbox": bbox -"/mapsengine:v1/Asset/creationTime": creation_time -"/mapsengine:v1/Asset/creatorEmail": creator_email -"/mapsengine:v1/Asset/description": description -"/mapsengine:v1/Asset/etag": etag -"/mapsengine:v1/Asset/id": id -"/mapsengine:v1/Asset/lastModifiedTime": last_modified_time -"/mapsengine:v1/Asset/lastModifierEmail": last_modifier_email -"/mapsengine:v1/Asset/name": name -"/mapsengine:v1/Asset/projectId": project_id -"/mapsengine:v1/Asset/resource": resource -"/mapsengine:v1/Asset/tags": tags -"/mapsengine:v1/Asset/tags/tag": tag -"/mapsengine:v1/Asset/type": type -"/mapsengine:v1/Asset/writersCanEditPermissions": writers_can_edit_permissions -"/mapsengine:v1/AssetsListResponse/assets": assets -"/mapsengine:v1/AssetsListResponse/assets/asset": asset -"/mapsengine:v1/AssetsListResponse/nextPageToken": next_page_token -"/mapsengine:v1/Border": border -"/mapsengine:v1/Border/color": color -"/mapsengine:v1/Border/opacity": opacity -"/mapsengine:v1/Border/width": width -"/mapsengine:v1/Color": color -"/mapsengine:v1/Color/color": color -"/mapsengine:v1/Color/opacity": opacity -"/mapsengine:v1/Datasource": datasource -"/mapsengine:v1/Datasource/id": id -"/mapsengine:v1/Datasources": datasources -"/mapsengine:v1/Datasources/datasource": datasource -"/mapsengine:v1/DisplayRule": display_rule -"/mapsengine:v1/DisplayRule/filters": filters -"/mapsengine:v1/DisplayRule/filters/filter": filter -"/mapsengine:v1/DisplayRule/lineOptions": line_options -"/mapsengine:v1/DisplayRule/name": name -"/mapsengine:v1/DisplayRule/pointOptions": point_options -"/mapsengine:v1/DisplayRule/polygonOptions": polygon_options -"/mapsengine:v1/DisplayRule/zoomLevels": zoom_levels -"/mapsengine:v1/Feature": feature -"/mapsengine:v1/Feature/geometry": geometry -"/mapsengine:v1/Feature/properties": properties -"/mapsengine:v1/Feature/type": type -"/mapsengine:v1/FeatureInfo": feature_info -"/mapsengine:v1/FeatureInfo/content": content -"/mapsengine:v1/FeaturesBatchDeleteRequest/gx_ids": gx_ids -"/mapsengine:v1/FeaturesBatchDeleteRequest/gx_ids/gx_id": gx_id -"/mapsengine:v1/FeaturesBatchDeleteRequest/primaryKeys": primary_keys -"/mapsengine:v1/FeaturesBatchDeleteRequest/primaryKeys/primary_key": primary_key -"/mapsengine:v1/FeaturesBatchInsertRequest/features": features -"/mapsengine:v1/FeaturesBatchInsertRequest/features/feature": feature -"/mapsengine:v1/FeaturesBatchInsertRequest/normalizeGeometries": normalize_geometries -"/mapsengine:v1/FeaturesBatchPatchRequest/features": features -"/mapsengine:v1/FeaturesBatchPatchRequest/features/feature": feature -"/mapsengine:v1/FeaturesBatchPatchRequest/normalizeGeometries": normalize_geometries -"/mapsengine:v1/FeaturesListResponse/allowedQueriesPerSecond": allowed_queries_per_second -"/mapsengine:v1/FeaturesListResponse/features": features -"/mapsengine:v1/FeaturesListResponse/features/feature": feature -"/mapsengine:v1/FeaturesListResponse/nextPageToken": next_page_token -"/mapsengine:v1/FeaturesListResponse/schema": schema -"/mapsengine:v1/FeaturesListResponse/type": type -"/mapsengine:v1/File": file -"/mapsengine:v1/File/filename": filename -"/mapsengine:v1/File/size": size -"/mapsengine:v1/File/uploadStatus": upload_status -"/mapsengine:v1/Filter": filter -"/mapsengine:v1/Filter/column": column -"/mapsengine:v1/Filter/operator": operator -"/mapsengine:v1/Filter/value": value -"/mapsengine:v1/GeoJsonGeometry": geo_json_geometry -"/mapsengine:v1/GeoJsonGeometryCollection": geo_json_geometry_collection -"/mapsengine:v1/GeoJsonGeometryCollection/geometries": geometries -"/mapsengine:v1/GeoJsonGeometryCollection/geometries/geometry": geometry -"/mapsengine:v1/GeoJsonGeometryCollection/type": type -"/mapsengine:v1/GeoJsonLineString": geo_json_line_string -"/mapsengine:v1/GeoJsonLineString/coordinates": coordinates -"/mapsengine:v1/GeoJsonLineString/coordinates/coordinate": coordinate -"/mapsengine:v1/GeoJsonLineString/type": type -"/mapsengine:v1/GeoJsonMultiLineString": geo_json_multi_line_string -"/mapsengine:v1/GeoJsonMultiLineString/coordinates": coordinates -"/mapsengine:v1/GeoJsonMultiLineString/coordinates/coordinate": coordinate -"/mapsengine:v1/GeoJsonMultiLineString/coordinates/coordinate/coordinate": coordinate -"/mapsengine:v1/GeoJsonMultiLineString/type": type -"/mapsengine:v1/GeoJsonMultiPoint": geo_json_multi_point -"/mapsengine:v1/GeoJsonMultiPoint/coordinates": coordinates -"/mapsengine:v1/GeoJsonMultiPoint/coordinates/coordinate": coordinate -"/mapsengine:v1/GeoJsonMultiPoint/type": type -"/mapsengine:v1/GeoJsonMultiPolygon": geo_json_multi_polygon -"/mapsengine:v1/GeoJsonMultiPolygon/coordinates": coordinates -"/mapsengine:v1/GeoJsonMultiPolygon/coordinates/coordinate": coordinate -"/mapsengine:v1/GeoJsonMultiPolygon/coordinates/coordinate/coordinate": coordinate -"/mapsengine:v1/GeoJsonMultiPolygon/coordinates/coordinate/coordinate/coordinate": coordinate -"/mapsengine:v1/GeoJsonMultiPolygon/type": type -"/mapsengine:v1/GeoJsonPoint": geo_json_point -"/mapsengine:v1/GeoJsonPoint/coordinates": coordinates -"/mapsengine:v1/GeoJsonPoint/type": type -"/mapsengine:v1/GeoJsonPolygon": geo_json_polygon -"/mapsengine:v1/GeoJsonPolygon/coordinates": coordinates -"/mapsengine:v1/GeoJsonPolygon/coordinates/coordinate": coordinate -"/mapsengine:v1/GeoJsonPolygon/coordinates/coordinate/coordinate": coordinate -"/mapsengine:v1/GeoJsonPolygon/type": type -"/mapsengine:v1/GeoJsonPosition": geo_json_position -"/mapsengine:v1/GeoJsonPosition/geo_json_position": geo_json_position -"/mapsengine:v1/GeoJsonProperties": geo_json_properties -"/mapsengine:v1/GeoJsonProperties/geo_json_property": geo_json_property -"/mapsengine:v1/Icon": icon -"/mapsengine:v1/Icon/description": description -"/mapsengine:v1/Icon/id": id -"/mapsengine:v1/Icon/name": name -"/mapsengine:v1/IconStyle": icon_style -"/mapsengine:v1/IconStyle/id": id -"/mapsengine:v1/IconStyle/name": name -"/mapsengine:v1/IconStyle/scaledShape": scaled_shape -"/mapsengine:v1/IconStyle/scalingFunction": scaling_function -"/mapsengine:v1/IconsListResponse/icons": icons -"/mapsengine:v1/IconsListResponse/icons/icon": icon -"/mapsengine:v1/IconsListResponse/nextPageToken": next_page_token -"/mapsengine:v1/LabelStyle": label_style -"/mapsengine:v1/LabelStyle/color": color -"/mapsengine:v1/LabelStyle/column": column -"/mapsengine:v1/LabelStyle/fontStyle": font_style -"/mapsengine:v1/LabelStyle/fontWeight": font_weight -"/mapsengine:v1/LabelStyle/opacity": opacity -"/mapsengine:v1/LabelStyle/outline": outline -"/mapsengine:v1/LabelStyle/size": size -"/mapsengine:v1/LatLngBox": lat_lng_box -"/mapsengine:v1/LatLngBox/lat_lng_box": lat_lng_box -"/mapsengine:v1/Layer": layer -"/mapsengine:v1/Layer/bbox": bbox -"/mapsengine:v1/Layer/bbox/bbox": bbox -"/mapsengine:v1/Layer/creationTime": creation_time -"/mapsengine:v1/Layer/creatorEmail": creator_email -"/mapsengine:v1/Layer/datasourceType": datasource_type -"/mapsengine:v1/Layer/datasources": datasources -"/mapsengine:v1/Layer/description": description -"/mapsengine:v1/Layer/draftAccessList": draft_access_list -"/mapsengine:v1/Layer/etag": etag -"/mapsengine:v1/Layer/id": id -"/mapsengine:v1/Layer/lastModifiedTime": last_modified_time -"/mapsengine:v1/Layer/lastModifierEmail": last_modifier_email -"/mapsengine:v1/Layer/layerType": layer_type -"/mapsengine:v1/Layer/name": name -"/mapsengine:v1/Layer/processingStatus": processing_status -"/mapsengine:v1/Layer/projectId": project_id -"/mapsengine:v1/Layer/publishedAccessList": published_access_list -"/mapsengine:v1/Layer/publishingStatus": publishing_status -"/mapsengine:v1/Layer/style": style -"/mapsengine:v1/Layer/tags": tags -"/mapsengine:v1/Layer/writersCanEditPermissions": writers_can_edit_permissions -"/mapsengine:v1/LayersListResponse/layers": layers -"/mapsengine:v1/LayersListResponse/layers/layer": layer -"/mapsengine:v1/LayersListResponse/nextPageToken": next_page_token -"/mapsengine:v1/LineStyle": line_style -"/mapsengine:v1/LineStyle/border": border -"/mapsengine:v1/LineStyle/dash": dash -"/mapsengine:v1/LineStyle/dash/dash": dash -"/mapsengine:v1/LineStyle/label": label -"/mapsengine:v1/LineStyle/stroke": stroke -"/mapsengine:v1/LineStyle/stroke/color": color -"/mapsengine:v1/LineStyle/stroke/opacity": opacity -"/mapsengine:v1/LineStyle/stroke/width": width -"/mapsengine:v1/Map": map -"/mapsengine:v1/Map/bbox": bbox -"/mapsengine:v1/Map/bbox/bbox": bbox -"/mapsengine:v1/Map/contents": contents -"/mapsengine:v1/Map/creationTime": creation_time -"/mapsengine:v1/Map/creatorEmail": creator_email -"/mapsengine:v1/Map/defaultViewport": default_viewport -"/mapsengine:v1/Map/description": description -"/mapsengine:v1/Map/draftAccessList": draft_access_list -"/mapsengine:v1/Map/etag": etag -"/mapsengine:v1/Map/id": id -"/mapsengine:v1/Map/lastModifiedTime": last_modified_time -"/mapsengine:v1/Map/lastModifierEmail": last_modifier_email -"/mapsengine:v1/Map/name": name -"/mapsengine:v1/Map/processingStatus": processing_status -"/mapsengine:v1/Map/projectId": project_id -"/mapsengine:v1/Map/publishedAccessList": published_access_list -"/mapsengine:v1/Map/publishingStatus": publishing_status -"/mapsengine:v1/Map/tags": tags -"/mapsengine:v1/Map/versions": versions -"/mapsengine:v1/Map/versions/version": version -"/mapsengine:v1/Map/writersCanEditPermissions": writers_can_edit_permissions -"/mapsengine:v1/MapContents": map_contents -"/mapsengine:v1/MapContents/map_content": map_content -"/mapsengine:v1/MapFolder": map_folder -"/mapsengine:v1/MapFolder/contents": contents -"/mapsengine:v1/MapFolder/contents/content": content -"/mapsengine:v1/MapFolder/defaultViewport": default_viewport -"/mapsengine:v1/MapFolder/defaultViewport/default_viewport": default_viewport -"/mapsengine:v1/MapFolder/expandable": expandable -"/mapsengine:v1/MapFolder/key": key -"/mapsengine:v1/MapFolder/name": name -"/mapsengine:v1/MapFolder/type": type -"/mapsengine:v1/MapFolder/visibility": visibility -"/mapsengine:v1/MapItem": map_item -"/mapsengine:v1/MapKmlLink": map_kml_link -"/mapsengine:v1/MapKmlLink/defaultViewport": default_viewport -"/mapsengine:v1/MapKmlLink/defaultViewport/default_viewport": default_viewport -"/mapsengine:v1/MapKmlLink/kmlUrl": kml_url -"/mapsengine:v1/MapKmlLink/name": name -"/mapsengine:v1/MapKmlLink/type": type -"/mapsengine:v1/MapKmlLink/visibility": visibility -"/mapsengine:v1/MapLayer": map_layer -"/mapsengine:v1/MapLayer/defaultViewport": default_viewport -"/mapsengine:v1/MapLayer/defaultViewport/default_viewport": default_viewport -"/mapsengine:v1/MapLayer/id": id -"/mapsengine:v1/MapLayer/key": key -"/mapsengine:v1/MapLayer/name": name -"/mapsengine:v1/MapLayer/type": type -"/mapsengine:v1/MapLayer/visibility": visibility -"/mapsengine:v1/MapsListResponse/maps": maps -"/mapsengine:v1/MapsListResponse/maps/map": map -"/mapsengine:v1/MapsListResponse/nextPageToken": next_page_token -"/mapsengine:v1/Parent": parent -"/mapsengine:v1/Parent/id": id -"/mapsengine:v1/ParentsListResponse/nextPageToken": next_page_token -"/mapsengine:v1/ParentsListResponse/parents": parents -"/mapsengine:v1/ParentsListResponse/parents/parent": parent -"/mapsengine:v1/Permission": permission -"/mapsengine:v1/Permission/discoverable": discoverable -"/mapsengine:v1/Permission/id": id -"/mapsengine:v1/Permission/role": role -"/mapsengine:v1/Permission/type": type -"/mapsengine:v1/PermissionsBatchDeleteRequest/ids": ids -"/mapsengine:v1/PermissionsBatchDeleteRequest/ids/id": id -"/mapsengine:v1/PermissionsBatchUpdateRequest/permissions": permissions -"/mapsengine:v1/PermissionsBatchUpdateRequest/permissions/permission": permission -"/mapsengine:v1/PermissionsListResponse/permissions": permissions -"/mapsengine:v1/PermissionsListResponse/permissions/permission": permission -"/mapsengine:v1/PointStyle": point_style -"/mapsengine:v1/PointStyle/icon": icon -"/mapsengine:v1/PointStyle/label": label -"/mapsengine:v1/PolygonStyle": polygon_style -"/mapsengine:v1/PolygonStyle/fill": fill -"/mapsengine:v1/PolygonStyle/label": label -"/mapsengine:v1/PolygonStyle/stroke": stroke -"/mapsengine:v1/ProcessResponse": process_response -"/mapsengine:v1/Project": project -"/mapsengine:v1/Project/id": id -"/mapsengine:v1/Project/name": name -"/mapsengine:v1/ProjectsListResponse/projects": projects -"/mapsengine:v1/ProjectsListResponse/projects/project": project -"/mapsengine:v1/PublishResponse": publish_response -"/mapsengine:v1/PublishedLayer": published_layer -"/mapsengine:v1/PublishedLayer/description": description -"/mapsengine:v1/PublishedLayer/id": id -"/mapsengine:v1/PublishedLayer/layerType": layer_type -"/mapsengine:v1/PublishedLayer/name": name -"/mapsengine:v1/PublishedLayer/projectId": project_id -"/mapsengine:v1/PublishedLayersListResponse/layers": layers -"/mapsengine:v1/PublishedLayersListResponse/layers/layer": layer -"/mapsengine:v1/PublishedLayersListResponse/nextPageToken": next_page_token -"/mapsengine:v1/PublishedMap": published_map -"/mapsengine:v1/PublishedMap/contents": contents -"/mapsengine:v1/PublishedMap/defaultViewport": default_viewport -"/mapsengine:v1/PublishedMap/description": description -"/mapsengine:v1/PublishedMap/id": id -"/mapsengine:v1/PublishedMap/name": name -"/mapsengine:v1/PublishedMap/projectId": project_id -"/mapsengine:v1/PublishedMapsListResponse/maps": maps -"/mapsengine:v1/PublishedMapsListResponse/maps/map": map -"/mapsengine:v1/PublishedMapsListResponse/nextPageToken": next_page_token -"/mapsengine:v1/Raster": raster -"/mapsengine:v1/Raster/acquisitionTime": acquisition_time -"/mapsengine:v1/Raster/attribution": attribution -"/mapsengine:v1/Raster/bbox": bbox -"/mapsengine:v1/Raster/bbox/bbox": bbox -"/mapsengine:v1/Raster/creationTime": creation_time -"/mapsengine:v1/Raster/creatorEmail": creator_email -"/mapsengine:v1/Raster/description": description -"/mapsengine:v1/Raster/draftAccessList": draft_access_list -"/mapsengine:v1/Raster/etag": etag -"/mapsengine:v1/Raster/files": files -"/mapsengine:v1/Raster/files/file": file -"/mapsengine:v1/Raster/id": id -"/mapsengine:v1/Raster/lastModifiedTime": last_modified_time -"/mapsengine:v1/Raster/lastModifierEmail": last_modifier_email -"/mapsengine:v1/Raster/maskType": mask_type -"/mapsengine:v1/Raster/name": name -"/mapsengine:v1/Raster/processingStatus": processing_status -"/mapsengine:v1/Raster/projectId": project_id -"/mapsengine:v1/Raster/rasterType": raster_type -"/mapsengine:v1/Raster/tags": tags -"/mapsengine:v1/Raster/writersCanEditPermissions": writers_can_edit_permissions -"/mapsengine:v1/RasterCollection": raster_collection -"/mapsengine:v1/RasterCollection/attribution": attribution -"/mapsengine:v1/RasterCollection/bbox": bbox -"/mapsengine:v1/RasterCollection/bbox/bbox": bbox -"/mapsengine:v1/RasterCollection/creationTime": creation_time -"/mapsengine:v1/RasterCollection/creatorEmail": creator_email -"/mapsengine:v1/RasterCollection/description": description -"/mapsengine:v1/RasterCollection/draftAccessList": draft_access_list -"/mapsengine:v1/RasterCollection/etag": etag -"/mapsengine:v1/RasterCollection/id": id -"/mapsengine:v1/RasterCollection/lastModifiedTime": last_modified_time -"/mapsengine:v1/RasterCollection/lastModifierEmail": last_modifier_email -"/mapsengine:v1/RasterCollection/mosaic": mosaic -"/mapsengine:v1/RasterCollection/name": name -"/mapsengine:v1/RasterCollection/processingStatus": processing_status -"/mapsengine:v1/RasterCollection/projectId": project_id -"/mapsengine:v1/RasterCollection/rasterType": raster_type -"/mapsengine:v1/RasterCollection/tags": tags -"/mapsengine:v1/RasterCollection/writersCanEditPermissions": writers_can_edit_permissions -"/mapsengine:v1/RasterCollectionsListResponse/nextPageToken": next_page_token -"/mapsengine:v1/RasterCollectionsListResponse/rasterCollections": raster_collections -"/mapsengine:v1/RasterCollectionsListResponse/rasterCollections/raster_collection": raster_collection -"/mapsengine:v1/RasterCollectionsRaster": raster_collections_raster -"/mapsengine:v1/RasterCollectionsRaster/bbox": bbox -"/mapsengine:v1/RasterCollectionsRaster/bbox/bbox": bbox -"/mapsengine:v1/RasterCollectionsRaster/creationTime": creation_time -"/mapsengine:v1/RasterCollectionsRaster/description": description -"/mapsengine:v1/RasterCollectionsRaster/id": id -"/mapsengine:v1/RasterCollectionsRaster/lastModifiedTime": last_modified_time -"/mapsengine:v1/RasterCollectionsRaster/name": name -"/mapsengine:v1/RasterCollectionsRaster/projectId": project_id -"/mapsengine:v1/RasterCollectionsRaster/rasterType": raster_type -"/mapsengine:v1/RasterCollectionsRaster/tags": tags -"/mapsengine:v1/RasterCollectionsRaster/tags/tag": tag -"/mapsengine:v1/RasterCollectionsRasterBatchDeleteRequest/ids": ids -"/mapsengine:v1/RasterCollectionsRasterBatchDeleteRequest/ids/id": id -"/mapsengine:v1/RasterCollectionsRastersBatchInsertRequest/ids": ids -"/mapsengine:v1/RasterCollectionsRastersBatchInsertRequest/ids/id": id -"/mapsengine:v1/RasterCollectionsRastersListResponse/nextPageToken": next_page_token -"/mapsengine:v1/RasterCollectionsRastersListResponse/rasters": rasters -"/mapsengine:v1/RasterCollectionsRastersListResponse/rasters/raster": raster -"/mapsengine:v1/RastersListResponse/nextPageToken": next_page_token -"/mapsengine:v1/RastersListResponse/rasters": rasters -"/mapsengine:v1/RastersListResponse/rasters/raster": raster -"/mapsengine:v1/ScaledShape": scaled_shape -"/mapsengine:v1/ScaledShape/border": border -"/mapsengine:v1/ScaledShape/fill": fill -"/mapsengine:v1/ScaledShape/shape": shape -"/mapsengine:v1/ScalingFunction": scaling_function -"/mapsengine:v1/ScalingFunction/column": column -"/mapsengine:v1/ScalingFunction/scalingType": scaling_type -"/mapsengine:v1/ScalingFunction/sizeRange": size_range -"/mapsengine:v1/ScalingFunction/valueRange": value_range -"/mapsengine:v1/Schema": schema -"/mapsengine:v1/Schema/columns": columns -"/mapsengine:v1/Schema/columns/column": column -"/mapsengine:v1/Schema/primaryGeometry": primary_geometry -"/mapsengine:v1/Schema/primaryKey": primary_key -"/mapsengine:v1/SizeRange": size_range -"/mapsengine:v1/SizeRange/max": max -"/mapsengine:v1/SizeRange/min": min -"/mapsengine:v1/Table": table -"/mapsengine:v1/Table/bbox": bbox -"/mapsengine:v1/Table/bbox/bbox": bbox -"/mapsengine:v1/Table/creationTime": creation_time -"/mapsengine:v1/Table/creatorEmail": creator_email -"/mapsengine:v1/Table/description": description -"/mapsengine:v1/Table/draftAccessList": draft_access_list -"/mapsengine:v1/Table/etag": etag -"/mapsengine:v1/Table/files": files -"/mapsengine:v1/Table/files/file": file -"/mapsengine:v1/Table/id": id -"/mapsengine:v1/Table/lastModifiedTime": last_modified_time -"/mapsengine:v1/Table/lastModifierEmail": last_modifier_email -"/mapsengine:v1/Table/name": name -"/mapsengine:v1/Table/processingStatus": processing_status -"/mapsengine:v1/Table/projectId": project_id -"/mapsengine:v1/Table/publishedAccessList": published_access_list -"/mapsengine:v1/Table/schema": schema -"/mapsengine:v1/Table/sourceEncoding": source_encoding -"/mapsengine:v1/Table/tags": tags -"/mapsengine:v1/Table/writersCanEditPermissions": writers_can_edit_permissions -"/mapsengine:v1/TableColumn": table_column -"/mapsengine:v1/TableColumn/name": name -"/mapsengine:v1/TableColumn/type": type -"/mapsengine:v1/TablesListResponse/nextPageToken": next_page_token -"/mapsengine:v1/TablesListResponse/tables": tables -"/mapsengine:v1/TablesListResponse/tables/table": table -"/mapsengine:v1/Tags": tags -"/mapsengine:v1/Tags/tag": tag -"/mapsengine:v1/ValueRange": value_range -"/mapsengine:v1/ValueRange/max": max -"/mapsengine:v1/ValueRange/min": min -"/mapsengine:v1/VectorStyle": vector_style -"/mapsengine:v1/VectorStyle/displayRules": display_rules -"/mapsengine:v1/VectorStyle/displayRules/display_rule": display_rule -"/mapsengine:v1/VectorStyle/featureInfo": feature_info -"/mapsengine:v1/VectorStyle/type": type -"/mapsengine:v1/ZoomLevels": zoom_levels -"/mapsengine:v1/ZoomLevels/max": max -"/mapsengine:v1/ZoomLevels/min": min "/mirror:v1/fields": fields "/mirror:v1/key": key "/mirror:v1/quotaUser": quota_user @@ -22307,6 +21695,240 @@ "/pagespeedonline:v2/Result/version": version "/pagespeedonline:v2/Result/version/major": major "/pagespeedonline:v2/Result/version/minor": minor +"/people:v1/key": key +"/people:v1/quotaUser": quota_user +"/people:v1/fields": fields +"/people:v1/people.people.getBatchGet/requestMask.includeField": request_mask_include_field +"/people:v1/people.people.getBatchGet/resourceNames": resource_names +"/people:v1/people.people.get": get_person +"/people:v1/people.people.get/resourceName": resource_name +"/people:v1/people.people.get/requestMask.includeField": request_mask_include_field +"/people:v1/people.people.connections.list": list_person_connections +"/people:v1/people.people.connections.list/sortOrder": sort_order +"/people:v1/people.people.connections.list/resourceName": resource_name +"/people:v1/people.people.connections.list/syncToken": sync_token +"/people:v1/people.people.connections.list/pageSize": page_size +"/people:v1/people.people.connections.list/requestMask.includeField": request_mask_include_field +"/people:v1/people.people.connections.list/pageToken": page_token +"/people:v1/Birthday": birthday +"/people:v1/Birthday/text": text +"/people:v1/Birthday/metadata": metadata +"/people:v1/Birthday/date": date +"/people:v1/Residence": residence +"/people:v1/Residence/value": value +"/people:v1/Residence/metadata": metadata +"/people:v1/Residence/current": current +"/people:v1/RelationshipInterest": relationship_interest +"/people:v1/RelationshipInterest/value": value +"/people:v1/RelationshipInterest/metadata": metadata +"/people:v1/RelationshipInterest/formattedValue": formatted_value +"/people:v1/Tagline": tagline +"/people:v1/Tagline/value": value +"/people:v1/Tagline/metadata": metadata +"/people:v1/Event": event +"/people:v1/Event/formattedType": formatted_type +"/people:v1/Event/metadata": metadata +"/people:v1/Event/type": type +"/people:v1/Event/date": date +"/people:v1/Skill": skill +"/people:v1/Skill/value": value +"/people:v1/Skill/metadata": metadata +"/people:v1/Nickname": nickname +"/people:v1/Nickname/value": value +"/people:v1/Nickname/metadata": metadata +"/people:v1/Nickname/type": type +"/people:v1/Membership": membership +"/people:v1/Membership/contactGroupMembership": contact_group_membership +"/people:v1/Membership/metadata": metadata +"/people:v1/Membership/domainMembership": domain_membership +"/people:v1/Source": source +"/people:v1/Source/type": type +"/people:v1/Source/id": id +"/people:v1/Gender": gender +"/people:v1/Gender/value": value +"/people:v1/Gender/metadata": metadata +"/people:v1/Gender/formattedValue": formatted_value +"/people:v1/FieldMetadata": field_metadata +"/people:v1/FieldMetadata/verified": verified +"/people:v1/FieldMetadata/source": source +"/people:v1/FieldMetadata/primary": primary +"/people:v1/Locale": locale +"/people:v1/Locale/value": value +"/people:v1/Locale/metadata": metadata +"/people:v1/Address": address +"/people:v1/Address/postalCode": postal_code +"/people:v1/Address/city": city +"/people:v1/Address/countryCode": country_code +"/people:v1/Address/formattedValue": formatted_value +"/people:v1/Address/formattedType": formatted_type +"/people:v1/Address/extendedAddress": extended_address +"/people:v1/Address/metadata": metadata +"/people:v1/Address/region": region +"/people:v1/Address/country": country +"/people:v1/Address/poBox": po_box +"/people:v1/Address/streetAddress": street_address +"/people:v1/Address/type": type +"/people:v1/Organization": organization +"/people:v1/Organization/location": location +"/people:v1/Organization/title": title +"/people:v1/Organization/formattedType": formatted_type +"/people:v1/Organization/jobDescription": job_description +"/people:v1/Organization/symbol": symbol +"/people:v1/Organization/domain": domain +"/people:v1/Organization/metadata": metadata +"/people:v1/Organization/endDate": end_date +"/people:v1/Organization/current": current +"/people:v1/Organization/name": name +"/people:v1/Organization/phoneticName": phonetic_name +"/people:v1/Organization/startDate": start_date +"/people:v1/Organization/department": department +"/people:v1/Organization/type": type +"/people:v1/RelationshipStatus": relationship_status +"/people:v1/RelationshipStatus/value": value +"/people:v1/RelationshipStatus/metadata": metadata +"/people:v1/RelationshipStatus/formattedValue": formatted_value +"/people:v1/ContactGroupMembership": contact_group_membership +"/people:v1/ContactGroupMembership/contactGroupId": contact_group_id +"/people:v1/ImClient": im_client +"/people:v1/ImClient/protocol": protocol +"/people:v1/ImClient/formattedType": formatted_type +"/people:v1/ImClient/metadata": metadata +"/people:v1/ImClient/username": username +"/people:v1/ImClient/formattedProtocol": formatted_protocol +"/people:v1/ImClient/type": type +"/people:v1/Person": person +"/people:v1/Person/urls": urls +"/people:v1/Person/urls/url": url +"/people:v1/Person/birthdays": birthdays +"/people:v1/Person/birthdays/birthday": birthday +"/people:v1/Person/relations": relations +"/people:v1/Person/relations/relation": relation +"/people:v1/Person/nicknames": nicknames +"/people:v1/Person/nicknames/nickname": nickname +"/people:v1/Person/biographies": biographies +"/people:v1/Person/biographies/biography": biography +"/people:v1/Person/imClients": im_clients +"/people:v1/Person/imClients/im_client": im_client +"/people:v1/Person/braggingRights": bragging_rights +"/people:v1/Person/braggingRights/bragging_right": bragging_right +"/people:v1/Person/locales": locales +"/people:v1/Person/locales/locale": locale +"/people:v1/Person/relationshipStatuses": relationship_statuses +"/people:v1/Person/relationshipStatuses/relationship_status": relationship_status +"/people:v1/Person/ageRange": age_range +"/people:v1/Person/events": events +"/people:v1/Person/events/event": event +"/people:v1/Person/interests": interests +"/people:v1/Person/interests/interest": interest +"/people:v1/Person/relationshipInterests": relationship_interests +"/people:v1/Person/relationshipInterests/relationship_interest": relationship_interest +"/people:v1/Person/etag": etag +"/people:v1/Person/organizations": organizations +"/people:v1/Person/organizations/organization": organization +"/people:v1/Person/resourceName": resource_name +"/people:v1/Person/memberships": memberships +"/people:v1/Person/memberships/membership": membership +"/people:v1/Person/metadata": metadata +"/people:v1/Person/occupations": occupations +"/people:v1/Person/occupations/occupation": occupation +"/people:v1/Person/names": names +"/people:v1/Person/names/name": name +"/people:v1/Person/emailAddresses": email_addresses +"/people:v1/Person/emailAddresses/email_address": email_address +"/people:v1/Person/residences": residences +"/people:v1/Person/residences/residence": residence +"/people:v1/Person/skills": skills +"/people:v1/Person/skills/skill": skill +"/people:v1/Person/coverPhotos": cover_photos +"/people:v1/Person/coverPhotos/cover_photo": cover_photo +"/people:v1/Person/taglines": taglines +"/people:v1/Person/taglines/tagline": tagline +"/people:v1/Person/phoneNumbers": phone_numbers +"/people:v1/Person/phoneNumbers/phone_number": phone_number +"/people:v1/Person/addresses": addresses +"/people:v1/Person/addresses/address": address +"/people:v1/Person/photos": photos +"/people:v1/Person/photos/photo": photo +"/people:v1/Person/genders": genders +"/people:v1/Person/genders/gender": gender +"/people:v1/GetPeopleResponse": get_people_response +"/people:v1/GetPeopleResponse/responses": responses +"/people:v1/GetPeopleResponse/responses/response": response +"/people:v1/PersonMetadata": person_metadata +"/people:v1/PersonMetadata/objectType": object_type +"/people:v1/PersonMetadata/previousResourceNames": previous_resource_names +"/people:v1/PersonMetadata/previousResourceNames/previous_resource_name": previous_resource_name +"/people:v1/PersonMetadata/sources": sources +"/people:v1/PersonMetadata/sources/source": source +"/people:v1/PersonMetadata/deleted": deleted +"/people:v1/PersonResponse": person_response +"/people:v1/PersonResponse/person": person +"/people:v1/PersonResponse/requestedResourceName": requested_resource_name +"/people:v1/PersonResponse/httpStatusCode": http_status_code +"/people:v1/Biography": biography +"/people:v1/Biography/value": value +"/people:v1/Biography/metadata": metadata +"/people:v1/Photo": photo +"/people:v1/Photo/url": url +"/people:v1/Photo/metadata": metadata +"/people:v1/Occupation": occupation +"/people:v1/Occupation/value": value +"/people:v1/Occupation/metadata": metadata +"/people:v1/CoverPhoto": cover_photo +"/people:v1/CoverPhoto/default": default +"/people:v1/CoverPhoto/url": url +"/people:v1/CoverPhoto/metadata": metadata +"/people:v1/Url": url +"/people:v1/Url/value": value +"/people:v1/Url/formattedType": formatted_type +"/people:v1/Url/metadata": metadata +"/people:v1/Url/type": type +"/people:v1/BraggingRights": bragging_rights +"/people:v1/BraggingRights/value": value +"/people:v1/BraggingRights/metadata": metadata +"/people:v1/ListConnectionsResponse": list_connections_response +"/people:v1/ListConnectionsResponse/nextPageToken": next_page_token +"/people:v1/ListConnectionsResponse/nextSyncToken": next_sync_token +"/people:v1/ListConnectionsResponse/connections": connections +"/people:v1/ListConnectionsResponse/connections/connection": connection +"/people:v1/EmailAddress": email_address +"/people:v1/EmailAddress/value": value +"/people:v1/EmailAddress/formattedType": formatted_type +"/people:v1/EmailAddress/metadata": metadata +"/people:v1/EmailAddress/type": type +"/people:v1/PhoneNumber": phone_number +"/people:v1/PhoneNumber/value": value +"/people:v1/PhoneNumber/formattedType": formatted_type +"/people:v1/PhoneNumber/metadata": metadata +"/people:v1/PhoneNumber/type": type +"/people:v1/PhoneNumber/canonicalForm": canonical_form +"/people:v1/Date": date +"/people:v1/Date/month": month +"/people:v1/Date/day": day +"/people:v1/Date/year": year +"/people:v1/DomainMembership": domain_membership +"/people:v1/DomainMembership/inViewerDomain": in_viewer_domain +"/people:v1/Interest": interest +"/people:v1/Interest/value": value +"/people:v1/Interest/metadata": metadata +"/people:v1/Relation": relation +"/people:v1/Relation/formattedType": formatted_type +"/people:v1/Relation/person": person +"/people:v1/Relation/metadata": metadata +"/people:v1/Relation/type": type +"/people:v1/Name": name +"/people:v1/Name/phoneticFamilyName": phonetic_family_name +"/people:v1/Name/givenName": given_name +"/people:v1/Name/phoneticMiddleName": phonetic_middle_name +"/people:v1/Name/middleName": middle_name +"/people:v1/Name/phoneticGivenName": phonetic_given_name +"/people:v1/Name/honorificPrefix": honorific_prefix +"/people:v1/Name/phoneticHonorificPrefix": phonetic_honorific_prefix +"/people:v1/Name/metadata": metadata +"/people:v1/Name/phoneticHonorificSuffix": phonetic_honorific_suffix +"/people:v1/Name/familyName": family_name +"/people:v1/Name/displayName": display_name +"/people:v1/Name/honorificSuffix": honorific_suffix "/plus:v1/fields": fields "/plus:v1/key": key "/plus:v1/quotaUser": quota_user @@ -25752,8 +25374,6 @@ "/youtube:v3/ChannelConversionPings": channel_conversion_pings "/youtube:v3/ChannelConversionPings/pings": pings "/youtube:v3/ChannelConversionPings/pings/ping": ping -"/youtube:v3/ChannelId": channel_id -"/youtube:v3/ChannelId/value": value "/youtube:v3/ChannelListResponse/etag": etag "/youtube:v3/ChannelListResponse/eventId": event_id "/youtube:v3/ChannelListResponse/items": items @@ -26378,6 +25998,7 @@ "/youtube:v3/SearchListResponse/nextPageToken": next_page_token "/youtube:v3/SearchListResponse/pageInfo": page_info "/youtube:v3/SearchListResponse/prevPageToken": prev_page_token +"/youtube:v3/SearchListResponse/regionCode": region_code "/youtube:v3/SearchListResponse/tokenPagination": token_pagination "/youtube:v3/SearchListResponse/visitorId": visitor_id "/youtube:v3/SearchResult": search_result diff --git a/generated/google/apis/adsense_v1_4.rb b/generated/google/apis/adsense_v1_4.rb index 15d5eac2b..d57346b41 100644 --- a/generated/google/apis/adsense_v1_4.rb +++ b/generated/google/apis/adsense_v1_4.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/adsense/management/ module AdsenseV1_4 VERSION = 'V1_4' - REVISION = '20160127' + REVISION = '20160209' # View and manage your AdSense data AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense' diff --git a/generated/google/apis/adsensehost_v4_1.rb b/generated/google/apis/adsensehost_v4_1.rb index 3fe2e3cdb..d62f4ec00 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 = '20160127' + REVISION = '20160209' # View and manage your AdSense host data and associated accounts AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost' diff --git a/generated/google/apis/androidenterprise_v1.rb b/generated/google/apis/androidenterprise_v1.rb index 44396b900..0395189b2 100644 --- a/generated/google/apis/androidenterprise_v1.rb +++ b/generated/google/apis/androidenterprise_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/android/work/play/emm-api module AndroidenterpriseV1 VERSION = 'V1' - REVISION = '20160106' + REVISION = '20160203' # 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 7b9fe8984..f062cabc7 100644 --- a/generated/google/apis/androidenterprise_v1/classes.rb +++ b/generated/google/apis/androidenterprise_v1/classes.rb @@ -320,7 +320,7 @@ module Google end end - # A device resource represents a mobile device managed by the MDM and belonging + # A device resource represents a mobile device managed by the EMM and belonging # to a specific enterprise user. # This collection cannot be modified via the API; it is automatically populated # as devices are set up to be managed. @@ -339,10 +339,10 @@ module Google # @return [String] attr_accessor :kind - # The mechanism by which this device is managed by the MDM. "managedDevice" - # means that the MDM's app is a device owner. "managedProfile" means that the - # MDM's app is the profile owner (and there is a separate personal profile which - # is not managed). "containerApp" means that the MDM's app is managing the + # The mechanism by which this device is managed by the EMM. "managedDevice" + # means that the EMM's app is a device owner. "managedProfile" means that the + # EMM's app is the profile owner (and there is a separate personal profile which + # is not managed). "containerApp" means that the EMM's app is managing the # Android for Work container app on the device. # Corresponds to the JSON property `managementType` # @return [String] @@ -417,21 +417,21 @@ module Google end # An enterprise resource represents a binding between an organisation and their - # MDM. + # EMM. # To create an enterprise, an admin of the enterprise must first go through a # Play for Work sign-up flow. At the end of this the admin will be presented # with a token (a short opaque alphanumeric string). They must then present this - # to the MDM, who then supplies it to the enroll method. Until this is done the - # MDM will not have any access to the enterprise. - # After calling enroll the MDM should call setAccount to specify the service + # to the EMM, who then supplies it to the enroll method. Until this is done the + # EMM will not have any access to the enterprise. + # After calling enroll the EMM should call setAccount to specify the service # account that will be allowed to act on behalf of the enterprise, which will be # required for access to the enterprise's data through this API. Only one call # of setAccount is allowed for a given enterprise; the only way to change the # account later is to unenroll the enterprise and enroll it again (obtaining a # new token). - # The MDM can unenroll an enterprise in order to sever the binding between them. + # The EMM can unenroll an enterprise in order to sever the binding between them. # Re-enrolling an enterprise is possible, but requires a new token to be - # retrieved. Enterprises.unenroll requires the MDM's credentials (as enroll does) + # retrieved. Enterprises.unenroll requires the EMM's credentials (as enroll does) # , not the enterprise's. Enterprises.unenroll can only be used for enterprises # that were previously enrolled with the enroll call. Any enterprises that were # enrolled using the (deprecated) Enterprises.insert call must be unenrolled @@ -563,7 +563,7 @@ module Google # It should always be true that a user has an app installed on one of their # devices only if they have an entitlement to it. So if an entitlement is # deleted, the app will be uninstalled from all devices. Similarly if the user - # installs an app (and is permitted to do so), or the MDM triggers an install of + # installs an app (and is permitted to do so), or the EMM triggers an install of # the app, an entitlement to that app is automatically created. If this is # impossible - e.g. the enterprise has not purchased sufficient licenses - then # installation fails. @@ -887,7 +887,7 @@ module Google # permissions on behalf of their users before an entitlement for the app can be # created. # The permissions collection is read-only. The information provided for each - # permission (localized name and description) is intended to be used in the MDM + # permission (localized name and description) is intended to be used in the EMM # user interface when obtaining consent from the enterprise. class Permission include Google::Apis::Core::Hashable @@ -932,7 +932,7 @@ module Google # enterprise.) # The information provided for each product (localized name, icon, link to the # full Google Play details page) is intended to allow a basic representation of - # the product within an MDM user interface. + # the product within an EMM user interface. class Product include Google::Apis::Core::Hashable @@ -1340,9 +1340,9 @@ module Google # A user resource represents an individual user within the enterprise's domain. # Note that each user is associated with a Google account based on the user's # corporate email address (which must be in one of the enterprise's domains). As - # part of installing an MDM app to manage a device the Google account must be - # provisioned to the device, and so the user resource must be created before - # that. This can be done using the Google Admin SDK Directory API. + # part of installing the EMM's DPC app to manage a device the Google account + # must be provisioned to the device, and so the user resource must be created + # before that. This can be done using the Google Admin SDK Directory API. # The ID for a user is an opaque string. It can be retrieved using the list # method queried by the user's primary email address. class User @@ -1379,7 +1379,7 @@ module Google # A UserToken is used by a user when setting up a managed device or profile with # their work account on a device. When the user enters their email address and - # token (activation code) the appropriate MDM app can be automatically + # token (activation code) the appropriate EMM app can be automatically # downloaded. class UserToken include Google::Apis::Core::Hashable diff --git a/generated/google/apis/androidenterprise_v1/service.rb b/generated/google/apis/androidenterprise_v1/service.rb index 2b4535c25..eecb153ac 100644 --- a/generated/google/apis/androidenterprise_v1/service.rb +++ b/generated/google/apis/androidenterprise_v1/service.rb @@ -668,7 +668,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the binding between the MDM and enterprise. This is now deprecated; + # Deletes the binding between the EMM and enterprise. This is now deprecated; # use this to unenroll customers that were previously enrolled with the 'insert' # call, then enroll them again with the 'enroll' call. # @param [String] enterprise_id @@ -703,9 +703,9 @@ module Google execute_or_queue_command(command, &block) end - # Enrolls an enterprise with the calling MDM. + # Enrolls an enterprise with the calling EMM. # @param [String] token - # The token provided by the enterprise to register the MDM. + # The token provided by the enterprise to register the EMM. # @param [Google::Apis::AndroidenterpriseV1::Enterprise] enterprise_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -811,10 +811,10 @@ module Google execute_or_queue_command(command, &block) end - # Establishes the binding between the MDM and an enterprise. This is now + # Establishes the binding between the EMM and an enterprise. This is now # deprecated; use enroll instead. # @param [String] token - # The token provided by the enterprise to register the MDM. + # The token provided by the enterprise to register the EMM. # @param [Google::Apis::AndroidenterpriseV1::Enterprise] enterprise_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -885,7 +885,7 @@ module Google execute_or_queue_command(command, &block) end - # Sends a test push notification to validate the MDM integration with the Google + # Sends a test push notification to validate the EMM integration with the Google # Cloud Pub/Sub service for this enterprise. # @param [String] enterprise_id # The ID of the enterprise. @@ -997,7 +997,7 @@ module Google execute_or_queue_command(command, &block) end - # Unenrolls an enterprise from the calling MDM. + # Unenrolls an enterprise from the calling EMM. # @param [String] enterprise_id # The ID of the enterprise. # @param [String] fields @@ -2361,6 +2361,7 @@ module Google # Generates a token (activation code) to allow this user to configure their work # account in the Android Setup Wizard. Revokes any previously generated token. + # This call only works with Google managed accounts. # @param [String] enterprise_id # The ID of the enterprise. # @param [String] user_id @@ -2474,7 +2475,7 @@ module Google execute_or_queue_command(command, &block) end - # Looks up a user by email address. This only works for Google managed users. + # Looks up a user by their primary email address. # @param [String] enterprise_id # The ID of the enterprise. # @param [String] email diff --git a/generated/google/apis/appstate_v1.rb b/generated/google/apis/appstate_v1.rb index f49eec3a6..0b93115a8 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 = '20160121' + REVISION = '20160203' # 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 2fa300c16..464a5f4c3 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 = '20160119' + REVISION = '20160129' # 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 0e0890f2a..c63a02cc7 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -1131,10 +1131,10 @@ module Google # @return [String] attr_accessor :query - # [Experimental] If querying an external data source outside of BigQuery, - # describes the data format, location and other properties of the data source. - # By defining these properties, the data source can then be queried as if it - # were a standard BigQuery table. + # [Optional] If querying an external data source outside of BigQuery, describes + # the data format, location and other properties of the data source. By defining + # these properties, the data source can then be queried as if it were a standard + # BigQuery table. # Corresponds to the JSON property `tableDefinitions` # @return [Hash] attr_accessor :table_definitions @@ -1908,7 +1908,7 @@ module Google # @return [String] attr_accessor :expiration_time - # [Experimental] Describes the data format, location, and other properties of a + # [Optional] Describes the data format, location, and other properties of a # table stored outside of BigQuery. By defining these properties, the data # source can then be queried as if it were a standard BigQuery table. # Corresponds to the JSON property `externalDataConfiguration` @@ -2065,11 +2065,12 @@ module Google attr_accessor :skip_invalid_rows alias_method :skip_invalid_rows?, :skip_invalid_rows - # [Optional] If specified, treats the destination table as a base template, and - # inserts the rows into an instance table named "`destination``templateSuffix`". - # BigQuery will manage creation of the instance table, using the schema of the - # base template table. See https://cloud.google.com/bigquery/streaming-data-into- - # bigquery#template-tables for considerations when working with templates tables. + # [Experimental] If specified, treats the destination table as a base template, + # and inserts the rows into an instance table named "`destination`` + # templateSuffix`". BigQuery will manage creation of the instance table, using + # the schema of the base template table. See https://cloud.google.com/bigquery/ + # streaming-data-into-bigquery#template-tables for considerations when working + # with templates tables. # Corresponds to the JSON property `templateSuffix` # @return [String] attr_accessor :template_suffix diff --git a/generated/google/apis/books_v1.rb b/generated/google/apis/books_v1.rb index 52f3c9ff4..ba9eb6a2c 100644 --- a/generated/google/apis/books_v1.rb +++ b/generated/google/apis/books_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/books/docs/v1/getting_started module BooksV1 VERSION = 'V1' - REVISION = '20151218' + REVISION = '20160113' # Manage your books AUTH_BOOKS = 'https://www.googleapis.com/auth/books' diff --git a/generated/google/apis/books_v1/service.rb b/generated/google/apis/books_v1/service.rb index 290aa4709..6d555d97d 100644 --- a/generated/google/apis/books_v1/service.rb +++ b/generated/google/apis/books_v1/service.rb @@ -1526,8 +1526,6 @@ module Google # generating notification title and body. # @param [String] source # String to identify the originator of this request. - # @param [Array, String] target_ids - # List of target ids used for experiments or user segments # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1549,14 +1547,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 get_notification(notification_id, locale: nil, source: nil, target_ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_notification(notification_id, locale: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'notification/get', options) command.response_representation = Google::Apis::BooksV1::Notification::Representation command.response_class = Google::Apis::BooksV1::Notification command.query['locale'] = locale unless locale.nil? command.query['notification_id'] = notification_id unless notification_id.nil? command.query['source'] = source unless source.nil? - command.query['targetIds'] = target_ids unless target_ids.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? @@ -1655,8 +1652,6 @@ module Google # higher maturity rating are filtered out. # @param [String] source # String to identify the originator of this request. - # @param [Array, String] target_ids - # List of target ids used for experiments or user segments # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1678,14 +1673,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 get_personalizedstream(locale: nil, max_allowed_maturity_rating: nil, source: nil, target_ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_personalizedstream(locale: nil, max_allowed_maturity_rating: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'personalizedstream/get', options) command.response_representation = Google::Apis::BooksV1::Discoveryclusters::Representation command.response_class = Google::Apis::BooksV1::Discoveryclusters command.query['locale'] = locale unless locale.nil? command.query['maxAllowedMaturityRating'] = max_allowed_maturity_rating unless max_allowed_maturity_rating.nil? command.query['source'] = source unless source.nil? - command.query['targetIds'] = target_ids unless target_ids.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? @@ -2155,8 +2149,6 @@ module Google # higher maturity rating are filtered out. # @param [String] source # String to identify the originator of this request. - # @param [Array, String] target_ids - # List of target ids used for experiments or user segments # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2178,14 +2170,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_recommended_volumes(locale: nil, max_allowed_maturity_rating: nil, source: nil, target_ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_recommended_volumes(locale: nil, max_allowed_maturity_rating: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'volumes/recommended', options) command.response_representation = Google::Apis::BooksV1::Volumes::Representation command.response_class = Google::Apis::BooksV1::Volumes command.query['locale'] = locale unless locale.nil? command.query['maxAllowedMaturityRating'] = max_allowed_maturity_rating unless max_allowed_maturity_rating.nil? command.query['source'] = source unless source.nil? - command.query['targetIds'] = target_ids unless target_ids.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? diff --git a/generated/google/apis/calendar_v3.rb b/generated/google/apis/calendar_v3.rb index 06980473e..f49e5280d 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 = '20160110' + REVISION = '20160209' # Manage your calendars AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar' diff --git a/generated/google/apis/cloudbuild_v1.rb b/generated/google/apis/cloudbuild_v1.rb index 3fff9e108..0c7f7fee0 100644 --- a/generated/google/apis/cloudbuild_v1.rb +++ b/generated/google/apis/cloudbuild_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/container-builder/docs/ module CloudbuildV1 VERSION = 'V1' - REVISION = '20160128' + REVISION = '20160209' # 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/cloudmonitoring_v2beta2.rb b/generated/google/apis/cloudmonitoring_v2beta2.rb index 3e89a3f9b..fa634c10f 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 = '20160124' + REVISION = '20160209' # 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 1f89ad5ba..d0783d63c 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 = '20160120' + REVISION = '20160205' # 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 71aa15077..bf7db1564 100644 --- a/generated/google/apis/compute_beta/classes.rb +++ b/generated/google/apis/compute_beta/classes.rb @@ -196,7 +196,7 @@ module Google end end - # Contains a list of address resources. + # Contains a list of addresses. class AddressList include Google::Apis::Core::Hashable @@ -206,7 +206,7 @@ module Google # @return [String] attr_accessor :id - # [Output Only] A list of Address resources. + # [Output Only] A list of addresses. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -387,9 +387,11 @@ module Google # @return [Google::Apis::ComputeBeta::AttachedDiskInitializeParams] attr_accessor :initialize_params - # Specifies the disk interface to use for attaching this disk, either SCSI or - # NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, - # see Local SSD performance. + # Specifies the disk interface to use for attaching this disk, which is either + # SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and + # the request will fail if you attempt to attach a persistent disk in any other + # format than SCSI. Local SSDs can use either NVME or SCSI. For performance + # characteristics of SCSI over NVMe, see Local SSD performance. # Corresponds to the JSON property `interface` # @return [String] attr_accessor :interface @@ -923,8 +925,8 @@ module Google class Backend include Google::Apis::Core::Hashable - # Specifies the balancing mode for this backend. The default is UTILIZATION but - # available values are UTILIZATION and RATE. + # Specifies the balancing mode for this backend. For global HTTP(S) load + # balancing, the default is UTILIZATION. Valid values are UTILIZATION and RATE. # Corresponds to the JSON property `balancingMode` # @return [String] attr_accessor :balancing_mode @@ -955,14 +957,14 @@ module Google # @return [String] attr_accessor :group - # The max requests per second (RPS) of the group. Can be used with either - # balancing mode, but required if RATE mode. For RATE mode, either maxRate or - # maxRatePerInstance must be set. + # The max requests per second (RPS) of the group. Can be used with either RATE + # or UTILIZATION balancing modes, but required if RATE mode. For RATE mode, + # either maxRate or maxRatePerInstance must be set. # Corresponds to the JSON property `maxRate` # @return [Fixnum] attr_accessor :max_rate - # The max requests per second (RPS) that a single backed instance can handle. + # The max requests per second (RPS) that a single backend instance can handle. # This is used to calculate the capacity of the group. Can be used in either # balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be # set. @@ -1056,13 +1058,14 @@ module Google # @return [Fixnum] attr_accessor :port - # Name of backend port. The same name should appear in the resource views + # Name of backend port. The same name should appear in the instance groups # referenced by this service. Required. # Corresponds to the JSON property `portName` # @return [String] attr_accessor :port_name - # + # The protocol this BackendService uses to communicate with backends. + # Possible values are HTTP, HTTPS, HTTP2, TCP and SSL. # Corresponds to the JSON property `protocol` # @return [String] attr_accessor :protocol @@ -1073,7 +1076,7 @@ module Google attr_accessor :self_link # How many seconds to wait for the backend before considering it a failed - # request. Default is 30 seconds. Valid range is [1, 86400]. + # request. Default is 30 seconds. # Corresponds to the JSON property `timeoutSec` # @return [Fixnum] attr_accessor :timeout_sec @@ -1308,7 +1311,7 @@ module Google # @return [String] attr_accessor :last_detach_timestamp - # Any applicable publicly visible licenses. + # [Output Only] Any applicable publicly visible licenses. # Corresponds to the JSON property `licenses` # @return [Array] attr_accessor :licenses @@ -1356,6 +1359,13 @@ module Google # projects/debian-cloud/global/images/debian-7-wheezy-vYYYYMMDD # where vYYYYMMDD is the image version. The fully-qualified URL will also work # in both cases. + # You can also specify the latest image for a private image family by replacing + # the image name suffix with family/family-name. For example: + # global/images/family/my-private-family + # Or you can specify an image family from a publicly-available project. For + # example, to use the latest Debian 7 from the debian-cloud project, make sure + # to include the project in the URL: + # projects/debian-cloud/global/images/family/debian-7 # Corresponds to the JSON property `sourceImage` # @return [String] attr_accessor :source_image @@ -1365,11 +1375,11 @@ module Google # @return [Google::Apis::ComputeBeta::CustomerEncryptionKey] attr_accessor :source_image_encryption_key - # The ID value of the image used to create this disk. This value identifies the - # exact image that was used to create this persistent disk. For example, if you - # created the persistent disk from an image that was later deleted and recreated - # under the same name, the source image ID would identify the exact version of - # the image that was used. + # [Output Only] The ID value of the image used to create this disk. This value + # identifies the exact image that was used to create this persistent disk. For + # example, if you created the persistent disk from an image that was later + # deleted and recreated under the same name, the source image ID would identify + # the exact version of the image that was used. # Corresponds to the JSON property `sourceImageId` # @return [String] attr_accessor :source_image_id @@ -1411,13 +1421,13 @@ module Google attr_accessor :storage_type # URL of the disk type resource describing which disk type to use to create the - # disk; provided by the client when the disk is created. + # disk. Provide this when creating the disk. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type - # Links to the users of the disk (attached instances) in form: project/zones/ - # zone/instances/instance + # [Output Only] Links to the users of the disk (attached instances) in form: + # project/zones/zone/instances/instance # Corresponds to the JSON property `users` # @return [Array] attr_accessor :users @@ -1556,7 +1566,7 @@ module Google end end - # A disk type resource. + # A DiskType resource. class DiskType include Google::Apis::Core::Hashable @@ -1679,7 +1689,7 @@ module Google end end - # Contains a list of disk type resources. + # Contains a list of disk types. class DiskTypeList include Google::Apis::Core::Hashable @@ -1928,7 +1938,7 @@ module Google end end - # A Firewall resource. + # Represents a Firewall resource. class Firewall include Google::Apis::Core::Hashable @@ -2038,9 +2048,9 @@ module Google include Google::Apis::Core::Hashable # The IP protocol that is allowed for this rule. The protocol type is required - # when creating a firewall. This value can either be one of the following well - # known protocol strings (tcp, udp, icmp, esp, ah, sctp), or the IP protocol - # number. + # when creating a firewall rule. This value can either be one of the following + # well known protocol strings (tcp, udp, icmp, esp, ah, sctp), or the IP + # protocol number. # Corresponds to the JSON property `IPProtocol` # @return [String] attr_accessor :ip_protocol @@ -2065,7 +2075,7 @@ module Google end end - # Contains a list of Firewall resources. + # Contains a list of firewalls. class FirewallList include Google::Apis::Core::Hashable @@ -2231,7 +2241,8 @@ module Google # @return [Hash] attr_accessor :items - # Type of resource. + # [Output Only] Type of resource. Always compute#forwardingRuleAggregatedList + # for lists of forwarding rules. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -2402,7 +2413,12 @@ module Google end end - # + # A full or valid partial URL to a health check. For example, the following are + # valid URLs: + # - https://www.googleapis.com/compute/beta/projects/project-id/global/ + # httpHealthChecks/health-check + # - projects/project-id/global/httpHealthChecks/health-check + # - global/httpHealthChecks/health-check class HealthCheckReference include Google::Apis::Core::Hashable @@ -2534,7 +2550,8 @@ module Google # @return [String] attr_accessor :id - # Type of the resource. + # [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP + # health checks. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -2554,7 +2571,7 @@ module Google # @return [Fixnum] attr_accessor :port - # The request path of the HTTP health check request. The default value is "/". + # The request path of the HTTP health check request. The default value is /. # Corresponds to the JSON property `requestPath` # @return [String] attr_accessor :request_path @@ -2829,6 +2846,12 @@ module Google # @return [String] attr_accessor :disk_size_gb + # Image family for the resource; provided by the client when the resource is + # created. + # Corresponds to the JSON property `family` + # @return [String] + attr_accessor :family + # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` @@ -2918,6 +2941,7 @@ module Google @deprecated = args[:deprecated] if args.key?(:deprecated) @description = args[:description] if args.key?(:description) @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb) + @family = args[:family] if args.key?(:family) @id = args[:id] if args.key?(:id) @image_encryption_key = args[:image_encryption_key] if args.key?(:image_encryption_key) @kind = args[:kind] if args.key?(:kind) @@ -2968,7 +2992,7 @@ module Google end end - # Contains a list of Image resources. + # Contains a list of images. class ImageList include Google::Apis::Core::Hashable @@ -3079,7 +3103,7 @@ module Google attr_accessor :labels # Full or partial URL of the machine type resource to use for this instance, in - # the format: zones/zone/machineTypes/ machine-type. This is provided by the + # the format: zones/zone/machineTypes/machine-type. This is provided by the # client when the instance is created. For example, the following is a valid # partial url to a predefined machine type: # zones/us-central1-f/machineTypes/n1-standard-1 @@ -3284,8 +3308,7 @@ module Google # @return [Array] attr_accessor :named_ports - # [Output Only] The URL of the network to which all instances in the instance - # group belong. + # The URL of the network to which all instances in the instance group belong. # Corresponds to the JSON property `network` # @return [String] attr_accessor :network @@ -3300,8 +3323,7 @@ module Google # @return [Fixnum] attr_accessor :size - # [Output Only] The URL of the subnetwork to which all instances in the instance - # group belong. + # The URL of the subnetwork to which all instances in the instance group belong. # Corresponds to the JSON property `subnetwork` # @return [String] attr_accessor :subnetwork @@ -3430,8 +3452,7 @@ module Google end end - # InstanceGroupManagers - # Next available tag: 20 + # class InstanceGroupManager include Google::Apis::Core::Hashable @@ -4228,7 +4249,7 @@ module Google end end - # Contains a list of instance resources. + # Contains a list of instances. class InstanceList include Google::Apis::Core::Hashable @@ -4238,7 +4259,7 @@ module Google # @return [String] attr_accessor :id - # [Output Only] A list of Instance resources. + # [Output Only] A list of instances. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -4835,7 +4856,7 @@ module Google end end - # Contains a list of Machine Type resources. + # Contains a list of machine types. class MachineTypeList include Google::Apis::Core::Hashable @@ -5204,7 +5225,8 @@ module Google end end - # A network resource. + # Represents a Network resource. Read Networks and Firewalls for more + # information. class Network include Google::Apis::Core::Hashable @@ -5357,7 +5379,7 @@ module Google end end - # Contains a list of Network resources. + # Contains a list of networks. class NetworkList include Google::Apis::Core::Hashable @@ -5410,7 +5432,7 @@ module Google class Operation include Google::Apis::Core::Hashable - # [Output Only] A unique client ID generated by the server. + # [Output Only] Reserved for future use. # Corresponds to the JSON property `clientOperationId` # @return [String] attr_accessor :client_operation_id @@ -5474,7 +5496,8 @@ module Google # @return [String] attr_accessor :name - # [Output Only] The type of operation, which can be insert, update, or delete. + # [Output Only] The type of operation, such as insert, update, or delete, and so + # on. # Corresponds to the JSON property `operationType` # @return [String] attr_accessor :operation_type @@ -5487,8 +5510,8 @@ module Google # @return [Fixnum] attr_accessor :progress - # [Output Only] URL of the region where the operation resides. Only available - # when performing regional operations. + # [Output Only] The URL of the region where the operation resides. Only + # available when performing regional operations. # Corresponds to the JSON property `region` # @return [String] attr_accessor :region @@ -5522,7 +5545,7 @@ module Google # @return [String] attr_accessor :target_id - # [Output Only] The URL of the resource that the operation is modifying. + # [Output Only] The URL of the resource that the operation modifies. # Corresponds to the JSON property `targetLink` # @return [String] attr_accessor :target_link @@ -5538,8 +5561,8 @@ module Google # @return [Array] attr_accessor :warnings - # [Output Only] URL of the zone where the operation resides. Only available when - # performing per-zone operations. + # [Output Only] The URL of the zone where the operation resides. Only available + # when performing per-zone operations. # Corresponds to the JSON property `zone` # @return [String] attr_accessor :zone @@ -5751,7 +5774,7 @@ module Google # @return [String] attr_accessor :id - # [Output Only] The Operation resources. + # [Output Only] A list of Operation resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -5957,7 +5980,7 @@ module Google end end - # A Project resource. Projects can only be created in the Google Developers + # 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 include Google::Apis::Core::Hashable @@ -6208,19 +6231,20 @@ module Google end end - # The route resource. A Route is a rule that specifies how certain packets - # should be handled by the virtual network. Routes are associated with instances - # by tags and the set of Routes for a particular instance is called its routing - # table. For each packet leaving a instance, the system searches that instance's - # routing table for a single best matching Route. Routes match packets by + # Represents a Routes resource. A route specifies how certain packets should be + # handled by the network. Routes are associated with instances by tags and the + # set of routes for a particular instance is called its routing table. + # For each packet leaving a instance, the system searches that instance's + # routing table for a single best matching route. Routes match packets by # destination IP address, preferring smaller or more specific ranges over larger - # ones. If there is a tie, the system selects the Route with the smallest + # ones. If there is a tie, the system selects the route with the smallest # priority value. If there is still a tie, it uses the layer three and four # packet headers to select just one of the remaining matching Routes. The packet - # is then forwarded as specified by the nextHop field of the winning Route -- + # is then forwarded as specified by the nextHop field of the winning route - # either to another instance destination, a instance gateway or a Google Compute - # Engien-operated gateway. Packets that do not match any Route in the sending - # instance's routing table are dropped. + # Engine-operated gateway. + # Packets that do not match any route in the sending instance's routing table + # are dropped. class Route include Google::Apis::Core::Hashable @@ -6471,7 +6495,7 @@ module Google # Defines the maintenance behavior for this instance. For standard instances, # the default behavior is MIGRATE. For preemptible instances, the default and # only possible behavior is TERMINATE. For more information, see Setting - # maintenance behavior. + # Instance Scheduling Options. # Corresponds to the JSON property `onHostMaintenance` # @return [String] attr_accessor :on_host_maintenance @@ -6583,7 +6607,9 @@ module Google # @return [String] attr_accessor :kind - # Public visible licenses. + # [Output Only] A list of public visible licenses that apply to this snapshot. + # This can be because the original image had licenses attached (such as a + # Windows image). # Corresponds to the JSON property `licenses` # @return [Array] attr_accessor :licenses @@ -6625,7 +6651,8 @@ module Google # @return [String] attr_accessor :source_disk_id - # [Output Only] The status of the snapshot. + # [Output Only] The status of the snapshot. This can be CREATING, DELETING, + # FAILED, READY, or UPLOADING. # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -6638,7 +6665,9 @@ module Google attr_accessor :storage_bytes # [Output Only] An indicator whether storageBytes is in a stable state or it is - # being adjusted as a result of shared storage reallocation. + # being adjusted as a result of shared storage reallocation. This status can + # either be UPDATING, meaning the size of the snapshot is being updated, or + # UP_TO_DATE, meaning the size of the snapshot is up-to-date. # Corresponds to the JSON property `storageBytesStatus` # @return [String] attr_accessor :storage_bytes_status @@ -7219,7 +7248,7 @@ module Google # @return [Array] attr_accessor :items - # Type of resource. Always compute#targetHttpProxyList for lists of Target HTTP + # Type of resource. Always compute#targetHttpProxyList for lists of target HTTP # proxies. # Corresponds to the JSON property `kind` # @return [String] @@ -7258,7 +7287,7 @@ module Google include Google::Apis::Core::Hashable # New set of URLs to SslCertificate resources to associate with this - # TargetHttpProxy. Currently exactly one ssl certificate must be specified. + # TargetHttpProxy. Currently exactly one SSL certificate must be specified. # Corresponds to the JSON property `sslCertificates` # @return [Array] attr_accessor :ssl_certificates @@ -7316,14 +7345,18 @@ module Google attr_accessor :self_link # URLs to SslCertificate resources that are used to authenticate connections - # between users and the load balancer. Currently exactly one SSL certificate + # between users and the load balancer. Currently, exactly one SSL certificate # must be specified. # Corresponds to the JSON property `sslCertificates` # @return [Array] attr_accessor :ssl_certificates - # URL to the UrlMap resource that defines the mapping from URL to the - # BackendService. + # A fully-qualified or valid partial URL to the UrlMap resource that defines the + # mapping from URL to the BackendService. For example, the following are all + # valid URLs for specifying a URL map: + # - https://www.googleapis.compute/v1/projects/project/global/urlMaps/url-map + # - projects/project/global/urlMaps/url-map + # - global/urlMaps/url-map # Corresponds to the JSON property `urlMap` # @return [String] attr_accessor :url_map @@ -7415,7 +7448,14 @@ module Google # @return [String] attr_accessor :id - # The URL to the instance that terminates the relevant traffic. + # A URL to the virtual machine instance that handles traffic for this target + # instance. When creating a target instance, you can provide the fully-qualified + # URL or a valid partial URL to the desired virtual machine. For example, the + # following are all valid URLs: + # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/ + # instance + # - projects/project/zones/zone/instances/instance + # - zones/zone/instances/instance # Corresponds to the JSON property `instance` # @return [String] attr_accessor :instance @@ -7657,7 +7697,7 @@ module Google end # A TargetPool resource. This resource defines a pool of instances, associated - # HttpHealthCheck resources, and the fallback TargetPool. + # HttpHealthCheck resources, and the fallback target pool. class TargetPool include Google::Apis::Core::Hashable @@ -7716,8 +7756,8 @@ module Google # @return [String] attr_accessor :id - # A list of resource URLs to the member virtual machines serving this pool. They - # must live in zones contained in the same region as this pool. + # A list of resource URLs to the virtual machine instances serving this pool. + # They must live in zones contained in the same region as this pool. # Corresponds to the JSON property `instances` # @return [Array] attr_accessor :instances @@ -7787,12 +7827,13 @@ module Google # @return [String] attr_accessor :id - # A map of scoped target pool lists. + # [Output Only] A map of scoped target pool lists. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items - # Type of resource. + # [Output Only] Type of resource. Always compute#targetPoolAggregatedList for + # aggregated lists of target pools. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -7834,7 +7875,8 @@ module Google # @return [Array] attr_accessor :health_status - # Type of resource. + # [Output Only] Type of resource. Always compute#targetPoolInstanceHealth when + # checking the health of an instance. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -7864,7 +7906,8 @@ module Google # @return [Array] attr_accessor :items - # Type of resource. + # [Output Only] Type of resource. Always compute#targetPoolList for lists of + # target pools. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -7901,7 +7944,7 @@ module Google class AddTargetPoolsHealthCheckRequest include Google::Apis::Core::Hashable - # Health check URLs to be added to targetPool. + # A list of HttpHealthCheck resources to add to the target pool. # Corresponds to the JSON property `healthChecks` # @return [Array] attr_accessor :health_checks @@ -7920,7 +7963,12 @@ module Google class AddTargetPoolsInstanceRequest include Google::Apis::Core::Hashable - # URLs of the instances to be added to targetPool. + # A full or partial URL to an instance to add to this target pool. This can be a + # full or partial URL. For example, the following are valid URLs: + # - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone/ + # instances/instance-name + # - projects/project-id/zones/zone/instances/instance-name + # - zones/zone/instances/instance-name # Corresponds to the JSON property `instances` # @return [Array] attr_accessor :instances @@ -7939,7 +7987,12 @@ module Google class RemoveTargetPoolsHealthCheckRequest include Google::Apis::Core::Hashable - # Health check URLs to be removed from targetPool. + # Health check URL to be removed. This can be a full or valid partial URL. For + # example, the following are valid URLs: + # - https://www.googleapis.com/compute/beta/projects/project/global/ + # httpHealthChecks/health-check + # - projects/project/global/httpHealthChecks/health-check + # - global/httpHealthChecks/health-check # Corresponds to the JSON property `healthChecks` # @return [Array] attr_accessor :health_checks @@ -7958,7 +8011,7 @@ module Google class RemoveTargetPoolsInstanceRequest include Google::Apis::Core::Hashable - # URLs of the instances to be removed from targetPool. + # URLs of the instances to be removed from target pool. # Corresponds to the JSON property `instances` # @return [Array] attr_accessor :instances @@ -8083,7 +8136,7 @@ module Google end end - # + # Represents a Target VPN gateway resource. class TargetVpnGateway include Google::Apis::Core::Hashable @@ -8149,7 +8202,7 @@ module Google attr_accessor :status # [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created - # using compute.vpntunnels.insert and associated to a VPN gateway. + # using compute.vpntunnels.insert method and associated to a VPN gateway. # Corresponds to the JSON property `tunnels` # @return [Array] attr_accessor :tunnels diff --git a/generated/google/apis/compute_beta/representations.rb b/generated/google/apis/compute_beta/representations.rb index a1732781c..a569e82e8 100644 --- a/generated/google/apis/compute_beta/representations.rb +++ b/generated/google/apis/compute_beta/representations.rb @@ -1457,6 +1457,7 @@ module Google property :description, as: 'description' property :disk_size_gb, as: 'diskSizeGb' + property :family, as: 'family' property :id, as: 'id' property :image_encryption_key, as: 'imageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation diff --git a/generated/google/apis/compute_beta/service.rb b/generated/google/apis/compute_beta/service.rb index 0535bcdb1..40e0bca0e 100644 --- a/generated/google/apis/compute_beta/service.rb +++ b/generated/google/apis/compute_beta/service.rb @@ -66,7 +66,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -78,10 +79,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -254,7 +255,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of address resources contained within the specified region. + # Retrieves a list of addresses contained within the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -270,7 +271,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -282,10 +284,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -349,7 +351,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -361,10 +364,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -553,7 +556,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -565,10 +569,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -880,7 +884,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -892,10 +897,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -1031,7 +1036,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of disk type resources. + # Retrieves an aggregated list of disk types. # @param [String] project # Project ID for this request. # @param [String] filter @@ -1045,7 +1050,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -1057,10 +1063,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -1109,13 +1115,13 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified disk type resource. + # Returns the specified disk type. # @param [String] project # Project ID for this request. # @param [String] zone # The name of the zone for this request. # @param [String] disk_type - # Name of the disk type resource to return. + # Name of the disk type to return. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1150,7 +1156,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of disk type resources available to the specified project. + # Retrieves a list of disk types available to the specified project. # @param [String] project # Project ID for this request. # @param [String] zone @@ -1166,7 +1172,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -1178,10 +1185,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -1245,7 +1252,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -1257,10 +1265,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -1437,8 +1445,10 @@ module Google execute_or_queue_command(command, &block) end - # Creates a persistent disk in the specified project using the data included in - # the request. + # Creates a persistent disk in the specified project using the data in the + # request. You can create a disk with a sourceImage, a sourceSnapshot, or create + # an empty 200 GB data disk by omitting all properties. You can also create a + # disk that is larger than the default size by specifying the sizeGb property. # @param [String] project # Project ID for this request. # @param [String] zone @@ -1498,7 +1508,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -1510,10 +1521,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -1607,11 +1618,11 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified firewall resource. + # Deletes the specified firewall. # @param [String] project # Project ID for this request. # @param [String] firewall - # Name of the firewall resource to delete. + # Name of the firewall rule to delete. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1645,11 +1656,11 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified firewall resource. + # Returns the specified firewall. # @param [String] project # Project ID for this request. # @param [String] firewall - # Name of the firewall resource to return. + # Name of the firewall rule to return. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1683,8 +1694,8 @@ module Google execute_or_queue_command(command, &block) end - # Creates a firewall resource in the specified project using the data included - # in the request. + # Creates a firewall rule in the specified project using the data included in + # the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::Firewall] firewall_object @@ -1722,7 +1733,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of firewall resources available to the specified project. + # Retrieves the list of firewall rules available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -1736,7 +1747,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -1748,10 +1760,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -1800,12 +1812,12 @@ module Google execute_or_queue_command(command, &block) end - # Updates the specified firewall resource with the data included in the request. + # Updates the specified firewall rule with the data included in the request. # This method supports patch semantics. # @param [String] project # Project ID for this request. # @param [String] firewall - # Name of the firewall resource to update. + # Name of the firewall rule to update. # @param [Google::Apis::ComputeBeta::Firewall] firewall_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1842,11 +1854,11 @@ module Google execute_or_queue_command(command, &block) end - # Updates the specified firewall resource with the data included in the request. + # Updates the specified firewall rule with the data included in the request. # @param [String] project # Project ID for this request. # @param [String] firewall - # Name of the firewall resource to update. + # Name of the firewall rule to update. # @param [Google::Apis::ComputeBeta::Firewall] firewall_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1897,7 +1909,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -1909,10 +1922,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -2102,7 +2115,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -2114,10 +2128,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -2327,7 +2341,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of global address resources. + # Retrieves a list of global addresses. # @param [String] project # Project ID for this request. # @param [String] filter @@ -2341,7 +2355,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -2353,10 +2368,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -2535,7 +2550,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -2547,10 +2563,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -2655,7 +2671,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -2667,10 +2684,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -2807,7 +2824,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -2819,10 +2837,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -3001,7 +3019,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -3013,10 +3032,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -3279,7 +3298,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -3291,10 +3311,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -3427,7 +3447,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified image resource. + # Deletes the specified image. # @param [String] project # Project ID for this request. # @param [String] image @@ -3507,7 +3527,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified image resource. + # Returns the specified image. # @param [String] project # Project ID for this request. # @param [String] image @@ -3545,8 +3565,46 @@ module Google execute_or_queue_command(command, &block) end - # Creates an image resource in the specified project using the data included in - # the request. + # Returns the latest undeprecated image for an image family. + # @param [String] project + # Project ID for this request. + # @param [String] family + # Name of the image 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::Image] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Image] + # + # @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_image_from_family(project, family, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/images/family/{family}', options) + command.response_representation = Google::Apis::ComputeBeta::Image::Representation + command.response_class = Google::Apis::ComputeBeta::Image + command.params['project'] = project unless project.nil? + command.params['family'] = family unless family.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 an image in the specified project using the data included in the + # request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::Image] image_object @@ -3604,7 +3662,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -3616,10 +3675,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -3733,7 +3792,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -3745,10 +3805,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -3994,7 +4054,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -4006,10 +4067,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -4343,7 +4404,8 @@ module Google execute_or_queue_command(command, &block) end - # Adds a list of instances to the specified instance group. Read Adding + # Adds a list of instances to the specified instance group. All of the instances + # in the instance group must be in the same network/subnetwork. Read Adding # instances for more information. # @param [String] project # Project ID for this request. @@ -4402,7 +4464,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -4414,10 +4477,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -4609,7 +4672,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -4621,10 +4685,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -4694,7 +4758,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -4706,10 +4771,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -4851,7 +4916,10 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified instance template. + # Deletes the specified instance template. If you delete an instance template + # that is being referenced from another instance group, the instance group will + # not be able to create or recreate virtual machine instances. Deleting an + # instance template is permanent and cannot be undone. # @param [String] project # Project ID for this request. # @param [String] instance_template @@ -4983,7 +5051,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -4995,10 +5064,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -5094,7 +5163,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves aggregated list of instance resources. + # Retrieves aggregated list of instances. # @param [String] project # Project ID for this request. # @param [String] filter @@ -5108,7 +5177,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -5120,10 +5190,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -5178,7 +5248,7 @@ module Google # @param [String] zone # The name of the zone for this request. # @param [String] instance - # Instance name. + # The instance name for this request. # @param [Google::Apis::ComputeBeta::AttachedDisk] attached_disk_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5349,7 +5419,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified instance resource. + # Returns the specified Instance resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -5476,7 +5546,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of instance resources contained within the specified zone. + # Retrieves the list of instances contained within the specified zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -5492,7 +5562,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -5504,10 +5575,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -5958,7 +6029,7 @@ module Google # @param [String] project # Project ID for this request. # @param [String] license - # Name of the license resource to return. + # Name of the License resource to return. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5992,7 +6063,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of machine type resources. + # Retrieves an aggregated list of machine types. # @param [String] project # Project ID for this request. # @param [String] filter @@ -6006,7 +6077,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -6018,10 +6090,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -6070,13 +6142,13 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified machine type resource. + # Returns the specified machine type. # @param [String] project # Project ID for this request. # @param [String] zone # The name of the zone for this request. # @param [String] machine_type - # Name of the machine type resource to return. + # Name of the machine type to return. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -6111,7 +6183,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of machine type resources available to the specified project. + # Retrieves a list of machine types available to the specified project. # @param [String] project # Project ID for this request. # @param [String] zone @@ -6127,7 +6199,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -6139,10 +6212,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -6192,11 +6265,11 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified network resource. + # Deletes the specified network. # @param [String] project # Project ID for this request. # @param [String] network - # Name of the network resource to delete. + # Name of the network to delete. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -6230,11 +6303,11 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified network resource. + # Returns the specified network. # @param [String] project # Project ID for this request. # @param [String] network - # Name of the network resource to return. + # Name of the network to return. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -6268,8 +6341,8 @@ module Google execute_or_queue_command(command, &block) end - # Creates a network resource in the specified project using the data included in - # the request. + # Creates a network in the specified project using the data included in the + # request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::Network] network_object @@ -6307,7 +6380,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of network resources available to the specified project. + # Retrieves the list of networks available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -6321,7 +6394,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -6333,10 +6407,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -6503,7 +6577,7 @@ module Google # @param [String] project # Project ID for this request. # @param [String] region - # Name of the region scoping this request. + # Name of the region for this request. # @param [String] operation # Name of the Operations resource to delete. # @param [String] fields @@ -6542,7 +6616,7 @@ module Google # @param [String] project # Project ID for this request. # @param [String] region - # Name of the region scoping this request. + # Name of the region for this request. # @param [String] operation # Name of the Operations resource to return. # @param [String] fields @@ -6583,7 +6657,7 @@ module Google # @param [String] project # Project ID for this request. # @param [String] region - # Name of the region scoping this request. + # Name of the region 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 @@ -6595,7 +6669,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -6607,10 +6682,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -6712,7 +6787,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -6724,10 +6800,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -6905,7 +6981,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -6917,10 +6994,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -7064,7 +7141,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -7076,10 +7154,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -7258,7 +7336,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -7270,10 +7349,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -7336,7 +7415,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -7348,10 +7428,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -7540,7 +7620,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -7552,10 +7633,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -7735,7 +7816,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -7747,10 +7829,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -7803,7 +7885,7 @@ module Google # @param [String] project # Project ID for this request. # @param [String] target_http_proxy - # Name of the TargetHttpProxy resource whose URL map is to be set. + # The name of the TargetHttpProxy resource to set a URL map for. # @param [Google::Apis::ComputeBeta::UrlMapReference] url_map_reference_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -7970,7 +8052,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -7982,10 +8065,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -8038,7 +8121,7 @@ module Google # @param [String] project # Project ID for this request. # @param [String] target_https_proxy - # Name of the TargetHttpsProxy resource whose SSLCertificate is to be set. + # Name of the TargetHttpsProxy resource to set an SSL certificate for. # @param [Google::Apis::ComputeBeta::TargetHttpsProxiesSetSslCertificatesRequest] target_https_proxies_set_ssl_certificates_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8130,7 +8213,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -8142,10 +8226,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -8335,7 +8419,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -8347,10 +8432,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -8400,12 +8485,13 @@ module Google execute_or_queue_command(command, &block) end - # Adds health check URL to targetPool. + # Adds health check URLs to a target pool. # @param [String] project + # Project ID for this request. # @param [String] region # Name of the region scoping this request. # @param [String] target_pool - # Name of the TargetPool resource to which health_check_url is to be added. + # Name of the target pool to add a health check to. # @param [Google::Apis::ComputeBeta::AddTargetPoolsHealthCheckRequest] add_target_pools_health_check_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8443,12 +8529,13 @@ module Google execute_or_queue_command(command, &block) end - # Adds instance URL to targetPool. + # Adds an instance to a target pool. # @param [String] project + # Project ID for this request. # @param [String] region # Name of the region scoping this request. # @param [String] target_pool - # Name of the TargetPool resource to which instance_url is to be added. + # Name of the TargetPool resource to add instances to. # @param [Google::Apis::ComputeBeta::AddTargetPoolsInstanceRequest] add_target_pools_instance_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8500,7 +8587,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -8512,10 +8600,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -8564,7 +8652,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetPool resource. + # Deletes the specified target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -8605,7 +8693,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified TargetPool resource. + # Returns the specified target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -8646,9 +8734,10 @@ module Google execute_or_queue_command(command, &block) end - # Gets the most recent health check results for each IP for the given instance - # that is referenced by the given TargetPool. + # Gets the most recent health check results for each IP for the instance that is + # referenced by the given target pool. # @param [String] project + # Project ID for this request. # @param [String] region # Name of the region scoping this request. # @param [String] target_pool @@ -8690,8 +8779,8 @@ module Google execute_or_queue_command(command, &block) end - # Creates a TargetPool resource in the specified project and region using the - # data included in the request. + # Creates a target pool in the specified project and region using the data + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -8732,8 +8821,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of TargetPool resources available to the specified project - # and region. + # Retrieves a list of target pools available to the specified project and region. # @param [String] project # Project ID for this request. # @param [String] region @@ -8749,7 +8837,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -8761,10 +8850,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -8814,12 +8903,13 @@ module Google execute_or_queue_command(command, &block) end - # Removes health check URL from targetPool. + # Removes health check URL from a target pool. # @param [String] project + # Project ID for this request. # @param [String] region - # Name of the region scoping this request. + # Name of the region for this request. # @param [String] target_pool - # Name of the TargetPool resource to which health_check_url is to be removed. + # Name of the target pool to remove health checks from. # @param [Google::Apis::ComputeBeta::RemoveTargetPoolsHealthCheckRequest] remove_target_pools_health_check_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8857,12 +8947,13 @@ module Google execute_or_queue_command(command, &block) end - # Removes instance URL from targetPool. + # Removes instance URL from a target pool. # @param [String] project + # Project ID for this request. # @param [String] region # Name of the region scoping this request. # @param [String] target_pool - # Name of the TargetPool resource to which instance_url is to be removed. + # Name of the TargetPool resource to remove instances from. # @param [Google::Apis::ComputeBeta::RemoveTargetPoolsInstanceRequest] remove_target_pools_instance_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8900,16 +8991,16 @@ module Google execute_or_queue_command(command, &block) end - # Changes backup pool configurations. + # Changes a backup target pool's configurations. # @param [String] project # Project ID for this request. # @param [String] region # Name of the region scoping this request. # @param [String] target_pool - # Name of the TargetPool resource for which the backup is to be set. + # Name of the TargetPool resource to set a backup pool for. # @param [Google::Apis::ComputeBeta::TargetReference] target_reference_object # @param [Float] failover_ratio - # New failoverRatio value for the containing target pool. + # New failoverRatio value for the target pool. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -8947,7 +9038,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of target VPN gateways . + # Retrieves an aggregated list of target VPN gateways. # @param [String] project # Project ID for this request. # @param [String] filter @@ -8961,7 +9052,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -8973,10 +9065,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -9025,13 +9117,13 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetVpnGateway resource. + # Deletes the specified target VPN gateway. # @param [String] project # Project ID for this request. # @param [String] region # The name of the region for this request. # @param [String] target_vpn_gateway - # Name of the TargetVpnGateway resource to delete. + # Name of the target VPN gateway to delete. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -9066,13 +9158,13 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified TargetVpnGateway resource. + # Returns the specified target VPN gateway. # @param [String] project # Project ID for this request. # @param [String] region # The name of the region for this request. # @param [String] target_vpn_gateway - # Name of the TargetVpnGateway resource to return. + # Name of the target VPN gateway to return. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -9107,8 +9199,8 @@ module Google execute_or_queue_command(command, &block) end - # Creates a TargetVpnGateway resource in the specified project and region using - # the data included in the request. + # Creates a target VPN gateway in the specified project and region using the + # data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -9149,8 +9241,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of TargetVpnGateway resources available to the specified - # project and region. + # Retrieves a list of target VPN gateways available to the specified project and + # region. # @param [String] project # Project ID for this request. # @param [String] region @@ -9166,7 +9258,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -9178,10 +9271,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -9360,7 +9453,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -9372,10 +9466,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -9563,7 +9657,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -9575,10 +9670,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -9768,7 +9863,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -9780,10 +9876,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -9837,7 +9933,7 @@ module Google # @param [String] project # Project ID for this request. # @param [String] zone - # Name of the zone scoping this request. + # Name of the zone for this request. # @param [String] operation # Name of the Operations resource to delete. # @param [String] fields @@ -9876,7 +9972,7 @@ module Google # @param [String] project # Project ID for this request. # @param [String] zone - # Name of the zone scoping this request. + # Name of the zone for this request. # @param [String] operation # Name of the Operations resource to return. # @param [String] fields @@ -9917,7 +10013,7 @@ module Google # @param [String] project # Project ID for this request. # @param [String] zone - # Name of the zone scoping this request. + # Name of the zone for 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 @@ -9929,7 +10025,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -9941,10 +10038,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. @@ -10046,7 +10143,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -10058,10 +10156,10 @@ module Google # 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 Compute Engine should return. 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. + # 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. diff --git a/generated/google/apis/compute_v1.rb b/generated/google/apis/compute_v1.rb index 0dd5697a7..e3bc726fe 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 = '20160120' + REVISION = '20160205' # 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 17ab7e5a1..44ad6c15b 100644 --- a/generated/google/apis/compute_v1/classes.rb +++ b/generated/google/apis/compute_v1/classes.rb @@ -196,7 +196,7 @@ module Google end end - # Contains a list of address resources. + # Contains a list of addresses. class AddressList include Google::Apis::Core::Hashable @@ -206,7 +206,7 @@ module Google # @return [String] attr_accessor :id - # [Output Only] A list of Address resources. + # [Output Only] A list of addresses. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -382,9 +382,11 @@ module Google # @return [Google::Apis::ComputeV1::AttachedDiskInitializeParams] attr_accessor :initialize_params - # Specifies the disk interface to use for attaching this disk, either SCSI or - # NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, - # see Local SSD performance. + # Specifies the disk interface to use for attaching this disk, which is either + # SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and + # the request will fail if you attempt to attach a persistent disk in any other + # format than SCSI. Local SSDs can use either NVME or SCSI. For performance + # characteristics of SCSI over NVMe, see Local SSD performance. # Corresponds to the JSON property `interface` # @return [String] attr_accessor :interface @@ -905,8 +907,8 @@ module Google class Backend include Google::Apis::Core::Hashable - # Specifies the balancing mode for this backend. The default is UTILIZATION but - # available values are UTILIZATION and RATE. + # Specifies the balancing mode for this backend. For global HTTP(S) load + # balancing, the default is UTILIZATION. Valid values are UTILIZATION and RATE. # Corresponds to the JSON property `balancingMode` # @return [String] attr_accessor :balancing_mode @@ -937,14 +939,14 @@ module Google # @return [String] attr_accessor :group - # The max requests per second (RPS) of the group. Can be used with either - # balancing mode, but required if RATE mode. For RATE mode, either maxRate or - # maxRatePerInstance must be set. + # The max requests per second (RPS) of the group. Can be used with either RATE + # or UTILIZATION balancing modes, but required if RATE mode. For RATE mode, + # either maxRate or maxRatePerInstance must be set. # Corresponds to the JSON property `maxRate` # @return [Fixnum] attr_accessor :max_rate - # The max requests per second (RPS) that a single backed instance can handle. + # The max requests per second (RPS) that a single backend instance can handle. # This is used to calculate the capacity of the group. Can be used in either # balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be # set. @@ -1038,13 +1040,14 @@ module Google # @return [Fixnum] attr_accessor :port - # Name of backend port. The same name should appear in the resource views + # Name of backend port. The same name should appear in the instance groups # referenced by this service. Required. # Corresponds to the JSON property `portName` # @return [String] attr_accessor :port_name - # + # The protocol this BackendService uses to communicate with backends. + # Possible values are HTTP, HTTPS, HTTP2, TCP and SSL. # Corresponds to the JSON property `protocol` # @return [String] attr_accessor :protocol @@ -1055,7 +1058,7 @@ module Google attr_accessor :self_link # How many seconds to wait for the backend before considering it a failed - # request. Default is 30 seconds. Valid range is [1, 86400]. + # request. Default is 30 seconds. # Corresponds to the JSON property `timeoutSec` # @return [Fixnum] attr_accessor :timeout_sec @@ -1245,7 +1248,7 @@ module Google # @return [String] attr_accessor :last_detach_timestamp - # Any applicable publicly visible licenses. + # [Output Only] Any applicable publicly visible licenses. # Corresponds to the JSON property `licenses` # @return [Array] attr_accessor :licenses @@ -1293,15 +1296,22 @@ module Google # projects/debian-cloud/global/images/debian-7-wheezy-vYYYYMMDD # where vYYYYMMDD is the image version. The fully-qualified URL will also work # in both cases. + # You can also specify the latest image for a private image family by replacing + # the image name suffix with family/family-name. For example: + # global/images/family/my-private-family + # Or you can specify an image family from a publicly-available project. For + # example, to use the latest Debian 7 from the debian-cloud project, make sure + # to include the project in the URL: + # projects/debian-cloud/global/images/family/debian-7 # Corresponds to the JSON property `sourceImage` # @return [String] attr_accessor :source_image - # The ID value of the image used to create this disk. This value identifies the - # exact image that was used to create this persistent disk. For example, if you - # created the persistent disk from an image that was later deleted and recreated - # under the same name, the source image ID would identify the exact version of - # the image that was used. + # [Output Only] The ID value of the image used to create this disk. This value + # identifies the exact image that was used to create this persistent disk. For + # example, if you created the persistent disk from an image that was later + # deleted and recreated under the same name, the source image ID would identify + # the exact version of the image that was used. # Corresponds to the JSON property `sourceImageId` # @return [String] attr_accessor :source_image_id @@ -1333,13 +1343,13 @@ module Google attr_accessor :status # URL of the disk type resource describing which disk type to use to create the - # disk; provided by the client when the disk is created. + # disk. Provide this when creating the disk. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type - # Links to the users of the disk (attached instances) in form: project/zones/ - # zone/instances/instance + # [Output Only] Links to the users of the disk (attached instances) in form: + # project/zones/zone/instances/instance # Corresponds to the JSON property `users` # @return [Array] attr_accessor :users @@ -1478,7 +1488,7 @@ module Google class MoveDiskRequest include Google::Apis::Core::Hashable - # The URL of the destination zone to move the disk to. This can be a full or + # The URL of the destination zone to move the disk. This can be a full or # partial URL. For example, the following are all valid URLs to a zone: # - https://www.googleapis.com/compute/v1/projects/project/zones/zone # - projects/project/zones/zone @@ -1507,7 +1517,7 @@ module Google end end - # A disk type resource. + # A DiskType resource. class DiskType include Google::Apis::Core::Hashable @@ -1630,7 +1640,7 @@ module Google end end - # Contains a list of disk type resources. + # Contains a list of disk types. class DiskTypeList include Google::Apis::Core::Hashable @@ -1860,7 +1870,7 @@ module Google end end - # A Firewall resource. + # Represents a Firewall resource. class Firewall include Google::Apis::Core::Hashable @@ -1970,9 +1980,9 @@ module Google include Google::Apis::Core::Hashable # The IP protocol that is allowed for this rule. The protocol type is required - # when creating a firewall. This value can either be one of the following well - # known protocol strings (tcp, udp, icmp, esp, ah, sctp), or the IP protocol - # number. + # when creating a firewall rule. This value can either be one of the following + # well known protocol strings (tcp, udp, icmp, esp, ah, sctp), or the IP + # protocol number. # Corresponds to the JSON property `IPProtocol` # @return [String] attr_accessor :ip_protocol @@ -1997,7 +2007,7 @@ module Google end end - # Contains a list of Firewall resources. + # Contains a list of firewalls. class FirewallList include Google::Apis::Core::Hashable @@ -2163,7 +2173,8 @@ module Google # @return [Hash] attr_accessor :items - # Type of resource. + # [Output Only] Type of resource. Always compute#forwardingRuleAggregatedList + # for lists of forwarding rules. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -2334,7 +2345,12 @@ module Google end end - # + # A full or valid partial URL to a health check. For example, the following are + # valid URLs: + # - https://www.googleapis.com/compute/beta/projects/project-id/global/ + # httpHealthChecks/health-check + # - projects/project-id/global/httpHealthChecks/health-check + # - global/httpHealthChecks/health-check class HealthCheckReference include Google::Apis::Core::Hashable @@ -2466,7 +2482,8 @@ module Google # @return [String] attr_accessor :id - # Type of the resource. + # [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP + # health checks. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -2486,7 +2503,7 @@ module Google # @return [Fixnum] attr_accessor :port - # The request path of the HTTP health check request. The default value is "/". + # The request path of the HTTP health check request. The default value is /. # Corresponds to the JSON property `requestPath` # @return [String] attr_accessor :request_path @@ -2888,7 +2905,7 @@ module Google end end - # Contains a list of Image resources. + # Contains a list of images. class ImageList include Google::Apis::Core::Hashable @@ -2982,7 +2999,7 @@ module Google attr_accessor :kind # Full or partial URL of the machine type resource to use for this instance, in - # the format: zones/zone/machineTypes/ machine-type. This is provided by the + # the format: zones/zone/machineTypes/machine-type. This is provided by the # client when the instance is created. For example, the following is a valid # partial url to a predefined machine type: # zones/us-central1-f/machineTypes/n1-standard-1 @@ -3185,8 +3202,7 @@ module Google # @return [Array] attr_accessor :named_ports - # [Output Only] The URL of the network to which all instances in the instance - # group belong. + # The URL of the network to which all instances in the instance group belong. # Corresponds to the JSON property `network` # @return [String] attr_accessor :network @@ -3201,8 +3217,7 @@ module Google # @return [Fixnum] attr_accessor :size - # [Output Only] The URL of the subnetwork to which all instances in the instance - # group belong. + # The URL of the subnetwork to which all instances in the instance group belong. # Corresponds to the JSON property `subnetwork` # @return [String] attr_accessor :subnetwork @@ -3331,8 +3346,7 @@ module Google end end - # InstanceGroupManagers - # Next available tag: 20 + # class InstanceGroupManager include Google::Apis::Core::Hashable @@ -4074,7 +4088,7 @@ module Google end end - # Contains a list of instance resources. + # Contains a list of instances. class InstanceList include Google::Apis::Core::Hashable @@ -4084,7 +4098,7 @@ module Google # @return [String] attr_accessor :id - # [Output Only] A list of Instance resources. + # [Output Only] A list of instances. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -4127,7 +4141,7 @@ module Google class MoveInstanceRequest include Google::Apis::Core::Hashable - # The URL of the destination zone to move the instance to. This can be a full or + # The URL of the destination zone to move the instance. This can be a full or # partial URL. For example, the following are all valid URLs to a zone: # - https://www.googleapis.com/compute/v1/projects/project/zones/zone # - projects/project/zones/zone @@ -4720,7 +4734,7 @@ module Google end end - # Contains a list of Machine Type resources. + # Contains a list of machine types. class MachineTypeList include Google::Apis::Core::Hashable @@ -5089,7 +5103,8 @@ module Google end end - # A network resource. + # Represents a Network resource. Read Networks and Firewalls for more + # information. class Network include Google::Apis::Core::Hashable @@ -5242,7 +5257,7 @@ module Google end end - # Contains a list of Network resources. + # Contains a list of networks. class NetworkList include Google::Apis::Core::Hashable @@ -5295,7 +5310,7 @@ module Google class Operation include Google::Apis::Core::Hashable - # [Output Only] A unique client ID generated by the server. + # [Output Only] Reserved for future use. # Corresponds to the JSON property `clientOperationId` # @return [String] attr_accessor :client_operation_id @@ -5359,7 +5374,8 @@ module Google # @return [String] attr_accessor :name - # [Output Only] The type of operation, which can be insert, update, or delete. + # [Output Only] The type of operation, such as insert, update, or delete, and so + # on. # Corresponds to the JSON property `operationType` # @return [String] attr_accessor :operation_type @@ -5372,8 +5388,8 @@ module Google # @return [Fixnum] attr_accessor :progress - # [Output Only] URL of the region where the operation resides. Only available - # when performing regional operations. + # [Output Only] The URL of the region where the operation resides. Only + # available when performing regional operations. # Corresponds to the JSON property `region` # @return [String] attr_accessor :region @@ -5407,7 +5423,7 @@ module Google # @return [String] attr_accessor :target_id - # [Output Only] The URL of the resource that the operation is modifying. + # [Output Only] The URL of the resource that the operation modifies. # Corresponds to the JSON property `targetLink` # @return [String] attr_accessor :target_link @@ -5423,8 +5439,8 @@ module Google # @return [Array] attr_accessor :warnings - # [Output Only] URL of the zone where the operation resides. Only available when - # performing per-zone operations. + # [Output Only] The URL of the zone where the operation resides. Only available + # when performing per-zone operations. # Corresponds to the JSON property `zone` # @return [String] attr_accessor :zone @@ -5636,7 +5652,7 @@ module Google # @return [String] attr_accessor :id - # [Output Only] The Operation resources. + # [Output Only] A list of Operation resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -5842,7 +5858,7 @@ module Google end end - # A Project resource. Projects can only be created in the Google Developers + # 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 include Google::Apis::Core::Hashable @@ -6093,19 +6109,20 @@ module Google end end - # The route resource. A Route is a rule that specifies how certain packets - # should be handled by the virtual network. Routes are associated with instances - # by tags and the set of Routes for a particular instance is called its routing - # table. For each packet leaving a instance, the system searches that instance's - # routing table for a single best matching Route. Routes match packets by + # Represents a Routes resource. A route specifies how certain packets should be + # handled by the network. Routes are associated with instances by tags and the + # set of routes for a particular instance is called its routing table. + # For each packet leaving a instance, the system searches that instance's + # routing table for a single best matching route. Routes match packets by # destination IP address, preferring smaller or more specific ranges over larger - # ones. If there is a tie, the system selects the Route with the smallest + # ones. If there is a tie, the system selects the route with the smallest # priority value. If there is still a tie, it uses the layer three and four # packet headers to select just one of the remaining matching Routes. The packet - # is then forwarded as specified by the nextHop field of the winning Route -- + # is then forwarded as specified by the nextHop field of the winning route - # either to another instance destination, a instance gateway or a Google Compute - # Engien-operated gateway. Packets that do not match any Route in the sending - # instance's routing table are dropped. + # Engine-operated gateway. + # Packets that do not match any route in the sending instance's routing table + # are dropped. class Route include Google::Apis::Core::Hashable @@ -6356,7 +6373,7 @@ module Google # Defines the maintenance behavior for this instance. For standard instances, # the default behavior is MIGRATE. For preemptible instances, the default and # only possible behavior is TERMINATE. For more information, see Setting - # maintenance behavior. + # Instance Scheduling Options. # Corresponds to the JSON property `onHostMaintenance` # @return [String] attr_accessor :on_host_maintenance @@ -6468,7 +6485,9 @@ module Google # @return [String] attr_accessor :kind - # Public visible licenses. + # [Output Only] A list of public visible licenses that apply to this snapshot. + # This can be because the original image had licenses attached (such as a + # Windows image). # Corresponds to the JSON property `licenses` # @return [Array] attr_accessor :licenses @@ -6500,7 +6519,8 @@ module Google # @return [String] attr_accessor :source_disk_id - # [Output Only] The status of the snapshot. + # [Output Only] The status of the snapshot. This can be CREATING, DELETING, + # FAILED, READY, or UPLOADING. # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -6513,7 +6533,9 @@ module Google attr_accessor :storage_bytes # [Output Only] An indicator whether storageBytes is in a stable state or it is - # being adjusted as a result of shared storage reallocation. + # being adjusted as a result of shared storage reallocation. This status can + # either be UPDATING, meaning the size of the snapshot is being updated, or + # UP_TO_DATE, meaning the size of the snapshot is up-to-date. # Corresponds to the JSON property `storageBytesStatus` # @return [String] attr_accessor :storage_bytes_status @@ -7092,7 +7114,7 @@ module Google # @return [Array] attr_accessor :items - # Type of resource. Always compute#targetHttpProxyList for lists of Target HTTP + # Type of resource. Always compute#targetHttpProxyList for lists of target HTTP # proxies. # Corresponds to the JSON property `kind` # @return [String] @@ -7131,7 +7153,7 @@ module Google include Google::Apis::Core::Hashable # New set of URLs to SslCertificate resources to associate with this - # TargetHttpProxy. Currently exactly one ssl certificate must be specified. + # TargetHttpProxy. Currently exactly one SSL certificate must be specified. # Corresponds to the JSON property `sslCertificates` # @return [Array] attr_accessor :ssl_certificates @@ -7189,14 +7211,18 @@ module Google attr_accessor :self_link # URLs to SslCertificate resources that are used to authenticate connections - # between users and the load balancer. Currently exactly one SSL certificate + # between users and the load balancer. Currently, exactly one SSL certificate # must be specified. # Corresponds to the JSON property `sslCertificates` # @return [Array] attr_accessor :ssl_certificates - # URL to the UrlMap resource that defines the mapping from URL to the - # BackendService. + # A fully-qualified or valid partial URL to the UrlMap resource that defines the + # mapping from URL to the BackendService. For example, the following are all + # valid URLs for specifying a URL map: + # - https://www.googleapis.compute/v1/projects/project/global/urlMaps/url-map + # - projects/project/global/urlMaps/url-map + # - global/urlMaps/url-map # Corresponds to the JSON property `urlMap` # @return [String] attr_accessor :url_map @@ -7288,7 +7314,14 @@ module Google # @return [String] attr_accessor :id - # The URL to the instance that terminates the relevant traffic. + # A URL to the virtual machine instance that handles traffic for this target + # instance. When creating a target instance, you can provide the fully-qualified + # URL or a valid partial URL to the desired virtual machine. For example, the + # following are all valid URLs: + # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/ + # instance + # - projects/project/zones/zone/instances/instance + # - zones/zone/instances/instance # Corresponds to the JSON property `instance` # @return [String] attr_accessor :instance @@ -7530,7 +7563,7 @@ module Google end # A TargetPool resource. This resource defines a pool of instances, associated - # HttpHealthCheck resources, and the fallback TargetPool. + # HttpHealthCheck resources, and the fallback target pool. class TargetPool include Google::Apis::Core::Hashable @@ -7589,8 +7622,8 @@ module Google # @return [String] attr_accessor :id - # A list of resource URLs to the member virtual machines serving this pool. They - # must live in zones contained in the same region as this pool. + # A list of resource URLs to the virtual machine instances serving this pool. + # They must live in zones contained in the same region as this pool. # Corresponds to the JSON property `instances` # @return [Array] attr_accessor :instances @@ -7660,12 +7693,13 @@ module Google # @return [String] attr_accessor :id - # A map of scoped target pool lists. + # [Output Only] A map of scoped target pool lists. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items - # Type of resource. + # [Output Only] Type of resource. Always compute#targetPoolAggregatedList for + # aggregated lists of target pools. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -7707,7 +7741,8 @@ module Google # @return [Array] attr_accessor :health_status - # Type of resource. + # [Output Only] Type of resource. Always compute#targetPoolInstanceHealth when + # checking the health of an instance. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -7737,7 +7772,8 @@ module Google # @return [Array] attr_accessor :items - # Type of resource. + # [Output Only] Type of resource. Always compute#targetPoolList for lists of + # target pools. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -7774,7 +7810,7 @@ module Google class AddTargetPoolsHealthCheckRequest include Google::Apis::Core::Hashable - # Health check URLs to be added to targetPool. + # A list of HttpHealthCheck resources to add to the target pool. # Corresponds to the JSON property `healthChecks` # @return [Array] attr_accessor :health_checks @@ -7793,7 +7829,12 @@ module Google class AddTargetPoolsInstanceRequest include Google::Apis::Core::Hashable - # URLs of the instances to be added to targetPool. + # A full or partial URL to an instance to add to this target pool. This can be a + # full or partial URL. For example, the following are valid URLs: + # - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone/ + # instances/instance-name + # - projects/project-id/zones/zone/instances/instance-name + # - zones/zone/instances/instance-name # Corresponds to the JSON property `instances` # @return [Array] attr_accessor :instances @@ -7812,7 +7853,12 @@ module Google class RemoveTargetPoolsHealthCheckRequest include Google::Apis::Core::Hashable - # Health check URLs to be removed from targetPool. + # Health check URL to be removed. This can be a full or valid partial URL. For + # example, the following are valid URLs: + # - https://www.googleapis.com/compute/beta/projects/project/global/ + # httpHealthChecks/health-check + # - projects/project/global/httpHealthChecks/health-check + # - global/httpHealthChecks/health-check # Corresponds to the JSON property `healthChecks` # @return [Array] attr_accessor :health_checks @@ -7831,7 +7877,7 @@ module Google class RemoveTargetPoolsInstanceRequest include Google::Apis::Core::Hashable - # URLs of the instances to be removed from targetPool. + # URLs of the instances to be removed from target pool. # Corresponds to the JSON property `instances` # @return [Array] attr_accessor :instances @@ -7956,7 +8002,7 @@ module Google end end - # + # Represents a Target VPN gateway resource. class TargetVpnGateway include Google::Apis::Core::Hashable @@ -8022,7 +8068,7 @@ module Google attr_accessor :status # [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created - # using compute.vpntunnels.insert and associated to a VPN gateway. + # using compute.vpntunnels.insert method and associated to a VPN gateway. # Corresponds to the JSON property `tunnels` # @return [Array] attr_accessor :tunnels diff --git a/generated/google/apis/compute_v1/service.rb b/generated/google/apis/compute_v1/service.rb index 474fa3df1..9049e2dd1 100644 --- a/generated/google/apis/compute_v1/service.rb +++ b/generated/google/apis/compute_v1/service.rb @@ -66,7 +66,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -78,10 +79,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -244,7 +245,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of address resources contained within the specified region. + # Retrieves a list of addresses contained within the specified region. # @param [String] project # Project ID for this request. # @param [String] region @@ -260,7 +261,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -272,10 +274,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -329,7 +331,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -341,10 +344,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -523,7 +526,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -535,10 +539,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -840,7 +844,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -852,10 +857,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -981,7 +986,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of disk type resources. + # Retrieves an aggregated list of disk types. # @param [String] project # Project ID for this request. # @param [String] filter @@ -995,7 +1000,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -1007,10 +1013,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -1049,13 +1055,13 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified disk type resource. + # Returns the specified disk type. # @param [String] project # Project ID for this request. # @param [String] zone # The name of the zone for this request. # @param [String] disk_type - # Name of the disk type resource to return. + # Name of the disk type to return. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1090,7 +1096,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of disk type resources available to the specified project. + # Retrieves a list of disk types available to the specified project. # @param [String] project # Project ID for this request. # @param [String] zone @@ -1106,7 +1112,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -1118,10 +1125,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -1175,7 +1182,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -1187,10 +1195,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -1357,8 +1365,10 @@ module Google execute_or_queue_command(command, &block) end - # Creates a persistent disk in the specified project using the data included in - # the request. + # Creates a persistent disk in the specified project using the data in the + # request. You can create a disk with a sourceImage, a sourceSnapshot, or create + # an empty 200 GB data disk by omitting all properties. You can also create a + # disk that is larger than the default size by specifying the sizeGb property. # @param [String] project # Project ID for this request. # @param [String] zone @@ -1418,7 +1428,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -1430,10 +1441,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -1473,11 +1484,11 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified firewall resource. + # Deletes the specified firewall. # @param [String] project # Project ID for this request. # @param [String] firewall - # Name of the firewall resource to delete. + # Name of the firewall rule to delete. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1511,11 +1522,11 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified firewall resource. + # Returns the specified firewall. # @param [String] project # Project ID for this request. # @param [String] firewall - # Name of the firewall resource to return. + # Name of the firewall rule to return. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1549,8 +1560,8 @@ module Google execute_or_queue_command(command, &block) end - # Creates a firewall resource in the specified project using the data included - # in the request. + # Creates a firewall rule in the specified project using the data included in + # the request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::Firewall] firewall_object @@ -1588,7 +1599,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of firewall resources available to the specified project. + # Retrieves the list of firewall rules available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -1602,7 +1613,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -1614,10 +1626,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -1656,12 +1668,12 @@ module Google execute_or_queue_command(command, &block) end - # Updates the specified firewall resource with the data included in the request. + # Updates the specified firewall rule with the data included in the request. # This method supports patch semantics. # @param [String] project # Project ID for this request. # @param [String] firewall - # Name of the firewall resource to update. + # Name of the firewall rule to update. # @param [Google::Apis::ComputeV1::Firewall] firewall_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1698,11 +1710,11 @@ module Google execute_or_queue_command(command, &block) end - # Updates the specified firewall resource with the data included in the request. + # Updates the specified firewall rule with the data included in the request. # @param [String] project # Project ID for this request. # @param [String] firewall - # Name of the firewall resource to update. + # Name of the firewall rule to update. # @param [Google::Apis::ComputeV1::Firewall] firewall_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1753,7 +1765,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -1765,10 +1778,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -1948,7 +1961,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -1960,10 +1974,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -2163,7 +2177,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of global address resources. + # Retrieves a list of global addresses. # @param [String] project # Project ID for this request. # @param [String] filter @@ -2177,7 +2191,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -2189,10 +2204,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -2361,7 +2376,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -2373,10 +2389,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -2471,7 +2487,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -2483,10 +2500,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -2613,7 +2630,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -2625,10 +2643,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -2797,7 +2815,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -2809,10 +2828,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -3065,7 +3084,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -3077,10 +3097,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -3203,7 +3223,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified image resource. + # Deletes the specified image. # @param [String] project # Project ID for this request. # @param [String] image @@ -3283,7 +3303,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified image resource. + # Returns the specified image. # @param [String] project # Project ID for this request. # @param [String] image @@ -3321,8 +3341,8 @@ module Google execute_or_queue_command(command, &block) end - # Creates an image resource in the specified project using the data included in - # the request. + # Creates an image in the specified project using the data included in the + # request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::Image] image_object @@ -3380,7 +3400,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -3392,10 +3413,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -3499,7 +3520,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -3511,10 +3533,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -3750,7 +3772,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -3762,10 +3785,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -4045,7 +4068,8 @@ module Google execute_or_queue_command(command, &block) end - # Adds a list of instances to the specified instance group. Read Adding + # Adds a list of instances to the specified instance group. All of the instances + # in the instance group must be in the same network/subnetwork. Read Adding # instances for more information. # @param [String] project # Project ID for this request. @@ -4104,7 +4128,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -4116,10 +4141,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -4301,7 +4326,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -4313,10 +4339,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -4376,7 +4402,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -4388,10 +4415,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -4523,7 +4550,10 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified instance template. + # Deletes the specified instance template. If you delete an instance template + # that is being referenced from another instance group, the instance group will + # not be able to create or recreate virtual machine instances. Deleting an + # instance template is permanent and cannot be undone. # @param [String] project # Project ID for this request. # @param [String] instance_template @@ -4655,7 +4685,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -4667,10 +4698,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -4756,7 +4787,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves aggregated list of instance resources. + # Retrieves aggregated list of instances. # @param [String] project # Project ID for this request. # @param [String] filter @@ -4770,7 +4801,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -4782,10 +4814,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -4830,7 +4862,7 @@ module Google # @param [String] zone # The name of the zone for this request. # @param [String] instance - # Instance name. + # The instance name for this request. # @param [Google::Apis::ComputeV1::AttachedDisk] attached_disk_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5001,7 +5033,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified instance resource. + # Returns the specified Instance resource. # @param [String] project # Project ID for this request. # @param [String] zone @@ -5128,7 +5160,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of instance resources contained within the specified zone. + # Retrieves the list of instances contained within the specified zone. # @param [String] project # Project ID for this request. # @param [String] zone @@ -5144,7 +5176,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -5156,10 +5189,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -5556,7 +5589,7 @@ module Google # @param [String] project # Project ID for this request. # @param [String] license - # Name of the license resource to return. + # Name of the License resource to return. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5590,7 +5623,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of machine type resources. + # Retrieves an aggregated list of machine types. # @param [String] project # Project ID for this request. # @param [String] filter @@ -5604,7 +5637,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -5616,10 +5650,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -5658,13 +5692,13 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified machine type resource. + # Returns the specified machine type. # @param [String] project # Project ID for this request. # @param [String] zone # The name of the zone for this request. # @param [String] machine_type - # Name of the machine type resource to return. + # Name of the machine type to return. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5699,7 +5733,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of machine type resources available to the specified project. + # Retrieves a list of machine types available to the specified project. # @param [String] project # Project ID for this request. # @param [String] zone @@ -5715,7 +5749,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -5727,10 +5762,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -5770,11 +5805,11 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified network resource. + # Deletes the specified network. # @param [String] project # Project ID for this request. # @param [String] network - # Name of the network resource to delete. + # Name of the network to delete. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5808,11 +5843,11 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified network resource. + # Returns the specified network. # @param [String] project # Project ID for this request. # @param [String] network - # Name of the network resource to return. + # Name of the network to return. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5846,8 +5881,8 @@ module Google execute_or_queue_command(command, &block) end - # Creates a network resource in the specified project using the data included in - # the request. + # Creates a network in the specified project using the data included in the + # request. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::Network] network_object @@ -5885,7 +5920,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of network resources available to the specified project. + # Retrieves the list of networks available to the specified project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -5899,7 +5934,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -5911,10 +5947,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -6147,7 +6183,7 @@ module Google # @param [String] project # Project ID for this request. # @param [String] region - # Name of the region scoping this request. + # Name of the region for this request. # @param [String] operation # Name of the Operations resource to delete. # @param [String] fields @@ -6186,7 +6222,7 @@ module Google # @param [String] project # Project ID for this request. # @param [String] region - # Name of the region scoping this request. + # Name of the region for this request. # @param [String] operation # Name of the Operations resource to return. # @param [String] fields @@ -6227,7 +6263,7 @@ module Google # @param [String] project # Project ID for this request. # @param [String] region - # Name of the region scoping this request. + # Name of the region 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 @@ -6239,7 +6275,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -6251,10 +6288,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -6346,7 +6383,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -6358,10 +6396,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -6529,7 +6567,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -6541,10 +6580,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -6678,7 +6717,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -6690,10 +6730,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -6862,7 +6902,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -6874,10 +6915,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -6930,7 +6971,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -6942,10 +6984,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -7124,7 +7166,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -7136,10 +7179,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -7309,7 +7352,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -7321,10 +7365,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -7367,7 +7411,7 @@ module Google # @param [String] project # Project ID for this request. # @param [String] target_http_proxy - # Name of the TargetHttpProxy resource whose URL map is to be set. + # The name of the TargetHttpProxy resource to set a URL map for. # @param [Google::Apis::ComputeV1::UrlMapReference] url_map_reference_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -7534,7 +7578,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -7546,10 +7591,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -7592,7 +7637,7 @@ module Google # @param [String] project # Project ID for this request. # @param [String] target_https_proxy - # Name of the TargetHttpsProxy resource whose SSLCertificate is to be set. + # Name of the TargetHttpsProxy resource to set an SSL certificate for. # @param [Google::Apis::ComputeV1::TargetHttpsProxiesSetSslCertificatesRequest] target_https_proxies_set_ssl_certificates_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -7684,7 +7729,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -7696,10 +7742,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -7879,7 +7925,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -7891,10 +7938,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -7934,12 +7981,13 @@ module Google execute_or_queue_command(command, &block) end - # Adds health check URL to targetPool. + # Adds health check URLs to a target pool. # @param [String] project + # Project ID for this request. # @param [String] region # Name of the region scoping this request. # @param [String] target_pool - # Name of the TargetPool resource to which health_check_url is to be added. + # Name of the target pool to add a health check to. # @param [Google::Apis::ComputeV1::AddTargetPoolsHealthCheckRequest] add_target_pools_health_check_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -7977,12 +8025,13 @@ module Google execute_or_queue_command(command, &block) end - # Adds instance URL to targetPool. + # Adds an instance to a target pool. # @param [String] project + # Project ID for this request. # @param [String] region # Name of the region scoping this request. # @param [String] target_pool - # Name of the TargetPool resource to which instance_url is to be added. + # Name of the TargetPool resource to add instances to. # @param [Google::Apis::ComputeV1::AddTargetPoolsInstanceRequest] add_target_pools_instance_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8034,7 +8083,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -8046,10 +8096,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -8088,7 +8138,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetPool resource. + # Deletes the specified target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -8129,7 +8179,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified TargetPool resource. + # Returns the specified target pool. # @param [String] project # Project ID for this request. # @param [String] region @@ -8170,9 +8220,10 @@ module Google execute_or_queue_command(command, &block) end - # Gets the most recent health check results for each IP for the given instance - # that is referenced by the given TargetPool. + # Gets the most recent health check results for each IP for the instance that is + # referenced by the given target pool. # @param [String] project + # Project ID for this request. # @param [String] region # Name of the region scoping this request. # @param [String] target_pool @@ -8214,8 +8265,8 @@ module Google execute_or_queue_command(command, &block) end - # Creates a TargetPool resource in the specified project and region using the - # data included in the request. + # Creates a target pool in the specified project and region using the data + # included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -8256,8 +8307,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of TargetPool resources available to the specified project - # and region. + # Retrieves a list of target pools available to the specified project and region. # @param [String] project # Project ID for this request. # @param [String] region @@ -8273,7 +8323,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -8285,10 +8336,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -8328,12 +8379,13 @@ module Google execute_or_queue_command(command, &block) end - # Removes health check URL from targetPool. + # Removes health check URL from a target pool. # @param [String] project + # Project ID for this request. # @param [String] region - # Name of the region scoping this request. + # Name of the region for this request. # @param [String] target_pool - # Name of the TargetPool resource to which health_check_url is to be removed. + # Name of the target pool to remove health checks from. # @param [Google::Apis::ComputeV1::RemoveTargetPoolsHealthCheckRequest] remove_target_pools_health_check_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8371,12 +8423,13 @@ module Google execute_or_queue_command(command, &block) end - # Removes instance URL from targetPool. + # Removes instance URL from a target pool. # @param [String] project + # Project ID for this request. # @param [String] region # Name of the region scoping this request. # @param [String] target_pool - # Name of the TargetPool resource to which instance_url is to be removed. + # Name of the TargetPool resource to remove instances from. # @param [Google::Apis::ComputeV1::RemoveTargetPoolsInstanceRequest] remove_target_pools_instance_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8414,16 +8467,16 @@ module Google execute_or_queue_command(command, &block) end - # Changes backup pool configurations. + # Changes a backup target pool's configurations. # @param [String] project # Project ID for this request. # @param [String] region # Name of the region scoping this request. # @param [String] target_pool - # Name of the TargetPool resource for which the backup is to be set. + # Name of the TargetPool resource to set a backup pool for. # @param [Google::Apis::ComputeV1::TargetReference] target_reference_object # @param [Float] failover_ratio - # New failoverRatio value for the containing target pool. + # New failoverRatio value for the target pool. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -8461,7 +8514,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of target VPN gateways . + # Retrieves an aggregated list of target VPN gateways. # @param [String] project # Project ID for this request. # @param [String] filter @@ -8475,7 +8528,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -8487,10 +8541,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -8529,13 +8583,13 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified TargetVpnGateway resource. + # Deletes the specified target VPN gateway. # @param [String] project # Project ID for this request. # @param [String] region # The name of the region for this request. # @param [String] target_vpn_gateway - # Name of the TargetVpnGateway resource to delete. + # Name of the target VPN gateway to delete. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -8570,13 +8624,13 @@ module Google execute_or_queue_command(command, &block) end - # Returns the specified TargetVpnGateway resource. + # Returns the specified target VPN gateway. # @param [String] project # Project ID for this request. # @param [String] region # The name of the region for this request. # @param [String] target_vpn_gateway - # Name of the TargetVpnGateway resource to return. + # Name of the target VPN gateway to return. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -8611,8 +8665,8 @@ module Google execute_or_queue_command(command, &block) end - # Creates a TargetVpnGateway resource in the specified project and region using - # the data included in the request. + # Creates a target VPN gateway in the specified project and region using the + # data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -8653,8 +8707,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of TargetVpnGateway resources available to the specified - # project and region. + # Retrieves a list of target VPN gateways available to the specified project and + # region. # @param [String] project # Project ID for this request. # @param [String] region @@ -8670,7 +8724,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -8682,10 +8737,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -8854,7 +8909,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -8866,10 +8922,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -9047,7 +9103,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -9059,10 +9116,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -9242,7 +9299,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -9254,10 +9312,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -9301,7 +9359,7 @@ module Google # @param [String] project # Project ID for this request. # @param [String] zone - # Name of the zone scoping this request. + # Name of the zone for this request. # @param [String] operation # Name of the Operations resource to delete. # @param [String] fields @@ -9340,7 +9398,7 @@ module Google # @param [String] project # Project ID for this request. # @param [String] zone - # Name of the zone scoping this request. + # Name of the zone for this request. # @param [String] operation # Name of the Operations resource to return. # @param [String] fields @@ -9381,7 +9439,7 @@ module Google # @param [String] project # Project ID for this request. # @param [String] zone - # Name of the zone scoping this request. + # Name of the zone for 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 @@ -9393,7 +9451,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -9405,10 +9464,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. @@ -9500,7 +9559,8 @@ module Google # 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, filter=name ne example-instance. + # For example, to filter for instances whose name is not equal to example- + # instance, you would use filter=name ne example-instance. # Compute Engine Beta API Only: If you use filtering in the Beta API, you can # also filter on nested fields. For example, you could filter on instances that # have set the scheduling.automaticRestart field to true. In particular, use @@ -9512,10 +9572,10 @@ module Google # 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 Compute Engine should return. 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. + # 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] 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. diff --git a/generated/google/apis/content_v2.rb b/generated/google/apis/content_v2.rb index 52dfb1c81..cef6e6e32 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 = '20160115' + REVISION = '20160204' # 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 91a63b49a..b2f56a5d4 100644 --- a/generated/google/apis/content_v2/classes.rb +++ b/generated/google/apis/content_v2/classes.rb @@ -2576,6 +2576,12 @@ module Google # @return [String] attr_accessor :placed_date + # The details of the merchant provided promotions applied to the order. More + # details about the program are here. + # Corresponds to the JSON property `promotions` + # @return [Array] + attr_accessor :promotions + # Refunds for the order. # Corresponds to the JSON property `refunds` # @return [Array] @@ -2624,6 +2630,7 @@ module Google @payment_method = args[:payment_method] if args.key?(:payment_method) @payment_status = args[:payment_status] if args.key?(:payment_status) @placed_date = args[:placed_date] if args.key?(:placed_date) + @promotions = args[:promotions] if args.key?(:promotions) @refunds = args[:refunds] if args.key?(:refunds) @shipments = args[:shipments] if args.key?(:shipments) @shipping_cost = args[:shipping_cost] if args.key?(:shipping_cost) @@ -3183,6 +3190,114 @@ module Google end end + # + class OrderPromotion + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `benefits` + # @return [Array] + attr_accessor :benefits + + # The date and time frame when the promotion is active and ready for validation + # review. Note that the promotion live time may be delayed for a few hours due + # to the validation review. + # Start date and end date are separated by a forward slash (/). The start date + # is specified by the format (YYYY-MM-DD), followed by the letter ?T?, the time + # of the day when the sale starts (in Greenwich Mean Time, GMT), followed by an + # expression of the time zone for the sale. The end date is in the same format. + # Corresponds to the JSON property `effectiveDates` + # @return [String] + attr_accessor :effective_dates + + # Optional. The text code that corresponds to the promotion when applied on the + # retailer?s website. + # Corresponds to the JSON property `genericRedemptionCode` + # @return [String] + attr_accessor :generic_redemption_code + + # The unique ID of the promotion. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The full title of the promotion. + # Corresponds to the JSON property `longTitle` + # @return [String] + attr_accessor :long_title + + # Whether the promotion is applicable to all products or only specific products. + # Corresponds to the JSON property `productApplicability` + # @return [String] + attr_accessor :product_applicability + + # Indicates that the promotion is valid online. + # Corresponds to the JSON property `redemptionChannel` + # @return [String] + attr_accessor :redemption_channel + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @benefits = args[:benefits] if args.key?(:benefits) + @effective_dates = args[:effective_dates] if args.key?(:effective_dates) + @generic_redemption_code = args[:generic_redemption_code] if args.key?(:generic_redemption_code) + @id = args[:id] if args.key?(:id) + @long_title = args[:long_title] if args.key?(:long_title) + @product_applicability = args[:product_applicability] if args.key?(:product_applicability) + @redemption_channel = args[:redemption_channel] if args.key?(:redemption_channel) + end + end + + # + class OrderPromotionBenefit + include Google::Apis::Core::Hashable + + # The discount in the order price when the promotion is applied. + # Corresponds to the JSON property `discount` + # @return [Google::Apis::ContentV2::Price] + attr_accessor :discount + + # The OfferId(s) that were purchased in this order and map to this specific + # benefit of the promotion. + # Corresponds to the JSON property `offerIds` + # @return [Array] + attr_accessor :offer_ids + + # Further describes the benefit of the promotion. Note that we will expand on + # this enumeration as we support new promotion sub-types. + # Corresponds to the JSON property `subType` + # @return [String] + attr_accessor :sub_type + + # The impact on tax when the promotion is applied. + # Corresponds to the JSON property `taxImpact` + # @return [Google::Apis::ContentV2::Price] + attr_accessor :tax_impact + + # Describes whether the promotion applies to products (e.g. 20% off) or to + # shipping (e.g. Free Shipping). + # 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) + @discount = args[:discount] if args.key?(:discount) + @offer_ids = args[:offer_ids] if args.key?(:offer_ids) + @sub_type = args[:sub_type] if args.key?(:sub_type) + @tax_impact = args[:tax_impact] if args.key?(:tax_impact) + @type = args[:type] if args.key?(:type) + end + end + # class OrderRefund include Google::Apis::Core::Hashable @@ -4697,6 +4812,11 @@ module Google # @return [String] attr_accessor :product_type + # The unique ID of a promotion. + # Corresponds to the JSON property `promotionIds` + # @return [Array] + attr_accessor :promotion_ids + # Advertised sale price of the item. # Corresponds to the JSON property `salePrice` # @return [Google::Apis::ContentV2::Price] @@ -4850,6 +4970,7 @@ module Google @pattern = args[:pattern] if args.key?(:pattern) @price = args[:price] if args.key?(:price) @product_type = args[:product_type] if args.key?(:product_type) + @promotion_ids = args[:promotion_ids] if args.key?(:promotion_ids) @sale_price = args[:sale_price] if args.key?(:sale_price) @sale_price_effective_date = args[:sale_price_effective_date] if args.key?(:sale_price_effective_date) @sell_on_google_quantity = args[:sell_on_google_quantity] if args.key?(:sell_on_google_quantity) @@ -5711,6 +5832,12 @@ module Google # @return [String] attr_accessor :predefined_delivery_address + # The details of the merchant provided promotions applied to the order. More + # details about the program are here. + # Corresponds to the JSON property `promotions` + # @return [Array] + attr_accessor :promotions + # The total cost of shipping for all items. # Corresponds to the JSON property `shippingCost` # @return [Google::Apis::ContentV2::Price] @@ -5737,6 +5864,7 @@ module Google @line_items = args[:line_items] if args.key?(:line_items) @payment_method = args[:payment_method] if args.key?(:payment_method) @predefined_delivery_address = args[:predefined_delivery_address] if args.key?(:predefined_delivery_address) + @promotions = args[:promotions] if args.key?(:promotions) @shipping_cost = args[:shipping_cost] if args.key?(:shipping_cost) @shipping_cost_tax = args[:shipping_cost_tax] if args.key?(:shipping_cost_tax) @shipping_option = args[:shipping_option] if args.key?(:shipping_option) diff --git a/generated/google/apis/content_v2/representations.rb b/generated/google/apis/content_v2/representations.rb index b116e6bf2..ed5611f81 100644 --- a/generated/google/apis/content_v2/representations.rb +++ b/generated/google/apis/content_v2/representations.rb @@ -338,6 +338,14 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation; end end + class OrderPromotion + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class OrderPromotionBenefit + class Representation < Google::Apis::Core::JsonRepresentation; end + end + class OrderRefund class Representation < Google::Apis::Core::JsonRepresentation; end end @@ -1352,6 +1360,8 @@ module Google property :payment_status, as: 'paymentStatus' property :placed_date, as: 'placedDate' + collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::OrderPromotion, decorator: Google::Apis::ContentV2::OrderPromotion::Representation + collection :refunds, as: 'refunds', class: Google::Apis::ContentV2::OrderRefund, decorator: Google::Apis::ContentV2::OrderRefund::Representation collection :shipments, as: 'shipments', class: Google::Apis::ContentV2::OrderShipment, decorator: Google::Apis::ContentV2::OrderShipment::Representation @@ -1508,6 +1518,33 @@ module Google end end + class OrderPromotion + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :benefits, as: 'benefits', class: Google::Apis::ContentV2::OrderPromotionBenefit, decorator: Google::Apis::ContentV2::OrderPromotionBenefit::Representation + + property :effective_dates, as: 'effectiveDates' + property :generic_redemption_code, as: 'genericRedemptionCode' + property :id, as: 'id' + property :long_title, as: 'longTitle' + property :product_applicability, as: 'productApplicability' + property :redemption_channel, as: 'redemptionChannel' + end + end + + class OrderPromotionBenefit + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :discount, as: 'discount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation + + collection :offer_ids, as: 'offerIds' + property :sub_type, as: 'subType' + property :tax_impact, as: 'taxImpact', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation + + property :type, as: 'type' + end + end + class OrderRefund # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1935,6 +1972,7 @@ module Google property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation property :product_type, as: 'productType' + collection :promotion_ids, as: 'promotionIds' property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation property :sale_price_effective_date, as: 'salePriceEffectiveDate' @@ -2212,6 +2250,8 @@ module Google property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2::TestOrderPaymentMethod, decorator: Google::Apis::ContentV2::TestOrderPaymentMethod::Representation property :predefined_delivery_address, as: 'predefinedDeliveryAddress' + collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::OrderPromotion, decorator: Google::Apis::ContentV2::OrderPromotion::Representation + property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation property :shipping_cost_tax, as: 'shippingCostTax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation diff --git a/generated/google/apis/deploymentmanager_v2.rb b/generated/google/apis/deploymentmanager_v2.rb index 0f12dd84f..1fca41990 100644 --- a/generated/google/apis/deploymentmanager_v2.rb +++ b/generated/google/apis/deploymentmanager_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/deployment-manager/ module DeploymentmanagerV2 VERSION = 'V2' - REVISION = '20160125' + REVISION = '20160201' # 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 faf521824..ba409b7eb 100644 --- a/generated/google/apis/deploymentmanager_v2/classes.rb +++ b/generated/google/apis/deploymentmanager_v2/classes.rb @@ -73,6 +73,15 @@ module Google # @return [String] attr_accessor :insert_time + # Map of labels; provided by the client when the resource is created or updated. + # Specifically: Label keys must be between 1 and 63 characters long and must + # conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label + # values must be between 0 and 63 characters long and must conform to the + # regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)? + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + # [Output Only] URL of the manifest representing the last manifest that was # successfully deployed. # Corresponds to the JSON property `manifest` @@ -114,6 +123,7 @@ module Google @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @id = args[:id] if args.key?(:id) @insert_time = args[:insert_time] if args.key?(:insert_time) + @labels = args[:labels] if args.key?(:labels) @manifest = args[:manifest] if args.key?(:manifest) @name = args[:name] if args.key?(:name) @operation = args[:operation] if args.key?(:operation) @@ -122,10 +132,44 @@ module Google end end + # + class DeploymentLabelEntry + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + # class DeploymentUpdate include Google::Apis::Core::Hashable + # [Output Only] Map of labels; provided by the client when the resource is + # created or updated. Specifically: Label keys must be between 1 and 63 + # characters long and must conform to the following regular expression: [a-z]([- + # a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and + # must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)? + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + # [Output Only] URL of the manifest representing the update configuration of # this deployment. # Corresponds to the JSON property `manifest` @@ -138,10 +182,36 @@ module Google # Update properties of this object def update!(**args) + @labels = args[:labels] if args.key?(:labels) @manifest = args[:manifest] if args.key?(:manifest) end end + # + class DeploymentUpdateLabelEntry + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + # class DeploymentsCancelPreviewRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/deploymentmanager_v2/representations.rb b/generated/google/apis/deploymentmanager_v2/representations.rb index 68f1dd38e..72911d584 100644 --- a/generated/google/apis/deploymentmanager_v2/representations.rb +++ b/generated/google/apis/deploymentmanager_v2/representations.rb @@ -30,10 +30,18 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation; end end + class DeploymentLabelEntry + class Representation < Google::Apis::Core::JsonRepresentation; end + end + class DeploymentUpdate class Representation < Google::Apis::Core::JsonRepresentation; end end + class DeploymentUpdateLabelEntry + class Representation < Google::Apis::Core::JsonRepresentation; end + end + class DeploymentsCancelPreviewRequest class Representation < Google::Apis::Core::JsonRepresentation; end end @@ -144,6 +152,8 @@ module Google property :fingerprint, :base64 => true, as: 'fingerprint' property :id, as: 'id' property :insert_time, as: 'insertTime' + collection :labels, as: 'labels', class: Google::Apis::DeploymentmanagerV2::DeploymentLabelEntry, decorator: Google::Apis::DeploymentmanagerV2::DeploymentLabelEntry::Representation + property :manifest, as: 'manifest' property :name, as: 'name' property :operation, as: 'operation', class: Google::Apis::DeploymentmanagerV2::Operation, decorator: Google::Apis::DeploymentmanagerV2::Operation::Representation @@ -155,13 +165,31 @@ module Google end end + class DeploymentLabelEntry + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + class DeploymentUpdate # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :labels, as: 'labels', class: Google::Apis::DeploymentmanagerV2::DeploymentUpdateLabelEntry, decorator: Google::Apis::DeploymentmanagerV2::DeploymentUpdateLabelEntry::Representation + property :manifest, as: 'manifest' end end + class DeploymentUpdateLabelEntry + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + class DeploymentsCancelPreviewRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/dfareporting_v2_3.rb b/generated/google/apis/dfareporting_v2_3.rb index d6b2d37d3..2f2c560fa 100644 --- a/generated/google/apis/dfareporting_v2_3.rb +++ b/generated/google/apis/dfareporting_v2_3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/doubleclick-advertisers/reporting/ module DfareportingV2_3 VERSION = 'V2_3' - REVISION = '20151109' + REVISION = '20160128' # View and manage DoubleClick for Advertisers reports AUTH_DFAREPORTING = 'https://www.googleapis.com/auth/dfareporting' diff --git a/generated/google/apis/dfareporting_v2_3/classes.rb b/generated/google/apis/dfareporting_v2_3/classes.rb index a29d69ea6..d18bfb08e 100644 --- a/generated/google/apis/dfareporting_v2_3/classes.rb +++ b/generated/google/apis/dfareporting_v2_3/classes.rb @@ -112,6 +112,14 @@ module Google # - "37" for PLN # - "39" for INR # - "40" for THB + # - "41" for IDR + # - "42" for CZK + # - "43" for RON + # - "44" for HUF + # - "45" for RUB + # - "46" for AED + # - "47" for BGN + # - "48" for HRK # Corresponds to the JSON property `currencyId` # @return [String] attr_accessor :currency_id @@ -4384,6 +4392,14 @@ module Google # - "37" for PLN # - "39" for INR # - "40" for THB + # - "41" for IDR + # - "42" for CZK + # - "43" for RON + # - "44" for HUF + # - "45" for RUB + # - "46" for AED + # - "47" for BGN + # - "48" for HRK # Corresponds to the JSON property `currencyId` # @return [String] attr_accessor :currency_id diff --git a/generated/google/apis/doubleclicksearch_v2.rb b/generated/google/apis/doubleclicksearch_v2.rb index 19348d0b5..329b37ce7 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 = '20160120' + REVISION = '20160128' # 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 2823f479e..719aa327f 100644 --- a/generated/google/apis/drive_v2.rb +++ b/generated/google/apis/drive_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/drive/ module DriveV2 VERSION = 'V2' - REVISION = '20160126' + REVISION = '20160128' # 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/service.rb b/generated/google/apis/drive_v2/service.rb index 52021cb29..d3c42e7ae 100644 --- a/generated/google/apis/drive_v2/service.rb +++ b/generated/google/apis/drive_v2/service.rb @@ -896,6 +896,50 @@ module Google execute_or_queue_command(command, &block) end + # Exports a Google Doc to the requested MIME type and returns the exported + # content. + # @param [String] file_id + # The ID of the file. + # @param [String] mime_type + # The MIME type of the format requested for this export. + # @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 [IO, String] download_dest + # IO stream or filename to receive content download + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @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 export_file(file_id, mime_type, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block) + if download_dest.nil? + command = make_simple_command(:get, 'files/{fileId}/export', options) + else + command = make_download_command(:get, 'files/{fileId}/export', options) + command.download_dest = download_dest + end + command.params['fileId'] = file_id unless file_id.nil? + command.query['mimeType'] = mime_type unless mime_type.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 + # Generates a set of file IDs which can be provided in insert requests. # @param [Fixnum] max_results # Maximum number of IDs to return. diff --git a/generated/google/apis/drive_v3.rb b/generated/google/apis/drive_v3.rb index 1c500b09a..a3014acc7 100644 --- a/generated/google/apis/drive_v3.rb +++ b/generated/google/apis/drive_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/drive/ module DriveV3 VERSION = 'V3' - REVISION = '20160126' + REVISION = '20160128' # 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/service.rb b/generated/google/apis/drive_v3/service.rb index d15b0284d..5cca99fbe 100644 --- a/generated/google/apis/drive_v3/service.rb +++ b/generated/google/apis/drive_v3/service.rb @@ -642,7 +642,8 @@ module Google execute_or_queue_command(command, &block) end - # Exports a Google Doc to the requested MIME type. + # Exports a Google Doc to the requested MIME type and returns the exported + # content. # @param [String] file_id # The ID of the file. # @param [String] mime_type diff --git a/generated/google/apis/games_configuration_v1configuration.rb b/generated/google/apis/games_configuration_v1configuration.rb index 2d398ee71..f63982d43 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 = '20160120' + REVISION = '20160203' # 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 73ba474e1..56ef4b4a5 100644 --- a/generated/google/apis/games_management_v1management.rb +++ b/generated/google/apis/games_management_v1management.rb @@ -25,12 +25,12 @@ module Google # @see https://developers.google.com/games/services module GamesManagementV1management VERSION = 'V1management' - REVISION = '20160120' + REVISION = '20160203' # Share your Google+ profile information and view and manage your game activity AUTH_GAMES = 'https://www.googleapis.com/auth/games' - # Know your basic profile info and list of people in your circles. + # Know the list of people in your circles, your age range, and language AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' end end diff --git a/generated/google/apis/games_management_v1management/classes.rb b/generated/google/apis/games_management_v1management/classes.rb index 8224243b5..b1198f0c1 100644 --- a/generated/google/apis/games_management_v1management/classes.rb +++ b/generated/google/apis/games_management_v1management/classes.rb @@ -351,6 +351,14 @@ module Google # @return [Google::Apis::GamesManagementV1management::Player::Name] attr_accessor :name + # The player ID that was used for this player the first time they signed into + # the game in question. This is only populated for calls to player.get for the + # requesting player, only if the player ID has subsequently changed, and only to + # clients that support remapping player IDs. + # Corresponds to the JSON property `originalPlayerId` + # @return [String] + attr_accessor :original_player_id + # The ID of the player. # Corresponds to the JSON property `playerId` # @return [String] @@ -375,6 +383,7 @@ module Google @kind = args[:kind] if args.key?(:kind) @last_played_with = args[:last_played_with] if args.key?(:last_played_with) @name = args[:name] if args.key?(:name) + @original_player_id = args[:original_player_id] if args.key?(:original_player_id) @player_id = args[:player_id] if args.key?(:player_id) @title = args[:title] if args.key?(:title) end diff --git a/generated/google/apis/games_management_v1management/representations.rb b/generated/google/apis/games_management_v1management/representations.rb index b3adc7560..0a9d38337 100644 --- a/generated/google/apis/games_management_v1management/representations.rb +++ b/generated/google/apis/games_management_v1management/representations.rb @@ -180,6 +180,7 @@ module Google property :name, as: 'name', class: Google::Apis::GamesManagementV1management::Player::Name, decorator: Google::Apis::GamesManagementV1management::Player::Name::Representation + property :original_player_id, as: 'originalPlayerId' property :player_id, as: 'playerId' property :title, as: 'title' end diff --git a/generated/google/apis/games_v1.rb b/generated/google/apis/games_v1.rb index 9e36dea2f..e3f1904a1 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 = '20160120' + REVISION = '20160203' # View and manage its own configuration data in your Google Drive AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata' @@ -33,7 +33,7 @@ module Google # Share your Google+ profile information and view and manage your game activity AUTH_GAMES = 'https://www.googleapis.com/auth/games' - # Know your basic profile info and list of people in your circles. + # Know the list of people in your circles, your age range, and language AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' end end diff --git a/generated/google/apis/games_v1/classes.rb b/generated/google/apis/games_v1/classes.rb index 9cc518a12..a60cd33ca 100644 --- a/generated/google/apis/games_v1/classes.rb +++ b/generated/google/apis/games_v1/classes.rb @@ -2018,6 +2018,14 @@ module Google # @return [Google::Apis::GamesV1::Player::Name] attr_accessor :name + # The player ID that was used for this player the first time they signed into + # the game in question. This is only populated for calls to player.get for the + # requesting player, only if the player ID has subsequently changed, and only to + # clients that support remapping player IDs. + # Corresponds to the JSON property `originalPlayerId` + # @return [String] + attr_accessor :original_player_id + # The ID of the player. # Corresponds to the JSON property `playerId` # @return [String] @@ -2042,6 +2050,7 @@ module Google @kind = args[:kind] if args.key?(:kind) @last_played_with = args[:last_played_with] if args.key?(:last_played_with) @name = args[:name] if args.key?(:name) + @original_player_id = args[:original_player_id] if args.key?(:original_player_id) @player_id = args[:player_id] if args.key?(:player_id) @title = args[:title] if args.key?(:title) end diff --git a/generated/google/apis/games_v1/representations.rb b/generated/google/apis/games_v1/representations.rb index ef7739895..d97a50b70 100644 --- a/generated/google/apis/games_v1/representations.rb +++ b/generated/google/apis/games_v1/representations.rb @@ -934,6 +934,7 @@ module Google property :name, as: 'name', class: Google::Apis::GamesV1::Player::Name, decorator: Google::Apis::GamesV1::Player::Name::Representation + property :original_player_id, as: 'originalPlayerId' property :player_id, as: 'playerId' property :title, as: 'title' end diff --git a/generated/google/apis/genomics_v1.rb b/generated/google/apis/genomics_v1.rb index b4ac959ef..218df9511 100644 --- a/generated/google/apis/genomics_v1.rb +++ b/generated/google/apis/genomics_v1.rb @@ -28,7 +28,7 @@ module Google # @see module GenomicsV1 VERSION = 'V1' - REVISION = '20160124' + REVISION = '20160209' # 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 eda48a88f..617883013 100644 --- a/generated/google/apis/genomics_v1/classes.rb +++ b/generated/google/apis/genomics_v1/classes.rb @@ -171,6 +171,11 @@ module Google # @return [Array] attr_accessor :bindings + # + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + # `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 @@ -191,6 +196,7 @@ module Google def update!(**args) @version = args[:version] if args.key?(:version) @bindings = args[:bindings] if args.key?(:bindings) + @rules = args[:rules] if args.key?(:rules) @etag = args[:etag] if args.key?(:etag) end end @@ -232,6 +238,209 @@ module Google end end + # A rule to be applied in a Policy. + class Rule + include Google::Apis::Core::Hashable + + # Human-readable description of the rule. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # 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 + + # Required + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in this set of entries. + # Corresponds to the JSON property `in` + # @return [Array] + attr_accessor :in + + # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is not in this set of + # entries. The format for in and not_in entries is the same as for members in a + # Binding (see google/iam/v1/policy.proto). + # Corresponds to the JSON property `notIn` + # @return [Array] + attr_accessor :not_in + + # Additional restrictions that must be met + # Corresponds to the JSON property `conditions` + # @return [Array] + attr_accessor :conditions + + # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries + # that match the LOG action. + # Corresponds to the JSON property `logConfig` + # @return [Array] + attr_accessor :log_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @permissions = args[:permissions] if args.key?(:permissions) + @action = args[:action] if args.key?(:action) + @in = args[:in] if args.key?(:in) + @not_in = args[:not_in] if args.key?(:not_in) + @conditions = args[:conditions] if args.key?(:conditions) + @log_config = args[:log_config] if args.key?(:log_config) + 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 + + # 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 + + # Trusted attributes discharged by the service. + # Corresponds to the JSON property `svc` + # @return [String] + attr_accessor :svc + + # An operator to apply the subject with. + # Corresponds to the JSON property `op` + # @return [String] + attr_accessor :op + + # The object of the condition. Exactly one of these must be set. + # 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) + @sys = args[:sys] if args.key?(:sys) + @svc = args[:svc] if args.key?(:svc) + @op = args[:op] if args.key?(:op) + @value = args[:value] if args.key?(:value) + @values = args[:values] if args.key?(:values) + end + end + + # Specifies what kind of log the caller must write Increment a streamz counter + # with the specified metric and field names. Metric names should start with a '/' + # , generally be lowercase-only, and end in "_count". Field names should not + # contain an initial slash. The actual exported metric names will have "/iam/ + # policy" prepended. Field names correspond to IAM request parameters and field + # values are their respective values. At present only "iam_principal", + # corresponding to IAMContext.principal, is supported. Examples: counter ` + # metric: "/debug_access_count" field: "iam_principal" ` ==> increment counter / + # iam/policy/backend_debug_access_count `iam_principal=[value of IAMContext. + # principal]` At this time we do not support: * multiple field names (though + # this may be supported in the future) * decrementing the counter * incrementing + # it by anything other than 1 + class LogConfig + include Google::Apis::Core::Hashable + + # Options for counters + # Corresponds to the JSON property `counter` + # @return [Google::Apis::GenomicsV1::CounterOptions] + attr_accessor :counter + + # Write a Data Access (Gin) log + # Corresponds to the JSON property `dataAccess` + # @return [Google::Apis::GenomicsV1::DataAccessOptions] + attr_accessor :data_access + + # Write a Cloud Audit log + # Corresponds to the JSON property `cloudAudit` + # @return [Google::Apis::GenomicsV1::CloudAuditOptions] + attr_accessor :cloud_audit + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @counter = args[:counter] if args.key?(:counter) + @data_access = args[:data_access] if args.key?(:data_access) + @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit) + end + end + + # Options for counters + class CounterOptions + include Google::Apis::Core::Hashable + + # The metric to update. + # Corresponds to the JSON property `metric` + # @return [String] + attr_accessor :metric + + # The field value to attribute. + # Corresponds to the JSON property `field` + # @return [String] + attr_accessor :field + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric = args[:metric] if args.key?(:metric) + @field = args[:field] if args.key?(:field) + end + end + + # Write a Data Access (Gin) log + class DataAccessOptions + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Write a Cloud Audit log + class CloudAuditOptions + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # Request message for `GetIamPolicy` method. class GetIamPolicyRequest include Google::Apis::Core::Hashable @@ -1838,7 +2047,7 @@ module Google class ReferenceBound include Google::Apis::Core::Hashable - # The name of the reference associated with this ReferenceBound. + # The name of the reference associated with this reference bound. # Corresponds to the JSON property `referenceName` # @return [String] attr_accessor :reference_name @@ -2086,9 +2295,9 @@ module Google attr_accessor :page_size # The maximum number of calls to return in a single page. Note that this limit - # may be exceeded; at least one variant is always returned per page, even if it - # has more calls than this limit. If unspecified, defaults to 5000. The maximum - # value is 10000. + # may be exceeded in the event that a matching variant contains more calls than + # the requested maximum. If unspecified, defaults to 5000. The maximum value is + # 10000. # Corresponds to the JSON property `maxCalls` # @return [Fixnum] attr_accessor :max_calls diff --git a/generated/google/apis/genomics_v1/representations.rb b/generated/google/apis/genomics_v1/representations.rb index 7338d1185..af3414df9 100644 --- a/generated/google/apis/genomics_v1/representations.rb +++ b/generated/google/apis/genomics_v1/representations.rb @@ -50,6 +50,30 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation; end end + class Rule + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Condition + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class LogConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class CounterOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class DataAccessOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class CloudAuditOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + end + class GetIamPolicyRequest class Representation < Google::Apis::Core::JsonRepresentation; end end @@ -307,6 +331,8 @@ module Google property :version, as: 'version' collection :bindings, as: 'bindings', class: Google::Apis::GenomicsV1::Binding, decorator: Google::Apis::GenomicsV1::Binding::Representation + collection :rules, as: 'rules', class: Google::Apis::GenomicsV1::Rule, decorator: Google::Apis::GenomicsV1::Rule::Representation + property :etag, :base64 => true, as: 'etag' end end @@ -319,6 +345,65 @@ module Google end end + class Rule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + collection :permissions, as: 'permissions' + property :action, as: 'action' + collection :in, as: 'in' + collection :not_in, as: 'notIn' + collection :conditions, as: 'conditions', class: Google::Apis::GenomicsV1::Condition, decorator: Google::Apis::GenomicsV1::Condition::Representation + + collection :log_config, as: 'logConfig', class: Google::Apis::GenomicsV1::LogConfig, decorator: Google::Apis::GenomicsV1::LogConfig::Representation + + end + end + + class Condition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :iam, as: 'iam' + property :sys, as: 'sys' + property :svc, as: 'svc' + property :op, as: 'op' + property :value, as: 'value' + collection :values, as: 'values' + end + end + + class LogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :counter, as: 'counter', class: Google::Apis::GenomicsV1::CounterOptions, decorator: Google::Apis::GenomicsV1::CounterOptions::Representation + + property :data_access, as: 'dataAccess', class: Google::Apis::GenomicsV1::DataAccessOptions, decorator: Google::Apis::GenomicsV1::DataAccessOptions::Representation + + property :cloud_audit, as: 'cloudAudit', class: Google::Apis::GenomicsV1::CloudAuditOptions, decorator: Google::Apis::GenomicsV1::CloudAuditOptions::Representation + + end + end + + class CounterOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metric, as: 'metric' + property :field, as: 'field' + end + end + + class DataAccessOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class CloudAuditOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class GetIamPolicyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/identitytoolkit_v3.rb b/generated/google/apis/identitytoolkit_v3.rb index 442388904..b279b001f 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 = '20160125' + REVISION = '20160204' end end end diff --git a/generated/google/apis/identitytoolkit_v3/classes.rb b/generated/google/apis/identitytoolkit_v3/classes.rb index 2c1f97802..19f589453 100644 --- a/generated/google/apis/identitytoolkit_v3/classes.rb +++ b/generated/google/apis/identitytoolkit_v3/classes.rb @@ -534,6 +534,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 + # The associated IDPs of the user. # Corresponds to the JSON property `provider` # @return [Array] @@ -568,6 +573,7 @@ module Google @local_id = args[:local_id] if args.key?(:local_id) @oob_code = args[:oob_code] if args.key?(:oob_code) @password = args[:password] if args.key?(:password) + @photo_url = args[:photo_url] if args.key?(:photo_url) @provider = args[:provider] if args.key?(:provider) @upgrade_to_federated_login = args[:upgrade_to_federated_login] if args.key?(:upgrade_to_federated_login) @valid_since = args[:valid_since] if args.key?(:valid_since) @@ -967,6 +973,11 @@ module Google # @return [String] attr_accessor :new_email + # The photo url of the user. + # Corresponds to the JSON property `photoUrl` + # @return [String] + attr_accessor :photo_url + # The user's profiles at the associated IdPs. # Corresponds to the JSON property `providerUserInfo` # @return [Array] @@ -983,6 +994,7 @@ module Google @id_token = args[:id_token] if args.key?(:id_token) @kind = args[:kind] if args.key?(:kind) @new_email = args[:new_email] if args.key?(:new_email) + @photo_url = args[:photo_url] if args.key?(:photo_url) @provider_user_info = args[:provider_user_info] if args.key?(:provider_user_info) end @@ -1164,6 +1176,11 @@ module Google # @return [String] attr_accessor :display_name + # User's email at IDP. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + # User's identifier at IDP. # Corresponds to the JSON property `federatedId` # @return [String] @@ -1187,6 +1204,7 @@ module Google # Update properties of this object def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) + @email = args[:email] if args.key?(:email) @federated_id = args[:federated_id] if args.key?(:federated_id) @photo_url = args[:photo_url] if args.key?(:photo_url) @provider_id = args[:provider_id] if args.key?(:provider_id) diff --git a/generated/google/apis/identitytoolkit_v3/representations.rb b/generated/google/apis/identitytoolkit_v3/representations.rb index ecd2f845a..682d3afb6 100644 --- a/generated/google/apis/identitytoolkit_v3/representations.rb +++ b/generated/google/apis/identitytoolkit_v3/representations.rb @@ -282,6 +282,7 @@ module Google property :local_id, as: 'localId' property :oob_code, as: 'oobCode' property :password, as: 'password' + property :photo_url, as: 'photoUrl' collection :provider, as: 'provider' property :upgrade_to_federated_login, as: 'upgradeToFederatedLogin' property :valid_since, as: 'validSince' @@ -391,6 +392,7 @@ module Google property :id_token, as: 'idToken' property :kind, as: 'kind' property :new_email, as: 'newEmail' + property :photo_url, as: 'photoUrl' collection :provider_user_info, as: 'providerUserInfo', class: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo, decorator: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo::Representation end @@ -444,6 +446,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :display_name, as: 'displayName' + property :email, as: 'email' property :federated_id, as: 'federatedId' property :photo_url, as: 'photoUrl' property :provider_id, as: 'providerId' diff --git a/generated/google/apis/mapsengine_v1.rb b/generated/google/apis/mapsengine_v1.rb deleted file mode 100644 index 17ae6e429..000000000 --- a/generated/google/apis/mapsengine_v1.rb +++ /dev/null @@ -1,38 +0,0 @@ -# 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/mapsengine_v1/service.rb' -require 'google/apis/mapsengine_v1/classes.rb' -require 'google/apis/mapsengine_v1/representations.rb' - -module Google - module Apis - # Google Maps Engine API - # - # The Google Maps Engine API allows developers to store and query geospatial - # vector and raster data. - # - # @see https://developers.google.com/maps-engine/ - module MapsengineV1 - VERSION = 'V1' - REVISION = '20151202' - - # View and manage your Google My Maps data - AUTH_MAPSENGINE = 'https://www.googleapis.com/auth/mapsengine' - - # View your Google My Maps data - AUTH_MAPSENGINE_READONLY = 'https://www.googleapis.com/auth/mapsengine.readonly' - end - end -end diff --git a/generated/google/apis/mapsengine_v1/classes.rb b/generated/google/apis/mapsengine_v1/classes.rb deleted file mode 100644 index ff56313bb..000000000 --- a/generated/google/apis/mapsengine_v1/classes.rb +++ /dev/null @@ -1,2873 +0,0 @@ -# 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 MapsengineV1 - - # - class GeoJsonGeometry - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # - class MapItem - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Acquisition time represents acquired time of a raster. - class AcquisitionTime - include Google::Apis::Core::Hashable - - # The end time if acquisition time is a range. The value is an RFC 3339 - # formatted date-time value (1970-01-01T00:00:00Z). - # Corresponds to the JSON property `end` - # @return [DateTime] - attr_accessor :end - - # The precision of acquisition time. - # Corresponds to the JSON property `precision` - # @return [String] - attr_accessor :precision - - # The acquisition time, or start time if acquisition time is a range. The value - # is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z). - # Corresponds to the JSON property `start` - # @return [DateTime] - attr_accessor :start - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @end = args[:end] if args.key?(:end) - @precision = args[:precision] if args.key?(:precision) - @start = args[:start] if args.key?(:start) - end - end - - # An asset is any Google Maps Engine resource that has a globally unique ID. - # Assets include maps, layers, vector tables, raster collections, and rasters. - # Projects and features are not considered assets. - # More detailed information about an asset can be obtained by querying the asset' - # s particular endpoint. - class Asset - include Google::Apis::Core::Hashable - - # A rectangular bounding box which contains all of the data in this asset. The - # box is expressed as \"west, south, east, north\". The numbers represent - # latitude and longitude in decimal degrees. - # Corresponds to the JSON property `bbox` - # @return [Array] - attr_accessor :bbox - - # The creation time of this asset. The value is an RFC 3339-formatted date-time - # value (for example, 1970-01-01T00:00:00Z). - # Corresponds to the JSON property `creationTime` - # @return [DateTime] - attr_accessor :creation_time - - # The email address of the creator of this asset. This is only returned on GET - # requests and not LIST requests. - # Corresponds to the JSON property `creatorEmail` - # @return [String] - attr_accessor :creator_email - - # The asset's description. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # The ETag, used to refer to the current version of the asset. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # The asset's globally unique ID. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The last modified time of this asset. The value is an RFC 3339-formatted date- - # time value (for example, 1970-01-01T00:00:00Z). - # Corresponds to the JSON property `lastModifiedTime` - # @return [DateTime] - attr_accessor :last_modified_time - - # The email address of the last modifier of this asset. This is only returned on - # GET requests and not LIST requests. - # Corresponds to the JSON property `lastModifierEmail` - # @return [String] - attr_accessor :last_modifier_email - - # The asset's name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The ID of the project to which the asset belongs. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # The URL to query to retrieve the asset's complete object. The assets endpoint - # only returns high-level information about a resource. - # Corresponds to the JSON property `resource` - # @return [String] - attr_accessor :resource - - # An array of text strings, with each string representing a tag. More - # information about tags can be found in the Tagging data article of the Maps - # Engine help center. - # Corresponds to the JSON property `tags` - # @return [Array] - attr_accessor :tags - - # The type of asset. One of raster, rasterCollection, table, map, or layer. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # If true, WRITERs of the asset are able to edit the asset permissions. - # Corresponds to the JSON property `writersCanEditPermissions` - # @return [Boolean] - attr_accessor :writers_can_edit_permissions - alias_method :writers_can_edit_permissions?, :writers_can_edit_permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bbox = args[:bbox] if args.key?(:bbox) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @creator_email = args[:creator_email] if args.key?(:creator_email) - @description = args[:description] if args.key?(:description) - @etag = args[:etag] if args.key?(:etag) - @id = args[:id] if args.key?(:id) - @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) - @last_modifier_email = args[:last_modifier_email] if args.key?(:last_modifier_email) - @name = args[:name] if args.key?(:name) - @project_id = args[:project_id] if args.key?(:project_id) - @resource = args[:resource] if args.key?(:resource) - @tags = args[:tags] if args.key?(:tags) - @type = args[:type] if args.key?(:type) - @writers_can_edit_permissions = args[:writers_can_edit_permissions] if args.key?(:writers_can_edit_permissions) - end - end - - # The response returned by a call to resources.List. - class ListAssetsResponse - include Google::Apis::Core::Hashable - - # Assets returned. - # Corresponds to the JSON property `assets` - # @return [Array] - attr_accessor :assets - - # 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) - @assets = args[:assets] if args.key?(:assets) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Border in line style. Both color and width are required. - class Border - include Google::Apis::Core::Hashable - - # Color of the border. - # Corresponds to the JSON property `color` - # @return [String] - attr_accessor :color - - # Opacity of the border. - # Corresponds to the JSON property `opacity` - # @return [Float] - attr_accessor :opacity - - # Width of the border, in pixels. - # Corresponds to the JSON property `width` - # @return [Float] - attr_accessor :width - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @color = args[:color] if args.key?(:color) - @opacity = args[:opacity] if args.key?(:opacity) - @width = args[:width] if args.key?(:width) - end - end - - # Basic color used in styling. - class Color - include Google::Apis::Core::Hashable - - # The CSS style color, can be in format of "red" or "#7733EE". - # Corresponds to the JSON property `color` - # @return [String] - attr_accessor :color - - # Opacity ranges from 0 to 1, inclusive. If not provided, default to 1. - # Corresponds to the JSON property `opacity` - # @return [Float] - attr_accessor :opacity - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @color = args[:color] if args.key?(:color) - @opacity = args[:opacity] if args.key?(:opacity) - end - end - - # - class Datasource - include Google::Apis::Core::Hashable - - # The ID of a datasource. - # 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) - @id = args[:id] if args.key?(:id) - end - end - - # A display rule of the vector style. - class DisplayRule - include Google::Apis::Core::Hashable - - # This display rule will only be applied to features that match all of the - # filters here. If filters is empty, then the rule applies to all features. - # Corresponds to the JSON property `filters` - # @return [Array] - attr_accessor :filters - - # Style for lines. - # Corresponds to the JSON property `lineOptions` - # @return [Google::Apis::MapsengineV1::LineStyle] - attr_accessor :line_options - - # Display rule name. Name is not unique and cannot be used for identification - # purpose. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Style for points. - # Corresponds to the JSON property `pointOptions` - # @return [Google::Apis::MapsengineV1::PointStyle] - attr_accessor :point_options - - # Style for polygons. - # Corresponds to the JSON property `polygonOptions` - # @return [Google::Apis::MapsengineV1::PolygonStyle] - attr_accessor :polygon_options - - # Zoom level range. Zoom levels are restricted between 0 and 24, inclusive. - # Corresponds to the JSON property `zoomLevels` - # @return [Google::Apis::MapsengineV1::ZoomLevels] - attr_accessor :zoom_levels - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @filters = args[:filters] if args.key?(:filters) - @line_options = args[:line_options] if args.key?(:line_options) - @name = args[:name] if args.key?(:name) - @point_options = args[:point_options] if args.key?(:point_options) - @polygon_options = args[:polygon_options] if args.key?(:polygon_options) - @zoom_levels = args[:zoom_levels] if args.key?(:zoom_levels) - end - end - - # A feature within a table. - class Feature - include Google::Apis::Core::Hashable - - # The geometry member of this Feature. - # Corresponds to the JSON property `geometry` - # @return [Google::Apis::MapsengineV1::GeoJsonGeometry] - attr_accessor :geometry - - # The properties associated with a feature. - # Corresponds to the JSON property `properties` - # @return [Hash] - attr_accessor :properties - - # Identifies this object as a feature. - # 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) - @geometry = args[:geometry] if args.key?(:geometry) - @properties = args[:properties] if args.key?(:properties) - @type = args[:type] if args.key?(:type) - end - end - - # A feature info contains information about individual feature. - class FeatureInfo - include Google::Apis::Core::Hashable - - # HTML template of the info window. If not provided, a default template with all - # attributes will be generated. - # 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) - @content = args[:content] if args.key?(:content) - end - end - - # The request sent to features.BatchDelete. - class BatchDeleteFeaturesRequest - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `gx_ids` - # @return [Array] - attr_accessor :gx_ids - - # - # Corresponds to the JSON property `primaryKeys` - # @return [Array] - attr_accessor :primary_keys - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @gx_ids = args[:gx_ids] if args.key?(:gx_ids) - @primary_keys = args[:primary_keys] if args.key?(:primary_keys) - end - end - - # The request sent to features.Insert. - class BatchInsertFeaturesRequest - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `features` - # @return [Array] - attr_accessor :features - - # If true, the server will normalize feature geometries. It is assumed that the - # South Pole is exterior to any polygons given. See here for a list of - # normalizations. If false, all feature geometries must be given already - # normalized. The points in all LinearRings must be listed in counter-clockwise - # order, and LinearRings may not intersect. - # Corresponds to the JSON property `normalizeGeometries` - # @return [Boolean] - attr_accessor :normalize_geometries - alias_method :normalize_geometries?, :normalize_geometries - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @features = args[:features] if args.key?(:features) - @normalize_geometries = args[:normalize_geometries] if args.key?(:normalize_geometries) - end - end - - # The request sent to features.BatchPatch. - class BatchPatchFeaturesRequest - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `features` - # @return [Array] - attr_accessor :features - - # If true, the server will normalize feature geometries. It is assumed that the - # South Pole is exterior to any polygons given. See here for a list of - # normalizations. If false, all feature geometries must be given already - # normalized. The points in all LinearRings must be listed in counter-clockwise - # order, and LinearRings may not intersect. - # Corresponds to the JSON property `normalizeGeometries` - # @return [Boolean] - attr_accessor :normalize_geometries - alias_method :normalize_geometries?, :normalize_geometries - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @features = args[:features] if args.key?(:features) - @normalize_geometries = args[:normalize_geometries] if args.key?(:normalize_geometries) - end - end - - # The response returned by a call to features.List. - class ListFeaturesResponse - include Google::Apis::Core::Hashable - - # An indicator of the maximum rate at which queries may be made, if all queries - # were as expensive as this query. - # Corresponds to the JSON property `allowedQueriesPerSecond` - # @return [Float] - attr_accessor :allowed_queries_per_second - - # Resources returned. - # Corresponds to the JSON property `features` - # @return [Array] - attr_accessor :features - - # Next page token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # A schema indicating the properties which may be associated with features - # within a Table, and the types of those properties. - # Corresponds to the JSON property `schema` - # @return [Google::Apis::MapsengineV1::Schema] - attr_accessor :schema - - # - # 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) - @allowed_queries_per_second = args[:allowed_queries_per_second] if args.key?(:allowed_queries_per_second) - @features = args[:features] if args.key?(:features) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @schema = args[:schema] if args.key?(:schema) - @type = args[:type] if args.key?(:type) - end - end - - # A single File, which is a component of an Asset. - class File - include Google::Apis::Core::Hashable - - # The name of the file. - # Corresponds to the JSON property `filename` - # @return [String] - attr_accessor :filename - - # The size of the file in bytes. - # Corresponds to the JSON property `size` - # @return [String] - attr_accessor :size - - # The upload status of the file. - # Corresponds to the JSON property `uploadStatus` - # @return [String] - attr_accessor :upload_status - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @filename = args[:filename] if args.key?(:filename) - @size = args[:size] if args.key?(:size) - @upload_status = args[:upload_status] if args.key?(:upload_status) - end - end - - # Conditions for filtering features. - class Filter - include Google::Apis::Core::Hashable - - # The column name to filter on. - # Corresponds to the JSON property `column` - # @return [String] - attr_accessor :column - - # Operation used to evaluate the filter. - # Corresponds to the JSON property `operator` - # @return [String] - attr_accessor :operator - - # Value to be evaluated against attribute. - # Corresponds to the JSON property `value` - # @return [Object] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @column = args[:column] if args.key?(:column) - @operator = args[:operator] if args.key?(:operator) - @value = args[:value] if args.key?(:value) - end - end - - # A heterogenous collection of GeoJsonGeometry objects. - class GeoJsonGeometryCollection < Google::Apis::MapsengineV1::GeoJsonGeometry - include Google::Apis::Core::Hashable - - # An array of geometry objects. There must be at least 2 different types of - # geometries in the array. - # Corresponds to the JSON property `geometries` - # @return [Array] - attr_accessor :geometries - - # Identifies this object as a GeoJsonGeometryCollection. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - @type = 'GeometryCollection' - update!(**args) - end - - # Update properties of this object - def update!(**args) - @geometries = args[:geometries] if args.key?(:geometries) - @type = args[:type] if args.key?(:type) - end - end - - # - class GeoJsonLineString < Google::Apis::MapsengineV1::GeoJsonGeometry - include Google::Apis::Core::Hashable - - # An array of two or more positions, representing a line. - # Corresponds to the JSON property `coordinates` - # @return [Array>] - attr_accessor :coordinates - - # Identifies this object as a GeoJsonLineString. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - @type = 'LineString' - update!(**args) - end - - # Update properties of this object - def update!(**args) - @coordinates = args[:coordinates] if args.key?(:coordinates) - @type = args[:type] if args.key?(:type) - end - end - - # Multi Line String - class GeoJsonMultiLineString < Google::Apis::MapsengineV1::GeoJsonGeometry - include Google::Apis::Core::Hashable - - # An array of at least two GeoJsonLineString coordinate arrays. - # Corresponds to the JSON property `coordinates` - # @return [Array>>] - attr_accessor :coordinates - - # Identifies this object as a GeoJsonMultiLineString. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - @type = 'MultiLineString' - update!(**args) - end - - # Update properties of this object - def update!(**args) - @coordinates = args[:coordinates] if args.key?(:coordinates) - @type = args[:type] if args.key?(:type) - end - end - - # - class GeoJsonMultiPoint < Google::Apis::MapsengineV1::GeoJsonGeometry - include Google::Apis::Core::Hashable - - # An array of at least two GeoJsonPoint coordinate arrays. - # Corresponds to the JSON property `coordinates` - # @return [Array>] - attr_accessor :coordinates - - # Identifies this object as a GeoJsonMultiPoint. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - @type = 'MultiPoint' - update!(**args) - end - - # Update properties of this object - def update!(**args) - @coordinates = args[:coordinates] if args.key?(:coordinates) - @type = args[:type] if args.key?(:type) - end - end - - # - class GeoJsonMultiPolygon < Google::Apis::MapsengineV1::GeoJsonGeometry - include Google::Apis::Core::Hashable - - # An array of at least two GeoJsonPolygon coordinate arrays. - # Corresponds to the JSON property `coordinates` - # @return [Array>>>] - attr_accessor :coordinates - - # Identifies this object as a GeoJsonMultiPolygon. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - @type = 'MultiPolygon' - update!(**args) - end - - # Update properties of this object - def update!(**args) - @coordinates = args[:coordinates] if args.key?(:coordinates) - @type = args[:type] if args.key?(:type) - end - end - - # - class GeoJsonPoint < Google::Apis::MapsengineV1::GeoJsonGeometry - include Google::Apis::Core::Hashable - - # A position represents a geographical position as an array containing a - # longitude and a latitude, and optionally an altitude, in that order. All - # Geometry objects make use of positions to represent geometries as nested - # arrays. The structure of the array is governed by the type of the geometry. - # Corresponds to the JSON property `coordinates` - # @return [Array] - attr_accessor :coordinates - - # Identifies this object as a GeoJsonPoint. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - @type = 'Point' - update!(**args) - end - - # Update properties of this object - def update!(**args) - @coordinates = args[:coordinates] if args.key?(:coordinates) - @type = args[:type] if args.key?(:type) - end - end - - # - class GeoJsonPolygon < Google::Apis::MapsengineV1::GeoJsonGeometry - include Google::Apis::Core::Hashable - - # An array of LinearRings. A LinearRing is a GeoJsonLineString which is closed ( - # that is, the first and last GeoJsonPositions are equal), and which contains at - # least four GeoJsonPositions. For polygons with multiple rings, the first - # LinearRing is the exterior ring, and any subsequent rings are interior rings ( - # that is, holes). - # Corresponds to the JSON property `coordinates` - # @return [Array>>] - attr_accessor :coordinates - - # Identifies this object as a GeoJsonPolygon. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - @type = 'Polygon' - update!(**args) - end - - # Update properties of this object - def update!(**args) - @coordinates = args[:coordinates] if args.key?(:coordinates) - @type = args[:type] if args.key?(:type) - end - end - - # An icon is a user-uploaded image that can be used to style point geometries. - class Icon - include Google::Apis::Core::Hashable - - # The description of this Icon, supplied by the author. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # An ID used to refer to this Icon. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The name of this Icon, supplied by the author. - # 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) - @description = args[:description] if args.key?(:description) - @id = args[:id] if args.key?(:id) - @name = args[:name] if args.key?(:name) - end - end - - # Style for icon, this is part of point style. - class IconStyle - include Google::Apis::Core::Hashable - - # Custom icon id. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Stock icon name. To use a stock icon, prefix it with 'gx_'. See Stock icon - # names for valid icon names. For example, to specify small_red, set name to ' - # gx_small_red'. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Parameters for styling points as scaled shapes. - # Corresponds to the JSON property `scaledShape` - # @return [Google::Apis::MapsengineV1::ScaledShape] - attr_accessor :scaled_shape - - # Parameters for scaling scaled shapes. - # Corresponds to the JSON property `scalingFunction` - # @return [Google::Apis::MapsengineV1::ScalingFunction] - attr_accessor :scaling_function - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @name = args[:name] if args.key?(:name) - @scaled_shape = args[:scaled_shape] if args.key?(:scaled_shape) - @scaling_function = args[:scaling_function] if args.key?(:scaling_function) - end - end - - # The response returned by a call to icons.List. - class ListIconsResponse - include Google::Apis::Core::Hashable - - # Resources returned. - # Corresponds to the JSON property `icons` - # @return [Array] - attr_accessor :icons - - # 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) - @icons = args[:icons] if args.key?(:icons) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Text label style. - class LabelStyle - include Google::Apis::Core::Hashable - - # Color of the text. If not provided, default to black. - # Corresponds to the JSON property `color` - # @return [String] - attr_accessor :color - - # The column value of the feature to be displayed. - # Corresponds to the JSON property `column` - # @return [String] - attr_accessor :column - - # Font style of the label, defaults to 'normal'. - # Corresponds to the JSON property `fontStyle` - # @return [String] - attr_accessor :font_style - - # Font weight of the label, defaults to 'normal'. - # Corresponds to the JSON property `fontWeight` - # @return [String] - attr_accessor :font_weight - - # Opacity of the text. - # Corresponds to the JSON property `opacity` - # @return [Float] - attr_accessor :opacity - - # Basic color used in styling. - # Corresponds to the JSON property `outline` - # @return [Google::Apis::MapsengineV1::Color] - attr_accessor :outline - - # Font size of the label, in pixels. 8 <= size <= 15. If not provided, a default - # size will be provided. - # Corresponds to the JSON property `size` - # @return [Float] - attr_accessor :size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @color = args[:color] if args.key?(:color) - @column = args[:column] if args.key?(:column) - @font_style = args[:font_style] if args.key?(:font_style) - @font_weight = args[:font_weight] if args.key?(:font_weight) - @opacity = args[:opacity] if args.key?(:opacity) - @outline = args[:outline] if args.key?(:outline) - @size = args[:size] if args.key?(:size) - end - end - - # A Layer combines multiple datasources, with styling information, for - # presentation on a map. - class Layer - include Google::Apis::Core::Hashable - - # A rectangular bounding box which contains all of the data in this Layer. The - # box is expressed as \"west, south, east, north\". The numbers represent - # latitude and longitude in decimal degrees. - # Corresponds to the JSON property `bbox` - # @return [Array] - attr_accessor :bbox - - # The creation time of this layer. The value is an RFC 3339 formatted date-time - # value (e.g. 1970-01-01T00:00:00Z). - # Corresponds to the JSON property `creationTime` - # @return [DateTime] - attr_accessor :creation_time - - # The email address of the creator of this layer. This is only returned on GET - # requests and not LIST requests. - # Corresponds to the JSON property `creatorEmail` - # @return [String] - attr_accessor :creator_email - - # Deprecated: The type of the datasources used to build this Layer. Note: This - # has been replaced by layerType, but is still available for now to maintain - # backward compatibility. - # Corresponds to the JSON property `datasourceType` - # @return [String] - attr_accessor :datasource_type - - # An array of datasources used to build this layer. If layerType is "image", or - # layerType is not specified and datasourceType is "image", then each element in - # this array is a reference to an Image or RasterCollection. If layerType is " - # vector", or layerType is not specified and datasourceType is "table" then each - # element in this array is a reference to a Vector Table. - # Corresponds to the JSON property `datasources` - # @return [Array] - attr_accessor :datasources - - # The description of this Layer, supplied by the author. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Deprecated: The name of an access list of the Map Editor type. The user on - # whose behalf the request is being sent must be an editor on that access list. - # Note: Google Maps Engine no longer uses access lists. Instead, each asset has - # its own list of permissions. For backward compatibility, the API still accepts - # access lists for projects that are already using access lists. If you created - # a GME account/project after July 14th, 2014, you will not be able to send API - # requests that include access lists. Note: This is an input field only. It is - # not returned in response to a list or get request. - # Corresponds to the JSON property `draftAccessList` - # @return [String] - attr_accessor :draft_access_list - - # The ETag, used to refer to the current version of the asset. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # A globally unique ID, used to refer to this Layer. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The last modified time of this layer. The value is an RFC 3339 formatted date- - # time value (e.g. 1970-01-01T00:00:00Z). - # Corresponds to the JSON property `lastModifiedTime` - # @return [DateTime] - attr_accessor :last_modified_time - - # The email address of the last modifier of this layer. This is only returned on - # GET requests and not LIST requests. - # Corresponds to the JSON property `lastModifierEmail` - # @return [String] - attr_accessor :last_modifier_email - - # The type of the datasources used to build this Layer. This should be used - # instead of datasourceType. At least one of layerType and datasourceType and - # must be specified, but layerType takes precedence. - # Corresponds to the JSON property `layerType` - # @return [String] - attr_accessor :layer_type - - # The name of this Layer, supplied by the author. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The processing status of this layer. - # Corresponds to the JSON property `processingStatus` - # @return [String] - attr_accessor :processing_status - - # The ID of the project that this Layer is in. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # Deprecated: The access list to whom view permissions are granted. The value - # must be the name of a Maps Engine access list of the Map Viewer type, and the - # user must be a viewer on that list. Note: Google Maps Engine no longer uses - # access lists. Instead, each asset has its own list of permissions. For - # backward compatibility, the API still accepts access lists for projects that - # are already using access lists. If you created a GME account/project after - # July 14th, 2014, you will not be able to send API requests that include access - # lists. Note: This is an input field only. It is not returned in response to a - # list or get request. - # Corresponds to the JSON property `publishedAccessList` - # @return [String] - attr_accessor :published_access_list - - # The publishing status of this layer. - # Corresponds to the JSON property `publishingStatus` - # @return [String] - attr_accessor :publishing_status - - # A vector style contains styling information for vector layer. - # Corresponds to the JSON property `style` - # @return [Google::Apis::MapsengineV1::VectorStyle] - attr_accessor :style - - # Tags of this Layer. - # Corresponds to the JSON property `tags` - # @return [Array] - attr_accessor :tags - - # If true, WRITERs of the asset are able to edit the asset permissions. - # Corresponds to the JSON property `writersCanEditPermissions` - # @return [Boolean] - attr_accessor :writers_can_edit_permissions - alias_method :writers_can_edit_permissions?, :writers_can_edit_permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bbox = args[:bbox] if args.key?(:bbox) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @creator_email = args[:creator_email] if args.key?(:creator_email) - @datasource_type = args[:datasource_type] if args.key?(:datasource_type) - @datasources = args[:datasources] if args.key?(:datasources) - @description = args[:description] if args.key?(:description) - @draft_access_list = args[:draft_access_list] if args.key?(:draft_access_list) - @etag = args[:etag] if args.key?(:etag) - @id = args[:id] if args.key?(:id) - @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) - @last_modifier_email = args[:last_modifier_email] if args.key?(:last_modifier_email) - @layer_type = args[:layer_type] if args.key?(:layer_type) - @name = args[:name] if args.key?(:name) - @processing_status = args[:processing_status] if args.key?(:processing_status) - @project_id = args[:project_id] if args.key?(:project_id) - @published_access_list = args[:published_access_list] if args.key?(:published_access_list) - @publishing_status = args[:publishing_status] if args.key?(:publishing_status) - @style = args[:style] if args.key?(:style) - @tags = args[:tags] if args.key?(:tags) - @writers_can_edit_permissions = args[:writers_can_edit_permissions] if args.key?(:writers_can_edit_permissions) - end - end - - # The response returned by a call to layers.List. Note: The list response does - # not include all the fields available in a layer. Refer to the layer resource - # description for details of the fields that are not included. You'll need to - # send a get request to retrieve the additional fields for each layer. - class ListLayersResponse - include Google::Apis::Core::Hashable - - # Resources returned. - # Corresponds to the JSON property `layers` - # @return [Array] - attr_accessor :layers - - # 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) - @layers = args[:layers] if args.key?(:layers) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Style for lines. - class LineStyle - include Google::Apis::Core::Hashable - - # Border in line style. Both color and width are required. - # Corresponds to the JSON property `border` - # @return [Google::Apis::MapsengineV1::Border] - attr_accessor :border - - # Dash defines the pattern of the line, the values are pixel lengths of - # alternating dash and gap. If dash is not provided, then it means a solid line. - # Dash can contain up to 10 values and must contain even number of values. - # Corresponds to the JSON property `dash` - # @return [Array] - attr_accessor :dash - - # Text label style. - # Corresponds to the JSON property `label` - # @return [Google::Apis::MapsengineV1::LabelStyle] - attr_accessor :label - - # Stroke of the line. - # Corresponds to the JSON property `stroke` - # @return [Google::Apis::MapsengineV1::LineStyle::Stroke] - attr_accessor :stroke - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @border = args[:border] if args.key?(:border) - @dash = args[:dash] if args.key?(:dash) - @label = args[:label] if args.key?(:label) - @stroke = args[:stroke] if args.key?(:stroke) - end - - # Stroke of the line. - class Stroke - include Google::Apis::Core::Hashable - - # Color of the line. - # Corresponds to the JSON property `color` - # @return [String] - attr_accessor :color - - # Opacity of the line. - # Corresponds to the JSON property `opacity` - # @return [Float] - attr_accessor :opacity - - # Width of the line, in pixels. 0 <= width <= 10. If width is set to 0, the line - # will be invisible. - # Corresponds to the JSON property `width` - # @return [Float] - attr_accessor :width - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @color = args[:color] if args.key?(:color) - @opacity = args[:opacity] if args.key?(:opacity) - @width = args[:width] if args.key?(:width) - end - end - end - - # A Map is a collection of Layers, optionally contained within folders. - class Map - include Google::Apis::Core::Hashable - - # A rectangular bounding box which contains all of the data in this Map. The box - # is expressed as \"west, south, east, north\". The numbers represent latitude - # and longitude in decimal degrees. - # Corresponds to the JSON property `bbox` - # @return [Array] - attr_accessor :bbox - - # The contents of this Map. - # Corresponds to the JSON property `contents` - # @return [Array] - attr_accessor :contents - - # The creation time of this map. The value is an RFC 3339 formatted date-time - # value (e.g. 1970-01-01T00:00:00Z). - # Corresponds to the JSON property `creationTime` - # @return [DateTime] - attr_accessor :creation_time - - # The email address of the creator of this map. This is only returned on GET - # requests and not LIST requests. - # Corresponds to the JSON property `creatorEmail` - # @return [String] - attr_accessor :creator_email - - # A rectangular geographic bounds. - # Corresponds to the JSON property `defaultViewport` - # @return [Array] - attr_accessor :default_viewport - - # The description of this Map, supplied by the author. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Deprecated: The name of an access list of the Map Editor type. The user on - # whose behalf the request is being sent must be an editor on that access list. - # Note: Google Maps Engine no longer uses access lists. Instead, each asset has - # its own list of permissions. For backward compatibility, the API still accepts - # access lists for projects that are already using access lists. If you created - # a GME account/project after July 14th, 2014, you will not be able to send API - # requests that include access lists. Note: This is an input field only. It is - # not returned in response to a list or get request. - # Corresponds to the JSON property `draftAccessList` - # @return [String] - attr_accessor :draft_access_list - - # The ETag, used to refer to the current version of the asset. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # A globally unique ID, used to refer to this Map. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The last modified time of this map. The value is an RFC 3339 formatted date- - # time value (e.g. 1970-01-01T00:00:00Z). - # Corresponds to the JSON property `lastModifiedTime` - # @return [DateTime] - attr_accessor :last_modified_time - - # The email address of the last modifier of this map. This is only returned on - # GET requests and not LIST requests. - # Corresponds to the JSON property `lastModifierEmail` - # @return [String] - attr_accessor :last_modifier_email - - # The name of this Map, supplied by the author. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The processing status of this map. Map processing is automatically started - # once a map becomes ready for processing. - # Corresponds to the JSON property `processingStatus` - # @return [String] - attr_accessor :processing_status - - # The ID of the project that this Map is in. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # Deprecated: The access list to whom view permissions are granted. The value - # must be the name of a Maps Engine access list of the Map Viewer type, and the - # user must be a viewer on that list. Note: Google Maps Engine no longer uses - # access lists. Instead, each asset has its own list of permissions. For - # backward compatibility, the API still accepts access lists for projects that - # are already using access lists. If you created a GME account/project after - # July 14th, 2014, you will not be able to send API requests that include access - # lists. This is an input field only. It is not returned in response to a list - # or get request. - # Corresponds to the JSON property `publishedAccessList` - # @return [String] - attr_accessor :published_access_list - - # The publishing status of this map. - # Corresponds to the JSON property `publishingStatus` - # @return [String] - attr_accessor :publishing_status - - # Tags of this Map. - # Corresponds to the JSON property `tags` - # @return [Array] - attr_accessor :tags - - # Deprecated: An array containing the available versions of this Map. Currently - # may only contain "published". The publishingStatus field should be used - # instead. - # Corresponds to the JSON property `versions` - # @return [Array] - attr_accessor :versions - - # If true, WRITERs of the asset are able to edit the asset permissions. - # Corresponds to the JSON property `writersCanEditPermissions` - # @return [Boolean] - attr_accessor :writers_can_edit_permissions - alias_method :writers_can_edit_permissions?, :writers_can_edit_permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bbox = args[:bbox] if args.key?(:bbox) - @contents = args[:contents] if args.key?(:contents) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @creator_email = args[:creator_email] if args.key?(:creator_email) - @default_viewport = args[:default_viewport] if args.key?(:default_viewport) - @description = args[:description] if args.key?(:description) - @draft_access_list = args[:draft_access_list] if args.key?(:draft_access_list) - @etag = args[:etag] if args.key?(:etag) - @id = args[:id] if args.key?(:id) - @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) - @last_modifier_email = args[:last_modifier_email] if args.key?(:last_modifier_email) - @name = args[:name] if args.key?(:name) - @processing_status = args[:processing_status] if args.key?(:processing_status) - @project_id = args[:project_id] if args.key?(:project_id) - @published_access_list = args[:published_access_list] if args.key?(:published_access_list) - @publishing_status = args[:publishing_status] if args.key?(:publishing_status) - @tags = args[:tags] if args.key?(:tags) - @versions = args[:versions] if args.key?(:versions) - @writers_can_edit_permissions = args[:writers_can_edit_permissions] if args.key?(:writers_can_edit_permissions) - end - end - - # - class MapFolder < Google::Apis::MapsengineV1::MapItem - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `contents` - # @return [Array] - attr_accessor :contents - - # An array of four numbers (west, south, east, north) which defines the - # rectangular bounding box of the default viewport. The numbers represent - # latitude and longitude in decimal degrees. - # Corresponds to the JSON property `defaultViewport` - # @return [Array] - attr_accessor :default_viewport - - # The expandability setting of this MapFolder. If true, the folder can be - # expanded. - # Corresponds to the JSON property `expandable` - # @return [Boolean] - attr_accessor :expandable - alias_method :expandable?, :expandable - - # A user defined alias for this MapFolder, specific to this Map. - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - - # The name of this MapFolder. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Identifies this object as a MapFolder. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The visibility setting of this MapFolder. One of "defaultOn" or "defaultOff". - # Corresponds to the JSON property `visibility` - # @return [String] - attr_accessor :visibility - - def initialize(**args) - @type = 'folder' - update!(**args) - end - - # Update properties of this object - def update!(**args) - @contents = args[:contents] if args.key?(:contents) - @default_viewport = args[:default_viewport] if args.key?(:default_viewport) - @expandable = args[:expandable] if args.key?(:expandable) - @key = args[:key] if args.key?(:key) - @name = args[:name] if args.key?(:name) - @type = args[:type] if args.key?(:type) - @visibility = args[:visibility] if args.key?(:visibility) - end - end - - # - class MapKmlLink < Google::Apis::MapsengineV1::MapItem - include Google::Apis::Core::Hashable - - # An array of four numbers (west, south, east, north) which defines the - # rectangular bounding box of the default viewport. The numbers represent - # latitude and longitude in decimal degrees. - # Corresponds to the JSON property `defaultViewport` - # @return [Array] - attr_accessor :default_viewport - - # The URL to the KML file represented by this MapKmlLink. - # Corresponds to the JSON property `kmlUrl` - # @return [String] - attr_accessor :kml_url - - # The name of this MapKmlLink. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Identifies this object as a MapKmlLink. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The visibility setting of this MapKmlLink. One of "defaultOn" or "defaultOff". - # Corresponds to the JSON property `visibility` - # @return [String] - attr_accessor :visibility - - def initialize(**args) - @type = 'kmlLink' - update!(**args) - end - - # Update properties of this object - def update!(**args) - @default_viewport = args[:default_viewport] if args.key?(:default_viewport) - @kml_url = args[:kml_url] if args.key?(:kml_url) - @name = args[:name] if args.key?(:name) - @type = args[:type] if args.key?(:type) - @visibility = args[:visibility] if args.key?(:visibility) - end - end - - # - class MapLayer < Google::Apis::MapsengineV1::MapItem - include Google::Apis::Core::Hashable - - # An array of four numbers (west, south, east, north) which defines the - # rectangular bounding box of the default viewport. The numbers represent - # latitude and longitude in decimal degrees. - # Corresponds to the JSON property `defaultViewport` - # @return [Array] - attr_accessor :default_viewport - - # The ID of this MapLayer. This ID can be used to request more details about the - # layer. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # A user defined alias for this MapLayer, specific to this Map. - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - - # The name of this MapLayer. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Identifies this object as a MapLayer. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The visibility setting of this MapLayer. One of "defaultOn" or "defaultOff". - # Corresponds to the JSON property `visibility` - # @return [String] - attr_accessor :visibility - - def initialize(**args) - @type = 'layer' - update!(**args) - end - - # Update properties of this object - def update!(**args) - @default_viewport = args[:default_viewport] if args.key?(:default_viewport) - @id = args[:id] if args.key?(:id) - @key = args[:key] if args.key?(:key) - @name = args[:name] if args.key?(:name) - @type = args[:type] if args.key?(:type) - @visibility = args[:visibility] if args.key?(:visibility) - end - end - - # The response returned by a call to maps.List. - class ListMapsResponse - include Google::Apis::Core::Hashable - - # Resources returned. - # Corresponds to the JSON property `maps` - # @return [Array] - attr_accessor :maps - - # 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) - @maps = args[:maps] if args.key?(:maps) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # A list of the parents of an asset. - class Parent - include Google::Apis::Core::Hashable - - # The ID of this parent. - # 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) - @id = args[:id] if args.key?(:id) - end - end - - # The response returned by a call to parents.List. - class ListParentsResponse - include Google::Apis::Core::Hashable - - # Next page token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The parent assets. - # Corresponds to the JSON property `parents` - # @return [Array] - attr_accessor :parents - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @parents = args[:parents] if args.key?(:parents) - end - end - - # A permission defines the user or group that has access to an asset, and the - # type of access they have. - class Permission - include Google::Apis::Core::Hashable - - # Indicates whether a public asset is listed and can be found via a web search ( - # value true), or is visible only to people who have a link to the asset (value - # false). - # Corresponds to the JSON property `discoverable` - # @return [Boolean] - attr_accessor :discoverable - alias_method :discoverable?, :discoverable - - # The unique identifier of the permission. This could be the email address of - # the user or group this permission refers to, or the string "anyone" for public - # permissions. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The type of access granted to this user or group. - # Corresponds to the JSON property `role` - # @return [String] - attr_accessor :role - - # The account type. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @discoverable = args[:discoverable] if args.key?(:discoverable) - @id = args[:id] if args.key?(:id) - @role = args[:role] if args.key?(:role) - @type = args[:type] if args.key?(:type) - end - end - - # The request sent to mapsengine.permissions.batchDelete. - class BatchDeletePermissionsRequest - include Google::Apis::Core::Hashable - - # An array of permission ids to be removed. This could be the email address of - # the user or group this permission refers to, or the string "anyone" for public - # permissions. - # Corresponds to the JSON property `ids` - # @return [Array] - attr_accessor :ids - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ids = args[:ids] if args.key?(:ids) - end - end - - # The response returned by a call to mapsengine.permissions.batchDelete. - class BatchDeletePermissionsResponse - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # The request sent to mapsengine.permissions.batchUpdate. - class BatchUpdatePermissionsRequest - include Google::Apis::Core::Hashable - - # The permissions to be inserted or updated. - # 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) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - - # The response returned by a call to mapsengine.permissions.batchUpdate. - class BatchUpdatePermissionsResponse - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # - class ListPermissionsResponse - include Google::Apis::Core::Hashable - - # The set of permissions associated with this asset. - # 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) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - - # Style for points. - class PointStyle - include Google::Apis::Core::Hashable - - # Style for icon, this is part of point style. - # Corresponds to the JSON property `icon` - # @return [Google::Apis::MapsengineV1::IconStyle] - attr_accessor :icon - - # Text label style. - # Corresponds to the JSON property `label` - # @return [Google::Apis::MapsengineV1::LabelStyle] - attr_accessor :label - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @icon = args[:icon] if args.key?(:icon) - @label = args[:label] if args.key?(:label) - end - end - - # Style for polygons. - class PolygonStyle - include Google::Apis::Core::Hashable - - # Basic color used in styling. - # Corresponds to the JSON property `fill` - # @return [Google::Apis::MapsengineV1::Color] - attr_accessor :fill - - # Text label style. - # Corresponds to the JSON property `label` - # @return [Google::Apis::MapsengineV1::LabelStyle] - attr_accessor :label - - # Border in line style. Both color and width are required. - # Corresponds to the JSON property `stroke` - # @return [Google::Apis::MapsengineV1::Border] - attr_accessor :stroke - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @fill = args[:fill] if args.key?(:fill) - @label = args[:label] if args.key?(:label) - @stroke = args[:stroke] if args.key?(:stroke) - end - end - - # The response returned by a call to any asset's Process method. - class ProcessResponse - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # A Maps Engine project groups a collection of resources. - class Project - include Google::Apis::Core::Hashable - - # An ID used to refer to this Maps Engine project. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # A user provided name for this Maps Engine project. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @name = args[:name] if args.key?(:name) - end - end - - # The response returned by a call to projects.List. - class ListProjectsResponse - include Google::Apis::Core::Hashable - - # Projects returned. - # Corresponds to the JSON property `projects` - # @return [Array] - attr_accessor :projects - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @projects = args[:projects] if args.key?(:projects) - end - end - - # The response returned by a call to any asset's Publish method. - class PublishResponse - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # The published version of a layer. - class PublishedLayer - include Google::Apis::Core::Hashable - - # The description of this Layer, supplied by the author. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # A globally unique ID, used to refer to this Layer. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The type of the datasources used to build this Layer. This should be used - # instead of datasourceType. At least one of layerType and datasourceType and - # must be specified, but layerType takes precedence. - # Corresponds to the JSON property `layerType` - # @return [String] - attr_accessor :layer_type - - # The name of this Layer, supplied by the author. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The ID of the project that this Layer is in. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @id = args[:id] if args.key?(:id) - @layer_type = args[:layer_type] if args.key?(:layer_type) - @name = args[:name] if args.key?(:name) - @project_id = args[:project_id] if args.key?(:project_id) - end - end - - # The response returned by a call to layers.List.published. - class ListPublishedLayersResponse - include Google::Apis::Core::Hashable - - # Resources returned. - # Corresponds to the JSON property `layers` - # @return [Array] - attr_accessor :layers - - # 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) - @layers = args[:layers] if args.key?(:layers) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # The published version of a map asset. - class PublishedMap - include Google::Apis::Core::Hashable - - # The contents of this Map. - # Corresponds to the JSON property `contents` - # @return [Array] - attr_accessor :contents - - # A rectangular geographic bounds. - # Corresponds to the JSON property `defaultViewport` - # @return [Array] - attr_accessor :default_viewport - - # The description of this Map, supplied by the author. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # A globally unique ID, used to refer to this Map. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The name of this Map, supplied by the author. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The ID of the project that this Map is in. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @contents = args[:contents] if args.key?(:contents) - @default_viewport = args[:default_viewport] if args.key?(:default_viewport) - @description = args[:description] if args.key?(:description) - @id = args[:id] if args.key?(:id) - @name = args[:name] if args.key?(:name) - @project_id = args[:project_id] if args.key?(:project_id) - end - end - - # The response returned by a call to maps.List.published. - class ListPublishedMapsResponse - include Google::Apis::Core::Hashable - - # Resources returned. - # Corresponds to the JSON property `maps` - # @return [Array] - attr_accessor :maps - - # 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) - @maps = args[:maps] if args.key?(:maps) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # A geo-referenced raster. - class Raster - include Google::Apis::Core::Hashable - - # Acquisition time represents acquired time of a raster. - # Corresponds to the JSON property `acquisitionTime` - # @return [Google::Apis::MapsengineV1::AcquisitionTime] - attr_accessor :acquisition_time - - # The name of the attribution to be used for this Raster. - # Corresponds to the JSON property `attribution` - # @return [String] - attr_accessor :attribution - - # A rectangular bounding box which contains all of the data in this Raster. The - # box is expressed as \"west, south, east, north\". The numbers represent - # latitudes and longitudes in decimal degrees. - # Corresponds to the JSON property `bbox` - # @return [Array] - attr_accessor :bbox - - # The creation time of this raster. The value is an RFC 3339 formatted date-time - # value (e.g. 1970-01-01T00:00:00Z). - # Corresponds to the JSON property `creationTime` - # @return [DateTime] - attr_accessor :creation_time - - # The email address of the creator of this raster. This is only returned on GET - # requests and not LIST requests. - # Corresponds to the JSON property `creatorEmail` - # @return [String] - attr_accessor :creator_email - - # The description of this Raster, supplied by the author. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Deprecated: The name of an access list of the Map Editor type. The user on - # whose behalf the request is being sent must be an editor on that access list. - # Note: Google Maps Engine no longer uses access lists. Instead, each asset has - # its own list of permissions. For backward compatibility, the API still accepts - # access lists for projects that are already using access lists. If you created - # a GME account/project after July 14th, 2014, you will not be able to send API - # requests that include access lists. Note: This is an input field only. It is - # not returned in response to a list or get request. - # Corresponds to the JSON property `draftAccessList` - # @return [String] - attr_accessor :draft_access_list - - # The ETag, used to refer to the current version of the asset. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # The files associated with this Raster. - # Corresponds to the JSON property `files` - # @return [Array] - attr_accessor :files - - # A globally unique ID, used to refer to this Raster. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The last modified time of this raster. The value is an RFC 3339 formatted date- - # time value (e.g. 1970-01-01T00:00:00Z). - # Corresponds to the JSON property `lastModifiedTime` - # @return [DateTime] - attr_accessor :last_modified_time - - # The email address of the last modifier of this raster. This is only returned - # on GET requests and not LIST requests. - # Corresponds to the JSON property `lastModifierEmail` - # @return [String] - attr_accessor :last_modifier_email - - # The mask processing type of this Raster. - # Corresponds to the JSON property `maskType` - # @return [String] - attr_accessor :mask_type - - # The name of this Raster, supplied by the author. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The processing status of this Raster. - # Corresponds to the JSON property `processingStatus` - # @return [String] - attr_accessor :processing_status - - # The ID of the project that this Raster is in. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # The type of this Raster. Always "image" today. - # Corresponds to the JSON property `rasterType` - # @return [String] - attr_accessor :raster_type - - # Tags of this Raster. - # Corresponds to the JSON property `tags` - # @return [Array] - attr_accessor :tags - - # If true, WRITERs of the asset are able to edit the asset permissions. - # Corresponds to the JSON property `writersCanEditPermissions` - # @return [Boolean] - attr_accessor :writers_can_edit_permissions - alias_method :writers_can_edit_permissions?, :writers_can_edit_permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @acquisition_time = args[:acquisition_time] if args.key?(:acquisition_time) - @attribution = args[:attribution] if args.key?(:attribution) - @bbox = args[:bbox] if args.key?(:bbox) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @creator_email = args[:creator_email] if args.key?(:creator_email) - @description = args[:description] if args.key?(:description) - @draft_access_list = args[:draft_access_list] if args.key?(:draft_access_list) - @etag = args[:etag] if args.key?(:etag) - @files = args[:files] if args.key?(:files) - @id = args[:id] if args.key?(:id) - @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) - @last_modifier_email = args[:last_modifier_email] if args.key?(:last_modifier_email) - @mask_type = args[:mask_type] if args.key?(:mask_type) - @name = args[:name] if args.key?(:name) - @processing_status = args[:processing_status] if args.key?(:processing_status) - @project_id = args[:project_id] if args.key?(:project_id) - @raster_type = args[:raster_type] if args.key?(:raster_type) - @tags = args[:tags] if args.key?(:tags) - @writers_can_edit_permissions = args[:writers_can_edit_permissions] if args.key?(:writers_can_edit_permissions) - end - end - - # A raster collection groups multiple Raster resources for inclusion in a Layer. - class RasterCollection - include Google::Apis::Core::Hashable - - # The name of the attribution to be used for this RasterCollection. Note: - # Attribution is returned in response to a get request but not a list request. - # After requesting a list of raster collections, you'll need to send a get - # request to retrieve the attribution for each raster collection. - # Corresponds to the JSON property `attribution` - # @return [String] - attr_accessor :attribution - - # A rectangular bounding box which contains all of the data in this - # RasterCollection. The box is expressed as \"west, south, east, north\". The - # numbers represent latitude and longitude in decimal degrees. - # Corresponds to the JSON property `bbox` - # @return [Array] - attr_accessor :bbox - - # The creation time of this RasterCollection. The value is an RFC 3339 formatted - # date-time value (e.g. 1970-01-01T00:00:00Z). - # Corresponds to the JSON property `creationTime` - # @return [DateTime] - attr_accessor :creation_time - - # The email address of the creator of this raster collection. This is only - # returned on GET requests and not LIST requests. - # Corresponds to the JSON property `creatorEmail` - # @return [String] - attr_accessor :creator_email - - # The description of this RasterCollection, supplied by the author. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Deprecated: The name of an access list of the Map Editor type. The user on - # whose behalf the request is being sent must be an editor on that access list. - # Note: Google Maps Engine no longer uses access lists. Instead, each asset has - # its own list of permissions. For backward compatibility, the API still accepts - # access lists for projects that are already using access lists. If you created - # a GME account/project after July 14th, 2014, you will not be able to send API - # requests that include access lists. Note: This is an input field only. It is - # not returned in response to a list or get request. - # Corresponds to the JSON property `draftAccessList` - # @return [String] - attr_accessor :draft_access_list - - # The ETag, used to refer to the current version of the asset. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # A globally unique ID, used to refer to this RasterCollection. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The last modified time of this RasterCollection. The value is an RFC 3339 - # formatted date-time value (e.g. 1970-01-01T00:00:00Z). - # Corresponds to the JSON property `lastModifiedTime` - # @return [DateTime] - attr_accessor :last_modified_time - - # The email address of the last modifier of this raster collection. This is only - # returned on GET requests and not LIST requests. - # Corresponds to the JSON property `lastModifierEmail` - # @return [String] - attr_accessor :last_modifier_email - - # True if this RasterCollection is a mosaic. - # Corresponds to the JSON property `mosaic` - # @return [Boolean] - attr_accessor :mosaic - alias_method :mosaic?, :mosaic - - # The name of this RasterCollection, supplied by the author. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The processing status of this RasterCollection. - # Corresponds to the JSON property `processingStatus` - # @return [String] - attr_accessor :processing_status - - # The ID of the project that this RasterCollection is in. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # The type of rasters contained within this RasterCollection. - # Corresponds to the JSON property `rasterType` - # @return [String] - attr_accessor :raster_type - - # Tags of this RasterCollection. - # Corresponds to the JSON property `tags` - # @return [Array] - attr_accessor :tags - - # If true, WRITERs of the asset are able to edit the asset permissions. - # Corresponds to the JSON property `writersCanEditPermissions` - # @return [Boolean] - attr_accessor :writers_can_edit_permissions - alias_method :writers_can_edit_permissions?, :writers_can_edit_permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @attribution = args[:attribution] if args.key?(:attribution) - @bbox = args[:bbox] if args.key?(:bbox) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @creator_email = args[:creator_email] if args.key?(:creator_email) - @description = args[:description] if args.key?(:description) - @draft_access_list = args[:draft_access_list] if args.key?(:draft_access_list) - @etag = args[:etag] if args.key?(:etag) - @id = args[:id] if args.key?(:id) - @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) - @last_modifier_email = args[:last_modifier_email] if args.key?(:last_modifier_email) - @mosaic = args[:mosaic] if args.key?(:mosaic) - @name = args[:name] if args.key?(:name) - @processing_status = args[:processing_status] if args.key?(:processing_status) - @project_id = args[:project_id] if args.key?(:project_id) - @raster_type = args[:raster_type] if args.key?(:raster_type) - @tags = args[:tags] if args.key?(:tags) - @writers_can_edit_permissions = args[:writers_can_edit_permissions] if args.key?(:writers_can_edit_permissions) - end - end - - # The response returned by a call to raster_collections.List. Note: The list - # response does not include all the fields available in a raster collection. - # Refer to the RasterCollection resource description for details of the fields - # that are not included. You'll need to send a get request to retrieve the - # additional fields for each raster collection. - class ListRasterCollectionsResponse - include Google::Apis::Core::Hashable - - # Next page token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Resources returned. - # Corresponds to the JSON property `rasterCollections` - # @return [Array] - attr_accessor :raster_collections - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @raster_collections = args[:raster_collections] if args.key?(:raster_collections) - end - end - - # A raster resource. - class RasterCollectionsRaster - include Google::Apis::Core::Hashable - - # A rectangular bounding box which contains all of the data in this Raster. The - # box is expressed as \"west, south, east, north\". The numbers represent - # latitudes and longitudes in decimal degrees. - # Corresponds to the JSON property `bbox` - # @return [Array] - attr_accessor :bbox - - # The creation time of this raster. The value is an RFC 3339 formatted date-time - # value (e.g. 1970-01-01T00:00:00Z). - # Corresponds to the JSON property `creationTime` - # @return [DateTime] - attr_accessor :creation_time - - # The description of this Raster, supplied by the author. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # A globally unique ID, used to refer to this Raster. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The last modified time of this raster. The value is an RFC 3339 formatted date- - # time value (e.g. 1970-01-01T00:00:00Z). - # Corresponds to the JSON property `lastModifiedTime` - # @return [DateTime] - attr_accessor :last_modified_time - - # The name of this Raster, supplied by the author. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The ID of the project that this Raster is in. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # The type of this Raster. Always "image" today. - # Corresponds to the JSON property `rasterType` - # @return [String] - attr_accessor :raster_type - - # Tags of this Raster. - # Corresponds to the JSON property `tags` - # @return [Array] - attr_accessor :tags - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bbox = args[:bbox] if args.key?(:bbox) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @description = args[:description] if args.key?(:description) - @id = args[:id] if args.key?(:id) - @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) - @name = args[:name] if args.key?(:name) - @project_id = args[:project_id] if args.key?(:project_id) - @raster_type = args[:raster_type] if args.key?(:raster_type) - @tags = args[:tags] if args.key?(:tags) - end - end - - # The request sent to rasterCollections.Rasters.BatchDelete. - class BatchDeleteRasterCollectionsRasterRequest - include Google::Apis::Core::Hashable - - # An array of Raster asset IDs to be removed from this RasterCollection. - # Corresponds to the JSON property `ids` - # @return [Array] - attr_accessor :ids - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ids = args[:ids] if args.key?(:ids) - end - end - - # The response returned by a call to rasterCollections.rasters.batchDelete. - class BatchDeleteRasterCollectionsRastersResponse - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # The request sent to rasterCollections.Rasters.BatchInsert. - class BatchInsertRasterCollectionsRastersRequest - include Google::Apis::Core::Hashable - - # An array of Raster asset IDs to be added to this RasterCollection. - # Corresponds to the JSON property `ids` - # @return [Array] - attr_accessor :ids - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ids = args[:ids] if args.key?(:ids) - end - end - - # The response returned by a call to rasterCollections.rasters.batchInsert. - class BatchInsertRasterCollectionsRastersResponse - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # The response returned by a call to rasterCollections.rasters.List. - class ListRasterCollectionsRastersResponse - include Google::Apis::Core::Hashable - - # Next page token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Resources returned. - # Corresponds to the JSON property `rasters` - # @return [Array] - attr_accessor :rasters - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @rasters = args[:rasters] if args.key?(:rasters) - end - end - - # The response returned by a call to rasters.List. - class ListRastersResponse - include Google::Apis::Core::Hashable - - # Next page token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Resources returned. - # Corresponds to the JSON property `rasters` - # @return [Array] - attr_accessor :rasters - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @rasters = args[:rasters] if args.key?(:rasters) - end - end - - # Parameters for styling points as scaled shapes. - class ScaledShape - include Google::Apis::Core::Hashable - - # Border in line style. Both color and width are required. - # Corresponds to the JSON property `border` - # @return [Google::Apis::MapsengineV1::Border] - attr_accessor :border - - # Basic color used in styling. - # Corresponds to the JSON property `fill` - # @return [Google::Apis::MapsengineV1::Color] - attr_accessor :fill - - # Name of the shape. - # Corresponds to the JSON property `shape` - # @return [String] - attr_accessor :shape - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @border = args[:border] if args.key?(:border) - @fill = args[:fill] if args.key?(:fill) - @shape = args[:shape] if args.key?(:shape) - end - end - - # Parameters for scaling scaled shapes. - class ScalingFunction - include Google::Apis::Core::Hashable - - # Name of the numeric column used to scale a shape. - # Corresponds to the JSON property `column` - # @return [String] - attr_accessor :column - - # The type of scaling function to use. Defaults to SQRT. Currently only linear - # and square root scaling are supported. - # Corresponds to the JSON property `scalingType` - # @return [String] - attr_accessor :scaling_type - - # Scaled shape size range in pixels. For circles, size corresponds to diameter. - # Corresponds to the JSON property `sizeRange` - # @return [Google::Apis::MapsengineV1::SizeRange] - attr_accessor :size_range - - # Range of values used for scaling shapes. The min/max values will be drawn as - # shapes with the min/max size. - # Corresponds to the JSON property `valueRange` - # @return [Google::Apis::MapsengineV1::ValueRange] - attr_accessor :value_range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @column = args[:column] if args.key?(:column) - @scaling_type = args[:scaling_type] if args.key?(:scaling_type) - @size_range = args[:size_range] if args.key?(:size_range) - @value_range = args[:value_range] if args.key?(:value_range) - end - end - - # A schema indicating the properties which may be associated with features - # within a Table, and the types of those properties. - class Schema - include Google::Apis::Core::Hashable - - # An array of TableColumn objects. The first object in the array must be named - # geometry and be of type points, lineStrings, polygons, or mixedGeometry. - # Corresponds to the JSON property `columns` - # @return [Array] - attr_accessor :columns - - # The name of the column that contains a feature's geometry. This field can be - # omitted during table create; Google Maps Engine supports only a single - # geometry column, which must be named geometry and be the first object in the - # columns array. - # Corresponds to the JSON property `primaryGeometry` - # @return [String] - attr_accessor :primary_geometry - - # The name of the column that contains the unique identifier of a Feature. - # Corresponds to the JSON property `primaryKey` - # @return [String] - attr_accessor :primary_key - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @columns = args[:columns] if args.key?(:columns) - @primary_geometry = args[:primary_geometry] if args.key?(:primary_geometry) - @primary_key = args[:primary_key] if args.key?(:primary_key) - end - end - - # Scaled shape size range in pixels. For circles, size corresponds to diameter. - class SizeRange - include Google::Apis::Core::Hashable - - # Maximum size, in pixels. - # Corresponds to the JSON property `max` - # @return [Float] - attr_accessor :max - - # Minimum size, in pixels. - # Corresponds to the JSON property `min` - # @return [Float] - attr_accessor :min - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @max = args[:max] if args.key?(:max) - @min = args[:min] if args.key?(:min) - end - end - - # A collection of geographic features, and associated metadata. - class Table - include Google::Apis::Core::Hashable - - # A rectangular bounding box which contains all of the data in this Table. The - # box is expressed as \"west, south, east, north\". The numbers represent - # latitude and longitude in decimal degrees. - # Corresponds to the JSON property `bbox` - # @return [Array] - attr_accessor :bbox - - # The creation time of this table. The value is an RFC 3339 formatted date-time - # value (e.g. 1970-01-01T00:00:00Z). - # Corresponds to the JSON property `creationTime` - # @return [DateTime] - attr_accessor :creation_time - - # The email address of the creator of this table. This is only returned on GET - # requests and not LIST requests. - # Corresponds to the JSON property `creatorEmail` - # @return [String] - attr_accessor :creator_email - - # The description of this table, supplied by the author. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Deprecated: The name of an access list of the Map Editor type. The user on - # whose behalf the request is being sent must be an editor on that access list. - # Note: Google Maps Engine no longer uses access lists. Instead, each asset has - # its own list of permissions. For backward compatibility, the API still accepts - # access lists for projects that are already using access lists. If you created - # a GME account/project after July 14th, 2014, you will not be able to send API - # requests that include access lists. Note: This is an input field only. It is - # not returned in response to a list or get request. - # Corresponds to the JSON property `draftAccessList` - # @return [String] - attr_accessor :draft_access_list - - # The ETag, used to refer to the current version of the asset. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # The files associated with this table. - # Corresponds to the JSON property `files` - # @return [Array] - attr_accessor :files - - # A globally unique ID, used to refer to this table. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The last modified time of this table. The value is an RFC 3339 formatted date- - # time value (e.g. 1970-01-01T00:00:00Z). - # Corresponds to the JSON property `lastModifiedTime` - # @return [DateTime] - attr_accessor :last_modified_time - - # The email address of the last modifier of this table. This is only returned on - # GET requests and not LIST requests. - # Corresponds to the JSON property `lastModifierEmail` - # @return [String] - attr_accessor :last_modifier_email - - # The name of this table, supplied by the author. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The processing status of this table. - # Corresponds to the JSON property `processingStatus` - # @return [String] - attr_accessor :processing_status - - # The ID of the project to which the table belongs. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # Deprecated: The access list to whom view permissions are granted. The value - # must be the name of a Maps Engine access list of the Map Viewer type, and the - # user must be a viewer on that list. Note: Google Maps Engine no longer uses - # access lists. Instead, each asset has its own list of permissions. For - # backward compatibility, the API still accepts access lists for projects that - # are already using access lists. If you created a GME account/project after - # July 14th, 2014, you will not be able to send API requests that include access - # lists. Note: This is an input field only. It is not returned in response to a - # list or get request. - # Corresponds to the JSON property `publishedAccessList` - # @return [String] - attr_accessor :published_access_list - - # A schema indicating the properties which may be associated with features - # within a Table, and the types of those properties. - # Corresponds to the JSON property `schema` - # @return [Google::Apis::MapsengineV1::Schema] - attr_accessor :schema - - # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, - # and Shift_JIS. - # Corresponds to the JSON property `sourceEncoding` - # @return [String] - attr_accessor :source_encoding - - # An array of text strings, with each string representing a tag. More - # information about tags can be found in the Tagging data article of the Maps - # Engine help center. - # Corresponds to the JSON property `tags` - # @return [Array] - attr_accessor :tags - - # If true, WRITERs of the asset are able to edit the asset permissions. - # Corresponds to the JSON property `writersCanEditPermissions` - # @return [Boolean] - attr_accessor :writers_can_edit_permissions - alias_method :writers_can_edit_permissions?, :writers_can_edit_permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bbox = args[:bbox] if args.key?(:bbox) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @creator_email = args[:creator_email] if args.key?(:creator_email) - @description = args[:description] if args.key?(:description) - @draft_access_list = args[:draft_access_list] if args.key?(:draft_access_list) - @etag = args[:etag] if args.key?(:etag) - @files = args[:files] if args.key?(:files) - @id = args[:id] if args.key?(:id) - @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) - @last_modifier_email = args[:last_modifier_email] if args.key?(:last_modifier_email) - @name = args[:name] if args.key?(:name) - @processing_status = args[:processing_status] if args.key?(:processing_status) - @project_id = args[:project_id] if args.key?(:project_id) - @published_access_list = args[:published_access_list] if args.key?(:published_access_list) - @schema = args[:schema] if args.key?(:schema) - @source_encoding = args[:source_encoding] if args.key?(:source_encoding) - @tags = args[:tags] if args.key?(:tags) - @writers_can_edit_permissions = args[:writers_can_edit_permissions] if args.key?(:writers_can_edit_permissions) - end - end - - # - class TableColumn - include Google::Apis::Core::Hashable - - # The column name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The type of data stored in this column. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @type = args[:type] if args.key?(:type) - end - end - - # The response returned by a call to tables.List. Note: The list response does - # not include all the fields available in a table. Refer to the table resource - # description for details of the fields that are not included. You'll need to - # send a get request to retrieve the additional fields for each table. - class ListTablesResponse - include Google::Apis::Core::Hashable - - # Next page token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Resources returned. - # Corresponds to the JSON property `tables` - # @return [Array] - attr_accessor :tables - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @tables = args[:tables] if args.key?(:tables) - end - end - - # Range of values used for scaling shapes. The min/max values will be drawn as - # shapes with the min/max size. - class ValueRange - include Google::Apis::Core::Hashable - - # Maximum value. - # Corresponds to the JSON property `max` - # @return [Float] - attr_accessor :max - - # Minimum value. - # Corresponds to the JSON property `min` - # @return [Float] - attr_accessor :min - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @max = args[:max] if args.key?(:max) - @min = args[:min] if args.key?(:min) - end - end - - # A vector style contains styling information for vector layer. - class VectorStyle - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `displayRules` - # @return [Array] - attr_accessor :display_rules - - # A feature info contains information about individual feature. - # Corresponds to the JSON property `featureInfo` - # @return [Google::Apis::MapsengineV1::FeatureInfo] - attr_accessor :feature_info - - # The type of the vector style. Currently, only displayRule is supported. - # 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) - @display_rules = args[:display_rules] if args.key?(:display_rules) - @feature_info = args[:feature_info] if args.key?(:feature_info) - @type = args[:type] if args.key?(:type) - end - end - - # Zoom level range. Zoom levels are restricted between 0 and 24, inclusive. - class ZoomLevels - include Google::Apis::Core::Hashable - - # Maximum zoom level. - # Corresponds to the JSON property `max` - # @return [Fixnum] - attr_accessor :max - - # Minimum zoom level. - # Corresponds to the JSON property `min` - # @return [Fixnum] - attr_accessor :min - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @max = args[:max] if args.key?(:max) - @min = args[:min] if args.key?(:min) - end - end - end - end -end diff --git a/generated/google/apis/mapsengine_v1/representations.rb b/generated/google/apis/mapsengine_v1/representations.rb deleted file mode 100644 index a7fe6ccdf..000000000 --- a/generated/google/apis/mapsengine_v1/representations.rb +++ /dev/null @@ -1,1235 +0,0 @@ -# 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 MapsengineV1 - - class GeoJsonGeometry - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class MapItem - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class AcquisitionTime - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Asset - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ListAssetsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Border - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Color - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Datasource - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class DisplayRule - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Feature - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class FeatureInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class BatchDeleteFeaturesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class BatchInsertFeaturesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class BatchPatchFeaturesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ListFeaturesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class File - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Filter - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class GeoJsonGeometryCollection - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class GeoJsonLineString - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class GeoJsonMultiLineString - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class GeoJsonMultiPoint - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class GeoJsonMultiPolygon - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class GeoJsonPoint - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class GeoJsonPolygon - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Icon - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class IconStyle - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ListIconsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class LabelStyle - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Layer - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ListLayersResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class LineStyle - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Stroke - class Representation < Google::Apis::Core::JsonRepresentation; end - end - end - - class Map - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class MapFolder - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class MapKmlLink - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class MapLayer - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ListMapsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Parent - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ListParentsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Permission - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class BatchDeletePermissionsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class BatchDeletePermissionsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class BatchUpdatePermissionsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class BatchUpdatePermissionsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ListPermissionsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class PointStyle - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class PolygonStyle - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ProcessResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Project - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ListProjectsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class PublishResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class PublishedLayer - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ListPublishedLayersResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class PublishedMap - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ListPublishedMapsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Raster - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class RasterCollection - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ListRasterCollectionsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class RasterCollectionsRaster - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class BatchDeleteRasterCollectionsRasterRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class BatchDeleteRasterCollectionsRastersResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class BatchInsertRasterCollectionsRastersRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class BatchInsertRasterCollectionsRastersResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ListRasterCollectionsRastersResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ListRastersResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ScaledShape - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ScalingFunction - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Schema - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class SizeRange - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class Table - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class TableColumn - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ListTablesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ValueRange - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class VectorStyle - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class ZoomLevels - class Representation < Google::Apis::Core::JsonRepresentation; end - end - - class GeoJsonGeometry - # @private - class Representation < Google::Apis::Core::JsonRepresentation - def from_hash(hash, *args) - case hash['type'] - - when 'GeometryCollection' - Google::Apis::MapsengineV1::GeoJsonGeometryCollection::Representation.new(Google::Apis::MapsengineV1::GeoJsonGeometryCollection.new).from_hash(hash, *args) - - when 'LineString' - Google::Apis::MapsengineV1::GeoJsonLineString::Representation.new(Google::Apis::MapsengineV1::GeoJsonLineString.new).from_hash(hash, *args) - - when 'MultiLineString' - Google::Apis::MapsengineV1::GeoJsonMultiLineString::Representation.new(Google::Apis::MapsengineV1::GeoJsonMultiLineString.new).from_hash(hash, *args) - - when 'MultiPoint' - Google::Apis::MapsengineV1::GeoJsonMultiPoint::Representation.new(Google::Apis::MapsengineV1::GeoJsonMultiPoint.new).from_hash(hash, *args) - - when 'MultiPolygon' - Google::Apis::MapsengineV1::GeoJsonMultiPolygon::Representation.new(Google::Apis::MapsengineV1::GeoJsonMultiPolygon.new).from_hash(hash, *args) - - when 'Point' - Google::Apis::MapsengineV1::GeoJsonPoint::Representation.new(Google::Apis::MapsengineV1::GeoJsonPoint.new).from_hash(hash, *args) - - when 'Polygon' - Google::Apis::MapsengineV1::GeoJsonPolygon::Representation.new(Google::Apis::MapsengineV1::GeoJsonPolygon.new).from_hash(hash, *args) - end - end - - def to_hash(*args) - case represented - - when Google::Apis::MapsengineV1::GeoJsonGeometryCollection - Google::Apis::MapsengineV1::GeoJsonGeometryCollection::Representation.new(represented).to_hash(*args) - - when Google::Apis::MapsengineV1::GeoJsonLineString - Google::Apis::MapsengineV1::GeoJsonLineString::Representation.new(represented).to_hash(*args) - - when Google::Apis::MapsengineV1::GeoJsonMultiLineString - Google::Apis::MapsengineV1::GeoJsonMultiLineString::Representation.new(represented).to_hash(*args) - - when Google::Apis::MapsengineV1::GeoJsonMultiPoint - Google::Apis::MapsengineV1::GeoJsonMultiPoint::Representation.new(represented).to_hash(*args) - - when Google::Apis::MapsengineV1::GeoJsonMultiPolygon - Google::Apis::MapsengineV1::GeoJsonMultiPolygon::Representation.new(represented).to_hash(*args) - - when Google::Apis::MapsengineV1::GeoJsonPoint - Google::Apis::MapsengineV1::GeoJsonPoint::Representation.new(represented).to_hash(*args) - - when Google::Apis::MapsengineV1::GeoJsonPolygon - Google::Apis::MapsengineV1::GeoJsonPolygon::Representation.new(represented).to_hash(*args) - end - end - end - end - - class MapItem - # @private - class Representation < Google::Apis::Core::JsonRepresentation - def from_hash(hash, *args) - case hash['type'] - - when 'folder' - Google::Apis::MapsengineV1::MapFolder::Representation.new(Google::Apis::MapsengineV1::MapFolder.new).from_hash(hash, *args) - - when 'kmlLink' - Google::Apis::MapsengineV1::MapKmlLink::Representation.new(Google::Apis::MapsengineV1::MapKmlLink.new).from_hash(hash, *args) - - when 'layer' - Google::Apis::MapsengineV1::MapLayer::Representation.new(Google::Apis::MapsengineV1::MapLayer.new).from_hash(hash, *args) - end - end - - def to_hash(*args) - case represented - - when Google::Apis::MapsengineV1::MapFolder - Google::Apis::MapsengineV1::MapFolder::Representation.new(represented).to_hash(*args) - - when Google::Apis::MapsengineV1::MapKmlLink - Google::Apis::MapsengineV1::MapKmlLink::Representation.new(represented).to_hash(*args) - - when Google::Apis::MapsengineV1::MapLayer - Google::Apis::MapsengineV1::MapLayer::Representation.new(represented).to_hash(*args) - end - end - end - end - - class AcquisitionTime - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :end, as: 'end', type: DateTime - - property :precision, as: 'precision' - property :start, as: 'start', type: DateTime - - end - end - - class Asset - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :bbox, as: 'bbox' - property :creation_time, as: 'creationTime', type: DateTime - - property :creator_email, as: 'creatorEmail' - property :description, as: 'description' - property :etag, as: 'etag' - property :id, as: 'id' - property :last_modified_time, as: 'lastModifiedTime', type: DateTime - - property :last_modifier_email, as: 'lastModifierEmail' - property :name, as: 'name' - property :project_id, as: 'projectId' - property :resource, as: 'resource' - collection :tags, as: 'tags' - property :type, as: 'type' - property :writers_can_edit_permissions, as: 'writersCanEditPermissions' - end - end - - class ListAssetsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :assets, as: 'assets', class: Google::Apis::MapsengineV1::Asset, decorator: Google::Apis::MapsengineV1::Asset::Representation - - property :next_page_token, :base64 => true, as: 'nextPageToken' - end - end - - class Border - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :color, as: 'color' - property :opacity, as: 'opacity' - property :width, as: 'width' - end - end - - class Color - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :color, as: 'color' - property :opacity, as: 'opacity' - end - end - - class Datasource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - end - end - - class DisplayRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :filters, as: 'filters', class: Google::Apis::MapsengineV1::Filter, decorator: Google::Apis::MapsengineV1::Filter::Representation - - property :line_options, as: 'lineOptions', class: Google::Apis::MapsengineV1::LineStyle, decorator: Google::Apis::MapsengineV1::LineStyle::Representation - - property :name, as: 'name' - property :point_options, as: 'pointOptions', class: Google::Apis::MapsengineV1::PointStyle, decorator: Google::Apis::MapsengineV1::PointStyle::Representation - - property :polygon_options, as: 'polygonOptions', class: Google::Apis::MapsengineV1::PolygonStyle, decorator: Google::Apis::MapsengineV1::PolygonStyle::Representation - - property :zoom_levels, as: 'zoomLevels', class: Google::Apis::MapsengineV1::ZoomLevels, decorator: Google::Apis::MapsengineV1::ZoomLevels::Representation - - end - end - - class Feature - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :geometry, as: 'geometry', class: Google::Apis::MapsengineV1::GeoJsonGeometry, decorator: Google::Apis::MapsengineV1::GeoJsonGeometry::Representation - - hash :properties, as: 'properties' - property :type, as: 'type' - end - end - - class FeatureInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :content, as: 'content' - end - end - - class BatchDeleteFeaturesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :gx_ids, as: 'gx_ids' - collection :primary_keys, as: 'primaryKeys' - end - end - - class BatchInsertFeaturesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :features, as: 'features', class: Google::Apis::MapsengineV1::Feature, decorator: Google::Apis::MapsengineV1::Feature::Representation - - property :normalize_geometries, as: 'normalizeGeometries' - end - end - - class BatchPatchFeaturesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :features, as: 'features', class: Google::Apis::MapsengineV1::Feature, decorator: Google::Apis::MapsengineV1::Feature::Representation - - property :normalize_geometries, as: 'normalizeGeometries' - end - end - - class ListFeaturesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :allowed_queries_per_second, as: 'allowedQueriesPerSecond' - collection :features, as: 'features', class: Google::Apis::MapsengineV1::Feature, decorator: Google::Apis::MapsengineV1::Feature::Representation - - property :next_page_token, as: 'nextPageToken' - property :schema, as: 'schema', class: Google::Apis::MapsengineV1::Schema, decorator: Google::Apis::MapsengineV1::Schema::Representation - - property :type, as: 'type' - end - end - - class File - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :filename, as: 'filename' - property :size, as: 'size' - property :upload_status, as: 'uploadStatus' - end - end - - class Filter - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :column, as: 'column' - property :operator, as: 'operator' - property :value, as: 'value' - end - end - - class GeoJsonGeometryCollection - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :geometries, as: 'geometries', class: Google::Apis::MapsengineV1::GeoJsonGeometry, decorator: Google::Apis::MapsengineV1::GeoJsonGeometry::Representation - - property :type, as: 'type' - end - end - - class GeoJsonLineString - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :coordinates, as: 'coordinates', :class => Array do - include Representable::JSON::Collection - items - end - - property :type, as: 'type' - end - end - - class GeoJsonMultiLineString - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :coordinates, as: 'coordinates', :class => Array do - include Representable::JSON::Collection - items :class => Array do - include Representable::JSON::Collection - items - end - - end - - property :type, as: 'type' - end - end - - class GeoJsonMultiPoint - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :coordinates, as: 'coordinates', :class => Array do - include Representable::JSON::Collection - items - end - - property :type, as: 'type' - end - end - - class GeoJsonMultiPolygon - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :coordinates, as: 'coordinates', :class => Array do - include Representable::JSON::Collection - items :class => Array do - include Representable::JSON::Collection - items :class => Array do - include Representable::JSON::Collection - items - end - - end - - end - - property :type, as: 'type' - end - end - - class GeoJsonPoint - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :coordinates, as: 'coordinates' - property :type, as: 'type' - end - end - - class GeoJsonPolygon - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :coordinates, as: 'coordinates', :class => Array do - include Representable::JSON::Collection - items :class => Array do - include Representable::JSON::Collection - items - end - - end - - property :type, as: 'type' - end - end - - class Icon - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :id, as: 'id' - property :name, as: 'name' - end - end - - class IconStyle - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :name, as: 'name' - property :scaled_shape, as: 'scaledShape', class: Google::Apis::MapsengineV1::ScaledShape, decorator: Google::Apis::MapsengineV1::ScaledShape::Representation - - property :scaling_function, as: 'scalingFunction', class: Google::Apis::MapsengineV1::ScalingFunction, decorator: Google::Apis::MapsengineV1::ScalingFunction::Representation - - end - end - - class ListIconsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :icons, as: 'icons', class: Google::Apis::MapsengineV1::Icon, decorator: Google::Apis::MapsengineV1::Icon::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class LabelStyle - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :color, as: 'color' - property :column, as: 'column' - property :font_style, as: 'fontStyle' - property :font_weight, as: 'fontWeight' - property :opacity, as: 'opacity' - property :outline, as: 'outline', class: Google::Apis::MapsengineV1::Color, decorator: Google::Apis::MapsengineV1::Color::Representation - - property :size, as: 'size' - end - end - - class Layer - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :bbox, as: 'bbox' - property :creation_time, as: 'creationTime', type: DateTime - - property :creator_email, as: 'creatorEmail' - property :datasource_type, as: 'datasourceType' - collection :datasources, as: 'datasources', class: Google::Apis::MapsengineV1::Datasource, decorator: Google::Apis::MapsengineV1::Datasource::Representation - - property :description, as: 'description' - property :draft_access_list, as: 'draftAccessList' - property :etag, as: 'etag' - property :id, as: 'id' - property :last_modified_time, as: 'lastModifiedTime', type: DateTime - - property :last_modifier_email, as: 'lastModifierEmail' - property :layer_type, as: 'layerType' - property :name, as: 'name' - property :processing_status, as: 'processingStatus' - property :project_id, as: 'projectId' - property :published_access_list, as: 'publishedAccessList' - property :publishing_status, as: 'publishingStatus' - property :style, as: 'style', class: Google::Apis::MapsengineV1::VectorStyle, decorator: Google::Apis::MapsengineV1::VectorStyle::Representation - - collection :tags, as: 'tags' - property :writers_can_edit_permissions, as: 'writersCanEditPermissions' - end - end - - class ListLayersResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :layers, as: 'layers', class: Google::Apis::MapsengineV1::Layer, decorator: Google::Apis::MapsengineV1::Layer::Representation - - property :next_page_token, :base64 => true, as: 'nextPageToken' - end - end - - class LineStyle - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :border, as: 'border', class: Google::Apis::MapsengineV1::Border, decorator: Google::Apis::MapsengineV1::Border::Representation - - collection :dash, as: 'dash' - property :label, as: 'label', class: Google::Apis::MapsengineV1::LabelStyle, decorator: Google::Apis::MapsengineV1::LabelStyle::Representation - - property :stroke, as: 'stroke', class: Google::Apis::MapsengineV1::LineStyle::Stroke, decorator: Google::Apis::MapsengineV1::LineStyle::Stroke::Representation - - end - - class Stroke - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :color, as: 'color' - property :opacity, as: 'opacity' - property :width, as: 'width' - end - end - end - - class Map - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :bbox, as: 'bbox' - collection :contents, as: 'contents', class: Google::Apis::MapsengineV1::MapItem, decorator: Google::Apis::MapsengineV1::MapItem::Representation - - property :creation_time, as: 'creationTime', type: DateTime - - property :creator_email, as: 'creatorEmail' - collection :default_viewport, as: 'defaultViewport' - property :description, as: 'description' - property :draft_access_list, as: 'draftAccessList' - property :etag, as: 'etag' - property :id, as: 'id' - property :last_modified_time, as: 'lastModifiedTime', type: DateTime - - property :last_modifier_email, as: 'lastModifierEmail' - property :name, as: 'name' - property :processing_status, as: 'processingStatus' - property :project_id, as: 'projectId' - property :published_access_list, as: 'publishedAccessList' - property :publishing_status, as: 'publishingStatus' - collection :tags, as: 'tags' - collection :versions, as: 'versions' - property :writers_can_edit_permissions, as: 'writersCanEditPermissions' - end - end - - class MapFolder - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :contents, as: 'contents', class: Google::Apis::MapsengineV1::MapItem, decorator: Google::Apis::MapsengineV1::MapItem::Representation - - collection :default_viewport, as: 'defaultViewport' - property :expandable, as: 'expandable' - property :key, as: 'key' - property :name, as: 'name' - property :type, as: 'type' - property :visibility, as: 'visibility' - end - end - - class MapKmlLink - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :default_viewport, as: 'defaultViewport' - property :kml_url, as: 'kmlUrl' - property :name, as: 'name' - property :type, as: 'type' - property :visibility, as: 'visibility' - end - end - - class MapLayer - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :default_viewport, as: 'defaultViewport' - property :id, as: 'id' - property :key, as: 'key' - property :name, as: 'name' - property :type, as: 'type' - property :visibility, as: 'visibility' - end - end - - class ListMapsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :maps, as: 'maps', class: Google::Apis::MapsengineV1::Map, decorator: Google::Apis::MapsengineV1::Map::Representation - - property :next_page_token, :base64 => true, as: 'nextPageToken' - end - end - - class Parent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - end - end - - class ListParentsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :parents, as: 'parents', class: Google::Apis::MapsengineV1::Parent, decorator: Google::Apis::MapsengineV1::Parent::Representation - - end - end - - class Permission - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :discoverable, as: 'discoverable' - property :id, as: 'id' - property :role, as: 'role' - property :type, as: 'type' - end - end - - class BatchDeletePermissionsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :ids, as: 'ids' - end - end - - class BatchDeletePermissionsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class BatchUpdatePermissionsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions', class: Google::Apis::MapsengineV1::Permission, decorator: Google::Apis::MapsengineV1::Permission::Representation - - end - end - - class BatchUpdatePermissionsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class ListPermissionsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions', class: Google::Apis::MapsengineV1::Permission, decorator: Google::Apis::MapsengineV1::Permission::Representation - - end - end - - class PointStyle - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :icon, as: 'icon', class: Google::Apis::MapsengineV1::IconStyle, decorator: Google::Apis::MapsengineV1::IconStyle::Representation - - property :label, as: 'label', class: Google::Apis::MapsengineV1::LabelStyle, decorator: Google::Apis::MapsengineV1::LabelStyle::Representation - - end - end - - class PolygonStyle - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :fill, as: 'fill', class: Google::Apis::MapsengineV1::Color, decorator: Google::Apis::MapsengineV1::Color::Representation - - property :label, as: 'label', class: Google::Apis::MapsengineV1::LabelStyle, decorator: Google::Apis::MapsengineV1::LabelStyle::Representation - - property :stroke, as: 'stroke', class: Google::Apis::MapsengineV1::Border, decorator: Google::Apis::MapsengineV1::Border::Representation - - end - end - - class ProcessResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class Project - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :name, as: 'name' - end - end - - class ListProjectsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :projects, as: 'projects', class: Google::Apis::MapsengineV1::Project, decorator: Google::Apis::MapsengineV1::Project::Representation - - end - end - - class PublishResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class PublishedLayer - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :id, as: 'id' - property :layer_type, as: 'layerType' - property :name, as: 'name' - property :project_id, as: 'projectId' - end - end - - class ListPublishedLayersResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :layers, as: 'layers', class: Google::Apis::MapsengineV1::PublishedLayer, decorator: Google::Apis::MapsengineV1::PublishedLayer::Representation - - property :next_page_token, :base64 => true, as: 'nextPageToken' - end - end - - class PublishedMap - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :contents, as: 'contents', class: Google::Apis::MapsengineV1::MapItem, decorator: Google::Apis::MapsengineV1::MapItem::Representation - - collection :default_viewport, as: 'defaultViewport' - property :description, as: 'description' - property :id, as: 'id' - property :name, as: 'name' - property :project_id, as: 'projectId' - end - end - - class ListPublishedMapsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :maps, as: 'maps', class: Google::Apis::MapsengineV1::PublishedMap, decorator: Google::Apis::MapsengineV1::PublishedMap::Representation - - property :next_page_token, :base64 => true, as: 'nextPageToken' - end - end - - class Raster - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :acquisition_time, as: 'acquisitionTime', class: Google::Apis::MapsengineV1::AcquisitionTime, decorator: Google::Apis::MapsengineV1::AcquisitionTime::Representation - - property :attribution, as: 'attribution' - collection :bbox, as: 'bbox' - property :creation_time, as: 'creationTime', type: DateTime - - property :creator_email, as: 'creatorEmail' - property :description, as: 'description' - property :draft_access_list, as: 'draftAccessList' - property :etag, as: 'etag' - collection :files, as: 'files', class: Google::Apis::MapsengineV1::File, decorator: Google::Apis::MapsengineV1::File::Representation - - property :id, as: 'id' - property :last_modified_time, as: 'lastModifiedTime', type: DateTime - - property :last_modifier_email, as: 'lastModifierEmail' - property :mask_type, as: 'maskType' - property :name, as: 'name' - property :processing_status, as: 'processingStatus' - property :project_id, as: 'projectId' - property :raster_type, as: 'rasterType' - collection :tags, as: 'tags' - property :writers_can_edit_permissions, as: 'writersCanEditPermissions' - end - end - - class RasterCollection - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :attribution, as: 'attribution' - collection :bbox, as: 'bbox' - property :creation_time, as: 'creationTime', type: DateTime - - property :creator_email, as: 'creatorEmail' - property :description, as: 'description' - property :draft_access_list, as: 'draftAccessList' - property :etag, as: 'etag' - property :id, as: 'id' - property :last_modified_time, as: 'lastModifiedTime', type: DateTime - - property :last_modifier_email, as: 'lastModifierEmail' - property :mosaic, as: 'mosaic' - property :name, as: 'name' - property :processing_status, as: 'processingStatus' - property :project_id, as: 'projectId' - property :raster_type, as: 'rasterType' - collection :tags, as: 'tags' - property :writers_can_edit_permissions, as: 'writersCanEditPermissions' - end - end - - class ListRasterCollectionsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, :base64 => true, as: 'nextPageToken' - collection :raster_collections, as: 'rasterCollections', class: Google::Apis::MapsengineV1::RasterCollection, decorator: Google::Apis::MapsengineV1::RasterCollection::Representation - - end - end - - class RasterCollectionsRaster - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :bbox, as: 'bbox' - property :creation_time, as: 'creationTime', type: DateTime - - property :description, as: 'description' - property :id, as: 'id' - property :last_modified_time, as: 'lastModifiedTime', type: DateTime - - property :name, as: 'name' - property :project_id, as: 'projectId' - property :raster_type, as: 'rasterType' - collection :tags, as: 'tags' - end - end - - class BatchDeleteRasterCollectionsRasterRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :ids, as: 'ids' - end - end - - class BatchDeleteRasterCollectionsRastersResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class BatchInsertRasterCollectionsRastersRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :ids, as: 'ids' - end - end - - class BatchInsertRasterCollectionsRastersResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class ListRasterCollectionsRastersResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :rasters, as: 'rasters', class: Google::Apis::MapsengineV1::RasterCollectionsRaster, decorator: Google::Apis::MapsengineV1::RasterCollectionsRaster::Representation - - end - end - - class ListRastersResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :rasters, as: 'rasters', class: Google::Apis::MapsengineV1::Raster, decorator: Google::Apis::MapsengineV1::Raster::Representation - - end - end - - class ScaledShape - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :border, as: 'border', class: Google::Apis::MapsengineV1::Border, decorator: Google::Apis::MapsengineV1::Border::Representation - - property :fill, as: 'fill', class: Google::Apis::MapsengineV1::Color, decorator: Google::Apis::MapsengineV1::Color::Representation - - property :shape, as: 'shape' - end - end - - class ScalingFunction - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :column, as: 'column' - property :scaling_type, as: 'scalingType' - property :size_range, as: 'sizeRange', class: Google::Apis::MapsengineV1::SizeRange, decorator: Google::Apis::MapsengineV1::SizeRange::Representation - - property :value_range, as: 'valueRange', class: Google::Apis::MapsengineV1::ValueRange, decorator: Google::Apis::MapsengineV1::ValueRange::Representation - - end - end - - class Schema - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :columns, as: 'columns', class: Google::Apis::MapsengineV1::TableColumn, decorator: Google::Apis::MapsengineV1::TableColumn::Representation - - property :primary_geometry, as: 'primaryGeometry' - property :primary_key, as: 'primaryKey' - end - end - - class SizeRange - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :max, as: 'max' - property :min, as: 'min' - end - end - - class Table - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :bbox, as: 'bbox' - property :creation_time, as: 'creationTime', type: DateTime - - property :creator_email, as: 'creatorEmail' - property :description, as: 'description' - property :draft_access_list, as: 'draftAccessList' - property :etag, as: 'etag' - collection :files, as: 'files', class: Google::Apis::MapsengineV1::File, decorator: Google::Apis::MapsengineV1::File::Representation - - property :id, as: 'id' - property :last_modified_time, as: 'lastModifiedTime', type: DateTime - - property :last_modifier_email, as: 'lastModifierEmail' - property :name, as: 'name' - property :processing_status, as: 'processingStatus' - property :project_id, as: 'projectId' - property :published_access_list, as: 'publishedAccessList' - property :schema, as: 'schema', class: Google::Apis::MapsengineV1::Schema, decorator: Google::Apis::MapsengineV1::Schema::Representation - - property :source_encoding, as: 'sourceEncoding' - collection :tags, as: 'tags' - property :writers_can_edit_permissions, as: 'writersCanEditPermissions' - end - end - - class TableColumn - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :type, as: 'type' - end - end - - class ListTablesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, :base64 => true, as: 'nextPageToken' - collection :tables, as: 'tables', class: Google::Apis::MapsengineV1::Table, decorator: Google::Apis::MapsengineV1::Table::Representation - - end - end - - class ValueRange - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :max, as: 'max' - property :min, as: 'min' - end - end - - class VectorStyle - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :display_rules, as: 'displayRules', class: Google::Apis::MapsengineV1::DisplayRule, decorator: Google::Apis::MapsengineV1::DisplayRule::Representation - - property :feature_info, as: 'featureInfo', class: Google::Apis::MapsengineV1::FeatureInfo, decorator: Google::Apis::MapsengineV1::FeatureInfo::Representation - - property :type, as: 'type' - end - end - - class ZoomLevels - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :max, as: 'max' - property :min, as: 'min' - end - end - end - end -end diff --git a/generated/google/apis/mapsengine_v1/service.rb b/generated/google/apis/mapsengine_v1/service.rb deleted file mode 100644 index e8f244ff5..000000000 --- a/generated/google/apis/mapsengine_v1/service.rb +++ /dev/null @@ -1,3388 +0,0 @@ -# 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 MapsengineV1 - # Google Maps Engine API - # - # The Google Maps Engine API allows developers to store and query geospatial - # vector and raster data. - # - # @example - # require 'google/apis/mapsengine_v1' - # - # Mapsengine = Google::Apis::MapsengineV1 # Alias the module - # service = Mapsengine::MapsEngineService.new - # - # @see https://developers.google.com/maps-engine/ - class MapsEngineService < 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. - # Overrides userIp if both are provided. - attr_accessor :quota_user - - # @return [String] - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - attr_accessor :user_ip - - def initialize - super('https://www.googleapis.com/', 'mapsengine/v1/') - end - - # Return metadata for a particular asset. - # @param [String] id - # The ID of the asset. - # @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::MapsengineV1::Asset] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::Asset] - # - # @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_asset(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'assets/{id}', options) - command.response_representation = Google::Apis::MapsengineV1::Asset::Representation - command.response_class = Google::Apis::MapsengineV1::Asset - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return all assets readable by the current user. - # @param [String] bbox - # A bounding box, expressed as "west,south,east,north". If set, only assets - # which intersect this bounding box will be returned. - # @param [DateTime] created_after - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been created at or after this time. - # @param [DateTime] created_before - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been created at or before this time. - # @param [String] creator_email - # An email address representing a user. Returned assets that have been created - # by the user associated with the provided email address. - # @param [Fixnum] max_results - # The maximum number of items to include in a single response page. The maximum - # supported value is 100. - # @param [DateTime] modified_after - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been modified at or after this time. - # @param [DateTime] modified_before - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been modified at or before this time. - # @param [String] page_token - # The continuation token, used to page through large result sets. To get the - # next page of results, set this parameter to the value of nextPageToken from - # the previous response. - # @param [String] project_id - # The ID of a Maps Engine project, used to filter the response. To list all - # available projects with their IDs, send a Projects: list request. You can also - # find your project ID as the value of the DashboardPlace:cid URL parameter when - # signed in to mapsengine.google.com. - # @param [String] role - # The role parameter indicates that the response should only contain assets - # where the current user has the specified level of access. - # @param [String] search - # An unstructured search string used to filter the set of results based on asset - # metadata. - # @param [String] tags - # A comma separated list of tags. Returned assets will contain all the tags from - # the list. - # @param [String] type - # A comma separated list of asset types. Returned assets will have one of the - # types from the provided list. Supported values are 'map', 'layer', ' - # rasterCollection' and 'table'. - # @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::MapsengineV1::ListAssetsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListAssetsResponse] - # - # @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_assets(bbox: nil, created_after: nil, created_before: nil, creator_email: nil, max_results: nil, modified_after: nil, modified_before: nil, page_token: nil, project_id: nil, role: nil, search: nil, tags: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'assets', options) - command.response_representation = Google::Apis::MapsengineV1::ListAssetsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListAssetsResponse - command.query['bbox'] = bbox unless bbox.nil? - command.query['createdAfter'] = created_after unless created_after.nil? - command.query['createdBefore'] = created_before unless created_before.nil? - command.query['creatorEmail'] = creator_email unless creator_email.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['modifiedAfter'] = modified_after unless modified_after.nil? - command.query['modifiedBefore'] = modified_before unless modified_before.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['role'] = role unless role.nil? - command.query['search'] = search unless search.nil? - command.query['tags'] = tags unless tags.nil? - command.query['type'] = type unless type.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 - - # Return all parent ids of the specified asset. - # @param [String] id - # The ID of the asset whose parents will be listed. - # @param [Fixnum] max_results - # The maximum number of items to include in a single response page. The maximum - # supported value is 50. - # @param [String] page_token - # The continuation token, used to page through large result sets. To get the - # next page of results, set this parameter to the value of nextPageToken from - # the previous 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. - # 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::MapsengineV1::ListParentsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListParentsResponse] - # - # @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_asset_parents(id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'assets/{id}/parents', options) - command.response_representation = Google::Apis::MapsengineV1::ListParentsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListParentsResponse - command.params['id'] = id unless id.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? - execute_or_queue_command(command, &block) - end - - # Return all of the permissions for the specified asset. - # @param [String] id - # The ID of the asset whose permissions will be listed. - # @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::MapsengineV1::ListPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListPermissionsResponse] - # - # @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_asset_permissions(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'assets/{id}/permissions', options) - command.response_representation = Google::Apis::MapsengineV1::ListPermissionsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListPermissionsResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Cancel processing on a layer asset. - # @param [String] id - # The ID of the layer. - # @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::MapsengineV1::ProcessResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ProcessResponse] - # - # @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_layer_processing(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'layers/{id}/cancelProcessing', options) - command.response_representation = Google::Apis::MapsengineV1::ProcessResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ProcessResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Create a layer asset. - # @param [Google::Apis::MapsengineV1::Layer] layer_object - # @param [Boolean] process - # Whether to queue the created layer for processing. - # @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::MapsengineV1::Layer] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::Layer] - # - # @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_layer(layer_object = nil, process: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'layers', options) - command.request_representation = Google::Apis::MapsengineV1::Layer::Representation - command.request_object = layer_object - command.response_representation = Google::Apis::MapsengineV1::Layer::Representation - command.response_class = Google::Apis::MapsengineV1::Layer - command.query['process'] = process unless process.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 - - # Delete a layer. - # @param [String] id - # The ID of the layer. Only the layer creator or project owner are permitted to - # delete. If the layer is published, or included in a map, the request will fail. - # Unpublish the layer, and remove it from all maps prior to deleting. - # @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 [NilClass] No result returned for this method - # @yieldparam err [StandardError] error object if request failed - # - # @return [void] - # - # @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_layer(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, 'layers/{id}', options) - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return metadata for a particular layer. - # @param [String] id - # The ID of the layer. - # @param [String] version - # Deprecated: The version parameter indicates which version of the layer should - # be returned. When version is set to published, the published version of the - # layer will be returned. Please use the layers.getPublished endpoint instead. - # @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::MapsengineV1::Layer] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::Layer] - # - # @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_layer(id, version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'layers/{id}', options) - command.response_representation = Google::Apis::MapsengineV1::Layer::Representation - command.response_class = Google::Apis::MapsengineV1::Layer - command.params['id'] = id unless id.nil? - command.query['version'] = version unless version.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 - - # Return the published metadata for a particular layer. - # @param [String] id - # The ID of the layer. - # @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::MapsengineV1::PublishedLayer] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::PublishedLayer] - # - # @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_published_layer(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'layers/{id}/published', options) - command.response_representation = Google::Apis::MapsengineV1::PublishedLayer::Representation - command.response_class = Google::Apis::MapsengineV1::PublishedLayer - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return all layers readable by the current user. - # @param [String] bbox - # A bounding box, expressed as "west,south,east,north". If set, only assets - # which intersect this bounding box will be returned. - # @param [DateTime] created_after - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been created at or after this time. - # @param [DateTime] created_before - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been created at or before this time. - # @param [String] creator_email - # An email address representing a user. Returned assets that have been created - # by the user associated with the provided email address. - # @param [Fixnum] max_results - # The maximum number of items to include in a single response page. The maximum - # supported value is 100. - # @param [DateTime] modified_after - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been modified at or after this time. - # @param [DateTime] modified_before - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been modified at or before this time. - # @param [String] page_token - # The continuation token, used to page through large result sets. To get the - # next page of results, set this parameter to the value of nextPageToken from - # the previous response. - # @param [String] processing_status - # @param [String] project_id - # The ID of a Maps Engine project, used to filter the response. To list all - # available projects with their IDs, send a Projects: list request. You can also - # find your project ID as the value of the DashboardPlace:cid URL parameter when - # signed in to mapsengine.google.com. - # @param [String] role - # The role parameter indicates that the response should only contain assets - # where the current user has the specified level of access. - # @param [String] search - # An unstructured search string used to filter the set of results based on asset - # metadata. - # @param [String] tags - # A comma separated list of tags. Returned assets will contain all the tags from - # the 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. - # 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::MapsengineV1::ListLayersResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListLayersResponse] - # - # @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_layers(bbox: nil, created_after: nil, created_before: nil, creator_email: nil, max_results: nil, modified_after: nil, modified_before: nil, page_token: nil, processing_status: nil, project_id: nil, role: nil, search: nil, tags: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'layers', options) - command.response_representation = Google::Apis::MapsengineV1::ListLayersResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListLayersResponse - command.query['bbox'] = bbox unless bbox.nil? - command.query['createdAfter'] = created_after unless created_after.nil? - command.query['createdBefore'] = created_before unless created_before.nil? - command.query['creatorEmail'] = creator_email unless creator_email.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['modifiedAfter'] = modified_after unless modified_after.nil? - command.query['modifiedBefore'] = modified_before unless modified_before.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['processingStatus'] = processing_status unless processing_status.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['role'] = role unless role.nil? - command.query['search'] = search unless search.nil? - command.query['tags'] = tags unless tags.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 - - # Return all published layers readable by the current user. - # @param [Fixnum] max_results - # The maximum number of items to include in a single response page. The maximum - # supported value is 100. - # @param [String] page_token - # The continuation token, used to page through large result sets. To get the - # next page of results, set this parameter to the value of nextPageToken from - # the previous response. - # @param [String] project_id - # The ID of a Maps Engine project, used to filter the response. To list all - # available projects with their IDs, send a Projects: list request. You can also - # find your project ID as the value of the DashboardPlace:cid URL parameter when - # signed in to mapsengine.google.com. - # @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::MapsengineV1::ListPublishedLayersResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListPublishedLayersResponse] - # - # @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_published_layers(max_results: nil, page_token: nil, project_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'layers/published', options) - command.response_representation = Google::Apis::MapsengineV1::ListPublishedLayersResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListPublishedLayersResponse - command.query['maxResults'] = max_results unless max_results.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Mutate a layer asset. - # @param [String] id - # The ID of the layer. - # @param [Google::Apis::MapsengineV1::Layer] layer_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 [NilClass] No result returned for this method - # @yieldparam err [StandardError] error object if request failed - # - # @return [void] - # - # @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_layer(id, layer_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, 'layers/{id}', options) - command.request_representation = Google::Apis::MapsengineV1::Layer::Representation - command.request_object = layer_object - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Process a layer asset. - # @param [String] id - # The ID of the layer. - # @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::MapsengineV1::ProcessResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ProcessResponse] - # - # @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 process_layer(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'layers/{id}/process', options) - command.response_representation = Google::Apis::MapsengineV1::ProcessResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ProcessResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Publish a layer asset. - # @param [String] id - # The ID of the layer. - # @param [Boolean] force - # If set to true, the API will allow publication of the layer even if it's out - # of date. If not true, you'll need to reprocess any out-of-date layer before - # publishing. - # @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::MapsengineV1::PublishResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::PublishResponse] - # - # @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 publish_layer(id, force: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'layers/{id}/publish', options) - command.response_representation = Google::Apis::MapsengineV1::PublishResponse::Representation - command.response_class = Google::Apis::MapsengineV1::PublishResponse - command.params['id'] = id unless id.nil? - command.query['force'] = force unless force.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 - - # Unpublish a layer asset. - # @param [String] id - # The ID of the layer. - # @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::MapsengineV1::PublishResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::PublishResponse] - # - # @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 unpublish_layer(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'layers/{id}/unpublish', options) - command.response_representation = Google::Apis::MapsengineV1::PublishResponse::Representation - command.response_class = Google::Apis::MapsengineV1::PublishResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return all parent ids of the specified layer. - # @param [String] id - # The ID of the layer whose parents will be listed. - # @param [Fixnum] max_results - # The maximum number of items to include in a single response page. The maximum - # supported value is 50. - # @param [String] page_token - # The continuation token, used to page through large result sets. To get the - # next page of results, set this parameter to the value of nextPageToken from - # the previous 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. - # 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::MapsengineV1::ListParentsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListParentsResponse] - # - # @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_layer_parents(id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'layers/{id}/parents', options) - command.response_representation = Google::Apis::MapsengineV1::ListParentsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListParentsResponse - command.params['id'] = id unless id.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? - execute_or_queue_command(command, &block) - end - - # Remove permission entries from an already existing asset. - # @param [String] id - # The ID of the asset from which permissions will be removed. - # @param [Google::Apis::MapsengineV1::BatchDeletePermissionsRequest] batch_delete_permissions_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::MapsengineV1::BatchDeletePermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::BatchDeletePermissionsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_delete_layer_permission(id, batch_delete_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'layers/{id}/permissions/batchDelete', options) - command.request_representation = Google::Apis::MapsengineV1::BatchDeletePermissionsRequest::Representation - command.request_object = batch_delete_permissions_request_object - command.response_representation = Google::Apis::MapsengineV1::BatchDeletePermissionsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::BatchDeletePermissionsResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Add or update permission entries to an already existing asset. - # An asset can hold up to 20 different permission entries. Each batchInsert - # request is atomic. - # @param [String] id - # The ID of the asset to which permissions will be added. - # @param [Google::Apis::MapsengineV1::BatchUpdatePermissionsRequest] batch_update_permissions_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::MapsengineV1::BatchUpdatePermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::BatchUpdatePermissionsResponse] - # - # @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_layer_permission(id, batch_update_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'layers/{id}/permissions/batchUpdate', options) - command.request_representation = Google::Apis::MapsengineV1::BatchUpdatePermissionsRequest::Representation - command.request_object = batch_update_permissions_request_object - command.response_representation = Google::Apis::MapsengineV1::BatchUpdatePermissionsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::BatchUpdatePermissionsResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return all of the permissions for the specified asset. - # @param [String] id - # The ID of the asset whose permissions will be listed. - # @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::MapsengineV1::ListPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListPermissionsResponse] - # - # @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_layer_permissions(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'layers/{id}/permissions', options) - command.response_representation = Google::Apis::MapsengineV1::ListPermissionsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListPermissionsResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Create a map asset. - # @param [Google::Apis::MapsengineV1::Map] map_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::MapsengineV1::Map] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::Map] - # - # @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_map(map_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'maps', options) - command.request_representation = Google::Apis::MapsengineV1::Map::Representation - command.request_object = map_object - command.response_representation = Google::Apis::MapsengineV1::Map::Representation - command.response_class = Google::Apis::MapsengineV1::Map - 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 - - # Delete a map. - # @param [String] id - # The ID of the map. Only the map creator or project owner are permitted to - # delete. If the map is published the request will fail. Unpublish the map prior - # to deleting. - # @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 [NilClass] No result returned for this method - # @yieldparam err [StandardError] error object if request failed - # - # @return [void] - # - # @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_map(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, 'maps/{id}', options) - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return metadata for a particular map. - # @param [String] id - # The ID of the map. - # @param [String] version - # Deprecated: The version parameter indicates which version of the map should be - # returned. When version is set to published, the published version of the map - # will be returned. Please use the maps.getPublished endpoint instead. - # @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::MapsengineV1::Map] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::Map] - # - # @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_map(id, version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'maps/{id}', options) - command.response_representation = Google::Apis::MapsengineV1::Map::Representation - command.response_class = Google::Apis::MapsengineV1::Map - command.params['id'] = id unless id.nil? - command.query['version'] = version unless version.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 - - # Return the published metadata for a particular map. - # @param [String] id - # The ID of the map. - # @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::MapsengineV1::PublishedMap] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::PublishedMap] - # - # @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_published_map(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'maps/{id}/published', options) - command.response_representation = Google::Apis::MapsengineV1::PublishedMap::Representation - command.response_class = Google::Apis::MapsengineV1::PublishedMap - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return all maps readable by the current user. - # @param [String] bbox - # A bounding box, expressed as "west,south,east,north". If set, only assets - # which intersect this bounding box will be returned. - # @param [DateTime] created_after - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been created at or after this time. - # @param [DateTime] created_before - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been created at or before this time. - # @param [String] creator_email - # An email address representing a user. Returned assets that have been created - # by the user associated with the provided email address. - # @param [Fixnum] max_results - # The maximum number of items to include in a single response page. The maximum - # supported value is 100. - # @param [DateTime] modified_after - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been modified at or after this time. - # @param [DateTime] modified_before - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been modified at or before this time. - # @param [String] page_token - # The continuation token, used to page through large result sets. To get the - # next page of results, set this parameter to the value of nextPageToken from - # the previous response. - # @param [String] processing_status - # @param [String] project_id - # The ID of a Maps Engine project, used to filter the response. To list all - # available projects with their IDs, send a Projects: list request. You can also - # find your project ID as the value of the DashboardPlace:cid URL parameter when - # signed in to mapsengine.google.com. - # @param [String] role - # The role parameter indicates that the response should only contain assets - # where the current user has the specified level of access. - # @param [String] search - # An unstructured search string used to filter the set of results based on asset - # metadata. - # @param [String] tags - # A comma separated list of tags. Returned assets will contain all the tags from - # the 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. - # 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::MapsengineV1::ListMapsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListMapsResponse] - # - # @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_maps(bbox: nil, created_after: nil, created_before: nil, creator_email: nil, max_results: nil, modified_after: nil, modified_before: nil, page_token: nil, processing_status: nil, project_id: nil, role: nil, search: nil, tags: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'maps', options) - command.response_representation = Google::Apis::MapsengineV1::ListMapsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListMapsResponse - command.query['bbox'] = bbox unless bbox.nil? - command.query['createdAfter'] = created_after unless created_after.nil? - command.query['createdBefore'] = created_before unless created_before.nil? - command.query['creatorEmail'] = creator_email unless creator_email.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['modifiedAfter'] = modified_after unless modified_after.nil? - command.query['modifiedBefore'] = modified_before unless modified_before.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['processingStatus'] = processing_status unless processing_status.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['role'] = role unless role.nil? - command.query['search'] = search unless search.nil? - command.query['tags'] = tags unless tags.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 - - # Return all published maps readable by the current user. - # @param [Fixnum] max_results - # The maximum number of items to include in a single response page. The maximum - # supported value is 100. - # @param [String] page_token - # The continuation token, used to page through large result sets. To get the - # next page of results, set this parameter to the value of nextPageToken from - # the previous response. - # @param [String] project_id - # The ID of a Maps Engine project, used to filter the response. To list all - # available projects with their IDs, send a Projects: list request. You can also - # find your project ID as the value of the DashboardPlace:cid URL parameter when - # signed in to mapsengine.google.com. - # @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::MapsengineV1::ListPublishedMapsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListPublishedMapsResponse] - # - # @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_map_published(max_results: nil, page_token: nil, project_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'maps/published', options) - command.response_representation = Google::Apis::MapsengineV1::ListPublishedMapsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListPublishedMapsResponse - command.query['maxResults'] = max_results unless max_results.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Mutate a map asset. - # @param [String] id - # The ID of the map. - # @param [Google::Apis::MapsengineV1::Map] map_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 [NilClass] No result returned for this method - # @yieldparam err [StandardError] error object if request failed - # - # @return [void] - # - # @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_map(id, map_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, 'maps/{id}', options) - command.request_representation = Google::Apis::MapsengineV1::Map::Representation - command.request_object = map_object - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Publish a map asset. - # @param [String] id - # The ID of the map. - # @param [Boolean] force - # If set to true, the API will allow publication of the map even if it's out of - # date. If false, the map must have a processingStatus of complete before - # publishing. - # @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::MapsengineV1::PublishResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::PublishResponse] - # - # @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 publish_map(id, force: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'maps/{id}/publish', options) - command.response_representation = Google::Apis::MapsengineV1::PublishResponse::Representation - command.response_class = Google::Apis::MapsengineV1::PublishResponse - command.params['id'] = id unless id.nil? - command.query['force'] = force unless force.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 - - # Unpublish a map asset. - # @param [String] id - # The ID of the map. - # @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::MapsengineV1::PublishResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::PublishResponse] - # - # @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 unpublish_map(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'maps/{id}/unpublish', options) - command.response_representation = Google::Apis::MapsengineV1::PublishResponse::Representation - command.response_class = Google::Apis::MapsengineV1::PublishResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Remove permission entries from an already existing asset. - # @param [String] id - # The ID of the asset from which permissions will be removed. - # @param [Google::Apis::MapsengineV1::BatchDeletePermissionsRequest] batch_delete_permissions_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::MapsengineV1::BatchDeletePermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::BatchDeletePermissionsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_delete_map_permission(id, batch_delete_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'maps/{id}/permissions/batchDelete', options) - command.request_representation = Google::Apis::MapsengineV1::BatchDeletePermissionsRequest::Representation - command.request_object = batch_delete_permissions_request_object - command.response_representation = Google::Apis::MapsengineV1::BatchDeletePermissionsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::BatchDeletePermissionsResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Add or update permission entries to an already existing asset. - # An asset can hold up to 20 different permission entries. Each batchInsert - # request is atomic. - # @param [String] id - # The ID of the asset to which permissions will be added. - # @param [Google::Apis::MapsengineV1::BatchUpdatePermissionsRequest] batch_update_permissions_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::MapsengineV1::BatchUpdatePermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::BatchUpdatePermissionsResponse] - # - # @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_map_permission(id, batch_update_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'maps/{id}/permissions/batchUpdate', options) - command.request_representation = Google::Apis::MapsengineV1::BatchUpdatePermissionsRequest::Representation - command.request_object = batch_update_permissions_request_object - command.response_representation = Google::Apis::MapsengineV1::BatchUpdatePermissionsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::BatchUpdatePermissionsResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return all of the permissions for the specified asset. - # @param [String] id - # The ID of the asset whose permissions will be listed. - # @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::MapsengineV1::ListPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListPermissionsResponse] - # - # @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_map_permissions(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'maps/{id}/permissions', options) - command.response_representation = Google::Apis::MapsengineV1::ListPermissionsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListPermissionsResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return all projects readable by the current user. - # @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::MapsengineV1::ListProjectsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListProjectsResponse] - # - # @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_projects(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'projects', options) - command.response_representation = Google::Apis::MapsengineV1::ListProjectsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListProjectsResponse - 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 - - # Create an icon. - # @param [String] project_id - # The ID of the project. - # @param [Google::Apis::MapsengineV1::Icon] icon_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 [IO, String] upload_source - # IO stream or filename containing content to upload - # @param [String] content_type - # Content type of the uploaded content. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MapsengineV1::Icon] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::Icon] - # - # @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_icon(project_id, icon_object = nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) - if upload_source.nil? - command = make_simple_command(:post, 'projects/{projectId}/icons', options) - else - command = make_upload_command(:post, 'projects/{projectId}/icons', options) - command.upload_source = upload_source - command.upload_content_type = content_type - end - command.request_representation = Google::Apis::MapsengineV1::Icon::Representation - command.request_object = icon_object - command.response_representation = Google::Apis::MapsengineV1::Icon::Representation - command.response_class = Google::Apis::MapsengineV1::Icon - command.params['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return an icon or its associated metadata - # @param [String] project_id - # The ID of the project. - # @param [String] id - # The ID of the icon. - # @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 [IO, String] download_dest - # IO stream or filename to receive content download - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MapsengineV1::Icon] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::Icon] - # - # @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_icon(project_id, id, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block) - if download_dest.nil? - command = make_simple_command(:get, 'projects/{projectId}/icons/{id}', options) - else - command = make_download_command(:get, 'projects/{projectId}/icons/{id}', options) - command.download_dest = download_dest - end - command.response_representation = Google::Apis::MapsengineV1::Icon::Representation - command.response_class = Google::Apis::MapsengineV1::Icon - command.params['projectId'] = project_id unless project_id.nil? - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return all icons in the current project - # @param [String] project_id - # The ID of the project. - # @param [Fixnum] max_results - # The maximum number of items to include in a single response page. The maximum - # supported value is 50. - # @param [String] page_token - # The continuation token, used to page through large result sets. To get the - # next page of results, set this parameter to the value of nextPageToken from - # the previous 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. - # 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::MapsengineV1::ListIconsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListIconsResponse] - # - # @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_icons(project_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'projects/{projectId}/icons', options) - command.response_representation = Google::Apis::MapsengineV1::ListIconsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListIconsResponse - command.params['projectId'] = project_id unless project_id.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? - execute_or_queue_command(command, &block) - end - - # Cancel processing on a raster collection asset. - # @param [String] id - # The ID of the raster collection. - # @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::MapsengineV1::ProcessResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ProcessResponse] - # - # @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_raster_collection_processing(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'rasterCollections/{id}/cancelProcessing', options) - command.response_representation = Google::Apis::MapsengineV1::ProcessResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ProcessResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Create a raster collection asset. - # @param [Google::Apis::MapsengineV1::RasterCollection] raster_collection_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::MapsengineV1::RasterCollection] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::RasterCollection] - # - # @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_raster_collection(raster_collection_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'rasterCollections', options) - command.request_representation = Google::Apis::MapsengineV1::RasterCollection::Representation - command.request_object = raster_collection_object - command.response_representation = Google::Apis::MapsengineV1::RasterCollection::Representation - command.response_class = Google::Apis::MapsengineV1::RasterCollection - 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 - - # Delete a raster collection. - # @param [String] id - # The ID of the raster collection. Only the raster collection creator or project - # owner are permitted to delete. If the rastor collection is included in a layer, - # the request will fail. Remove the raster collection from all layers prior to - # deleting. - # @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 [NilClass] No result returned for this method - # @yieldparam err [StandardError] error object if request failed - # - # @return [void] - # - # @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_raster_collection(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, 'rasterCollections/{id}', options) - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return metadata for a particular raster collection. - # @param [String] id - # The ID of the raster collection. - # @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::MapsengineV1::RasterCollection] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::RasterCollection] - # - # @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_raster_collection(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'rasterCollections/{id}', options) - command.response_representation = Google::Apis::MapsengineV1::RasterCollection::Representation - command.response_class = Google::Apis::MapsengineV1::RasterCollection - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return all raster collections readable by the current user. - # @param [String] bbox - # A bounding box, expressed as "west,south,east,north". If set, only assets - # which intersect this bounding box will be returned. - # @param [DateTime] created_after - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been created at or after this time. - # @param [DateTime] created_before - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been created at or before this time. - # @param [String] creator_email - # An email address representing a user. Returned assets that have been created - # by the user associated with the provided email address. - # @param [Fixnum] max_results - # The maximum number of items to include in a single response page. The maximum - # supported value is 100. - # @param [DateTime] modified_after - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been modified at or after this time. - # @param [DateTime] modified_before - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been modified at or before this time. - # @param [String] page_token - # The continuation token, used to page through large result sets. To get the - # next page of results, set this parameter to the value of nextPageToken from - # the previous response. - # @param [String] processing_status - # @param [String] project_id - # The ID of a Maps Engine project, used to filter the response. To list all - # available projects with their IDs, send a Projects: list request. You can also - # find your project ID as the value of the DashboardPlace:cid URL parameter when - # signed in to mapsengine.google.com. - # @param [String] role - # The role parameter indicates that the response should only contain assets - # where the current user has the specified level of access. - # @param [String] search - # An unstructured search string used to filter the set of results based on asset - # metadata. - # @param [String] tags - # A comma separated list of tags. Returned assets will contain all the tags from - # the 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. - # 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::MapsengineV1::ListRasterCollectionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListRasterCollectionsResponse] - # - # @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_raster_collections(bbox: nil, created_after: nil, created_before: nil, creator_email: nil, max_results: nil, modified_after: nil, modified_before: nil, page_token: nil, processing_status: nil, project_id: nil, role: nil, search: nil, tags: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'rasterCollections', options) - command.response_representation = Google::Apis::MapsengineV1::ListRasterCollectionsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListRasterCollectionsResponse - command.query['bbox'] = bbox unless bbox.nil? - command.query['createdAfter'] = created_after unless created_after.nil? - command.query['createdBefore'] = created_before unless created_before.nil? - command.query['creatorEmail'] = creator_email unless creator_email.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['modifiedAfter'] = modified_after unless modified_after.nil? - command.query['modifiedBefore'] = modified_before unless modified_before.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['processingStatus'] = processing_status unless processing_status.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['role'] = role unless role.nil? - command.query['search'] = search unless search.nil? - command.query['tags'] = tags unless tags.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 - - # Mutate a raster collection asset. - # @param [String] id - # The ID of the raster collection. - # @param [Google::Apis::MapsengineV1::RasterCollection] raster_collection_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 [NilClass] No result returned for this method - # @yieldparam err [StandardError] error object if request failed - # - # @return [void] - # - # @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_raster_collection(id, raster_collection_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, 'rasterCollections/{id}', options) - command.request_representation = Google::Apis::MapsengineV1::RasterCollection::Representation - command.request_object = raster_collection_object - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Process a raster collection asset. - # @param [String] id - # The ID of the raster collection. - # @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::MapsengineV1::ProcessResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ProcessResponse] - # - # @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 process_raster_collection(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'rasterCollections/{id}/process', options) - command.response_representation = Google::Apis::MapsengineV1::ProcessResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ProcessResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return all parent ids of the specified raster collection. - # @param [String] id - # The ID of the raster collection whose parents will be listed. - # @param [Fixnum] max_results - # The maximum number of items to include in a single response page. The maximum - # supported value is 50. - # @param [String] page_token - # The continuation token, used to page through large result sets. To get the - # next page of results, set this parameter to the value of nextPageToken from - # the previous 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. - # 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::MapsengineV1::ListParentsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListParentsResponse] - # - # @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_raster_collection_parents(id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'rasterCollections/{id}/parents', options) - command.response_representation = Google::Apis::MapsengineV1::ListParentsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListParentsResponse - command.params['id'] = id unless id.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? - execute_or_queue_command(command, &block) - end - - # Remove permission entries from an already existing asset. - # @param [String] id - # The ID of the asset from which permissions will be removed. - # @param [Google::Apis::MapsengineV1::BatchDeletePermissionsRequest] batch_delete_permissions_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::MapsengineV1::BatchDeletePermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::BatchDeletePermissionsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_delete_raster_collection_permission(id, batch_delete_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'rasterCollections/{id}/permissions/batchDelete', options) - command.request_representation = Google::Apis::MapsengineV1::BatchDeletePermissionsRequest::Representation - command.request_object = batch_delete_permissions_request_object - command.response_representation = Google::Apis::MapsengineV1::BatchDeletePermissionsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::BatchDeletePermissionsResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Add or update permission entries to an already existing asset. - # An asset can hold up to 20 different permission entries. Each batchInsert - # request is atomic. - # @param [String] id - # The ID of the asset to which permissions will be added. - # @param [Google::Apis::MapsengineV1::BatchUpdatePermissionsRequest] batch_update_permissions_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::MapsengineV1::BatchUpdatePermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::BatchUpdatePermissionsResponse] - # - # @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_raster_collection_permission(id, batch_update_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'rasterCollections/{id}/permissions/batchUpdate', options) - command.request_representation = Google::Apis::MapsengineV1::BatchUpdatePermissionsRequest::Representation - command.request_object = batch_update_permissions_request_object - command.response_representation = Google::Apis::MapsengineV1::BatchUpdatePermissionsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::BatchUpdatePermissionsResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return all of the permissions for the specified asset. - # @param [String] id - # The ID of the asset whose permissions will be listed. - # @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::MapsengineV1::ListPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListPermissionsResponse] - # - # @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_raster_collection_permissions(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'rasterCollections/{id}/permissions', options) - command.response_representation = Google::Apis::MapsengineV1::ListPermissionsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListPermissionsResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Remove rasters from an existing raster collection. - # Up to 50 rasters can be included in a single batchDelete request. Each - # batchDelete request is atomic. - # @param [String] id - # The ID of the raster collection to which these rasters belong. - # @param [Google::Apis::MapsengineV1::BatchDeleteRasterCollectionsRasterRequest] batch_delete_raster_collections_raster_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::MapsengineV1::BatchDeleteRasterCollectionsRastersResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::BatchDeleteRasterCollectionsRastersResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_delete_raster_collection_raster(id, batch_delete_raster_collections_raster_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'rasterCollections/{id}/rasters/batchDelete', options) - command.request_representation = Google::Apis::MapsengineV1::BatchDeleteRasterCollectionsRasterRequest::Representation - command.request_object = batch_delete_raster_collections_raster_request_object - command.response_representation = Google::Apis::MapsengineV1::BatchDeleteRasterCollectionsRastersResponse::Representation - command.response_class = Google::Apis::MapsengineV1::BatchDeleteRasterCollectionsRastersResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Add rasters to an existing raster collection. Rasters must be successfully - # processed in order to be added to a raster collection. - # Up to 50 rasters can be included in a single batchInsert request. Each - # batchInsert request is atomic. - # @param [String] id - # The ID of the raster collection to which these rasters belong. - # @param [Google::Apis::MapsengineV1::BatchInsertRasterCollectionsRastersRequest] batch_insert_raster_collections_rasters_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::MapsengineV1::BatchInsertRasterCollectionsRastersResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::BatchInsertRasterCollectionsRastersResponse] - # - # @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_insert_raster_collection_raster(id, batch_insert_raster_collections_rasters_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'rasterCollections/{id}/rasters/batchInsert', options) - command.request_representation = Google::Apis::MapsengineV1::BatchInsertRasterCollectionsRastersRequest::Representation - command.request_object = batch_insert_raster_collections_rasters_request_object - command.response_representation = Google::Apis::MapsengineV1::BatchInsertRasterCollectionsRastersResponse::Representation - command.response_class = Google::Apis::MapsengineV1::BatchInsertRasterCollectionsRastersResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return all rasters within a raster collection. - # @param [String] id - # The ID of the raster collection to which these rasters belong. - # @param [String] bbox - # A bounding box, expressed as "west,south,east,north". If set, only assets - # which intersect this bounding box will be returned. - # @param [DateTime] created_after - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been created at or after this time. - # @param [DateTime] created_before - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been created at or before this time. - # @param [String] creator_email - # An email address representing a user. Returned assets that have been created - # by the user associated with the provided email address. - # @param [Fixnum] max_results - # The maximum number of items to include in a single response page. The maximum - # supported value is 100. - # @param [DateTime] modified_after - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been modified at or after this time. - # @param [DateTime] modified_before - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been modified at or before this time. - # @param [String] page_token - # The continuation token, used to page through large result sets. To get the - # next page of results, set this parameter to the value of nextPageToken from - # the previous response. - # @param [String] role - # The role parameter indicates that the response should only contain assets - # where the current user has the specified level of access. - # @param [String] search - # An unstructured search string used to filter the set of results based on asset - # metadata. - # @param [String] tags - # A comma separated list of tags. Returned assets will contain all the tags from - # the 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. - # 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::MapsengineV1::ListRasterCollectionsRastersResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListRasterCollectionsRastersResponse] - # - # @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_raster_collection_rasters(id, bbox: nil, created_after: nil, created_before: nil, creator_email: nil, max_results: nil, modified_after: nil, modified_before: nil, page_token: nil, role: nil, search: nil, tags: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'rasterCollections/{id}/rasters', options) - command.response_representation = Google::Apis::MapsengineV1::ListRasterCollectionsRastersResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListRasterCollectionsRastersResponse - command.params['id'] = id unless id.nil? - command.query['bbox'] = bbox unless bbox.nil? - command.query['createdAfter'] = created_after unless created_after.nil? - command.query['createdBefore'] = created_before unless created_before.nil? - command.query['creatorEmail'] = creator_email unless creator_email.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['modifiedAfter'] = modified_after unless modified_after.nil? - command.query['modifiedBefore'] = modified_before unless modified_before.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['role'] = role unless role.nil? - command.query['search'] = search unless search.nil? - command.query['tags'] = tags unless tags.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 - - # Delete a raster. - # @param [String] id - # The ID of the raster. Only the raster creator or project owner are permitted - # to delete. If the raster is included in a layer or mosaic, the request will - # fail. Remove it from all parents prior to deleting. - # @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 [NilClass] No result returned for this method - # @yieldparam err [StandardError] error object if request failed - # - # @return [void] - # - # @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_raster(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, 'rasters/{id}', options) - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return metadata for a single raster. - # @param [String] id - # The ID of the raster. - # @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::MapsengineV1::Raster] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::Raster] - # - # @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_raster(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'rasters/{id}', options) - command.response_representation = Google::Apis::MapsengineV1::Raster::Representation - command.response_class = Google::Apis::MapsengineV1::Raster - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return all rasters readable by the current user. - # @param [String] project_id - # The ID of a Maps Engine project, used to filter the response. To list all - # available projects with their IDs, send a Projects: list request. You can also - # find your project ID as the value of the DashboardPlace:cid URL parameter when - # signed in to mapsengine.google.com. - # @param [String] bbox - # A bounding box, expressed as "west,south,east,north". If set, only assets - # which intersect this bounding box will be returned. - # @param [DateTime] created_after - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been created at or after this time. - # @param [DateTime] created_before - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been created at or before this time. - # @param [String] creator_email - # An email address representing a user. Returned assets that have been created - # by the user associated with the provided email address. - # @param [Fixnum] max_results - # The maximum number of items to include in a single response page. The maximum - # supported value is 100. - # @param [DateTime] modified_after - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been modified at or after this time. - # @param [DateTime] modified_before - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been modified at or before this time. - # @param [String] page_token - # The continuation token, used to page through large result sets. To get the - # next page of results, set this parameter to the value of nextPageToken from - # the previous response. - # @param [String] processing_status - # @param [String] role - # The role parameter indicates that the response should only contain assets - # where the current user has the specified level of access. - # @param [String] search - # An unstructured search string used to filter the set of results based on asset - # metadata. - # @param [String] tags - # A comma separated list of tags. Returned assets will contain all the tags from - # the 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. - # 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::MapsengineV1::ListRastersResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListRastersResponse] - # - # @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_rasters(project_id, bbox: nil, created_after: nil, created_before: nil, creator_email: nil, max_results: nil, modified_after: nil, modified_before: nil, page_token: nil, processing_status: nil, role: nil, search: nil, tags: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'rasters', options) - command.response_representation = Google::Apis::MapsengineV1::ListRastersResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListRastersResponse - command.query['bbox'] = bbox unless bbox.nil? - command.query['createdAfter'] = created_after unless created_after.nil? - command.query['createdBefore'] = created_before unless created_before.nil? - command.query['creatorEmail'] = creator_email unless creator_email.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['modifiedAfter'] = modified_after unless modified_after.nil? - command.query['modifiedBefore'] = modified_before unless modified_before.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['processingStatus'] = processing_status unless processing_status.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['role'] = role unless role.nil? - command.query['search'] = search unless search.nil? - command.query['tags'] = tags unless tags.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 - - # Mutate a raster asset. - # @param [String] id - # The ID of the raster. - # @param [Google::Apis::MapsengineV1::Raster] raster_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 [NilClass] No result returned for this method - # @yieldparam err [StandardError] error object if request failed - # - # @return [void] - # - # @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_raster(id, raster_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, 'rasters/{id}', options) - command.request_representation = Google::Apis::MapsengineV1::Raster::Representation - command.request_object = raster_object - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Process a raster asset. - # @param [String] id - # The ID of the raster. - # @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::MapsengineV1::ProcessResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ProcessResponse] - # - # @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 process_raster(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'rasters/{id}/process', options) - command.response_representation = Google::Apis::MapsengineV1::ProcessResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ProcessResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Create a skeleton raster asset for upload. - # @param [Google::Apis::MapsengineV1::Raster] raster_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::MapsengineV1::Raster] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::Raster] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def upload_raster(raster_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'rasters/upload', options) - command.request_representation = Google::Apis::MapsengineV1::Raster::Representation - command.request_object = raster_object - command.response_representation = Google::Apis::MapsengineV1::Raster::Representation - command.response_class = Google::Apis::MapsengineV1::Raster - 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 - - # Upload a file to a raster asset. - # @param [String] id - # The ID of the raster asset. - # @param [String] filename - # The file name of this uploaded file. - # @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 [IO, String] upload_source - # IO stream or filename containing content to upload - # @param [String] content_type - # Content type of the uploaded content. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [NilClass] No result returned for this method - # @yieldparam err [StandardError] error object if request failed - # - # @return [void] - # - # @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_raster_file(id, filename, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) - if upload_source.nil? - command = make_simple_command(:post, 'rasters/{id}/files', options) - else - command = make_upload_command(:post, 'rasters/{id}/files', options) - command.upload_source = upload_source - command.upload_content_type = content_type - end - command.params['id'] = id unless id.nil? - command.query['filename'] = filename unless filename.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 - - # Return all parent ids of the specified rasters. - # @param [String] id - # The ID of the rasters whose parents will be listed. - # @param [Fixnum] max_results - # The maximum number of items to include in a single response page. The maximum - # supported value is 50. - # @param [String] page_token - # The continuation token, used to page through large result sets. To get the - # next page of results, set this parameter to the value of nextPageToken from - # the previous 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. - # 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::MapsengineV1::ListParentsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListParentsResponse] - # - # @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_raster_parents(id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'rasters/{id}/parents', options) - command.response_representation = Google::Apis::MapsengineV1::ListParentsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListParentsResponse - command.params['id'] = id unless id.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? - execute_or_queue_command(command, &block) - end - - # Remove permission entries from an already existing asset. - # @param [String] id - # The ID of the asset from which permissions will be removed. - # @param [Google::Apis::MapsengineV1::BatchDeletePermissionsRequest] batch_delete_permissions_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::MapsengineV1::BatchDeletePermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::BatchDeletePermissionsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_delete_raster_permission(id, batch_delete_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'rasters/{id}/permissions/batchDelete', options) - command.request_representation = Google::Apis::MapsengineV1::BatchDeletePermissionsRequest::Representation - command.request_object = batch_delete_permissions_request_object - command.response_representation = Google::Apis::MapsengineV1::BatchDeletePermissionsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::BatchDeletePermissionsResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Add or update permission entries to an already existing asset. - # An asset can hold up to 20 different permission entries. Each batchInsert - # request is atomic. - # @param [String] id - # The ID of the asset to which permissions will be added. - # @param [Google::Apis::MapsengineV1::BatchUpdatePermissionsRequest] batch_update_permissions_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::MapsengineV1::BatchUpdatePermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::BatchUpdatePermissionsResponse] - # - # @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_raster_permission(id, batch_update_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'rasters/{id}/permissions/batchUpdate', options) - command.request_representation = Google::Apis::MapsengineV1::BatchUpdatePermissionsRequest::Representation - command.request_object = batch_update_permissions_request_object - command.response_representation = Google::Apis::MapsengineV1::BatchUpdatePermissionsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::BatchUpdatePermissionsResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return all of the permissions for the specified asset. - # @param [String] id - # The ID of the asset whose permissions will be listed. - # @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::MapsengineV1::ListPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListPermissionsResponse] - # - # @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_raster_permissions(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'rasters/{id}/permissions', options) - command.response_representation = Google::Apis::MapsengineV1::ListPermissionsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListPermissionsResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Create a table asset. - # @param [Google::Apis::MapsengineV1::Table] table_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::MapsengineV1::Table] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::Table] - # - # @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_table(table_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'tables', options) - command.request_representation = Google::Apis::MapsengineV1::Table::Representation - command.request_object = table_object - command.response_representation = Google::Apis::MapsengineV1::Table::Representation - command.response_class = Google::Apis::MapsengineV1::Table - 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 - - # Delete a table. - # @param [String] id - # The ID of the table. Only the table creator or project owner are permitted to - # delete. If the table is included in a layer, the request will fail. Remove it - # from all layers prior to deleting. - # @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 [NilClass] No result returned for this method - # @yieldparam err [StandardError] error object if request failed - # - # @return [void] - # - # @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_table(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, 'tables/{id}', options) - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return metadata for a particular table, including the schema. - # @param [String] id - # The ID of the table. - # @param [String] version - # @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::MapsengineV1::Table] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::Table] - # - # @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_table(id, version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'tables/{id}', options) - command.response_representation = Google::Apis::MapsengineV1::Table::Representation - command.response_class = Google::Apis::MapsengineV1::Table - command.params['id'] = id unless id.nil? - command.query['version'] = version unless version.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 - - # Return all tables readable by the current user. - # @param [String] bbox - # A bounding box, expressed as "west,south,east,north". If set, only assets - # which intersect this bounding box will be returned. - # @param [DateTime] created_after - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been created at or after this time. - # @param [DateTime] created_before - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been created at or before this time. - # @param [String] creator_email - # An email address representing a user. Returned assets that have been created - # by the user associated with the provided email address. - # @param [Fixnum] max_results - # The maximum number of items to include in a single response page. The maximum - # supported value is 100. - # @param [DateTime] modified_after - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been modified at or after this time. - # @param [DateTime] modified_before - # An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned - # assets will have been modified at or before this time. - # @param [String] page_token - # The continuation token, used to page through large result sets. To get the - # next page of results, set this parameter to the value of nextPageToken from - # the previous response. - # @param [String] processing_status - # @param [String] project_id - # The ID of a Maps Engine project, used to filter the response. To list all - # available projects with their IDs, send a Projects: list request. You can also - # find your project ID as the value of the DashboardPlace:cid URL parameter when - # signed in to mapsengine.google.com. - # @param [String] role - # The role parameter indicates that the response should only contain assets - # where the current user has the specified level of access. - # @param [String] search - # An unstructured search string used to filter the set of results based on asset - # metadata. - # @param [String] tags - # A comma separated list of tags. Returned assets will contain all the tags from - # the 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. - # 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::MapsengineV1::ListTablesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListTablesResponse] - # - # @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_tables(bbox: nil, created_after: nil, created_before: nil, creator_email: nil, max_results: nil, modified_after: nil, modified_before: nil, page_token: nil, processing_status: nil, project_id: nil, role: nil, search: nil, tags: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'tables', options) - command.response_representation = Google::Apis::MapsengineV1::ListTablesResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListTablesResponse - command.query['bbox'] = bbox unless bbox.nil? - command.query['createdAfter'] = created_after unless created_after.nil? - command.query['createdBefore'] = created_before unless created_before.nil? - command.query['creatorEmail'] = creator_email unless creator_email.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['modifiedAfter'] = modified_after unless modified_after.nil? - command.query['modifiedBefore'] = modified_before unless modified_before.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['processingStatus'] = processing_status unless processing_status.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['role'] = role unless role.nil? - command.query['search'] = search unless search.nil? - command.query['tags'] = tags unless tags.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 - - # Mutate a table asset. - # @param [String] id - # The ID of the table. - # @param [Google::Apis::MapsengineV1::Table] table_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 [NilClass] No result returned for this method - # @yieldparam err [StandardError] error object if request failed - # - # @return [void] - # - # @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_table(id, table_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, 'tables/{id}', options) - command.request_representation = Google::Apis::MapsengineV1::Table::Representation - command.request_object = table_object - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Process a table asset. - # @param [String] id - # The ID of the table. - # @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::MapsengineV1::ProcessResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ProcessResponse] - # - # @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 process_table(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'tables/{id}/process', options) - command.response_representation = Google::Apis::MapsengineV1::ProcessResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ProcessResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Create a placeholder table asset to which table files can be uploaded. - # Once the placeholder has been created, files are uploaded to the https://www. - # googleapis.com/upload/mapsengine/v1/tables/table_id/files endpoint. - # See Table Upload in the Developer's Guide or Table.files: insert in the - # reference documentation for more information. - # @param [Google::Apis::MapsengineV1::Table] table_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::MapsengineV1::Table] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::Table] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def upload_table(table_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'tables/upload', options) - command.request_representation = Google::Apis::MapsengineV1::Table::Representation - command.request_object = table_object - command.response_representation = Google::Apis::MapsengineV1::Table::Representation - command.response_class = Google::Apis::MapsengineV1::Table - 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 - - # Delete all features matching the given IDs. - # @param [String] id - # The ID of the table that contains the features to be deleted. - # @param [Google::Apis::MapsengineV1::BatchDeleteFeaturesRequest] batch_delete_features_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 [NilClass] No result returned for this method - # @yieldparam err [StandardError] error object if request failed - # - # @return [void] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_delete_table_feature(id, batch_delete_features_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'tables/{id}/features/batchDelete', options) - command.request_representation = Google::Apis::MapsengineV1::BatchDeleteFeaturesRequest::Representation - command.request_object = batch_delete_features_request_object - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Append features to an existing table. - # A single batchInsert request can create: - # - Up to 50 features. - # - A combined total of 10 000 vertices. - # Feature limits are documented in the Supported data formats and limits article - # of the Google Maps Engine help center. Note that free and paid accounts have - # different limits. - # For more information about inserting features, read Creating features in the - # Google Maps Engine developer's guide. - # @param [String] id - # The ID of the table to append the features to. - # @param [Google::Apis::MapsengineV1::BatchInsertFeaturesRequest] batch_insert_features_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 [NilClass] No result returned for this method - # @yieldparam err [StandardError] error object if request failed - # - # @return [void] - # - # @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_insert_table_feature(id, batch_insert_features_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'tables/{id}/features/batchInsert', options) - command.request_representation = Google::Apis::MapsengineV1::BatchInsertFeaturesRequest::Representation - command.request_object = batch_insert_features_request_object - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Update the supplied features. - # A single batchPatch request can update: - # - Up to 50 features. - # - A combined total of 10 000 vertices. - # Feature limits are documented in the Supported data formats and limits article - # of the Google Maps Engine help center. Note that free and paid accounts have - # different limits. - # Feature updates use HTTP PATCH semantics: - # - A supplied value replaces an existing value (if any) in that field. - # - Omitted fields remain unchanged. - # - Complex values in geometries and properties must be replaced as atomic units. - # For example, providing just the coordinates of a geometry is not allowed; the - # complete geometry, including type, must be supplied. - # - Setting a property's value to null deletes that property. - # For more information about updating features, read Updating features in the - # Google Maps Engine developer's guide. - # @param [String] id - # The ID of the table containing the features to be patched. - # @param [Google::Apis::MapsengineV1::BatchPatchFeaturesRequest] batch_patch_features_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 [NilClass] No result returned for this method - # @yieldparam err [StandardError] error object if request failed - # - # @return [void] - # - # @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_patch_table_feature(id, batch_patch_features_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'tables/{id}/features/batchPatch', options) - command.request_representation = Google::Apis::MapsengineV1::BatchPatchFeaturesRequest::Representation - command.request_object = batch_patch_features_request_object - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return a single feature, given its ID. - # @param [String] table_id - # The ID of the table. - # @param [String] id - # The ID of the feature to get. - # @param [String] select - # A SQL-like projection clause used to specify returned properties. If this - # parameter is not included, all properties are returned. - # @param [String] version - # The table version to access. See Accessing Public Data for information. - # @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::MapsengineV1::Feature] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::Feature] - # - # @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_table_feature(table_id, id, select: nil, version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'tables/{tableId}/features/{id}', options) - command.response_representation = Google::Apis::MapsengineV1::Feature::Representation - command.response_class = Google::Apis::MapsengineV1::Feature - command.params['tableId'] = table_id unless table_id.nil? - command.params['id'] = id unless id.nil? - command.query['select'] = select unless select.nil? - command.query['version'] = version unless version.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 - - # Return all features readable by the current user. - # @param [String] id - # The ID of the table to which these features belong. - # @param [String] include - # A comma separated list of optional data to include. Optional data available: - # schema. - # @param [String] intersects - # A geometry literal that specifies the spatial restriction of the query. - # @param [Fixnum] limit - # The total number of features to return from the query, irrespective of the - # number of pages. - # @param [Fixnum] max_results - # The maximum number of items to include in the response, used for paging. The - # maximum supported value is 1000. - # @param [String] order_by - # An SQL-like order by clause used to sort results. If this parameter is not - # included, the order of features is undefined. - # @param [String] page_token - # The continuation token, used to page through large result sets. To get the - # next page of results, set this parameter to the value of nextPageToken from - # the previous response. - # @param [String] select - # A SQL-like projection clause used to specify returned properties. If this - # parameter is not included, all properties are returned. - # @param [String] version - # The table version to access. See Accessing Public Data for information. - # @param [String] where - # An SQL-like predicate used to filter 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::MapsengineV1::ListFeaturesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListFeaturesResponse] - # - # @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_table_features(id, include: nil, intersects: nil, limit: nil, max_results: nil, order_by: nil, page_token: nil, select: nil, version: nil, where: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'tables/{id}/features', options) - command.response_representation = Google::Apis::MapsengineV1::ListFeaturesResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListFeaturesResponse - command.params['id'] = id unless id.nil? - command.query['include'] = include unless include.nil? - command.query['intersects'] = intersects unless intersects.nil? - command.query['limit'] = limit unless limit.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['select'] = select unless select.nil? - command.query['version'] = version unless version.nil? - command.query['where'] = where unless where.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 - - # Upload a file to a placeholder table asset. See Table Upload in the Developer' - # s Guide for more information. - # Supported file types are listed in the Supported data formats and limits - # article of the Google Maps Engine help center. - # @param [String] id - # The ID of the table asset. - # @param [String] filename - # The file name of this uploaded file. - # @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 [IO, String] upload_source - # IO stream or filename containing content to upload - # @param [String] content_type - # Content type of the uploaded content. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [NilClass] No result returned for this method - # @yieldparam err [StandardError] error object if request failed - # - # @return [void] - # - # @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_table_file(id, filename, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) - if upload_source.nil? - command = make_simple_command(:post, 'tables/{id}/files', options) - else - command = make_upload_command(:post, 'tables/{id}/files', options) - command.upload_source = upload_source - command.upload_content_type = content_type - end - command.params['id'] = id unless id.nil? - command.query['filename'] = filename unless filename.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 - - # Return all parent ids of the specified table. - # @param [String] id - # The ID of the table whose parents will be listed. - # @param [Fixnum] max_results - # The maximum number of items to include in a single response page. The maximum - # supported value is 50. - # @param [String] page_token - # The continuation token, used to page through large result sets. To get the - # next page of results, set this parameter to the value of nextPageToken from - # the previous 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. - # 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::MapsengineV1::ListParentsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListParentsResponse] - # - # @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_table_parents(id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'tables/{id}/parents', options) - command.response_representation = Google::Apis::MapsengineV1::ListParentsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListParentsResponse - command.params['id'] = id unless id.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? - execute_or_queue_command(command, &block) - end - - # Remove permission entries from an already existing asset. - # @param [String] id - # The ID of the asset from which permissions will be removed. - # @param [Google::Apis::MapsengineV1::BatchDeletePermissionsRequest] batch_delete_permissions_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::MapsengineV1::BatchDeletePermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::BatchDeletePermissionsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_delete_table_permission(id, batch_delete_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'tables/{id}/permissions/batchDelete', options) - command.request_representation = Google::Apis::MapsengineV1::BatchDeletePermissionsRequest::Representation - command.request_object = batch_delete_permissions_request_object - command.response_representation = Google::Apis::MapsengineV1::BatchDeletePermissionsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::BatchDeletePermissionsResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Add or update permission entries to an already existing asset. - # An asset can hold up to 20 different permission entries. Each batchInsert - # request is atomic. - # @param [String] id - # The ID of the asset to which permissions will be added. - # @param [Google::Apis::MapsengineV1::BatchUpdatePermissionsRequest] batch_update_permissions_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::MapsengineV1::BatchUpdatePermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::BatchUpdatePermissionsResponse] - # - # @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_table_permission(id, batch_update_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'tables/{id}/permissions/batchUpdate', options) - command.request_representation = Google::Apis::MapsengineV1::BatchUpdatePermissionsRequest::Representation - command.request_object = batch_update_permissions_request_object - command.response_representation = Google::Apis::MapsengineV1::BatchUpdatePermissionsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::BatchUpdatePermissionsResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Return all of the permissions for the specified asset. - # @param [String] id - # The ID of the asset whose permissions will be listed. - # @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::MapsengineV1::ListPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MapsengineV1::ListPermissionsResponse] - # - # @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_table_permissions(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'tables/{id}/permissions', options) - command.response_representation = Google::Apis::MapsengineV1::ListPermissionsResponse::Representation - command.response_class = Google::Apis::MapsengineV1::ListPermissionsResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - protected - - def apply_command_defaults(command) - command.query['key'] = key unless key.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - end - end - end - end -end diff --git a/generated/google/apis/oauth2_v2.rb b/generated/google/apis/oauth2_v2.rb index 986435d32..9fd5f2eef 100644 --- a/generated/google/apis/oauth2_v2.rb +++ b/generated/google/apis/oauth2_v2.rb @@ -27,7 +27,7 @@ module Google VERSION = 'V2' REVISION = '20160122' - # Know your basic profile info and list of people in your circles. + # Know the list of people in your circles, your age range, and language AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' # Know who you are on Google diff --git a/generated/google/apis/people_v1.rb b/generated/google/apis/people_v1.rb new file mode 100644 index 000000000..4f6ad49d2 --- /dev/null +++ b/generated/google/apis/people_v1.rb @@ -0,0 +1,59 @@ +# 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/people_v1/service.rb' +require 'google/apis/people_v1/classes.rb' +require 'google/apis/people_v1/representations.rb' + +module Google + module Apis + # Google People API + # + # The Google People API service gives access to information about profiles and + # contacts. + # + # @see https://developers.google.com/people/ + module PeopleV1 + VERSION = 'V1' + REVISION = '20160210' + + # View your street addresses + AUTH_USER_ADDRESSES_READ = 'https://www.googleapis.com/auth/user.addresses.read' + + # Know your basic profile info and list of people in your circles. + AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' + + # Manage your contacts + AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' + + # View your complete date of birth + AUTH_USER_BIRTHDAY_READ = 'https://www.googleapis.com/auth/user.birthday.read' + + # View your email address + AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' + + # View your phone numbers + AUTH_USER_PHONENUMBERS_READ = 'https://www.googleapis.com/auth/user.phonenumbers.read' + + # View your email addresses + AUTH_USER_EMAILS_READ = 'https://www.googleapis.com/auth/user.emails.read' + + # View your basic profile info + AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile' + + # View your contacts + AUTH_CONTACTS_READONLY = 'https://www.googleapis.com/auth/contacts.readonly' + end + end +end diff --git a/generated/google/apis/people_v1/classes.rb b/generated/google/apis/people_v1/classes.rb new file mode 100644 index 000000000..aaf5b4fa6 --- /dev/null +++ b/generated/google/apis/people_v1/classes.rb @@ -0,0 +1,1594 @@ +# 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 PeopleV1 + + # A person's birthday. At least one of the `date` and `text` fields are + # specified. The `date` and `text` fields typically represent the same + # date, but are not guaranteed to. + class Birthday + include Google::Apis::Core::Hashable + + # A free-form string representing the user's birthday. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # Represents a whole calendar date, for example a date of birth. The time of day + # and time zone are either specified elsewhere or are not significant. The date + # is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/ + # wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and + # month where the day is not significant. The year may be 0 to represent a month + # and day independent of year; for example, anniversary date. + # Corresponds to the JSON property `date` + # @return [Google::Apis::PeopleV1::Date] + attr_accessor :date + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @text = args[:text] if args.key?(:text) + @metadata = args[:metadata] if args.key?(:metadata) + @date = args[:date] if args.key?(:date) + end + end + + # A person's past or current residence. + class Residence + include Google::Apis::Core::Hashable + + # The address of the residence. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # True if the residence is the person's current residence; + # false if the residence is a past residence. + # Corresponds to the JSON property `current` + # @return [Boolean] + attr_accessor :current + alias_method :current?, :current + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @metadata = args[:metadata] if args.key?(:metadata) + @current = args[:current] if args.key?(:current) + end + end + + # The kind of relationship the person is looking for. + class RelationshipInterest + include Google::Apis::Core::Hashable + + # The kind of relationship the person is looking for. The value can be custom + # or predefined. Possible values include, but are not limited to, the + # following values: + # * `friend` + # * `date` + # * `relationship` + # * `networking` + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The value of the relationship interest translated and formatted in the + # viewer's account locale or the locale specified in the Accept-Language + # HTTP header. + # Corresponds to the JSON property `formattedValue` + # @return [String] + attr_accessor :formatted_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @metadata = args[:metadata] if args.key?(:metadata) + @formatted_value = args[:formatted_value] if args.key?(:formatted_value) + end + end + + # A brief one-line description of the person. + class Tagline + include Google::Apis::Core::Hashable + + # The tagline. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # An event related to the person. + class Event + include Google::Apis::Core::Hashable + + # The read-only type of the event translated and formatted in the + # viewer's account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The type of the event. The type can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `anniversary` + # * `other` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Represents a whole calendar date, for example a date of birth. The time of day + # and time zone are either specified elsewhere or are not significant. The date + # is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/ + # wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and + # month where the day is not significant. The year may be 0 to represent a month + # and day independent of year; for example, anniversary date. + # Corresponds to the JSON property `date` + # @return [Google::Apis::PeopleV1::Date] + attr_accessor :date + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + @date = args[:date] if args.key?(:date) + end + end + + # A skill that the person has. + class Skill + include Google::Apis::Core::Hashable + + # The skill; for example, `underwater basket weaving`. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # A person's nickname. + class Nickname + include Google::Apis::Core::Hashable + + # The nickname. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The type of the nickname. + # 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) + @value = args[:value] if args.key?(:value) + @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + end + end + + # A person's membership in a group. + class Membership + include Google::Apis::Core::Hashable + + # A Google contact group membership. + # Corresponds to the JSON property `contactGroupMembership` + # @return [Google::Apis::PeopleV1::ContactGroupMembership] + attr_accessor :contact_group_membership + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # A Google Apps Domain membership. + # Corresponds to the JSON property `domainMembership` + # @return [Google::Apis::PeopleV1::DomainMembership] + attr_accessor :domain_membership + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @contact_group_membership = args[:contact_group_membership] if args.key?(:contact_group_membership) + @metadata = args[:metadata] if args.key?(:metadata) + @domain_membership = args[:domain_membership] if args.key?(:domain_membership) + end + end + + # The source of a field. + class Source + include Google::Apis::Core::Hashable + + # The source type. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # A unique identifier within the source type generated by the server. + # 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) + @type = args[:type] if args.key?(:type) + @id = args[:id] if args.key?(:id) + end + end + + # A person's gender. + class Gender + include Google::Apis::Core::Hashable + + # The gender for the person. The gender can be custom or predefined. + # Possible values include, but are not limited to, the + # following: + # * `male` + # * `female` + # * `other` + # * `unknown` + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The read-only value of the gender translated and formatted in the viewer's + # account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedValue` + # @return [String] + attr_accessor :formatted_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @metadata = args[:metadata] if args.key?(:metadata) + @formatted_value = args[:formatted_value] if args.key?(:formatted_value) + end + end + + # Metadata about a field. + class FieldMetadata + include Google::Apis::Core::Hashable + + # True if the field is verified; false if the field is unverified. A + # verified field is typically a name, email address, phone number, or + # website that has been confirmed to be owned by the person. + # Corresponds to the JSON property `verified` + # @return [Boolean] + attr_accessor :verified + alias_method :verified?, :verified + + # The source of a field. + # Corresponds to the JSON property `source` + # @return [Google::Apis::PeopleV1::Source] + attr_accessor :source + + # True if the field is the primary field; false if the field is a secondary + # field. + # Corresponds to the JSON property `primary` + # @return [Boolean] + attr_accessor :primary + alias_method :primary?, :primary + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @verified = args[:verified] if args.key?(:verified) + @source = args[:source] if args.key?(:source) + @primary = args[:primary] if args.key?(:primary) + end + end + + # A person's locale preference. + class Locale + include Google::Apis::Core::Hashable + + # The well-formed [IETF BCP 47](https://tools.ietf.org/html/bcp47) + # language tag representing the locale. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # A person's physical address. May be a P.O. box or street address. All fields + # are optional. + class Address + include Google::Apis::Core::Hashable + + # The postal code of the address. + # Corresponds to the JSON property `postalCode` + # @return [String] + attr_accessor :postal_code + + # The city of the address. + # Corresponds to the JSON property `city` + # @return [String] + attr_accessor :city + + # The [ISO 3166-1 alpha-2](http://www.iso.org/iso/country_codes.htm) country + # code of the address. + # Corresponds to the JSON property `countryCode` + # @return [String] + attr_accessor :country_code + + # The read-only value of the address formatted in the viewer's account + # locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedValue` + # @return [String] + attr_accessor :formatted_value + + # The read-only type of the address translated and formatted in the viewer's + # account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + # The extended address of the address; for example, the apartment number. + # Corresponds to the JSON property `extendedAddress` + # @return [String] + attr_accessor :extended_address + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The region of the address; for example, the state or province. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # The country of the address. + # Corresponds to the JSON property `country` + # @return [String] + attr_accessor :country + + # The P.O. box of the address. + # Corresponds to the JSON property `poBox` + # @return [String] + attr_accessor :po_box + + # The street address. + # Corresponds to the JSON property `streetAddress` + # @return [String] + attr_accessor :street_address + + # The type of the address. The type can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `home` + # * `work` + # * `other` + # 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) + @postal_code = args[:postal_code] if args.key?(:postal_code) + @city = args[:city] if args.key?(:city) + @country_code = args[:country_code] if args.key?(:country_code) + @formatted_value = args[:formatted_value] if args.key?(:formatted_value) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @extended_address = args[:extended_address] if args.key?(:extended_address) + @metadata = args[:metadata] if args.key?(:metadata) + @region = args[:region] if args.key?(:region) + @country = args[:country] if args.key?(:country) + @po_box = args[:po_box] if args.key?(:po_box) + @street_address = args[:street_address] if args.key?(:street_address) + @type = args[:type] if args.key?(:type) + end + end + + # A person's past or current organization. Overlapping date ranges are + # permitted. + class Organization + include Google::Apis::Core::Hashable + + # The location of the organization office the person works at. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # The person's job title at the organization. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # The read-only type of the organization translated and formatted in the + # viewer's account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + # The person's job description at the organization. + # Corresponds to the JSON property `jobDescription` + # @return [String] + attr_accessor :job_description + + # The symbol associated with the organization; for example, a stock ticker + # symbol, abbreviation, or acronym. + # Corresponds to the JSON property `symbol` + # @return [String] + attr_accessor :symbol + + # The domain name associated with the organization; for example, `google.com`. + # Corresponds to the JSON property `domain` + # @return [String] + attr_accessor :domain + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # Represents a whole calendar date, for example a date of birth. The time of day + # and time zone are either specified elsewhere or are not significant. The date + # is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/ + # wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and + # month where the day is not significant. The year may be 0 to represent a month + # and day independent of year; for example, anniversary date. + # Corresponds to the JSON property `endDate` + # @return [Google::Apis::PeopleV1::Date] + attr_accessor :end_date + + # True if the organization is the person's current organization; + # false if the organization is a past organization. + # Corresponds to the JSON property `current` + # @return [Boolean] + attr_accessor :current + alias_method :current?, :current + + # The name of the organization. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The phonetic name of the organization. + # Corresponds to the JSON property `phoneticName` + # @return [String] + attr_accessor :phonetic_name + + # Represents a whole calendar date, for example a date of birth. The time of day + # and time zone are either specified elsewhere or are not significant. The date + # is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/ + # wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and + # month where the day is not significant. The year may be 0 to represent a month + # and day independent of year; for example, anniversary date. + # Corresponds to the JSON property `startDate` + # @return [Google::Apis::PeopleV1::Date] + attr_accessor :start_date + + # The person's department at the organization. + # Corresponds to the JSON property `department` + # @return [String] + attr_accessor :department + + # The type of the organization. The type can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `work` + # * `school` + # 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) + @location = args[:location] if args.key?(:location) + @title = args[:title] if args.key?(:title) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @job_description = args[:job_description] if args.key?(:job_description) + @symbol = args[:symbol] if args.key?(:symbol) + @domain = args[:domain] if args.key?(:domain) + @metadata = args[:metadata] if args.key?(:metadata) + @end_date = args[:end_date] if args.key?(:end_date) + @current = args[:current] if args.key?(:current) + @name = args[:name] if args.key?(:name) + @phonetic_name = args[:phonetic_name] if args.key?(:phonetic_name) + @start_date = args[:start_date] if args.key?(:start_date) + @department = args[:department] if args.key?(:department) + @type = args[:type] if args.key?(:type) + end + end + + # A person's relationship status. + class RelationshipStatus + include Google::Apis::Core::Hashable + + # The relationship status. The value can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `single` + # * `inARelationship` + # * `engaged` + # * `married` + # * `itsComplicated` + # * `openRelationship` + # * `widowed` + # * `inDomesticPartnership` + # * `inCivilUnion` + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The read-only value of the relationship status translated and formatted in + # the viewer's account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedValue` + # @return [String] + attr_accessor :formatted_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @metadata = args[:metadata] if args.key?(:metadata) + @formatted_value = args[:formatted_value] if args.key?(:formatted_value) + end + end + + # A Google contact group membership. + class ContactGroupMembership + include Google::Apis::Core::Hashable + + # The contact group ID for the contact group membership. The contact group + # ID can be custom or predefined. Possible values include, but are not + # limited to, the following: + # * `myContacts` + # * `starred` + # * A numerical ID for user-created groups. + # Corresponds to the JSON property `contactGroupId` + # @return [String] + attr_accessor :contact_group_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @contact_group_id = args[:contact_group_id] if args.key?(:contact_group_id) + end + end + + # A person's instant messaging client. + class ImClient + include Google::Apis::Core::Hashable + + # The protocol of the IM client. The protocol can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `aim` + # * `msn` + # * `yahoo` + # * `skype` + # * `qq` + # * `googleTalk` + # * `icq` + # * `jabber` + # * `netMeeting` + # Corresponds to the JSON property `protocol` + # @return [String] + attr_accessor :protocol + + # The read-only type of the IM client translated and formatted in the + # viewer's account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The user name used in the IM client. + # Corresponds to the JSON property `username` + # @return [String] + attr_accessor :username + + # The read-only protocol of the IM client formatted in the viewer's account + # locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedProtocol` + # @return [String] + attr_accessor :formatted_protocol + + # The type of the IM client. The type can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `home` + # * `work` + # * `other` + # 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) + @protocol = args[:protocol] if args.key?(:protocol) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @metadata = args[:metadata] if args.key?(:metadata) + @username = args[:username] if args.key?(:username) + @formatted_protocol = args[:formatted_protocol] if args.key?(:formatted_protocol) + @type = args[:type] if args.key?(:type) + end + end + + # Information about a person merged from various data sources such as the + # authenticated user's contacts and profile data. Fields other than IDs, + # metadata, and group memberships are user-edited. + # Most fields can have multiple items. The items in a field have no guaranteed + # order, but each non-empty field is guaranteed to have exactly one field with + # `metadata.primary` set to true. + class Person + include Google::Apis::Core::Hashable + + # The person's associated URLs. + # Corresponds to the JSON property `urls` + # @return [Array] + attr_accessor :urls + + # The person's birthdays. + # Corresponds to the JSON property `birthdays` + # @return [Array] + attr_accessor :birthdays + + # The person's relations. + # Corresponds to the JSON property `relations` + # @return [Array] + attr_accessor :relations + + # The person's nicknames. + # Corresponds to the JSON property `nicknames` + # @return [Array] + attr_accessor :nicknames + + # The person's biographies. + # Corresponds to the JSON property `biographies` + # @return [Array] + attr_accessor :biographies + + # The person's instant messaging clients. + # Corresponds to the JSON property `imClients` + # @return [Array] + attr_accessor :im_clients + + # The person's bragging rights. + # Corresponds to the JSON property `braggingRights` + # @return [Array] + attr_accessor :bragging_rights + + # The person's locale preferences. + # Corresponds to the JSON property `locales` + # @return [Array] + attr_accessor :locales + + # The person's relationship statuses. + # Corresponds to the JSON property `relationshipStatuses` + # @return [Array] + attr_accessor :relationship_statuses + + # The person's age range. + # Corresponds to the JSON property `ageRange` + # @return [String] + attr_accessor :age_range + + # The person's events. + # Corresponds to the JSON property `events` + # @return [Array] + attr_accessor :events + + # The person's interests. + # Corresponds to the JSON property `interests` + # @return [Array] + attr_accessor :interests + + # The kind of relationship the person is looking for. + # Corresponds to the JSON property `relationshipInterests` + # @return [Array] + attr_accessor :relationship_interests + + # The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the + # resource. Used for web cache validation. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # The person's past or current organizations. + # Corresponds to the JSON property `organizations` + # @return [Array] + attr_accessor :organizations + + # The resource name for the person, assigned by the server. An ASCII string + # with a max length of 27 characters. Always starts with `people/`. + # Corresponds to the JSON property `resourceName` + # @return [String] + attr_accessor :resource_name + + # The person's group memberships. + # Corresponds to the JSON property `memberships` + # @return [Array] + attr_accessor :memberships + + # Metadata about a person. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::PersonMetadata] + attr_accessor :metadata + + # The person's occupations. + # Corresponds to the JSON property `occupations` + # @return [Array] + attr_accessor :occupations + + # The person's names. + # Corresponds to the JSON property `names` + # @return [Array] + attr_accessor :names + + # The person's email addresses. + # Corresponds to the JSON property `emailAddresses` + # @return [Array] + attr_accessor :email_addresses + + # The person's residences. + # Corresponds to the JSON property `residences` + # @return [Array] + attr_accessor :residences + + # The person's skills. + # Corresponds to the JSON property `skills` + # @return [Array] + attr_accessor :skills + + # The person's cover photos. + # Corresponds to the JSON property `coverPhotos` + # @return [Array] + attr_accessor :cover_photos + + # The person's taglines. + # Corresponds to the JSON property `taglines` + # @return [Array] + attr_accessor :taglines + + # The person's phone numbers. + # Corresponds to the JSON property `phoneNumbers` + # @return [Array] + attr_accessor :phone_numbers + + # The person's street addresses. + # Corresponds to the JSON property `addresses` + # @return [Array] + attr_accessor :addresses + + # The person's photos. + # Corresponds to the JSON property `photos` + # @return [Array] + attr_accessor :photos + + # The person's genders. + # Corresponds to the JSON property `genders` + # @return [Array] + attr_accessor :genders + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @urls = args[:urls] if args.key?(:urls) + @birthdays = args[:birthdays] if args.key?(:birthdays) + @relations = args[:relations] if args.key?(:relations) + @nicknames = args[:nicknames] if args.key?(:nicknames) + @biographies = args[:biographies] if args.key?(:biographies) + @im_clients = args[:im_clients] if args.key?(:im_clients) + @bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights) + @locales = args[:locales] if args.key?(:locales) + @relationship_statuses = args[:relationship_statuses] if args.key?(:relationship_statuses) + @age_range = args[:age_range] if args.key?(:age_range) + @events = args[:events] if args.key?(:events) + @interests = args[:interests] if args.key?(:interests) + @relationship_interests = args[:relationship_interests] if args.key?(:relationship_interests) + @etag = args[:etag] if args.key?(:etag) + @organizations = args[:organizations] if args.key?(:organizations) + @resource_name = args[:resource_name] if args.key?(:resource_name) + @memberships = args[:memberships] if args.key?(:memberships) + @metadata = args[:metadata] if args.key?(:metadata) + @occupations = args[:occupations] if args.key?(:occupations) + @names = args[:names] if args.key?(:names) + @email_addresses = args[:email_addresses] if args.key?(:email_addresses) + @residences = args[:residences] if args.key?(:residences) + @skills = args[:skills] if args.key?(:skills) + @cover_photos = args[:cover_photos] if args.key?(:cover_photos) + @taglines = args[:taglines] if args.key?(:taglines) + @phone_numbers = args[:phone_numbers] if args.key?(:phone_numbers) + @addresses = args[:addresses] if args.key?(:addresses) + @photos = args[:photos] if args.key?(:photos) + @genders = args[:genders] if args.key?(:genders) + end + end + + # + class GetPeopleResponse + include Google::Apis::Core::Hashable + + # The response for each requested resource name. + # Corresponds to the JSON property `responses` + # @return [Array] + attr_accessor :responses + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @responses = args[:responses] if args.key?(:responses) + end + end + + # Metadata about a person. + class PersonMetadata + include Google::Apis::Core::Hashable + + # The type of the person object. + # Corresponds to the JSON property `objectType` + # @return [String] + attr_accessor :object_type + + # Any former resource names this person has had. Populated only for + # [`connections.list`](/people/api/rest/v1/people.connections/list) requests + # that include a sync token. + # The resource name may change when adding or removing fields that link a + # contact and profile such as a verified email, verified phone number, or + # profile URL. + # Corresponds to the JSON property `previousResourceNames` + # @return [Array] + attr_accessor :previous_resource_names + + # The sources of data for the person. + # Corresponds to the JSON property `sources` + # @return [Array] + attr_accessor :sources + + # True if the person resource has been deleted. Populated only for + # [`connections.list`](/people/api/rest/v1/people.connections/list) requests + # that include a sync token. + # Corresponds to the JSON property `deleted` + # @return [Boolean] + attr_accessor :deleted + alias_method :deleted?, :deleted + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_type = args[:object_type] if args.key?(:object_type) + @previous_resource_names = args[:previous_resource_names] if args.key?(:previous_resource_names) + @sources = args[:sources] if args.key?(:sources) + @deleted = args[:deleted] if args.key?(:deleted) + end + end + + # The response for a single person + class PersonResponse + include Google::Apis::Core::Hashable + + # Information about a person merged from various data sources such as the + # authenticated user's contacts and profile data. Fields other than IDs, + # metadata, and group memberships are user-edited. + # Most fields can have multiple items. The items in a field have no guaranteed + # order, but each non-empty field is guaranteed to have exactly one field with + # `metadata.primary` set to true. + # Corresponds to the JSON property `person` + # @return [Google::Apis::PeopleV1::Person] + attr_accessor :person + + # The original requested resource name. May be different than the resource + # name on the returned person. + # The resource name can change when adding or removing fields that link a + # contact and profile such as a verified email, verified phone number, or a + # profile URL. + # Corresponds to the JSON property `requestedResourceName` + # @return [String] + attr_accessor :requested_resource_name + + # [HTTP 1.1 status code](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html). + # Corresponds to the JSON property `httpStatusCode` + # @return [Fixnum] + attr_accessor :http_status_code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @person = args[:person] if args.key?(:person) + @requested_resource_name = args[:requested_resource_name] if args.key?(:requested_resource_name) + @http_status_code = args[:http_status_code] if args.key?(:http_status_code) + end + end + + # A person's short biography. + class Biography + include Google::Apis::Core::Hashable + + # The short biography. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # A person's photo. A picture shown next to the person's name to help others + # recognize the person. + class Photo + include Google::Apis::Core::Hashable + + # The URL of the photo. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @url = args[:url] if args.key?(:url) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # A person's occupation. + class Occupation + include Google::Apis::Core::Hashable + + # The occupation; for example, `carpenter`. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # A person's cover photo. A large image shown on the person's profile page + # that represents who they are or what they care about. + class CoverPhoto + include Google::Apis::Core::Hashable + + # True if the cover photo is the default cover photo; + # false if the cover photo is a user-provided cover photo. + # Corresponds to the JSON property `default` + # @return [Boolean] + attr_accessor :default + alias_method :default?, :default + + # The URL of the cover photo. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @default = args[:default] if args.key?(:default) + @url = args[:url] if args.key?(:url) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # A person's associated URLs. + class Url + include Google::Apis::Core::Hashable + + # The URL. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The read-only type of the URL translated and formatted in the viewer's + # account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The type of the URL. The type can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `home` + # * `work` + # * `blog` + # * `profile` + # * `homePage` + # * `ftp` + # * `reservations` + # * `appInstallPage`: website for a Google+ application. + # * `other` + # 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) + @value = args[:value] if args.key?(:value) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + end + end + + # A person's bragging rights. + class BraggingRights + include Google::Apis::Core::Hashable + + # The bragging rights; for example, `climbed mount everest`. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # + class ListConnectionsResponse + include Google::Apis::Core::Hashable + + # The token that can be used to retrieve the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The token that can be used to retrieve changes since the last request. + # Corresponds to the JSON property `nextSyncToken` + # @return [String] + attr_accessor :next_sync_token + + # The list of people that the requestor is connected to. + # Corresponds to the JSON property `connections` + # @return [Array] + attr_accessor :connections + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @next_sync_token = args[:next_sync_token] if args.key?(:next_sync_token) + @connections = args[:connections] if args.key?(:connections) + end + end + + # A person's email address. + class EmailAddress + include Google::Apis::Core::Hashable + + # The email address. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The read-only type of the email address translated and formatted in the + # viewer's account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The type of the email address. The type can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `home` + # * `work` + # * `other` + # 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) + @value = args[:value] if args.key?(:value) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + end + end + + # A person's phone number. + class PhoneNumber + include Google::Apis::Core::Hashable + + # The phone number. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The read-only type of the phone number translated and formatted in the + # viewer's account locale or the the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The type of the phone number. The type can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `home` + # * `work` + # * `mobile` + # * `homeFax` + # * `workFax` + # * `otherFax` + # * `pager` + # * `workMobile` + # * `workPager` + # * `main` + # * `googleVoice` + # * `other` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The read-only canonicalized [ITU-T E.164](https://law.resource.org/pub/us/cfr/ + # ibr/004/itu-t.E.164.1.2008.pdf) + # form of the phone number. + # Corresponds to the JSON property `canonicalForm` + # @return [String] + attr_accessor :canonical_form + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + @canonical_form = args[:canonical_form] if args.key?(:canonical_form) + end + end + + # Represents a whole calendar date, for example a date of birth. The time of day + # and time zone are either specified elsewhere or are not significant. The date + # is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/ + # wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and + # month where the day is not significant. The year may be 0 to represent a month + # and day independent of year; for example, anniversary date. + class Date + include Google::Apis::Core::Hashable + + # Month of year. Must be from 1 to 12. + # Corresponds to the JSON property `month` + # @return [Fixnum] + attr_accessor :month + + # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 + # if specifying a year/month where the day is not significant. + # Corresponds to the JSON property `day` + # @return [Fixnum] + attr_accessor :day + + # Year of date. Must be from 1 to 9999, or 0 if specifying a date without + # a year. + # Corresponds to the JSON property `year` + # @return [Fixnum] + attr_accessor :year + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @month = args[:month] if args.key?(:month) + @day = args[:day] if args.key?(:day) + @year = args[:year] if args.key?(:year) + end + end + + # A Google Apps Domain membership. + class DomainMembership + include Google::Apis::Core::Hashable + + # True if the person is in the viewer's Google Apps domain. + # Corresponds to the JSON property `inViewerDomain` + # @return [Boolean] + attr_accessor :in_viewer_domain + alias_method :in_viewer_domain?, :in_viewer_domain + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @in_viewer_domain = args[:in_viewer_domain] if args.key?(:in_viewer_domain) + end + end + + # One of the person's interests. + class Interest + include Google::Apis::Core::Hashable + + # The interest; for example, `stargazing`. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # A person's relation to another person. + class Relation + include Google::Apis::Core::Hashable + + # The type of the relation translated and formatted in the viewer's account + # locale or the locale specified in the Accept-Language HTTP header. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + # The name of the other person this relation refers to. + # Corresponds to the JSON property `person` + # @return [String] + attr_accessor :person + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The person's relation to the other person. The type can be custom or + # predefined. + # Possible values include, but are not limited to, the following values: + # * `spouse` + # * `child` + # * `mother` + # * `father` + # * `parent` + # * `brother` + # * `sister` + # * `friend` + # * `relative` + # * `domesticPartner` + # * `manager` + # * `assistant` + # * `referredBy` + # * `partner` + # 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) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @person = args[:person] if args.key?(:person) + @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + end + end + + # A person's name. If the name is a mononym, the family name is empty. + class Name + include Google::Apis::Core::Hashable + + # The family name spelled as it sounds. + # Corresponds to the JSON property `phoneticFamilyName` + # @return [String] + attr_accessor :phonetic_family_name + + # The given name. + # Corresponds to the JSON property `givenName` + # @return [String] + attr_accessor :given_name + + # The middle name(s) spelled as they sound. + # Corresponds to the JSON property `phoneticMiddleName` + # @return [String] + attr_accessor :phonetic_middle_name + + # The middle name(s). + # Corresponds to the JSON property `middleName` + # @return [String] + attr_accessor :middle_name + + # The given name spelled as it sounds. + # Corresponds to the JSON property `phoneticGivenName` + # @return [String] + attr_accessor :phonetic_given_name + + # The honorific prefixes, such as `Mrs.` or `Dr.` + # Corresponds to the JSON property `honorificPrefix` + # @return [String] + attr_accessor :honorific_prefix + + # The honorific prefixes spelled as they sound. + # Corresponds to the JSON property `phoneticHonorificPrefix` + # @return [String] + attr_accessor :phonetic_honorific_prefix + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The honorific suffixes spelled as they sound. + # Corresponds to the JSON property `phoneticHonorificSuffix` + # @return [String] + attr_accessor :phonetic_honorific_suffix + + # The family name. + # Corresponds to the JSON property `familyName` + # @return [String] + attr_accessor :family_name + + # The display name formatted according to the locale specified by the + # viewer's account or the Accept-Language HTTP header. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The honorific suffixes, such as `Jr.` + # Corresponds to the JSON property `honorificSuffix` + # @return [String] + attr_accessor :honorific_suffix + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @phonetic_family_name = args[:phonetic_family_name] if args.key?(:phonetic_family_name) + @given_name = args[:given_name] if args.key?(:given_name) + @phonetic_middle_name = args[:phonetic_middle_name] if args.key?(:phonetic_middle_name) + @middle_name = args[:middle_name] if args.key?(:middle_name) + @phonetic_given_name = args[:phonetic_given_name] if args.key?(:phonetic_given_name) + @honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix) + @phonetic_honorific_prefix = args[:phonetic_honorific_prefix] if args.key?(:phonetic_honorific_prefix) + @metadata = args[:metadata] if args.key?(:metadata) + @phonetic_honorific_suffix = args[:phonetic_honorific_suffix] if args.key?(:phonetic_honorific_suffix) + @family_name = args[:family_name] if args.key?(:family_name) + @display_name = args[:display_name] if args.key?(:display_name) + @honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix) + end + end + end + end +end diff --git a/generated/google/apis/people_v1/representations.rb b/generated/google/apis/people_v1/representations.rb new file mode 100644 index 000000000..6ca478ed9 --- /dev/null +++ b/generated/google/apis/people_v1/representations.rb @@ -0,0 +1,593 @@ +# 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 PeopleV1 + + class Birthday + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Residence + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class RelationshipInterest + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Tagline + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Event + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Skill + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Nickname + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Membership + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Source + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Gender + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class FieldMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Locale + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Address + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Organization + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class RelationshipStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class ContactGroupMembership + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class ImClient + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Person + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class GetPeopleResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class PersonMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class PersonResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Biography + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Photo + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Occupation + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class CoverPhoto + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Url + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class BraggingRights + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class ListConnectionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class EmailAddress + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class PhoneNumber + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Date + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class DomainMembership + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Interest + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Relation + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Name + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class Birthday + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text, as: 'text' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation + + end + end + + class Residence + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :current, as: 'current' + end + end + + class RelationshipInterest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :formatted_value, as: 'formattedValue' + end + end + + class Tagline + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + end + end + + class Event + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :formatted_type, as: 'formattedType' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :type, as: 'type' + property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation + + end + end + + class Skill + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + end + end + + class Nickname + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :type, as: 'type' + end + end + + class Membership + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :contact_group_membership, as: 'contactGroupMembership', class: Google::Apis::PeopleV1::ContactGroupMembership, decorator: Google::Apis::PeopleV1::ContactGroupMembership::Representation + + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :domain_membership, as: 'domainMembership', class: Google::Apis::PeopleV1::DomainMembership, decorator: Google::Apis::PeopleV1::DomainMembership::Representation + + end + end + + class Source + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + property :id, as: 'id' + end + end + + class Gender + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :formatted_value, as: 'formattedValue' + end + end + + class FieldMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :verified, as: 'verified' + property :source, as: 'source', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation + + property :primary, as: 'primary' + end + end + + class Locale + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + end + end + + class Address + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :postal_code, as: 'postalCode' + property :city, as: 'city' + property :country_code, as: 'countryCode' + property :formatted_value, as: 'formattedValue' + property :formatted_type, as: 'formattedType' + property :extended_address, as: 'extendedAddress' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :region, as: 'region' + property :country, as: 'country' + property :po_box, as: 'poBox' + property :street_address, as: 'streetAddress' + property :type, as: 'type' + end + end + + class Organization + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :location, as: 'location' + property :title, as: 'title' + property :formatted_type, as: 'formattedType' + property :job_description, as: 'jobDescription' + property :symbol, as: 'symbol' + property :domain, as: 'domain' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :end_date, as: 'endDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation + + property :current, as: 'current' + property :name, as: 'name' + property :phonetic_name, as: 'phoneticName' + property :start_date, as: 'startDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation + + property :department, as: 'department' + property :type, as: 'type' + end + end + + class RelationshipStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :formatted_value, as: 'formattedValue' + end + end + + class ContactGroupMembership + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :contact_group_id, as: 'contactGroupId' + end + end + + class ImClient + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :protocol, as: 'protocol' + property :formatted_type, as: 'formattedType' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :username, as: 'username' + property :formatted_protocol, as: 'formattedProtocol' + property :type, as: 'type' + end + end + + class Person + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :urls, as: 'urls', class: Google::Apis::PeopleV1::Url, decorator: Google::Apis::PeopleV1::Url::Representation + + collection :birthdays, as: 'birthdays', class: Google::Apis::PeopleV1::Birthday, decorator: Google::Apis::PeopleV1::Birthday::Representation + + collection :relations, as: 'relations', class: Google::Apis::PeopleV1::Relation, decorator: Google::Apis::PeopleV1::Relation::Representation + + collection :nicknames, as: 'nicknames', class: Google::Apis::PeopleV1::Nickname, decorator: Google::Apis::PeopleV1::Nickname::Representation + + collection :biographies, as: 'biographies', class: Google::Apis::PeopleV1::Biography, decorator: Google::Apis::PeopleV1::Biography::Representation + + collection :im_clients, as: 'imClients', class: Google::Apis::PeopleV1::ImClient, decorator: Google::Apis::PeopleV1::ImClient::Representation + + collection :bragging_rights, as: 'braggingRights', class: Google::Apis::PeopleV1::BraggingRights, decorator: Google::Apis::PeopleV1::BraggingRights::Representation + + collection :locales, as: 'locales', class: Google::Apis::PeopleV1::Locale, decorator: Google::Apis::PeopleV1::Locale::Representation + + collection :relationship_statuses, as: 'relationshipStatuses', class: Google::Apis::PeopleV1::RelationshipStatus, decorator: Google::Apis::PeopleV1::RelationshipStatus::Representation + + property :age_range, as: 'ageRange' + collection :events, as: 'events', class: Google::Apis::PeopleV1::Event, decorator: Google::Apis::PeopleV1::Event::Representation + + collection :interests, as: 'interests', class: Google::Apis::PeopleV1::Interest, decorator: Google::Apis::PeopleV1::Interest::Representation + + collection :relationship_interests, as: 'relationshipInterests', class: Google::Apis::PeopleV1::RelationshipInterest, decorator: Google::Apis::PeopleV1::RelationshipInterest::Representation + + property :etag, as: 'etag' + collection :organizations, as: 'organizations', class: Google::Apis::PeopleV1::Organization, decorator: Google::Apis::PeopleV1::Organization::Representation + + property :resource_name, as: 'resourceName' + collection :memberships, as: 'memberships', class: Google::Apis::PeopleV1::Membership, decorator: Google::Apis::PeopleV1::Membership::Representation + + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::PersonMetadata, decorator: Google::Apis::PeopleV1::PersonMetadata::Representation + + collection :occupations, as: 'occupations', class: Google::Apis::PeopleV1::Occupation, decorator: Google::Apis::PeopleV1::Occupation::Representation + + collection :names, as: 'names', class: Google::Apis::PeopleV1::Name, decorator: Google::Apis::PeopleV1::Name::Representation + + collection :email_addresses, as: 'emailAddresses', class: Google::Apis::PeopleV1::EmailAddress, decorator: Google::Apis::PeopleV1::EmailAddress::Representation + + collection :residences, as: 'residences', class: Google::Apis::PeopleV1::Residence, decorator: Google::Apis::PeopleV1::Residence::Representation + + collection :skills, as: 'skills', class: Google::Apis::PeopleV1::Skill, decorator: Google::Apis::PeopleV1::Skill::Representation + + collection :cover_photos, as: 'coverPhotos', class: Google::Apis::PeopleV1::CoverPhoto, decorator: Google::Apis::PeopleV1::CoverPhoto::Representation + + collection :taglines, as: 'taglines', class: Google::Apis::PeopleV1::Tagline, decorator: Google::Apis::PeopleV1::Tagline::Representation + + collection :phone_numbers, as: 'phoneNumbers', class: Google::Apis::PeopleV1::PhoneNumber, decorator: Google::Apis::PeopleV1::PhoneNumber::Representation + + collection :addresses, as: 'addresses', class: Google::Apis::PeopleV1::Address, decorator: Google::Apis::PeopleV1::Address::Representation + + collection :photos, as: 'photos', class: Google::Apis::PeopleV1::Photo, decorator: Google::Apis::PeopleV1::Photo::Representation + + collection :genders, as: 'genders', class: Google::Apis::PeopleV1::Gender, decorator: Google::Apis::PeopleV1::Gender::Representation + + end + end + + class GetPeopleResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :responses, as: 'responses', class: Google::Apis::PeopleV1::PersonResponse, decorator: Google::Apis::PeopleV1::PersonResponse::Representation + + end + end + + class PersonMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_type, as: 'objectType' + collection :previous_resource_names, as: 'previousResourceNames' + collection :sources, as: 'sources', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation + + property :deleted, as: 'deleted' + end + end + + class PersonResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation + + property :requested_resource_name, as: 'requestedResourceName' + property :http_status_code, as: 'httpStatusCode' + end + end + + class Biography + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + end + end + + class Photo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :url, as: 'url' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + end + end + + class Occupation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + end + end + + class CoverPhoto + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :default, as: 'default' + property :url, as: 'url' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + end + end + + class Url + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :formatted_type, as: 'formattedType' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :type, as: 'type' + end + end + + class BraggingRights + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + end + end + + class ListConnectionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + property :next_sync_token, as: 'nextSyncToken' + collection :connections, as: 'connections', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation + + end + end + + class EmailAddress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :formatted_type, as: 'formattedType' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :type, as: 'type' + end + end + + class PhoneNumber + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :formatted_type, as: 'formattedType' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :type, as: 'type' + property :canonical_form, as: 'canonicalForm' + end + end + + class Date + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :month, as: 'month' + property :day, as: 'day' + property :year, as: 'year' + end + end + + class DomainMembership + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :in_viewer_domain, as: 'inViewerDomain' + end + end + + class Interest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + end + end + + class Relation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :formatted_type, as: 'formattedType' + property :person, as: 'person' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :type, as: 'type' + end + end + + class Name + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :phonetic_family_name, as: 'phoneticFamilyName' + property :given_name, as: 'givenName' + property :phonetic_middle_name, as: 'phoneticMiddleName' + property :middle_name, as: 'middleName' + property :phonetic_given_name, as: 'phoneticGivenName' + property :honorific_prefix, as: 'honorificPrefix' + property :phonetic_honorific_prefix, as: 'phoneticHonorificPrefix' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :phonetic_honorific_suffix, as: 'phoneticHonorificSuffix' + property :family_name, as: 'familyName' + property :display_name, as: 'displayName' + property :honorific_suffix, as: 'honorificSuffix' + end + end + end + end +end diff --git a/generated/google/apis/people_v1/service.rb b/generated/google/apis/people_v1/service.rb new file mode 100644 index 000000000..7fe4386fa --- /dev/null +++ b/generated/google/apis/people_v1/service.rb @@ -0,0 +1,193 @@ +# 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 PeopleV1 + # Google People API + # + # The Google People API service gives access to information about profiles and + # contacts. + # + # @example + # require 'google/apis/people_v1' + # + # People = Google::Apis::PeopleV1 # Alias the module + # service = People::PeopleService.new + # + # @see https://developers.google.com/people/ + class PeopleService < 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://people.googleapis.com/', '') + end + + # Provides information about a list of specific people by specifying a list + # of requested resource names. Use `people/me` to indicate the authenticated + # user. + # @param [String] request_mask_include_field + # Comma-separated list of fields to be included in the response. Omitting + # this field will include all fields. + # Each path should start with `person.`: for example, `person.names` or + # `person.photos`. + # @param [Array, String] resource_names + # The resource name, such as one returned by + # [`people.connections.list`](/people/api/rest/v1/people.connections/list), + # of one of the people to provide information about. You can include this + # parameter up to 50 times in one request. + # @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::PeopleV1::GetPeopleResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PeopleV1::GetPeopleResponse] + # + # @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_people(request_mask_include_field: nil, resource_names: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/people:batchGet', options) + command.response_representation = Google::Apis::PeopleV1::GetPeopleResponse::Representation + command.response_class = Google::Apis::PeopleV1::GetPeopleResponse + command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil? + command.query['resourceNames'] = resource_names unless resource_names.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Provides information about a person resource for a resource name. Use + # `people/me` to indicate the authenticated user. + # @param [String] resource_name + # The resource name of the person to provide information about. + # - To get information about the authenticated user, specify `people/me`. + # - To get information about any user, specify the resource name that + # identifies the user, such as the resource names returned by + # [`people.connections.list`](/people/api/rest/v1/people.connections/list). + # @param [String] request_mask_include_field + # Comma-separated list of fields to be included in the response. Omitting + # this field will include all fields. + # Each path should start with `person.`: for example, `person.names` or + # `person.photos`. + # @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::PeopleV1::Person] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PeopleV1::Person] + # + # @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_person(resource_name, request_mask_include_field: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resourceName}', options) + command.response_representation = Google::Apis::PeopleV1::Person::Representation + command.response_class = Google::Apis::PeopleV1::Person + command.params['resourceName'] = resource_name unless resource_name.nil? + command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Provides a list of the authenticated user's contacts merged with any + # linked profiles. + # @param [String] resource_name + # The resource name to return connections for. Only `people/me` is valid. + # @param [String] sort_order + # The order in which the connections should be sorted. Defaults to + # `LAST_MODIFIED_ASCENDING`. + # @param [String] sync_token + # A sync token, returned by a previous call to `people.connections.list`. + # Only resources changed since the sync token was created are returned. + # @param [Fixnum] page_size + # The number of connections to include in the response. Valid values are + # between 1 and 500, inclusive. Defaults to 100. + # @param [String] request_mask_include_field + # Comma-separated list of fields to be included in the response. Omitting + # this field will include all fields. + # Each path should start with `person.`: for example, `person.names` or + # `person.photos`. + # @param [String] page_token + # The token of the page to be returned. + # @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::PeopleV1::ListConnectionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PeopleV1::ListConnectionsResponse] + # + # @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_person_connections(resource_name, sort_order: nil, sync_token: nil, page_size: nil, request_mask_include_field: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resourceName}/connections', options) + command.response_representation = Google::Apis::PeopleV1::ListConnectionsResponse::Representation + command.response_class = Google::Apis::PeopleV1::ListConnectionsResponse + command.params['resourceName'] = resource_name unless resource_name.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['syncToken'] = sync_token unless sync_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil? + command.query['pageToken'] = page_token unless page_token.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/plus_domains_v1.rb b/generated/google/apis/plus_domains_v1.rb index d0c6e99b8..d38434239 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 = '20160126' + REVISION = '20160208' # View your circles and the people and pages in them AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read' @@ -33,7 +33,7 @@ module Google # Manage your circles and add people and pages. People and pages you add to your circles will be notified. Others may see this information publicly. People you add to circles can use Hangouts with you. AUTH_PLUS_CIRCLES_WRITE = 'https://www.googleapis.com/auth/plus.circles.write' - # Know your basic profile info and list of people in your circles. + # Know the list of people in your circles, your age range, and language AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' # Know who you are on Google diff --git a/generated/google/apis/plus_v1.rb b/generated/google/apis/plus_v1.rb index aaff2d6ac..37b193264 100644 --- a/generated/google/apis/plus_v1.rb +++ b/generated/google/apis/plus_v1.rb @@ -25,9 +25,9 @@ module Google # @see https://developers.google.com/+/api/ module PlusV1 VERSION = 'V1' - REVISION = '20160126' + REVISION = '20160208' - # Know your basic profile info and list of people in your circles. + # Know the list of people in your circles, your age range, and language AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' # Know who you are on Google diff --git a/generated/google/apis/prediction_v1_6/classes.rb b/generated/google/apis/prediction_v1_6/classes.rb index bba35e95a..75562d5df 100644 --- a/generated/google/apis/prediction_v1_6/classes.rb +++ b/generated/google/apis/prediction_v1_6/classes.rb @@ -674,7 +674,7 @@ module Google # The estimated regression value (Regression models only). # Corresponds to the JSON property `outputValue` - # @return [Float] + # @return [String] attr_accessor :output_value # A URL to re-request this resource. diff --git a/generated/google/apis/reseller_v1.rb b/generated/google/apis/reseller_v1.rb index 7de905bd2..cd914ce60 100644 --- a/generated/google/apis/reseller_v1.rb +++ b/generated/google/apis/reseller_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/google-apps/reseller/ module ResellerV1 VERSION = 'V1' - REVISION = '20151110' + REVISION = '20160202' # Manage users on your domain AUTH_APPS_ORDER = 'https://www.googleapis.com/auth/apps.order' diff --git a/generated/google/apis/reseller_v1/service.rb b/generated/google/apis/reseller_v1/service.rb index 25d4d025a..8d6ff68a2 100644 --- a/generated/google/apis/reseller_v1/service.rb +++ b/generated/google/apis/reseller_v1/service.rb @@ -91,7 +91,7 @@ module Google # @param [Google::Apis::ResellerV1::Customer] customer_object # @param [String] customer_auth_token # An auth token needed for inserting a customer for which domain already exists. - # Can be generated at https://www.google.com/a/cpanel//TransferToken. Optional. + # Can be generated at https://admin.google.com/TransferToken. Optional. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/storage_v1.rb b/generated/google/apis/storage_v1.rb index 9d6cae0d7..ef9c175d4 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 = '20151229' + REVISION = '20160127' # 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/youtube_analytics_v1.rb b/generated/google/apis/youtube_analytics_v1.rb index 2b1228e20..9db2164fb 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 = '20151211' + REVISION = '20160204' # Manage your YouTube account AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube' diff --git a/generated/google/apis/youtube_v3.rb b/generated/google/apis/youtube_v3.rb index b64e1d7be..cdefd2a4a 100644 --- a/generated/google/apis/youtube_v3.rb +++ b/generated/google/apis/youtube_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/youtube/v3 module YoutubeV3 VERSION = 'V3' - REVISION = '20160111' + REVISION = '20160201' # 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 639962aec..29c0257d6 100644 --- a/generated/google/apis/youtube_v3/classes.rb +++ b/generated/google/apis/youtube_v3/classes.rb @@ -1243,25 +1243,6 @@ module Google end end - # - class ChannelId - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value = args[:value] if args.key?(:value) - end - end - # class ListChannelsResponse include Google::Apis::Core::Hashable @@ -1991,7 +1972,7 @@ module Google # The id of the author's YouTube channel, if any. # Corresponds to the JSON property `authorChannelId` - # @return [Google::Apis::YoutubeV3::ChannelId] + # @return [Object] attr_accessor :author_channel_id # Link to the author's YouTube channel, if any. @@ -5859,6 +5840,11 @@ module Google # @return [String] attr_accessor :prev_page_token + # + # Corresponds to the JSON property `regionCode` + # @return [String] + attr_accessor :region_code + # Stub token pagination template to suppress results. # Corresponds to the JSON property `tokenPagination` # @return [Google::Apis::YoutubeV3::TokenPagination] @@ -5882,6 +5868,7 @@ module Google @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @page_info = args[:page_info] if args.key?(:page_info) @prev_page_token = args[:prev_page_token] if args.key?(:prev_page_token) + @region_code = args[:region_code] if args.key?(:region_code) @token_pagination = args[:token_pagination] if args.key?(:token_pagination) @visitor_id = args[:visitor_id] if args.key?(:visitor_id) end diff --git a/generated/google/apis/youtube_v3/representations.rb b/generated/google/apis/youtube_v3/representations.rb index b96599154..951e97edb 100644 --- a/generated/google/apis/youtube_v3/representations.rb +++ b/generated/google/apis/youtube_v3/representations.rb @@ -138,10 +138,6 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation; end end - class ChannelId - class Representation < Google::Apis::Core::JsonRepresentation; end - end - class ListChannelsResponse class Representation < Google::Apis::Core::JsonRepresentation; end end @@ -1039,13 +1035,6 @@ module Google end end - class ChannelId - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - end - end - class ListChannelsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1243,8 +1232,7 @@ module Google class CommentSnippet # @private class Representation < Google::Apis::Core::JsonRepresentation - property :author_channel_id, as: 'authorChannelId', class: Google::Apis::YoutubeV3::ChannelId, decorator: Google::Apis::YoutubeV3::ChannelId::Representation - + property :author_channel_id, as: 'authorChannelId' property :author_channel_url, as: 'authorChannelUrl' property :author_display_name, as: 'authorDisplayName' property :author_googleplus_profile_url, as: 'authorGoogleplusProfileUrl' @@ -2217,6 +2205,7 @@ module Google property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation property :prev_page_token, as: 'prevPageToken' + property :region_code, as: 'regionCode' property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation property :visitor_id, as: 'visitorId' diff --git a/script/generate b/script/generate index 8dc6fdc8a..d19c0df2e 100755 --- a/script/generate +++ b/script/generate @@ -68,7 +68,8 @@ APIS=(adexchangebuyer:v1.4 \ oauth2:v2 \ pagespeedonline:v2 \ partners:v2 \ - plus:v1 \ + people:v1 \ + plus:v1 \ plusDomains:v1 \ prediction:v1.6 \ proximitybeacon:v1beta1 \