Autogenerated update (2019-03-05)
Update: - binaryauthorization_v1beta1 - cloudsearch_v1 - dataproc_v1 - dataproc_v1beta2 - people_v1 - script_v1 - streetviewpublish_v1
This commit is contained in:
parent
bc74cb89a0
commit
ab4081839b
|
@ -16906,6 +16906,268 @@
|
|||
"/cloudmonitoring:v2beta2/key": key
|
||||
"/cloudmonitoring:v2beta2/quotaUser": quota_user
|
||||
"/cloudmonitoring:v2beta2/userIp": user_ip
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Catalog": google_cloud_privatecatalog_v1beta1_catalog
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Catalog/createTime": create_time
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Catalog/description": description
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Catalog/displayName": display_name
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Catalog/name": name
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Catalog/updateTime": update_time
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Product": google_cloud_privatecatalog_v1beta1_product
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Product/assetType": asset_type
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Product/createTime": create_time
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Product/displayMetadata": display_metadata
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Product/displayMetadata/display_metadatum": display_metadatum
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Product/iconUri": icon_uri
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Product/name": name
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Product/updateTime": update_time
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse": google_cloud_privatecatalog_v1beta1_search_catalogs_response
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse/catalogs": catalogs
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse/catalogs/catalog": catalog
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse/nextPageToken": next_page_token
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1SearchProductsResponse": google_cloud_privatecatalog_v1beta1_search_products_response
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1SearchProductsResponse/nextPageToken": next_page_token
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1SearchProductsResponse/products": products
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1SearchProductsResponse/products/product": product
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse": google_cloud_privatecatalog_v1beta1_search_versions_response
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse/nextPageToken": next_page_token
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse/versions": versions
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse/versions/version": version
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Version": google_cloud_privatecatalog_v1beta1_version
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Version/asset": asset
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Version/asset/asset": asset
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Version/createTime": create_time
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Version/description": description
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Version/name": name
|
||||
"/cloudprivatecatalog:v1beta1/GoogleCloudPrivatecatalogV1beta1Version/updateTime": update_time
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.folders.catalogs.search": search_folder_catalogs
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.folders.catalogs.search/pageSize": page_size
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.folders.catalogs.search/pageToken": page_token
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.folders.catalogs.search/query": query
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.folders.catalogs.search/resource": resource
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.folders.products.search": search_folder_products
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.folders.products.search/pageSize": page_size
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.folders.products.search/pageToken": page_token
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.folders.products.search/query": query
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.folders.products.search/resource": resource
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.folders.versions.search": search_folder_versions
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.folders.versions.search/pageSize": page_size
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.folders.versions.search/pageToken": page_token
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.folders.versions.search/query": query
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.folders.versions.search/resource": resource
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.organizations.catalogs.search": search_organization_catalogs
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.organizations.catalogs.search/pageSize": page_size
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.organizations.catalogs.search/pageToken": page_token
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.organizations.catalogs.search/query": query
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.organizations.catalogs.search/resource": resource
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.organizations.products.search": search_organization_products
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.organizations.products.search/pageSize": page_size
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.organizations.products.search/pageToken": page_token
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.organizations.products.search/query": query
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.organizations.products.search/resource": resource
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.organizations.versions.search": search_organization_versions
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.organizations.versions.search/pageSize": page_size
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.organizations.versions.search/pageToken": page_token
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.organizations.versions.search/query": query
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.organizations.versions.search/resource": resource
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.projects.catalogs.search": search_project_catalogs
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.projects.catalogs.search/pageSize": page_size
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.projects.catalogs.search/pageToken": page_token
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.projects.catalogs.search/query": query
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.projects.catalogs.search/resource": resource
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.projects.products.search": search_project_products
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.projects.products.search/pageSize": page_size
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.projects.products.search/pageToken": page_token
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.projects.products.search/query": query
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.projects.products.search/resource": resource
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.projects.versions.search": search_project_versions
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.projects.versions.search/pageSize": page_size
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.projects.versions.search/pageToken": page_token
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.projects.versions.search/query": query
|
||||
"/cloudprivatecatalog:v1beta1/cloudprivatecatalog.projects.versions.search/resource": resource
|
||||
"/cloudprivatecatalog:v1beta1/fields": fields
|
||||
"/cloudprivatecatalog:v1beta1/key": key
|
||||
"/cloudprivatecatalog:v1beta1/quotaUser": quota_user
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Association": google_cloud_privatecatalogproducer_v1beta1_association
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Association/createTime": create_time
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Association/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Association/resource": resource
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Catalog": google_cloud_privatecatalogproducer_v1beta1_catalog
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Catalog/createTime": create_time
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Catalog/description": description
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Catalog/displayName": display_name
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Catalog/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Catalog/parent": parent
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Catalog/updateTime": update_time
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest": google_cloud_privatecatalogproducer_v1beta1_copy_product_request
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest/destinationProductName": destination_product_name
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest": google_cloud_privatecatalogproducer_v1beta1_create_association_request
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest/association": association
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse": google_cloud_privatecatalogproducer_v1beta1_list_associations_response
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse/associations": associations
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse/associations/association": association
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse/nextPageToken": next_page_token
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse": google_cloud_privatecatalogproducer_v1beta1_list_catalogs_response
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse/catalogs": catalogs
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse/catalogs/catalog": catalog
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse/nextPageToken": next_page_token
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse": google_cloud_privatecatalogproducer_v1beta1_list_products_response
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse/nextPageToken": next_page_token
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse/products": products
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse/products/product": product
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse": google_cloud_privatecatalogproducer_v1beta1_list_versions_response
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse/nextPageToken": next_page_token
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse/versions": versions
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse/versions/version": version
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Product": google_cloud_privatecatalogproducer_v1beta1_product
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Product/assetType": asset_type
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Product/createTime": create_time
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Product/displayMetadata": display_metadata
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Product/displayMetadata/display_metadatum": display_metadatum
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Product/iconUri": icon_uri
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Product/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Product/updateTime": update_time
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1UndeleteCatalogRequest": google_cloud_privatecatalogproducer_v1beta1_undelete_catalog_request
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest": google_cloud_privatecatalogproducer_v1beta1_upload_icon_request
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest/icon": icon
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Version": google_cloud_privatecatalogproducer_v1beta1_version
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Version/asset": asset
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Version/asset/asset": asset
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Version/createTime": create_time
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Version/description": description
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Version/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Version/originalAsset": original_asset
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Version/originalAsset/original_asset": original_asset
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleCloudPrivatecatalogproducerV1beta1Version/updateTime": update_time
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1AuditConfig": google_iam_v1_audit_config
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1AuditConfig/auditLogConfigs": audit_log_configs
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1AuditConfig/auditLogConfigs/audit_log_config": audit_log_config
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1AuditConfig/service": service
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1AuditLogConfig": google_iam_v1_audit_log_config
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1AuditLogConfig/exemptedMembers": exempted_members
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1AuditLogConfig/exemptedMembers/exempted_member": exempted_member
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1AuditLogConfig/logType": log_type
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1Binding": google_iam_v1_binding
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1Binding/condition": condition
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1Binding/members": members
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1Binding/members/member": member
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1Binding/role": role
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1Policy": google_iam_v1_policy
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1Policy/auditConfigs": audit_configs
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1Policy/auditConfigs/audit_config": audit_config
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1Policy/bindings": bindings
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1Policy/bindings/binding": binding
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1Policy/etag": etag
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1Policy/version": version
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1SetIamPolicyRequest": google_iam_v1_set_iam_policy_request
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1SetIamPolicyRequest/policy": policy
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1SetIamPolicyRequest/updateMask": update_mask
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1TestIamPermissionsRequest": google_iam_v1_test_iam_permissions_request
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1TestIamPermissionsRequest/permissions": permissions
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1TestIamPermissionsRequest/permissions/permission": permission
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1TestIamPermissionsResponse": google_iam_v1_test_iam_permissions_response
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1TestIamPermissionsResponse/permissions": permissions
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleIamV1TestIamPermissionsResponse/permissions/permission": permission
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleLongrunningCancelOperationRequest": google_longrunning_cancel_operation_request
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleLongrunningListOperationsResponse": google_longrunning_list_operations_response
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleLongrunningListOperationsResponse/nextPageToken": next_page_token
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleLongrunningListOperationsResponse/operations": operations
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleLongrunningListOperationsResponse/operations/operation": operation
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleLongrunningOperation": google_longrunning_operation
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleLongrunningOperation/done": done
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleLongrunningOperation/error": error
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleLongrunningOperation/metadata": metadata
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleLongrunningOperation/metadata/metadatum": metadatum
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleLongrunningOperation/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleLongrunningOperation/response": response
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleLongrunningOperation/response/response": response
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleProtobufEmpty": google_protobuf_empty
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleRpcStatus": google_rpc_status
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleRpcStatus/code": code
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleRpcStatus/details": details
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleRpcStatus/details/detail": detail
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleRpcStatus/details/detail/detail": detail
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleRpcStatus/message": message
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleTypeExpr": google_type_expr
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleTypeExpr/description": description
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleTypeExpr/expression": expression
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleTypeExpr/location": location
|
||||
"/cloudprivatecatalogproducer:v1beta1/GoogleTypeExpr/title": title
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.associations.create": create_catalog_association
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.associations.create/parent": parent
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.associations.delete": delete_catalog_association
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.associations.delete/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.associations.get": get_catalog_association
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.associations.get/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.associations.list": list_catalog_associations
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.associations.list/pageSize": page_size
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.associations.list/pageToken": page_token
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.associations.list/parent": parent
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.create": create_catalog
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.delete": delete_catalog
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.delete/force": force
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.delete/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.get": get_catalog
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.get/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.getIamPolicy": get_catalog_iam_policy
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.getIamPolicy/resource": resource
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.list": list_catalogs
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.list/pageSize": page_size
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.list/pageToken": page_token
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.list/parent": parent
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.patch": patch_catalog
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.patch/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.patch/updateMask": update_mask
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.copy": copy_catalog_product
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.copy/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.create": create_catalog_product
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.create/parent": parent
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.delete": delete_catalog_product
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.delete/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.get": get_catalog_product
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.get/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.icons.upload": upload_catalog_product_icon
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.icons.upload/product": product
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.list": list_catalog_products
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.list/filter": filter
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.list/pageSize": page_size
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.list/pageToken": page_token
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.list/parent": parent
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.patch": patch_catalog_product
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.patch/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.patch/updateMask": update_mask
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.versions.create": create_catalog_product_version
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.versions.create/parent": parent
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.versions.delete": delete_catalog_product_version
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.versions.delete/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.versions.get": get_catalog_product_version
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.versions.get/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.versions.list": list_catalog_product_versions
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.versions.list/pageSize": page_size
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.versions.list/pageToken": page_token
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.versions.list/parent": parent
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.versions.patch": patch_catalog_product_version
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.versions.patch/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.products.versions.patch/updateMask": update_mask
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.setIamPolicy": set_catalog_iam_policy
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.setIamPolicy/resource": resource
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.testIamPermissions": test_catalog_iam_permissions
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.testIamPermissions/resource": resource
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.undelete": undelete_catalog
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.catalogs.undelete/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.operations.cancel": cancel_operation
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.operations.cancel/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.operations.delete": delete_operation
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.operations.delete/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.operations.get": get_operation
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.operations.get/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.operations.list": list_operations
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.operations.list/filter": filter
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.operations.list/name": name
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.operations.list/pageSize": page_size
|
||||
"/cloudprivatecatalogproducer:v1beta1/cloudprivatecatalogproducer.operations.list/pageToken": page_token
|
||||
"/cloudprivatecatalogproducer:v1beta1/fields": fields
|
||||
"/cloudprivatecatalogproducer:v1beta1/key": key
|
||||
"/cloudprivatecatalogproducer:v1beta1/quotaUser": quota_user
|
||||
"/cloudprofiler:v2/CreateProfileRequest": create_profile_request
|
||||
"/cloudprofiler:v2/CreateProfileRequest/deployment": deployment
|
||||
"/cloudprofiler:v2/CreateProfileRequest/profile": profile
|
||||
|
@ -46414,6 +46676,8 @@
|
|||
"/dataproc:v1/SetIamPolicyRequest/policy": policy
|
||||
"/dataproc:v1/SoftwareConfig": software_config
|
||||
"/dataproc:v1/SoftwareConfig/imageVersion": image_version
|
||||
"/dataproc:v1/SoftwareConfig/optionalComponents": optional_components
|
||||
"/dataproc:v1/SoftwareConfig/optionalComponents/optional_component": optional_component
|
||||
"/dataproc:v1/SoftwareConfig/properties": properties
|
||||
"/dataproc:v1/SoftwareConfig/properties/property": property
|
||||
"/dataproc:v1/SparkJob": spark_job
|
||||
|
@ -46657,6 +46921,23 @@
|
|||
"/dataproc:v1beta2/AllocationAffinity/key": key
|
||||
"/dataproc:v1beta2/AllocationAffinity/values": values
|
||||
"/dataproc:v1beta2/AllocationAffinity/values/value": value
|
||||
"/dataproc:v1beta2/AutoscalingConfig": autoscaling_config
|
||||
"/dataproc:v1beta2/AutoscalingConfig/policyUri": policy_uri
|
||||
"/dataproc:v1beta2/AutoscalingPolicy": autoscaling_policy
|
||||
"/dataproc:v1beta2/AutoscalingPolicy/basicAlgorithm": basic_algorithm
|
||||
"/dataproc:v1beta2/AutoscalingPolicy/id": id
|
||||
"/dataproc:v1beta2/AutoscalingPolicy/name": name
|
||||
"/dataproc:v1beta2/AutoscalingPolicy/secondaryWorkerConfig": secondary_worker_config
|
||||
"/dataproc:v1beta2/AutoscalingPolicy/workerConfig": worker_config
|
||||
"/dataproc:v1beta2/BasicAutoscalingAlgorithm": basic_autoscaling_algorithm
|
||||
"/dataproc:v1beta2/BasicAutoscalingAlgorithm/cooldownPeriod": cooldown_period
|
||||
"/dataproc:v1beta2/BasicAutoscalingAlgorithm/yarnConfig": yarn_config
|
||||
"/dataproc:v1beta2/BasicYarnAutoscalingConfig": basic_yarn_autoscaling_config
|
||||
"/dataproc:v1beta2/BasicYarnAutoscalingConfig/gracefulDecommissionTimeout": graceful_decommission_timeout
|
||||
"/dataproc:v1beta2/BasicYarnAutoscalingConfig/scaleDownFactor": scale_down_factor
|
||||
"/dataproc:v1beta2/BasicYarnAutoscalingConfig/scaleDownMinWorkerFraction": scale_down_min_worker_fraction
|
||||
"/dataproc:v1beta2/BasicYarnAutoscalingConfig/scaleUpFactor": scale_up_factor
|
||||
"/dataproc:v1beta2/BasicYarnAutoscalingConfig/scaleUpMinWorkerFraction": scale_up_min_worker_fraction
|
||||
"/dataproc:v1beta2/Binding": binding
|
||||
"/dataproc:v1beta2/Binding/condition": condition
|
||||
"/dataproc:v1beta2/Binding/members": members
|
||||
|
@ -46675,6 +46956,7 @@
|
|||
"/dataproc:v1beta2/Cluster/statusHistory": status_history
|
||||
"/dataproc:v1beta2/Cluster/statusHistory/status_history": status_history
|
||||
"/dataproc:v1beta2/ClusterConfig": cluster_config
|
||||
"/dataproc:v1beta2/ClusterConfig/autoscalingConfig": autoscaling_config
|
||||
"/dataproc:v1beta2/ClusterConfig/configBucket": config_bucket
|
||||
"/dataproc:v1beta2/ClusterConfig/encryptionConfig": encryption_config
|
||||
"/dataproc:v1beta2/ClusterConfig/gceClusterConfig": gce_cluster_config
|
||||
|
@ -46773,6 +47055,10 @@
|
|||
"/dataproc:v1beta2/HiveJob/queryList": query_list
|
||||
"/dataproc:v1beta2/HiveJob/scriptVariables": script_variables
|
||||
"/dataproc:v1beta2/HiveJob/scriptVariables/script_variable": script_variable
|
||||
"/dataproc:v1beta2/InstanceGroupAutoscalingPolicyConfig": instance_group_autoscaling_policy_config
|
||||
"/dataproc:v1beta2/InstanceGroupAutoscalingPolicyConfig/maxInstances": max_instances
|
||||
"/dataproc:v1beta2/InstanceGroupAutoscalingPolicyConfig/minInstances": min_instances
|
||||
"/dataproc:v1beta2/InstanceGroupAutoscalingPolicyConfig/weight": weight
|
||||
"/dataproc:v1beta2/InstanceGroupConfig": instance_group_config
|
||||
"/dataproc:v1beta2/InstanceGroupConfig/accelerators": accelerators
|
||||
"/dataproc:v1beta2/InstanceGroupConfig/accelerators/accelerator": accelerator
|
||||
|
@ -46830,6 +47116,10 @@
|
|||
"/dataproc:v1beta2/LifecycleConfig/autoDeleteTime": auto_delete_time
|
||||
"/dataproc:v1beta2/LifecycleConfig/autoDeleteTtl": auto_delete_ttl
|
||||
"/dataproc:v1beta2/LifecycleConfig/idleDeleteTtl": idle_delete_ttl
|
||||
"/dataproc:v1beta2/ListAutoscalingPoliciesResponse": list_autoscaling_policies_response
|
||||
"/dataproc:v1beta2/ListAutoscalingPoliciesResponse/nextPageToken": next_page_token
|
||||
"/dataproc:v1beta2/ListAutoscalingPoliciesResponse/policies": policies
|
||||
"/dataproc:v1beta2/ListAutoscalingPoliciesResponse/policies/policy": policy
|
||||
"/dataproc:v1beta2/ListClustersResponse": list_clusters_response
|
||||
"/dataproc:v1beta2/ListClustersResponse/clusters": clusters
|
||||
"/dataproc:v1beta2/ListClustersResponse/clusters/cluster": cluster
|
||||
|
@ -47032,6 +47322,24 @@
|
|||
"/dataproc:v1beta2/YarnApplication/progress": progress
|
||||
"/dataproc:v1beta2/YarnApplication/state": state
|
||||
"/dataproc:v1beta2/YarnApplication/trackingUrl": tracking_url
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.autoscalingPolicies.create": create_project_location_autoscaling_policy
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.autoscalingPolicies.create/parent": parent
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.autoscalingPolicies.delete": delete_project_location_autoscaling_policy
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.autoscalingPolicies.delete/name": name
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.autoscalingPolicies.get": get_project_location_autoscaling_policy
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.autoscalingPolicies.get/name": name
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.autoscalingPolicies.getIamPolicy": get_project_location_autoscaling_policy_iam_policy
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.autoscalingPolicies.getIamPolicy/resource": resource
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.autoscalingPolicies.list": list_project_location_autoscaling_policies
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.autoscalingPolicies.list/pageSize": page_size
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.autoscalingPolicies.list/pageToken": page_token
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.autoscalingPolicies.list/parent": parent
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.autoscalingPolicies.setIamPolicy": set_project_location_autoscaling_policy_iam_policy
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.autoscalingPolicies.setIamPolicy/resource": resource
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.autoscalingPolicies.testIamPermissions": test_project_location_autoscaling_policy_iam_permissions
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.autoscalingPolicies.testIamPermissions/resource": resource
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.autoscalingPolicies.update": update_project_location_autoscaling_policy
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.autoscalingPolicies.update/name": name
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.create": create_project_location_workflow_template
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.create/parent": parent
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.delete": delete_project_location_workflow_template
|
||||
|
@ -47058,6 +47366,24 @@
|
|||
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.testIamPermissions/resource": resource
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.update": update_project_location_workflow_template
|
||||
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.update/name": name
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.autoscalingPolicies.create": create_project_region_autoscaling_policy
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.autoscalingPolicies.create/parent": parent
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.autoscalingPolicies.delete": delete_project_region_autoscaling_policy
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.autoscalingPolicies.delete/name": name
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.autoscalingPolicies.get": get_project_region_autoscaling_policy
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.autoscalingPolicies.get/name": name
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.autoscalingPolicies.getIamPolicy": get_autoscaling_policy_iam_policy
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.autoscalingPolicies.getIamPolicy/resource": resource
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.autoscalingPolicies.list": list_project_region_autoscaling_policies
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.autoscalingPolicies.list/pageSize": page_size
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.autoscalingPolicies.list/pageToken": page_token
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.autoscalingPolicies.list/parent": parent
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.autoscalingPolicies.setIamPolicy": set_project_region_autoscaling_policy_iam_policy
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.autoscalingPolicies.setIamPolicy/resource": resource
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.autoscalingPolicies.testIamPermissions": test_project_region_autoscaling_policy_iam_permissions
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.autoscalingPolicies.testIamPermissions/resource": resource
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.autoscalingPolicies.update": update_project_region_autoscaling_policy
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.autoscalingPolicies.update/name": name
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.create": create_project_region_cluster
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.create/projectId": project_id
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.create/region": region
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/binary-authorization/
|
||||
module BinaryauthorizationV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20190215'
|
||||
REVISION = '20190301'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -128,14 +128,19 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# An attestator public key that will be used to
|
||||
# verify attestations signed by this attestor.
|
||||
# An attestor public key that will be used to verify
|
||||
# attestations signed by this attestor.
|
||||
class AttestorPublicKey
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# ASCII-armored representation of a PGP public key, as the entire output by
|
||||
# the command `gpg --export --armor foo@example.com` (either LF or CRLF
|
||||
# line endings).
|
||||
# When using this field, `id` should be left blank. The BinAuthz API
|
||||
# handlers will calculate the ID and fill it in automatically. BinAuthz
|
||||
# computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as
|
||||
# upper-case hex. If `id` is provided by the caller, it will be
|
||||
# overwritten by the API-calculated ID.
|
||||
# Corresponds to the JSON property `asciiArmoredPgpPublicKey`
|
||||
# @return [String]
|
||||
attr_accessor :ascii_armored_pgp_public_key
|
||||
|
@ -145,9 +150,13 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :comment
|
||||
|
||||
# Output only. This field will be overwritten with key ID information, for
|
||||
# example, an identifier extracted from a PGP public key. This field may not
|
||||
# be updated.
|
||||
# The ID of this public key.
|
||||
# Signatures verified by BinAuthz must include the ID of the public key that
|
||||
# can be used to verify them, and that ID must match the contents of this
|
||||
# field exactly.
|
||||
# Additional restrictions on this field can be imposed based on which public
|
||||
# key type is encapsulated. See the documentation on `public_key` cases below
|
||||
# for details.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
@ -188,7 +197,7 @@ module Google
|
|||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||
# * `group:`emailid``: An email address that represents a Google group.
|
||||
# For example, `admins@example.com`.
|
||||
# * `domain:`domain``: A Google Apps domain name that represents all the
|
||||
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
||||
# users of that domain. For example, `google.com` or `example.com`.
|
||||
# Corresponds to the JSON property `members`
|
||||
# @return [Array<String>]
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
# 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/cloudprivatecatalog_v1beta1/service.rb'
|
||||
require 'google/apis/cloudprivatecatalog_v1beta1/classes.rb'
|
||||
require 'google/apis/cloudprivatecatalog_v1beta1/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# Cloud Private Catalog API
|
||||
#
|
||||
# Enable cloud users to discover enterprise catalogs and products in their
|
||||
# organizations.
|
||||
#
|
||||
# @see https://sites.google.com/corp/google.com/cloudprivatecatalog
|
||||
module CloudprivatecatalogV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20190304'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,358 @@
|
|||
# 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 CloudprivatecatalogV1beta1
|
||||
|
||||
# The readonly representation of a catalog computed with a given resource
|
||||
# context.
|
||||
class GoogleCloudPrivatecatalogV1beta1Catalog
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. The time when the catalog was created.
|
||||
# Corresponds to the JSON property `createTime`
|
||||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# Output only. The description of the catalog.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Output only. The descriptive name of the catalog as it appears in UIs.
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
||||
# Output only. The resource name of the target catalog, in the format of
|
||||
# `catalogs/`catalog_id`'.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Output only. The time when the catalog was last updated.
|
||||
# Corresponds to the JSON property `updateTime`
|
||||
# @return [String]
|
||||
attr_accessor :update_time
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@update_time = args[:update_time] if args.key?(:update_time)
|
||||
end
|
||||
end
|
||||
|
||||
# The readonly representation of a product computed with a given resource
|
||||
# context.
|
||||
class GoogleCloudPrivatecatalogV1beta1Product
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. The type of the product asset. It can be one of the
|
||||
# following values:
|
||||
# * `google.deploymentmanager.Template`
|
||||
# * `google.cloudprivatecatalog.ListingOnly`
|
||||
# Corresponds to the JSON property `assetType`
|
||||
# @return [String]
|
||||
attr_accessor :asset_type
|
||||
|
||||
# Output only. The time when the product was created.
|
||||
# Corresponds to the JSON property `createTime`
|
||||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# Output only. The display metadata to describe the product.
|
||||
# The JSON schema of the metadata differs by Product.asset_type.
|
||||
# When the type is `google.deploymentmanager.Template`, the schema is as
|
||||
# follows:
|
||||
# ```
|
||||
# "$schema": http://json-schema.org/draft-04/schema#
|
||||
# type: object
|
||||
# properties:
|
||||
# name:
|
||||
# type: string
|
||||
# minLength: 1
|
||||
# maxLength: 64
|
||||
# description:
|
||||
# type: string
|
||||
# minLength: 1
|
||||
# maxLength: 2048
|
||||
# tagline:
|
||||
# type: string
|
||||
# minLength: 1
|
||||
# maxLength: 100
|
||||
# support_info:
|
||||
# type: string
|
||||
# minLength: 1
|
||||
# maxLength: 2048
|
||||
# creator:
|
||||
# type: string
|
||||
# minLength: 1
|
||||
# maxLength: 100
|
||||
# documentation:
|
||||
# type: array
|
||||
# items:
|
||||
# type: object
|
||||
# properties:
|
||||
# url:
|
||||
# type: string
|
||||
# pattern:
|
||||
# "^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]"
|
||||
# title:
|
||||
# type: string
|
||||
# minLength: 1
|
||||
# maxLength: 64
|
||||
# description:
|
||||
# type: string
|
||||
# minLength: 1
|
||||
# maxLength: 2048
|
||||
# required:
|
||||
# - name
|
||||
# - description
|
||||
# additionalProperties: false
|
||||
# ```
|
||||
# When the asset type is `google.cloudprivatecatalog.ListingOnly`, the schema
|
||||
# is as follows:
|
||||
# ```
|
||||
# "$schema": http://json-schema.org/draft-04/schema#
|
||||
# type: object
|
||||
# properties:
|
||||
# name:
|
||||
# type: string
|
||||
# minLength: 1
|
||||
# maxLength: 64
|
||||
# description:
|
||||
# type: string
|
||||
# minLength: 1
|
||||
# maxLength: 2048
|
||||
# tagline:
|
||||
# type: string
|
||||
# minLength: 1
|
||||
# maxLength: 100
|
||||
# support_info:
|
||||
# type: string
|
||||
# minLength: 1
|
||||
# maxLength: 2048
|
||||
# creator:
|
||||
# type: string
|
||||
# minLength: 1
|
||||
# maxLength: 100
|
||||
# documentation:
|
||||
# type: array
|
||||
# items:
|
||||
# type: object
|
||||
# properties:
|
||||
# url:
|
||||
# type: string
|
||||
# pattern:
|
||||
# "^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]"
|
||||
# title:
|
||||
# type: string
|
||||
# minLength: 1
|
||||
# maxLength: 64
|
||||
# description:
|
||||
# type: string
|
||||
# minLength: 1
|
||||
# maxLength: 2048
|
||||
# signup_url:
|
||||
# type: string
|
||||
# pattern:
|
||||
# "^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]"
|
||||
# required:
|
||||
# - name
|
||||
# - description
|
||||
# - signup_url
|
||||
# additionalProperties: false
|
||||
# ```
|
||||
# Corresponds to the JSON property `displayMetadata`
|
||||
# @return [Hash<String,Object>]
|
||||
attr_accessor :display_metadata
|
||||
|
||||
# Output only. The icon URI of the product.
|
||||
# Corresponds to the JSON property `iconUri`
|
||||
# @return [String]
|
||||
attr_accessor :icon_uri
|
||||
|
||||
# Output only. The resource name of the target product, in the format of
|
||||
# `products/a-z*[a-z0-9]'.
|
||||
# A unique identifier for the product under a catalog.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Output only. The time when the product was last updated.
|
||||
# Corresponds to the JSON property `updateTime`
|
||||
# @return [String]
|
||||
attr_accessor :update_time
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@asset_type = args[:asset_type] if args.key?(:asset_type)
|
||||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@display_metadata = args[:display_metadata] if args.key?(:display_metadata)
|
||||
@icon_uri = args[:icon_uri] if args.key?(:icon_uri)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@update_time = args[:update_time] if args.key?(:update_time)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for PrivateCatalog.SearchCatalogs.
|
||||
class GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The `Catalog`s computed from the resource context.
|
||||
# Corresponds to the JSON property `catalogs`
|
||||
# @return [Array<Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1Catalog>]
|
||||
attr_accessor :catalogs
|
||||
|
||||
# A pagination token returned from a previous call to SearchCatalogs that
|
||||
# indicates from where listing should continue.
|
||||
# This field is optional.
|
||||
# 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)
|
||||
@catalogs = args[:catalogs] if args.key?(:catalogs)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for PrivateCatalog.SearchProducts.
|
||||
class GoogleCloudPrivatecatalogV1beta1SearchProductsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A pagination token returned from a previous call to SearchProducts that
|
||||
# indicates from where listing should continue.
|
||||
# This field is optional.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# The `Product` resources computed from the resource context.
|
||||
# Corresponds to the JSON property `products`
|
||||
# @return [Array<Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1Product>]
|
||||
attr_accessor :products
|
||||
|
||||
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)
|
||||
@products = args[:products] if args.key?(:products)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for PrivateCatalog.SearchVersions.
|
||||
class GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A pagination token returned from a previous call to SearchVersions that
|
||||
# indicates from where the listing should continue.
|
||||
# This field is optional.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# The `Version` resources computed from the resource context.
|
||||
# Corresponds to the JSON property `versions`
|
||||
# @return [Array<Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1Version>]
|
||||
attr_accessor :versions
|
||||
|
||||
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)
|
||||
@versions = args[:versions] if args.key?(:versions)
|
||||
end
|
||||
end
|
||||
|
||||
# The consumer representation of a version which is a child resource under a
|
||||
# `Product` with asset data.
|
||||
class GoogleCloudPrivatecatalogV1beta1Version
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. The asset which has been validated and is ready to be
|
||||
# provisioned. See
|
||||
# google.cloud.privatecatalogproducer.v1beta.Version.asset for details.
|
||||
# Corresponds to the JSON property `asset`
|
||||
# @return [Hash<String,Object>]
|
||||
attr_accessor :asset
|
||||
|
||||
# Output only. The time when the version was created.
|
||||
# Corresponds to the JSON property `createTime`
|
||||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# Output only. The user-supplied description of the version. Maximum of 256
|
||||
# characters.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Output only. The resource name of the version, in the format
|
||||
# `catalogs/`catalog_id`/products/`product_id`/versions/a-z*[a-z0-9]'.
|
||||
# A unique identifier for the version under a product.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Output only. The time when the version was last updated.
|
||||
# Corresponds to the JSON property `updateTime`
|
||||
# @return [String]
|
||||
attr_accessor :update_time
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@asset = args[:asset] if args.key?(:asset)
|
||||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@update_time = args[:update_time] if args.key?(:update_time)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,123 @@
|
|||
# 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 CloudprivatecatalogV1beta1
|
||||
|
||||
class GoogleCloudPrivatecatalogV1beta1Catalog
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogV1beta1Product
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogV1beta1SearchProductsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogV1beta1Version
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogV1beta1Catalog
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :create_time, as: 'createTime'
|
||||
property :description, as: 'description'
|
||||
property :display_name, as: 'displayName'
|
||||
property :name, as: 'name'
|
||||
property :update_time, as: 'updateTime'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogV1beta1Product
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :asset_type, as: 'assetType'
|
||||
property :create_time, as: 'createTime'
|
||||
hash :display_metadata, as: 'displayMetadata'
|
||||
property :icon_uri, as: 'iconUri'
|
||||
property :name, as: 'name'
|
||||
property :update_time, as: 'updateTime'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :catalogs, as: 'catalogs', class: Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1Catalog, decorator: Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1Catalog::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogV1beta1SearchProductsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :products, as: 'products', class: Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1Product, decorator: Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1Product::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :versions, as: 'versions', class: Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1Version, decorator: Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1Version::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogV1beta1Version
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
hash :asset, as: 'asset'
|
||||
property :create_time, as: 'createTime'
|
||||
property :description, as: 'description'
|
||||
property :name, as: 'name'
|
||||
property :update_time, as: 'updateTime'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,486 @@
|
|||
# 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 CloudprivatecatalogV1beta1
|
||||
# Cloud Private Catalog API
|
||||
#
|
||||
# Enable cloud users to discover enterprise catalogs and products in their
|
||||
# organizations.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/cloudprivatecatalog_v1beta1'
|
||||
#
|
||||
# Cloudprivatecatalog = Google::Apis::CloudprivatecatalogV1beta1 # Alias the module
|
||||
# service = Cloudprivatecatalog::CloudPrivateCatalogService.new
|
||||
#
|
||||
# @see https://sites.google.com/corp/google.com/cloudprivatecatalog
|
||||
class CloudPrivateCatalogService < 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://cloudprivatecatalog.googleapis.com/', '')
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Search Catalog resources that consumers have access to, within the
|
||||
# scope of the consumer cloud resource hierarchy context.
|
||||
# @param [String] resource
|
||||
# Required. The name of the resource context. It can be in following formats:
|
||||
# * `projects/`project_id``
|
||||
# * `folders/`folder_id``
|
||||
# * `organizations/`organization_id``
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of entries that are requested.
|
||||
# @param [String] page_token
|
||||
# A pagination token returned from a previous call to SearchCatalogs that
|
||||
# indicates where this listing should continue from.
|
||||
# This field is optional.
|
||||
# @param [String] query
|
||||
# The query to filter the catalogs. The supported queries are:
|
||||
# * Get a single catalog: `name=catalogs/`catalog_id``
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def search_folder_catalogs(resource, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta1/{+resource}/catalogs:search', options)
|
||||
command.response_representation = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['query'] = query unless query.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Search Product resources that consumers have access to, within the
|
||||
# scope of the consumer cloud resource hierarchy context.
|
||||
# @param [String] resource
|
||||
# Required. The name of the resource context. See
|
||||
# SearchCatalogsRequest.resource for details.
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of entries that are requested.
|
||||
# @param [String] page_token
|
||||
# A pagination token returned from a previous call to SearchProducts that
|
||||
# indicates where this listing should continue from.
|
||||
# This field is optional.
|
||||
# @param [String] query
|
||||
# The query to filter the products.
|
||||
# The supported queries are:
|
||||
# * List products of all catalogs: empty
|
||||
# * List products under a catalog: `parent=catalogs/`catalog_id``
|
||||
# * Get a product by name:
|
||||
# `name=catalogs/`catalog_id`/products/`product_id``
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchProductsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchProductsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def search_folder_products(resource, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta1/{+resource}/products:search', options)
|
||||
command.response_representation = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchProductsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchProductsResponse
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['query'] = query unless query.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Search Version resources that consumers have access to, within the
|
||||
# scope of the consumer cloud resource hierarchy context.
|
||||
# @param [String] resource
|
||||
# Required. The name of the resource context. See
|
||||
# SearchCatalogsRequest.resource for details.
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of entries that are requested.
|
||||
# @param [String] page_token
|
||||
# A pagination token returned from a previous call to SearchVersions
|
||||
# that indicates where this listing should continue from.
|
||||
# This field is optional.
|
||||
# @param [String] query
|
||||
# The query to filter the versions. Required.
|
||||
# The supported queries are:
|
||||
# * List versions under a product:
|
||||
# `parent=catalogs/`catalog_id`/products/`product_id``
|
||||
# * Get a version by name:
|
||||
# `name=catalogs/`catalog_id`/products/`product_id`/versions/`version_id``
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def search_folder_versions(resource, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta1/{+resource}/versions:search', options)
|
||||
command.response_representation = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['query'] = query unless query.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Search Catalog resources that consumers have access to, within the
|
||||
# scope of the consumer cloud resource hierarchy context.
|
||||
# @param [String] resource
|
||||
# Required. The name of the resource context. It can be in following formats:
|
||||
# * `projects/`project_id``
|
||||
# * `folders/`folder_id``
|
||||
# * `organizations/`organization_id``
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of entries that are requested.
|
||||
# @param [String] page_token
|
||||
# A pagination token returned from a previous call to SearchCatalogs that
|
||||
# indicates where this listing should continue from.
|
||||
# This field is optional.
|
||||
# @param [String] query
|
||||
# The query to filter the catalogs. The supported queries are:
|
||||
# * Get a single catalog: `name=catalogs/`catalog_id``
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def search_organization_catalogs(resource, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta1/{+resource}/catalogs:search', options)
|
||||
command.response_representation = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['query'] = query unless query.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Search Product resources that consumers have access to, within the
|
||||
# scope of the consumer cloud resource hierarchy context.
|
||||
# @param [String] resource
|
||||
# Required. The name of the resource context. See
|
||||
# SearchCatalogsRequest.resource for details.
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of entries that are requested.
|
||||
# @param [String] page_token
|
||||
# A pagination token returned from a previous call to SearchProducts that
|
||||
# indicates where this listing should continue from.
|
||||
# This field is optional.
|
||||
# @param [String] query
|
||||
# The query to filter the products.
|
||||
# The supported queries are:
|
||||
# * List products of all catalogs: empty
|
||||
# * List products under a catalog: `parent=catalogs/`catalog_id``
|
||||
# * Get a product by name:
|
||||
# `name=catalogs/`catalog_id`/products/`product_id``
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchProductsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchProductsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def search_organization_products(resource, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta1/{+resource}/products:search', options)
|
||||
command.response_representation = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchProductsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchProductsResponse
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['query'] = query unless query.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Search Version resources that consumers have access to, within the
|
||||
# scope of the consumer cloud resource hierarchy context.
|
||||
# @param [String] resource
|
||||
# Required. The name of the resource context. See
|
||||
# SearchCatalogsRequest.resource for details.
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of entries that are requested.
|
||||
# @param [String] page_token
|
||||
# A pagination token returned from a previous call to SearchVersions
|
||||
# that indicates where this listing should continue from.
|
||||
# This field is optional.
|
||||
# @param [String] query
|
||||
# The query to filter the versions. Required.
|
||||
# The supported queries are:
|
||||
# * List versions under a product:
|
||||
# `parent=catalogs/`catalog_id`/products/`product_id``
|
||||
# * Get a version by name:
|
||||
# `name=catalogs/`catalog_id`/products/`product_id`/versions/`version_id``
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def search_organization_versions(resource, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta1/{+resource}/versions:search', options)
|
||||
command.response_representation = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['query'] = query unless query.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Search Catalog resources that consumers have access to, within the
|
||||
# scope of the consumer cloud resource hierarchy context.
|
||||
# @param [String] resource
|
||||
# Required. The name of the resource context. It can be in following formats:
|
||||
# * `projects/`project_id``
|
||||
# * `folders/`folder_id``
|
||||
# * `organizations/`organization_id``
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of entries that are requested.
|
||||
# @param [String] page_token
|
||||
# A pagination token returned from a previous call to SearchCatalogs that
|
||||
# indicates where this listing should continue from.
|
||||
# This field is optional.
|
||||
# @param [String] query
|
||||
# The query to filter the catalogs. The supported queries are:
|
||||
# * Get a single catalog: `name=catalogs/`catalog_id``
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def search_project_catalogs(resource, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta1/{+resource}/catalogs:search', options)
|
||||
command.response_representation = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['query'] = query unless query.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Search Product resources that consumers have access to, within the
|
||||
# scope of the consumer cloud resource hierarchy context.
|
||||
# @param [String] resource
|
||||
# Required. The name of the resource context. See
|
||||
# SearchCatalogsRequest.resource for details.
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of entries that are requested.
|
||||
# @param [String] page_token
|
||||
# A pagination token returned from a previous call to SearchProducts that
|
||||
# indicates where this listing should continue from.
|
||||
# This field is optional.
|
||||
# @param [String] query
|
||||
# The query to filter the products.
|
||||
# The supported queries are:
|
||||
# * List products of all catalogs: empty
|
||||
# * List products under a catalog: `parent=catalogs/`catalog_id``
|
||||
# * Get a product by name:
|
||||
# `name=catalogs/`catalog_id`/products/`product_id``
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchProductsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchProductsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def search_project_products(resource, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta1/{+resource}/products:search', options)
|
||||
command.response_representation = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchProductsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchProductsResponse
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['query'] = query unless query.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Search Version resources that consumers have access to, within the
|
||||
# scope of the consumer cloud resource hierarchy context.
|
||||
# @param [String] resource
|
||||
# Required. The name of the resource context. See
|
||||
# SearchCatalogsRequest.resource for details.
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of entries that are requested.
|
||||
# @param [String] page_token
|
||||
# A pagination token returned from a previous call to SearchVersions
|
||||
# that indicates where this listing should continue from.
|
||||
# This field is optional.
|
||||
# @param [String] query
|
||||
# The query to filter the versions. Required.
|
||||
# The supported queries are:
|
||||
# * List versions under a product:
|
||||
# `parent=catalogs/`catalog_id`/products/`product_id``
|
||||
# * Get a version by name:
|
||||
# `name=catalogs/`catalog_id`/products/`product_id`/versions/`version_id``
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def search_project_versions(resource, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta1/{+resource}/versions:search', options)
|
||||
command.response_representation = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['query'] = query unless query.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def apply_command_defaults(command)
|
||||
command.query['key'] = key unless key.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,35 @@
|
|||
# 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/cloudprivatecatalogproducer_v1beta1/service.rb'
|
||||
require 'google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb'
|
||||
require 'google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# Cloud Private Catalog Producer API
|
||||
#
|
||||
# Enables cloud users to manage and share enterprise catalogs intheir
|
||||
# organizations.
|
||||
#
|
||||
# @see https://sites.google.com/corp/google.com/cloudprivatecatalog
|
||||
module CloudprivatecatalogproducerV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20190304'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
end
|
||||
end
|
||||
end
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,399 @@
|
|||
# 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 CloudprivatecatalogproducerV1beta1
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1Association
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1Catalog
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1Product
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1UndeleteCatalogRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1Version
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleIamV1AuditConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleIamV1AuditLogConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleIamV1Binding
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleIamV1Policy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleIamV1SetIamPolicyRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleIamV1TestIamPermissionsRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleIamV1TestIamPermissionsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleLongrunningCancelOperationRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleLongrunningListOperationsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleLongrunningOperation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleProtobufEmpty
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleRpcStatus
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleTypeExpr
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1Association
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :create_time, as: 'createTime'
|
||||
property :name, as: 'name'
|
||||
property :resource, as: 'resource'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1Catalog
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :create_time, as: 'createTime'
|
||||
property :description, as: 'description'
|
||||
property :display_name, as: 'displayName'
|
||||
property :name, as: 'name'
|
||||
property :parent, as: 'parent'
|
||||
property :update_time, as: 'updateTime'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :destination_product_name, as: 'destinationProductName'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :association, as: 'association', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :associations, as: 'associations', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :catalogs, as: 'catalogs', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :products, as: 'products', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :versions, as: 'versions', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1Product
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :asset_type, as: 'assetType'
|
||||
property :create_time, as: 'createTime'
|
||||
hash :display_metadata, as: 'displayMetadata'
|
||||
property :icon_uri, as: 'iconUri'
|
||||
property :name, as: 'name'
|
||||
property :update_time, as: 'updateTime'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1UndeleteCatalogRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :icon, :base64 => true, as: 'icon'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudPrivatecatalogproducerV1beta1Version
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
hash :asset, as: 'asset'
|
||||
property :create_time, as: 'createTime'
|
||||
property :description, as: 'description'
|
||||
property :name, as: 'name'
|
||||
hash :original_asset, as: 'originalAsset'
|
||||
property :update_time, as: 'updateTime'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleIamV1AuditConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1AuditLogConfig, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1AuditLogConfig::Representation
|
||||
|
||||
property :service, as: 'service'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleIamV1AuditLogConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :exempted_members, as: 'exemptedMembers'
|
||||
property :log_type, as: 'logType'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleIamV1Binding
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :condition, as: 'condition', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleTypeExpr, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleTypeExpr::Representation
|
||||
|
||||
collection :members, as: 'members'
|
||||
property :role, as: 'role'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleIamV1Policy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1AuditConfig, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1AuditConfig::Representation
|
||||
|
||||
collection :bindings, as: 'bindings', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Binding, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Binding::Representation
|
||||
|
||||
property :etag, :base64 => true, as: 'etag'
|
||||
property :version, as: 'version'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleIamV1SetIamPolicyRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :policy, as: 'policy', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy::Representation
|
||||
|
||||
property :update_mask, as: 'updateMask'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleIamV1TestIamPermissionsRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :permissions, as: 'permissions'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleIamV1TestIamPermissionsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :permissions, as: 'permissions'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleLongrunningCancelOperationRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleLongrunningListOperationsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :operations, as: 'operations', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleLongrunningOperation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :done, as: 'done'
|
||||
property :error, as: 'error', class: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleRpcStatus, decorator: Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleRpcStatus::Representation
|
||||
|
||||
hash :metadata, as: 'metadata'
|
||||
property :name, as: 'name'
|
||||
hash :response, as: 'response'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleProtobufEmpty
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleRpcStatus
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
collection :details, as: 'details'
|
||||
property :message, as: 'message'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleTypeExpr
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :description, as: 'description'
|
||||
property :expression, as: 'expression'
|
||||
property :location, as: 'location'
|
||||
property :title, as: 'title'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
File diff suppressed because it is too large
Load Diff
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://gsuite.google.com/products/cloud-search/
|
||||
module CloudsearchV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190221'
|
||||
REVISION = '20190227'
|
||||
|
||||
# Index and serve your organization's data with Cloud Search
|
||||
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
|
||||
|
|
|
@ -147,9 +147,10 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Datasource is a logical namespace for items to be indexed.
|
||||
# All items must belong to a datasource. This is the prerequisite before
|
||||
# items can be indexed into Cloud Search.
|
||||
# Frontend protos implement autoconverters for this message type. If you add
|
||||
# fields to this proto, please add corresponding fields to the frontend proto
|
||||
# with the same names.
|
||||
# LINT.IfChange
|
||||
class DataSource
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -4764,9 +4765,10 @@ module Google
|
|||
# @return [Google::Apis::CloudsearchV1::DebugOptions]
|
||||
attr_accessor :debug_options
|
||||
|
||||
# Datasource is a logical namespace for items to be indexed.
|
||||
# All items must belong to a datasource. This is the prerequisite before
|
||||
# items can be indexed into Cloud Search.
|
||||
# Frontend protos implement autoconverters for this message type. If you add
|
||||
# fields to this proto, please add corresponding fields to the frontend proto
|
||||
# with the same names.
|
||||
# LINT.IfChange
|
||||
# Corresponds to the JSON property `source`
|
||||
# @return [Google::Apis::CloudsearchV1::DataSource]
|
||||
attr_accessor :source
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/dataproc/
|
||||
module DataprocV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181126'
|
||||
REVISION = '20190228'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -79,8 +79,8 @@ module Google
|
|||
# For example, my-other-app@appspot.gserviceaccount.com.
|
||||
# group:`emailid`: An email address that represents a Google group. For example,
|
||||
# admins@example.com.
|
||||
# domain:`domain`: A Google Apps domain name that represents all the users of
|
||||
# that domain. For example, google.com or example.com.
|
||||
# domain:`domain`: The G Suite domain (primary) that represents all the users
|
||||
# of that domain. For example, google.com or example.com.
|
||||
# Corresponds to the JSON property `members`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :members
|
||||
|
@ -1170,11 +1170,10 @@ module Google
|
|||
class JobReference
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Optional. The job ID, which must be unique within the project. The job ID is
|
||||
# generated by the server upon job submission or provided by the user as a means
|
||||
# to perform retries without creating duplicate jobs. The ID must contain only
|
||||
# letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The
|
||||
# maximum length is 100 characters.
|
||||
# Optional. The job ID, which must be unique within the project.The ID must
|
||||
# contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-)
|
||||
# . The maximum length is 100 characters.If not specified by the caller, the job
|
||||
# ID will be provided by the server.
|
||||
# Corresponds to the JSON property `jobId`
|
||||
# @return [String]
|
||||
attr_accessor :job_id
|
||||
|
@ -2009,6 +2008,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :image_version
|
||||
|
||||
# The set of optional components to activate on the cluster.
|
||||
# Corresponds to the JSON property `optionalComponents`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :optional_components
|
||||
|
||||
# Optional. The properties to set on daemon config files.Property keys are
|
||||
# specified in prefix:property format, such as core:fs.defaultFS. The following
|
||||
# are supported prefixes and their mappings:
|
||||
|
@ -2032,6 +2036,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@image_version = args[:image_version] if args.key?(:image_version)
|
||||
@optional_components = args[:optional_components] if args.key?(:optional_components)
|
||||
@properties = args[:properties] if args.key?(:properties)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -872,6 +872,7 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :image_version, as: 'imageVersion'
|
||||
collection :optional_components, as: 'optionalComponents'
|
||||
hash :properties, as: 'properties'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/dataproc/
|
||||
module DataprocV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20181207'
|
||||
REVISION = '20190228'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -33,13 +33,12 @@ module Google
|
|||
attr_accessor :accelerator_count
|
||||
|
||||
# Full URL, partial URI, or short name of the accelerator type resource to
|
||||
# expose to this instance. See Compute Engine AcceleratorTypes( /compute/docs/
|
||||
# reference/beta/acceleratorTypes)Examples * https://www.googleapis.com/compute/
|
||||
# beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 *
|
||||
# projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 *
|
||||
# nvidia-tesla-k80Auto Zone Exception: If you are using the Cloud Dataproc Auto
|
||||
# Zone Placement feature, you must use the short name of the accelerator type
|
||||
# resource, for example, nvidia-tesla-k80.
|
||||
# expose to this instance. See Compute Engine AcceleratorTypesExamples * https://
|
||||
# www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/
|
||||
# acceleratorTypes/nvidia-tesla-k80 * projects/[project_id]/zones/us-east1-a/
|
||||
# acceleratorTypes/nvidia-tesla-k80 * nvidia-tesla-k80Auto Zone Exception: If
|
||||
# you are using the Cloud Dataproc Auto Zone Placement feature, you must use the
|
||||
# short name of the accelerator type resource, for example, nvidia-tesla-k80.
|
||||
# Corresponds to the JSON property `acceleratorTypeUri`
|
||||
# @return [String]
|
||||
attr_accessor :accelerator_type_uri
|
||||
|
@ -86,6 +85,156 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Autoscaling Policy config associated with the cluster.
|
||||
class AutoscalingConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Optional. The autoscaling policy used by the cluster.Only resource names
|
||||
# including projectid and location (region) are valid. Examples:
|
||||
# https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[
|
||||
# dataproc_region]/autoscalingPolicies/[policy_id]
|
||||
# projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[
|
||||
# policy_id]Note that the policy must be in the same project and Cloud Dataproc
|
||||
# region.
|
||||
# Corresponds to the JSON property `policyUri`
|
||||
# @return [String]
|
||||
attr_accessor :policy_uri
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@policy_uri = args[:policy_uri] if args.key?(:policy_uri)
|
||||
end
|
||||
end
|
||||
|
||||
# Describes an autoscaling policy for Dataproc cluster autoscaler.
|
||||
class AutoscalingPolicy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Basic algorithm for autoscaling.
|
||||
# Corresponds to the JSON property `basicAlgorithm`
|
||||
# @return [Google::Apis::DataprocV1beta2::BasicAutoscalingAlgorithm]
|
||||
attr_accessor :basic_algorithm
|
||||
|
||||
# Required. The policy id.The id must contain only letters (a-z, A-Z), numbers (
|
||||
# 0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or
|
||||
# hyphen. Must consist of between 3 and 50 characters.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# Output only. The "resource name" of the policy, as described in https://cloud.
|
||||
# google.com/apis/design/resource_names of the form projects/`project_id`/
|
||||
# regions/`region`/autoscalingPolicies/`policy_id`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Configuration for the size bounds of an instance group, including its
|
||||
# proportional size to other groups.
|
||||
# Corresponds to the JSON property `secondaryWorkerConfig`
|
||||
# @return [Google::Apis::DataprocV1beta2::InstanceGroupAutoscalingPolicyConfig]
|
||||
attr_accessor :secondary_worker_config
|
||||
|
||||
# Configuration for the size bounds of an instance group, including its
|
||||
# proportional size to other groups.
|
||||
# Corresponds to the JSON property `workerConfig`
|
||||
# @return [Google::Apis::DataprocV1beta2::InstanceGroupAutoscalingPolicyConfig]
|
||||
attr_accessor :worker_config
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@basic_algorithm = args[:basic_algorithm] if args.key?(:basic_algorithm)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@secondary_worker_config = args[:secondary_worker_config] if args.key?(:secondary_worker_config)
|
||||
@worker_config = args[:worker_config] if args.key?(:worker_config)
|
||||
end
|
||||
end
|
||||
|
||||
# Basic algorithm for autoscaling.
|
||||
class BasicAutoscalingAlgorithm
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Optional. Cooldown period in between scaling. Note that a cooldown period
|
||||
# begins after a scaling operation has completed.Default: 120s.
|
||||
# Corresponds to the JSON property `cooldownPeriod`
|
||||
# @return [String]
|
||||
attr_accessor :cooldown_period
|
||||
|
||||
# Basic autoscaling configurations for YARN.
|
||||
# Corresponds to the JSON property `yarnConfig`
|
||||
# @return [Google::Apis::DataprocV1beta2::BasicYarnAutoscalingConfig]
|
||||
attr_accessor :yarn_config
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@cooldown_period = args[:cooldown_period] if args.key?(:cooldown_period)
|
||||
@yarn_config = args[:yarn_config] if args.key?(:yarn_config)
|
||||
end
|
||||
end
|
||||
|
||||
# Basic autoscaling configurations for YARN.
|
||||
class BasicYarnAutoscalingConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Optional. Timeout used during an autoscaling event (cluster update) between 0
|
||||
# seconds (no graceful decommission) and 1 day.Default: 0s.
|
||||
# Corresponds to the JSON property `gracefulDecommissionTimeout`
|
||||
# @return [String]
|
||||
attr_accessor :graceful_decommission_timeout
|
||||
|
||||
# Optional. Fraction of suggested decrease in workers to scale down by between 0
|
||||
# and 1. Suggested decrease when scaling down is determined by the amount of
|
||||
# average available memory since the last cooldown period.Default: 1.0.
|
||||
# Corresponds to the JSON property `scaleDownFactor`
|
||||
# @return [Float]
|
||||
attr_accessor :scale_down_factor
|
||||
|
||||
# Optional. Minimum workers as a fraction of the current cluster size to to
|
||||
# scale down by between 0 and 1.Default: 0.0.
|
||||
# Corresponds to the JSON property `scaleDownMinWorkerFraction`
|
||||
# @return [Float]
|
||||
attr_accessor :scale_down_min_worker_fraction
|
||||
|
||||
# Required. Fraction of suggested increase in workers to scale up by between 0
|
||||
# and 1. Suggested increase when scaling up is determined by the amount of
|
||||
# average pending memory since the last cooldown period.
|
||||
# Corresponds to the JSON property `scaleUpFactor`
|
||||
# @return [Float]
|
||||
attr_accessor :scale_up_factor
|
||||
|
||||
# Optional. Minimum workers as a fraction of the current cluster size to to
|
||||
# scale up by between 0 and 1.Default: 0.0.
|
||||
# Corresponds to the JSON property `scaleUpMinWorkerFraction`
|
||||
# @return [Float]
|
||||
attr_accessor :scale_up_min_worker_fraction
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@graceful_decommission_timeout = args[:graceful_decommission_timeout] if args.key?(:graceful_decommission_timeout)
|
||||
@scale_down_factor = args[:scale_down_factor] if args.key?(:scale_down_factor)
|
||||
@scale_down_min_worker_fraction = args[:scale_down_min_worker_fraction] if args.key?(:scale_down_min_worker_fraction)
|
||||
@scale_up_factor = args[:scale_up_factor] if args.key?(:scale_up_factor)
|
||||
@scale_up_min_worker_fraction = args[:scale_up_min_worker_fraction] if args.key?(:scale_up_min_worker_fraction)
|
||||
end
|
||||
end
|
||||
|
||||
# Associates members with a role.
|
||||
class Binding
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -110,8 +259,8 @@ module Google
|
|||
# For example, my-other-app@appspot.gserviceaccount.com.
|
||||
# group:`emailid`: An email address that represents a Google group. For example,
|
||||
# admins@example.com.
|
||||
# domain:`domain`: A Google Apps domain name that represents all the users of
|
||||
# that domain. For example, google.com or example.com.
|
||||
# domain:`domain`: The G Suite domain (primary) that represents all the users
|
||||
# of that domain. For example, google.com or example.com.
|
||||
# Corresponds to the JSON property `members`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :members
|
||||
|
@ -221,6 +370,11 @@ module Google
|
|||
class ClusterConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Autoscaling Policy config associated with the cluster.
|
||||
# Corresponds to the JSON property `autoscalingConfig`
|
||||
# @return [Google::Apis::DataprocV1beta2::AutoscalingConfig]
|
||||
attr_accessor :autoscaling_config
|
||||
|
||||
# Optional. A Cloud Storage staging bucket used for sharing generated SSH keys
|
||||
# and config. If you do not specify a staging bucket, Cloud Dataproc will
|
||||
# determine an appropriate Cloud Storage location (US, ASIA, or EU) for your
|
||||
|
@ -291,6 +445,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@autoscaling_config = args[:autoscaling_config] if args.key?(:autoscaling_config)
|
||||
@config_bucket = args[:config_bucket] if args.key?(:config_bucket)
|
||||
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
||||
@gce_cluster_config = args[:gce_cluster_config] if args.key?(:gce_cluster_config)
|
||||
|
@ -940,6 +1095,46 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Configuration for the size bounds of an instance group, including its
|
||||
# proportional size to other groups.
|
||||
class InstanceGroupAutoscalingPolicyConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. Maximum number of instances for this group. Must be >= min_instances.
|
||||
# Corresponds to the JSON property `maxInstances`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :max_instances
|
||||
|
||||
# Optional. Minimum number of instances for this group.Default for primary
|
||||
# workers is 2, default for secondary workers is 0.
|
||||
# Corresponds to the JSON property `minInstances`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :min_instances
|
||||
|
||||
# Optional. Weight for instance group. Determines fraction of total workers in
|
||||
# cluster that will be composed of instances from this instance group (e.g. if
|
||||
# primary workers have weight 2 and secondary workers have weight 1, then the
|
||||
# cluster should have approximately 2 primary workers to each secondary worker.
|
||||
# Cluster may not reach these exact weights if constrained by min/max bounds or
|
||||
# other autoscaling configurations.Default 1. Note that all groups have equal an
|
||||
# equal weight by default, so the cluster will attempt to maintain an equal
|
||||
# number of workers in each group within configured size bounds per group.
|
||||
# Corresponds to the JSON property `weight`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :weight
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@max_instances = args[:max_instances] if args.key?(:max_instances)
|
||||
@min_instances = args[:min_instances] if args.key?(:min_instances)
|
||||
@weight = args[:weight] if args.key?(:weight)
|
||||
end
|
||||
end
|
||||
|
||||
# Optional. The config settings for Compute Engine resources in an instance
|
||||
# group, such as a master or worker group.
|
||||
class InstanceGroupConfig
|
||||
|
@ -1240,11 +1435,10 @@ module Google
|
|||
class JobReference
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Optional. The job ID, which must be unique within the project. The job ID is
|
||||
# generated by the server upon job submission or provided by the user as a means
|
||||
# to perform retries without creating duplicate jobs. The ID must contain only
|
||||
# letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The
|
||||
# maximum length is 100 characters.
|
||||
# Optional. The job ID, which must be unique within the project.The ID must
|
||||
# contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-)
|
||||
# . The maximum length is 100 characters.If not specified by the caller, the job
|
||||
# ID will be provided by the server.
|
||||
# Corresponds to the JSON property `jobId`
|
||||
# @return [String]
|
||||
attr_accessor :job_id
|
||||
|
@ -1362,6 +1556,32 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A response to a request to list autoscaling policies in a project.
|
||||
class ListAutoscalingPoliciesResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. This token is included in the response if there are more results
|
||||
# to fetch.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# Output only. Autoscaling policies list.
|
||||
# Corresponds to the JSON property `policies`
|
||||
# @return [Array<Google::Apis::DataprocV1beta2::AutoscalingPolicy>]
|
||||
attr_accessor :policies
|
||||
|
||||
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)
|
||||
@policies = args[:policies] if args.key?(:policies)
|
||||
end
|
||||
end
|
||||
|
||||
# The list of all clusters in a project.
|
||||
class ListClustersResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -34,6 +34,30 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AutoscalingConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AutoscalingPolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BasicAutoscalingAlgorithm
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BasicYarnAutoscalingConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Binding
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -154,6 +178,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class InstanceGroupAutoscalingPolicyConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class InstanceGroupConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -202,6 +232,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListAutoscalingPoliciesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListClustersResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -417,6 +453,47 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class AutoscalingConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :policy_uri, as: 'policyUri'
|
||||
end
|
||||
end
|
||||
|
||||
class AutoscalingPolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :basic_algorithm, as: 'basicAlgorithm', class: Google::Apis::DataprocV1beta2::BasicAutoscalingAlgorithm, decorator: Google::Apis::DataprocV1beta2::BasicAutoscalingAlgorithm::Representation
|
||||
|
||||
property :id, as: 'id'
|
||||
property :name, as: 'name'
|
||||
property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1beta2::InstanceGroupAutoscalingPolicyConfig, decorator: Google::Apis::DataprocV1beta2::InstanceGroupAutoscalingPolicyConfig::Representation
|
||||
|
||||
property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1beta2::InstanceGroupAutoscalingPolicyConfig, decorator: Google::Apis::DataprocV1beta2::InstanceGroupAutoscalingPolicyConfig::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class BasicAutoscalingAlgorithm
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :cooldown_period, as: 'cooldownPeriod'
|
||||
property :yarn_config, as: 'yarnConfig', class: Google::Apis::DataprocV1beta2::BasicYarnAutoscalingConfig, decorator: Google::Apis::DataprocV1beta2::BasicYarnAutoscalingConfig::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class BasicYarnAutoscalingConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :graceful_decommission_timeout, as: 'gracefulDecommissionTimeout'
|
||||
property :scale_down_factor, as: 'scaleDownFactor'
|
||||
property :scale_down_min_worker_fraction, as: 'scaleDownMinWorkerFraction'
|
||||
property :scale_up_factor, as: 'scaleUpFactor'
|
||||
property :scale_up_min_worker_fraction, as: 'scaleUpMinWorkerFraction'
|
||||
end
|
||||
end
|
||||
|
||||
class Binding
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -454,6 +531,8 @@ module Google
|
|||
class ClusterConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :autoscaling_config, as: 'autoscalingConfig', class: Google::Apis::DataprocV1beta2::AutoscalingConfig, decorator: Google::Apis::DataprocV1beta2::AutoscalingConfig::Representation
|
||||
|
||||
property :config_bucket, as: 'configBucket'
|
||||
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::DataprocV1beta2::EncryptionConfig, decorator: Google::Apis::DataprocV1beta2::EncryptionConfig::Representation
|
||||
|
||||
|
@ -630,6 +709,15 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class InstanceGroupAutoscalingPolicyConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :max_instances, as: 'maxInstances'
|
||||
property :min_instances, as: 'minInstances'
|
||||
property :weight, as: 'weight'
|
||||
end
|
||||
end
|
||||
|
||||
class InstanceGroupConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -737,6 +825,15 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ListAutoscalingPoliciesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :policies, as: 'policies', class: Google::Apis::DataprocV1beta2::AutoscalingPolicy, decorator: Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ListClustersResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -47,6 +47,286 @@ module Google
|
|||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Creates new autoscaling policy.
|
||||
# @param [String] parent
|
||||
# Required. The "resource name" of the region, as described in https://cloud.
|
||||
# google.com/apis/design/resource_names of the form projects/`project_id`/
|
||||
# regions/`region`.
|
||||
# @param [Google::Apis::DataprocV1beta2::AutoscalingPolicy] autoscaling_policy_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DataprocV1beta2::AutoscalingPolicy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DataprocV1beta2::AutoscalingPolicy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def create_project_location_autoscaling_policy(parent, autoscaling_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta2/{+parent}/autoscalingPolicies', options)
|
||||
command.request_representation = Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
||||
command.request_object = autoscaling_policy_object
|
||||
command.response_representation = Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
||||
command.response_class = Google::Apis::DataprocV1beta2::AutoscalingPolicy
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes an autoscaling policy. It is an error to delete an autoscaling policy
|
||||
# that is in use by one or more clusters.
|
||||
# @param [String] name
|
||||
# Required. The "resource name" of the autoscaling policy, as described in https:
|
||||
# //cloud.google.com/apis/design/resource_names of the form projects/`project_id`
|
||||
# /regions/`region`/autoscalingPolicies/`policy_id`.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DataprocV1beta2::Empty] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DataprocV1beta2::Empty]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def delete_project_location_autoscaling_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1beta2/{+name}', options)
|
||||
command.response_representation = Google::Apis::DataprocV1beta2::Empty::Representation
|
||||
command.response_class = Google::Apis::DataprocV1beta2::Empty
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieves autoscaling policy.
|
||||
# @param [String] name
|
||||
# Required. The "resource name" of the autoscaling policy, as described in https:
|
||||
# //cloud.google.com/apis/design/resource_names of the form projects/`project_id`
|
||||
# /regions/`region`/autoscalingPolicies/`policy_id`.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DataprocV1beta2::AutoscalingPolicy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DataprocV1beta2::AutoscalingPolicy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_location_autoscaling_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
||||
command.response_representation = Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
||||
command.response_class = Google::Apis::DataprocV1beta2::AutoscalingPolicy
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the access control policy for a resource. Returns an empty policy if the
|
||||
# resource exists and does not have a policy set.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being requested. See the
|
||||
# operation documentation for the appropriate value for this field.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DataprocV1beta2::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DataprocV1beta2::Policy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_location_autoscaling_policy_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta2/{+resource}:getIamPolicy', options)
|
||||
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
||||
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists autoscaling policies in the project.
|
||||
# @param [String] parent
|
||||
# Required. The "resource name" of the region, as described in https://cloud.
|
||||
# google.com/apis/design/resource_names of the form projects/`project_id`/
|
||||
# regions/`region`
|
||||
# @param [Fixnum] page_size
|
||||
# Optional. The maximum number of results to return in each response.
|
||||
# @param [String] page_token
|
||||
# Optional. The page token, returned by a previous call, to request the next
|
||||
# page of results.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DataprocV1beta2::ListAutoscalingPoliciesResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DataprocV1beta2::ListAutoscalingPoliciesResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_project_location_autoscaling_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta2/{+parent}/autoscalingPolicies', options)
|
||||
command.response_representation = Google::Apis::DataprocV1beta2::ListAutoscalingPoliciesResponse::Representation
|
||||
command.response_class = Google::Apis::DataprocV1beta2::ListAutoscalingPoliciesResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified. See the
|
||||
# operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::DataprocV1beta2::SetIamPolicyRequest] set_iam_policy_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DataprocV1beta2::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DataprocV1beta2::Policy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def set_project_location_autoscaling_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta2/{+resource}:setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::DataprocV1beta2::SetIamPolicyRequest::Representation
|
||||
command.request_object = set_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
||||
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns permissions that a caller has on the specified resource. If the
|
||||
# resource does not exist, this will return an empty set of permissions, not a
|
||||
# NOT_FOUND error.Note: This operation is designed to be used for building
|
||||
# permission-aware UIs and command-line tools, not for authorization checking.
|
||||
# This operation may "fail open" without warning.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy detail is being requested. See the
|
||||
# operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::DataprocV1beta2::TestIamPermissionsRequest] test_iam_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.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DataprocV1beta2::TestIamPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DataprocV1beta2::TestIamPermissionsResponse]
|
||||
#
|
||||
# @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 test_project_location_autoscaling_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta2/{+resource}:testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::DataprocV1beta2::TestIamPermissionsRequest::Representation
|
||||
command.request_object = test_iam_permissions_request_object
|
||||
command.response_representation = Google::Apis::DataprocV1beta2::TestIamPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::DataprocV1beta2::TestIamPermissionsResponse
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates (replaces) autoscaling policy.Disabled check for update_mask, because
|
||||
# all updates will be full replacements.
|
||||
# @param [String] name
|
||||
# Output only. The "resource name" of the policy, as described in https://cloud.
|
||||
# google.com/apis/design/resource_names of the form projects/`project_id`/
|
||||
# regions/`region`/autoscalingPolicies/`policy_id`.
|
||||
# @param [Google::Apis::DataprocV1beta2::AutoscalingPolicy] autoscaling_policy_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DataprocV1beta2::AutoscalingPolicy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DataprocV1beta2::AutoscalingPolicy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def update_project_location_autoscaling_policy(name, autoscaling_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:put, 'v1beta2/{+name}', options)
|
||||
command.request_representation = Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
||||
command.request_object = autoscaling_policy_object
|
||||
command.response_representation = Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
||||
command.response_class = Google::Apis::DataprocV1beta2::AutoscalingPolicy
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates new workflow template.
|
||||
# @param [String] parent
|
||||
# Required. The "resource name" of the region, as described in https://cloud.
|
||||
|
@ -430,6 +710,289 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates new autoscaling policy.
|
||||
# @param [String] parent
|
||||
# Required. The "resource name" of the region, as described in https://cloud.
|
||||
# google.com/apis/design/resource_names of the form projects/`project_id`/
|
||||
# regions/`region`.
|
||||
# @param [Google::Apis::DataprocV1beta2::AutoscalingPolicy] autoscaling_policy_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DataprocV1beta2::AutoscalingPolicy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DataprocV1beta2::AutoscalingPolicy]
|
||||
#
|
||||
# @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_region_autoscaling_policy(parent, autoscaling_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta2/{+parent}/autoscalingPolicies', options)
|
||||
command.request_representation = Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
||||
command.request_object = autoscaling_policy_object
|
||||
command.response_representation = Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
||||
command.response_class = Google::Apis::DataprocV1beta2::AutoscalingPolicy
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes an autoscaling policy. It is an error to delete an autoscaling policy
|
||||
# that is in use by one or more clusters.
|
||||
# @param [String] name
|
||||
# Required. The "resource name" of the autoscaling policy, as described in https:
|
||||
# //cloud.google.com/apis/design/resource_names of the form projects/`project_id`
|
||||
# /regions/`region`/autoscalingPolicies/`policy_id`.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DataprocV1beta2::Empty] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DataprocV1beta2::Empty]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def delete_project_region_autoscaling_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1beta2/{+name}', options)
|
||||
command.response_representation = Google::Apis::DataprocV1beta2::Empty::Representation
|
||||
command.response_class = Google::Apis::DataprocV1beta2::Empty
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieves autoscaling policy.
|
||||
# @param [String] name
|
||||
# Required. The "resource name" of the autoscaling policy, as described in https:
|
||||
# //cloud.google.com/apis/design/resource_names of the form projects/`project_id`
|
||||
# /regions/`region`/autoscalingPolicies/`policy_id`.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DataprocV1beta2::AutoscalingPolicy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DataprocV1beta2::AutoscalingPolicy]
|
||||
#
|
||||
# @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_region_autoscaling_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
||||
command.response_representation = Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
||||
command.response_class = Google::Apis::DataprocV1beta2::AutoscalingPolicy
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the access control policy for a resource. Returns an empty policy if the
|
||||
# resource exists and does not have a policy set.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being requested. See the
|
||||
# operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::DataprocV1beta2::GetIamPolicyRequest] get_iam_policy_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DataprocV1beta2::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DataprocV1beta2::Policy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_autoscaling_policy_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta2/{+resource}:getIamPolicy', options)
|
||||
command.request_representation = Google::Apis::DataprocV1beta2::GetIamPolicyRequest::Representation
|
||||
command.request_object = get_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
||||
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists autoscaling policies in the project.
|
||||
# @param [String] parent
|
||||
# Required. The "resource name" of the region, as described in https://cloud.
|
||||
# google.com/apis/design/resource_names of the form projects/`project_id`/
|
||||
# regions/`region`
|
||||
# @param [Fixnum] page_size
|
||||
# Optional. The maximum number of results to return in each response.
|
||||
# @param [String] page_token
|
||||
# Optional. The page token, returned by a previous call, to request the next
|
||||
# page of results.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DataprocV1beta2::ListAutoscalingPoliciesResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DataprocV1beta2::ListAutoscalingPoliciesResponse]
|
||||
#
|
||||
# @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_region_autoscaling_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta2/{+parent}/autoscalingPolicies', options)
|
||||
command.response_representation = Google::Apis::DataprocV1beta2::ListAutoscalingPoliciesResponse::Representation
|
||||
command.response_class = Google::Apis::DataprocV1beta2::ListAutoscalingPoliciesResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified. See the
|
||||
# operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::DataprocV1beta2::SetIamPolicyRequest] set_iam_policy_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DataprocV1beta2::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DataprocV1beta2::Policy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def set_project_region_autoscaling_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta2/{+resource}:setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::DataprocV1beta2::SetIamPolicyRequest::Representation
|
||||
command.request_object = set_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::DataprocV1beta2::Policy::Representation
|
||||
command.response_class = Google::Apis::DataprocV1beta2::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns permissions that a caller has on the specified resource. If the
|
||||
# resource does not exist, this will return an empty set of permissions, not a
|
||||
# NOT_FOUND error.Note: This operation is designed to be used for building
|
||||
# permission-aware UIs and command-line tools, not for authorization checking.
|
||||
# This operation may "fail open" without warning.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy detail is being requested. See the
|
||||
# operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::DataprocV1beta2::TestIamPermissionsRequest] test_iam_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.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DataprocV1beta2::TestIamPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DataprocV1beta2::TestIamPermissionsResponse]
|
||||
#
|
||||
# @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 test_project_region_autoscaling_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta2/{+resource}:testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::DataprocV1beta2::TestIamPermissionsRequest::Representation
|
||||
command.request_object = test_iam_permissions_request_object
|
||||
command.response_representation = Google::Apis::DataprocV1beta2::TestIamPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::DataprocV1beta2::TestIamPermissionsResponse
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates (replaces) autoscaling policy.Disabled check for update_mask, because
|
||||
# all updates will be full replacements.
|
||||
# @param [String] name
|
||||
# Output only. The "resource name" of the policy, as described in https://cloud.
|
||||
# google.com/apis/design/resource_names of the form projects/`project_id`/
|
||||
# regions/`region`/autoscalingPolicies/`policy_id`.
|
||||
# @param [Google::Apis::DataprocV1beta2::AutoscalingPolicy] autoscaling_policy_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DataprocV1beta2::AutoscalingPolicy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DataprocV1beta2::AutoscalingPolicy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def update_project_region_autoscaling_policy(name, autoscaling_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:put, 'v1beta2/{+name}', options)
|
||||
command.request_representation = Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
||||
command.request_object = autoscaling_policy_object
|
||||
command.response_representation = Google::Apis::DataprocV1beta2::AutoscalingPolicy::Representation
|
||||
command.response_class = Google::Apis::DataprocV1beta2::AutoscalingPolicy
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a cluster in a project.
|
||||
# @param [String] project_id
|
||||
# Required. The ID of the Google Cloud Platform project that the cluster belongs
|
||||
|
@ -760,6 +1323,10 @@ module Google
|
|||
# <td>config.lifecycle_config.idle_delete_ttl</td><td>Update Idle TTL duration</
|
||||
# td>
|
||||
# </tr>
|
||||
# <tr>
|
||||
# <td>config.autoscaling_config.policy_uri</td><td>Use, stop using, or change
|
||||
# autoscaling policies</td>
|
||||
# </tr>
|
||||
# </table>
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/people/
|
||||
module PeopleV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190223'
|
||||
REVISION = '20190304'
|
||||
|
||||
# See, edit, download, and permanently delete your contacts
|
||||
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
|
||||
|
|
|
@ -1217,7 +1217,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :department
|
||||
|
||||
# The domain name associated with the organization; for example, `google.com`.
|
||||
# The domain name associated with the organization; for example,
|
||||
# `google.com`.
|
||||
# Corresponds to the JSON property `domain`
|
||||
# @return [String]
|
||||
attr_accessor :domain
|
||||
|
@ -1674,8 +1675,8 @@ module Google
|
|||
class PhoneNumber
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The read-only canonicalized [ITU-T E.164](https://law.resource.org/pub/us/cfr/
|
||||
# ibr/004/itu-t.E.164.1.2008.pdf)
|
||||
# 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]
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/apps-script/api/
|
||||
module ScriptV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190131'
|
||||
REVISION = '20190303'
|
||||
|
||||
# Read, compose, send, and permanently delete all your email from Gmail
|
||||
AUTH_SCOPE = 'https://mail.google.com/'
|
||||
|
|
|
@ -533,11 +533,6 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :duration
|
||||
|
||||
# User-facing name for the user executing the script.
|
||||
# Corresponds to the JSON property `executingUser`
|
||||
# @return [String]
|
||||
attr_accessor :executing_user
|
||||
|
||||
# Name of the function the started the execution.
|
||||
# Corresponds to the JSON property `functionName`
|
||||
# @return [String]
|
||||
|
@ -575,7 +570,6 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@duration = args[:duration] if args.key?(:duration)
|
||||
@executing_user = args[:executing_user] if args.key?(:executing_user)
|
||||
@function_name = args[:function_name] if args.key?(:function_name)
|
||||
@process_status = args[:process_status] if args.key?(:process_status)
|
||||
@process_type = args[:process_type] if args.key?(:process_type)
|
||||
|
|
|
@ -354,7 +354,6 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :duration, as: 'duration'
|
||||
property :executing_user, as: 'executingUser'
|
||||
property :function_name, as: 'functionName'
|
||||
property :process_status, as: 'processStatus'
|
||||
property :process_type, as: 'processType'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://developers.google.com/streetview/publish/
|
||||
module StreetviewpublishV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181204'
|
||||
REVISION = '20190304'
|
||||
|
||||
# Publish and manage your 360 photos on Google Street View
|
||||
AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish'
|
||||
|
|
|
@ -26,8 +26,8 @@ module Google
|
|||
class BatchDeletePhotosRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. IDs of the Photos. For HTTP
|
||||
# GET requests, the URL query parameter should be
|
||||
# Required. IDs of the Photos. HTTP
|
||||
# GET requests require the following syntax for the URL query parameter:
|
||||
# `photoIds=<id1>&photoIds=<id2>&...`.
|
||||
# Corresponds to the JSON property `photoIds`
|
||||
# @return [Array<String>]
|
||||
|
@ -235,9 +235,9 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# List of photos. The maximum number of items returned is based on the
|
||||
# List of photos. The
|
||||
# pageSize field
|
||||
# in the request.
|
||||
# in the request determines the number of items returned.
|
||||
# Corresponds to the JSON property `photos`
|
||||
# @return [Array<Google::Apis::StreetviewpublishV1::Photo>]
|
||||
attr_accessor :photos
|
||||
|
@ -377,7 +377,7 @@ module Google
|
|||
attr_accessor :download_url
|
||||
|
||||
# Output only. Status in Google Maps, whether this photo was published, or
|
||||
# rejected for a possibly specified reason.
|
||||
# rejected.
|
||||
# Corresponds to the JSON property `mapsPublishStatus`
|
||||
# @return [String]
|
||||
attr_accessor :maps_publish_status
|
||||
|
@ -721,7 +721,7 @@ module Google
|
|||
|
||||
# Mask that identifies fields on the photo metadata to update.
|
||||
# If not present, the old Photo
|
||||
# metadata will be entirely replaced with the
|
||||
# metadata is entirely replaced with the
|
||||
# new Photo metadata in this request.
|
||||
# The update fails if invalid fields are specified. Multiple fields can be
|
||||
# specified in a comma-delimited list.
|
||||
|
@ -734,13 +734,13 @@ module Google
|
|||
# * `pose.altitude`
|
||||
# * `connections`
|
||||
# * `places`
|
||||
# <aside class="note"><b>Note:</b> Repeated fields in
|
||||
# <aside class="note"><b>Note:</b> When
|
||||
# updateMask
|
||||
# mean the entire set of repeated values will be replaced with the new
|
||||
# contents. For example, if
|
||||
# contains repeated fields, the entire set of repeated values get replaced
|
||||
# with the new contents. For example, if
|
||||
# updateMask
|
||||
# contains `connections` and `UpdatePhotoRequest.photo.connections` is empty,
|
||||
# all connections will be removed.</aside>
|
||||
# all connections are removed.</aside>
|
||||
# Corresponds to the JSON property `updateMask`
|
||||
# @return [String]
|
||||
attr_accessor :update_mask
|
||||
|
|
|
@ -57,9 +57,8 @@ module Google
|
|||
# Currently, the only way to set heading, pitch, and roll in CreatePhoto is
|
||||
# through the [Photo Sphere XMP
|
||||
# metadata](https://developers.google.com/streetview/spherical-metadata) in
|
||||
# the photo bytes. The `pose.heading`, `pose.pitch`, `pose.roll`,
|
||||
# `pose.altitude`, and `pose.level` fields in Pose are ignored for
|
||||
# CreatePhoto.
|
||||
# the photo bytes. CreatePhoto ignores the `pose.heading`, `pose.pitch`,
|
||||
# `pose.roll`, `pose.altitude`, and `pose.level` fields in Pose.
|
||||
# This method returns the following error codes:
|
||||
# * google.rpc.Code.INVALID_ARGUMENT if the request is malformed or if
|
||||
# the uploaded photo is not a 360 photo.
|
||||
|
@ -145,7 +144,7 @@ module Google
|
|||
# information, see
|
||||
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
||||
# If language_code is unspecified, the user's language preference for Google
|
||||
# services will be used.
|
||||
# services is used.
|
||||
# @param [String] view
|
||||
# Specifies if a download URL for the photo bytes should be returned in the
|
||||
# Photo response.
|
||||
|
@ -178,20 +177,21 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates an upload session to start uploading photo bytes. The upload URL of
|
||||
# the returned UploadRef is used to
|
||||
# upload the bytes for the Photo.
|
||||
# Creates an upload session to start uploading photo bytes. The method uses
|
||||
# the upload URL of the returned
|
||||
# UploadRef to upload the bytes for
|
||||
# the Photo.
|
||||
# In addition to the photo requirements shown in
|
||||
# https://support.google.com/maps/answer/7012050?hl=en&ref_topic=6275604,
|
||||
# the photo must also meet the following requirements:
|
||||
# the photo must meet the following requirements:
|
||||
# * Photo Sphere XMP metadata must be included in the photo medadata. See
|
||||
# https://developers.google.com/streetview/spherical-metadata for the
|
||||
# required fields.
|
||||
# * The pixel size of the photo must meet the size requirements listed in
|
||||
# https://support.google.com/maps/answer/7012050?hl=en&ref_topic=6275604, and
|
||||
# the photo must be a full 360 horizontally.
|
||||
# After the upload is complete, the
|
||||
# UploadRef is used with
|
||||
# After the upload completes, the method uses
|
||||
# UploadRef with
|
||||
# CreatePhoto
|
||||
# to create the Photo object entry.
|
||||
# @param [Google::Apis::StreetviewpublishV1::Empty] empty_object
|
||||
|
@ -230,10 +230,6 @@ module Google
|
|||
# updateMask
|
||||
# field are used. If `updateMask` is not present, the update applies to all
|
||||
# fields.
|
||||
# <aside class="note"><b>Note:</b> To update
|
||||
# Pose.altitude,
|
||||
# Pose.latLngPair has to be
|
||||
# filled as well. Otherwise, the request will fail.</aside>
|
||||
# This method returns the following error codes:
|
||||
# * google.rpc.Code.PERMISSION_DENIED if the requesting user did not
|
||||
# create the requested photo.
|
||||
|
@ -247,7 +243,7 @@ module Google
|
|||
# @param [String] update_mask
|
||||
# Mask that identifies fields on the photo metadata to update.
|
||||
# If not present, the old Photo
|
||||
# metadata will be entirely replaced with the
|
||||
# metadata is entirely replaced with the
|
||||
# new Photo metadata in this request.
|
||||
# The update fails if invalid fields are specified. Multiple fields can be
|
||||
# specified in a comma-delimited list.
|
||||
|
@ -260,13 +256,13 @@ module Google
|
|||
# * `pose.altitude`
|
||||
# * `connections`
|
||||
# * `places`
|
||||
# <aside class="note"><b>Note:</b> Repeated fields in
|
||||
# <aside class="note"><b>Note:</b> When
|
||||
# updateMask
|
||||
# mean the entire set of repeated values will be replaced with the new
|
||||
# contents. For example, if
|
||||
# contains repeated fields, the entire set of repeated values get replaced
|
||||
# with the new contents. For example, if
|
||||
# updateMask
|
||||
# contains `connections` and `UpdatePhotoRequest.photo.connections` is empty,
|
||||
# all connections will be removed.</aside>
|
||||
# all connections are removed.</aside>
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -301,11 +297,11 @@ module Google
|
|||
# metadata.
|
||||
# Note that if
|
||||
# BatchDeletePhotos
|
||||
# fails, either critical fields are missing or there was an authentication
|
||||
# fails, either critical fields are missing or there is an authentication
|
||||
# error. Even if
|
||||
# BatchDeletePhotos
|
||||
# succeeds, there may have been failures for single photos in the batch.
|
||||
# These failures will be specified in each
|
||||
# succeeds, individual photos in the batch may have failures.
|
||||
# These failures are specified in each
|
||||
# PhotoResponse.status
|
||||
# in
|
||||
# BatchDeletePhotosResponse.results.
|
||||
|
@ -345,11 +341,11 @@ module Google
|
|||
# Photo batch.
|
||||
# Note that if
|
||||
# BatchGetPhotos
|
||||
# fails, either critical fields are missing or there was an authentication
|
||||
# fails, either critical fields are missing or there is an authentication
|
||||
# error. Even if
|
||||
# BatchGetPhotos
|
||||
# succeeds, there may have been failures for single photos in the batch.
|
||||
# These failures will be specified in each
|
||||
# succeeds, individual photos in the batch may have failures.
|
||||
# These failures are specified in each
|
||||
# PhotoResponse.status
|
||||
# in
|
||||
# BatchGetPhotosResponse.results.
|
||||
|
@ -361,7 +357,7 @@ module Google
|
|||
# information, see
|
||||
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
||||
# If language_code is unspecified, the user's language preference for Google
|
||||
# services will be used.
|
||||
# services is used.
|
||||
# @param [Array<String>, String] photo_ids
|
||||
# Required. IDs of the Photos. For HTTP
|
||||
# GET requests, the URL query parameter should be
|
||||
|
@ -403,11 +399,11 @@ module Google
|
|||
# is not supported.
|
||||
# Note that if
|
||||
# BatchUpdatePhotos
|
||||
# fails, either critical fields are missing or there was an authentication
|
||||
# fails, either critical fields are missing or there is an authentication
|
||||
# error. Even if
|
||||
# BatchUpdatePhotos
|
||||
# succeeds, there may have been failures for single photos in the batch.
|
||||
# These failures will be specified in each
|
||||
# succeeds, individual photos in the batch may have failures.
|
||||
# These failures are specified in each
|
||||
# PhotoResponse.status
|
||||
# in
|
||||
# BatchUpdatePhotosResponse.results.
|
||||
|
@ -468,11 +464,11 @@ module Google
|
|||
# information, see
|
||||
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
||||
# If language_code is unspecified, the user's language preference for Google
|
||||
# services will be used.
|
||||
# services is used.
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of photos to return.
|
||||
# `pageSize` must be non-negative. If `pageSize` is zero or is not provided,
|
||||
# the default page size of 100 will be used.
|
||||
# the default page size of 100 is used.
|
||||
# The number of photos returned in the response may be less than `pageSize`
|
||||
# if the number of photos that belong to the user is less than `pageSize`.
|
||||
# @param [String] page_token
|
||||
|
|
Loading…
Reference in New Issue