Autogenerated update (2018-09-11)

Update:
- androidenterprise_v1
- cloudbuild_v1
- composer_v1
- composer_v1beta1
- jobs_v3
- testing_v1
- vision_v1
- vision_v1p1beta1
- vision_v1p2beta1
This commit is contained in:
Google APIs 2018-09-11 00:36:16 +00:00
parent 30a85c9699
commit e2241f63da
29 changed files with 2711 additions and 59 deletions

View File

@ -5536,6 +5536,18 @@
"/androidenterprise:v1/AdministratorWebTokenSpec/parent": parent
"/androidenterprise:v1/AdministratorWebTokenSpec/permission": permission
"/androidenterprise:v1/AdministratorWebTokenSpec/permission/permission": permission
"/androidenterprise:v1/AdministratorWebTokenSpec/playSearch": play_search
"/androidenterprise:v1/AdministratorWebTokenSpec/privateApps": private_apps
"/androidenterprise:v1/AdministratorWebTokenSpec/storeBuilder": store_builder
"/androidenterprise:v1/AdministratorWebTokenSpec/webApps": web_apps
"/androidenterprise:v1/AdministratorWebTokenSpecPlaySearch": administrator_web_token_spec_play_search
"/androidenterprise:v1/AdministratorWebTokenSpecPlaySearch/enabled": enabled
"/androidenterprise:v1/AdministratorWebTokenSpecPrivateApps": administrator_web_token_spec_private_apps
"/androidenterprise:v1/AdministratorWebTokenSpecPrivateApps/enabled": enabled
"/androidenterprise:v1/AdministratorWebTokenSpecStoreBuilder": administrator_web_token_spec_store_builder
"/androidenterprise:v1/AdministratorWebTokenSpecStoreBuilder/enabled": enabled
"/androidenterprise:v1/AdministratorWebTokenSpecWebApps": administrator_web_token_spec_web_apps
"/androidenterprise:v1/AdministratorWebTokenSpecWebApps/enabled": enabled
"/androidenterprise:v1/AndroidDevicePolicyConfig": android_device_policy_config
"/androidenterprise:v1/AndroidDevicePolicyConfig/kind": kind
"/androidenterprise:v1/AndroidDevicePolicyConfig/state": state
@ -13842,6 +13854,7 @@
"/cloudbuild:v1/BuildOptions": build_options
"/cloudbuild:v1/BuildOptions/diskSizeGb": disk_size_gb
"/cloudbuild:v1/BuildOptions/logStreamingOption": log_streaming_option
"/cloudbuild:v1/BuildOptions/logging": logging
"/cloudbuild:v1/BuildOptions/machineType": machine_type
"/cloudbuild:v1/BuildOptions/requestedVerifyOption": requested_verify_option
"/cloudbuild:v1/BuildOptions/sourceProvenanceHash": source_provenance_hash
@ -61483,6 +61496,148 @@
"/drive:v3/key": key
"/drive:v3/quotaUser": quota_user
"/drive:v3/userIp": user_ip
"/file:v1beta1/CancelOperationRequest": cancel_operation_request
"/file:v1beta1/ClientList": client_list
"/file:v1beta1/ClientList/hostNames": host_names
"/file:v1beta1/ClientList/hostNames/host_name": host_name
"/file:v1beta1/ClientList/ipAddresses": ip_addresses
"/file:v1beta1/ClientList/ipAddresses/ip_address": ip_address
"/file:v1beta1/Empty": empty
"/file:v1beta1/Export": export
"/file:v1beta1/Export/allowedClients": allowed_clients
"/file:v1beta1/Export/async": async
"/file:v1beta1/Export/deniedClients": denied_clients
"/file:v1beta1/Export/networks": networks
"/file:v1beta1/Export/networks/network": network
"/file:v1beta1/Export/nfsExport": nfs_export
"/file:v1beta1/Export/path": path
"/file:v1beta1/Export/readOnly": read_only
"/file:v1beta1/Export/smbExport": smb_export
"/file:v1beta1/FileShareConfig": file_share_config
"/file:v1beta1/FileShareConfig/capacityGb": capacity_gb
"/file:v1beta1/FileShareConfig/deleted": deleted
"/file:v1beta1/FileShareConfig/enabled": enabled
"/file:v1beta1/FileShareConfig/exports": exports
"/file:v1beta1/FileShareConfig/exports/export": export
"/file:v1beta1/FileShareConfig/name": name
"/file:v1beta1/FileShareConfig/protocols": protocols
"/file:v1beta1/FileShareConfig/protocols/protocol": protocol
"/file:v1beta1/Instance": instance
"/file:v1beta1/Instance/createTime": create_time
"/file:v1beta1/Instance/description": description
"/file:v1beta1/Instance/etag": etag
"/file:v1beta1/Instance/fileShares": file_shares
"/file:v1beta1/Instance/fileShares/file_share": file_share
"/file:v1beta1/Instance/labels": labels
"/file:v1beta1/Instance/labels/label": label
"/file:v1beta1/Instance/loggingService": logging_service
"/file:v1beta1/Instance/monitoringService": monitoring_service
"/file:v1beta1/Instance/name": name
"/file:v1beta1/Instance/networks": networks
"/file:v1beta1/Instance/networks/network": network
"/file:v1beta1/Instance/state": state
"/file:v1beta1/Instance/statusMessage": status_message
"/file:v1beta1/Instance/tier": tier
"/file:v1beta1/ListInstancesResponse": list_instances_response
"/file:v1beta1/ListInstancesResponse/instances": instances
"/file:v1beta1/ListInstancesResponse/instances/instance": instance
"/file:v1beta1/ListInstancesResponse/nextPageToken": next_page_token
"/file:v1beta1/ListInstancesResponse/unreachable": unreachable
"/file:v1beta1/ListInstancesResponse/unreachable/unreachable": unreachable
"/file:v1beta1/ListLocationsResponse": list_locations_response
"/file:v1beta1/ListLocationsResponse/locations": locations
"/file:v1beta1/ListLocationsResponse/locations/location": location
"/file:v1beta1/ListLocationsResponse/nextPageToken": next_page_token
"/file:v1beta1/ListOperationsResponse": list_operations_response
"/file:v1beta1/ListOperationsResponse/nextPageToken": next_page_token
"/file:v1beta1/ListOperationsResponse/operations": operations
"/file:v1beta1/ListOperationsResponse/operations/operation": operation
"/file:v1beta1/Location": location
"/file:v1beta1/Location/displayName": display_name
"/file:v1beta1/Location/labels": labels
"/file:v1beta1/Location/labels/label": label
"/file:v1beta1/Location/locationId": location_id
"/file:v1beta1/Location/metadata": metadata
"/file:v1beta1/Location/metadata/metadatum": metadatum
"/file:v1beta1/Location/name": name
"/file:v1beta1/NetworkConfig": network_config
"/file:v1beta1/NetworkConfig/ipAddresses": ip_addresses
"/file:v1beta1/NetworkConfig/ipAddresses/ip_address": ip_address
"/file:v1beta1/NetworkConfig/modes": modes
"/file:v1beta1/NetworkConfig/modes/mode": mode
"/file:v1beta1/NetworkConfig/network": network
"/file:v1beta1/NetworkConfig/reservedIpRange": reserved_ip_range
"/file:v1beta1/NetworkConfig/subnetwork": subnetwork
"/file:v1beta1/NfsExport": nfs_export
"/file:v1beta1/NfsExport/anonymousGid": anonymous_gid
"/file:v1beta1/NfsExport/anonymousUid": anonymous_uid
"/file:v1beta1/NfsExport/protocols": protocols
"/file:v1beta1/NfsExport/protocols/protocol": protocol
"/file:v1beta1/NfsExport/squash": squash
"/file:v1beta1/NfsExport/unauthenticatedLocksAllowed": unauthenticated_locks_allowed
"/file:v1beta1/NfsExport/userPortsAllowed": user_ports_allowed
"/file:v1beta1/Operation": operation
"/file:v1beta1/Operation/done": done
"/file:v1beta1/Operation/error": error
"/file:v1beta1/Operation/metadata": metadata
"/file:v1beta1/Operation/metadata/metadatum": metadatum
"/file:v1beta1/Operation/name": name
"/file:v1beta1/Operation/response": response
"/file:v1beta1/Operation/response/response": response
"/file:v1beta1/OperationMetadata": operation_metadata
"/file:v1beta1/OperationMetadata/apiVersion": api_version
"/file:v1beta1/OperationMetadata/cancelRequested": cancel_requested
"/file:v1beta1/OperationMetadata/createTime": create_time
"/file:v1beta1/OperationMetadata/endTime": end_time
"/file:v1beta1/OperationMetadata/statusDetail": status_detail
"/file:v1beta1/OperationMetadata/target": target
"/file:v1beta1/OperationMetadata/verb": verb
"/file:v1beta1/SmbExport": smb_export
"/file:v1beta1/SmbExport/browsable": browsable
"/file:v1beta1/SmbExport/fileShare": file_share
"/file:v1beta1/Status": status
"/file:v1beta1/Status/code": code
"/file:v1beta1/Status/details": details
"/file:v1beta1/Status/details/detail": detail
"/file:v1beta1/Status/details/detail/detail": detail
"/file:v1beta1/Status/message": message
"/file:v1beta1/fields": fields
"/file:v1beta1/file.projects.locations.get": get_project_location
"/file:v1beta1/file.projects.locations.get/name": name
"/file:v1beta1/file.projects.locations.instances.create": create_project_location_instance
"/file:v1beta1/file.projects.locations.instances.create/instanceId": instance_id
"/file:v1beta1/file.projects.locations.instances.create/parent": parent
"/file:v1beta1/file.projects.locations.instances.delete": delete_project_location_instance
"/file:v1beta1/file.projects.locations.instances.delete/name": name
"/file:v1beta1/file.projects.locations.instances.get": get_project_location_instance
"/file:v1beta1/file.projects.locations.instances.get/name": name
"/file:v1beta1/file.projects.locations.instances.list": list_project_location_instances
"/file:v1beta1/file.projects.locations.instances.list/filter": filter
"/file:v1beta1/file.projects.locations.instances.list/orderBy": order_by
"/file:v1beta1/file.projects.locations.instances.list/pageSize": page_size
"/file:v1beta1/file.projects.locations.instances.list/pageToken": page_token
"/file:v1beta1/file.projects.locations.instances.list/parent": parent
"/file:v1beta1/file.projects.locations.instances.patch": patch_project_location_instance
"/file:v1beta1/file.projects.locations.instances.patch/name": name
"/file:v1beta1/file.projects.locations.instances.patch/updateMask": update_mask
"/file:v1beta1/file.projects.locations.list": list_project_locations
"/file:v1beta1/file.projects.locations.list/filter": filter
"/file:v1beta1/file.projects.locations.list/name": name
"/file:v1beta1/file.projects.locations.list/pageSize": page_size
"/file:v1beta1/file.projects.locations.list/pageToken": page_token
"/file:v1beta1/file.projects.locations.operations.cancel": cancel_operation
"/file:v1beta1/file.projects.locations.operations.cancel/name": name
"/file:v1beta1/file.projects.locations.operations.delete": delete_project_location_operation
"/file:v1beta1/file.projects.locations.operations.delete/name": name
"/file:v1beta1/file.projects.locations.operations.get": get_project_location_operation
"/file:v1beta1/file.projects.locations.operations.get/name": name
"/file:v1beta1/file.projects.locations.operations.list": list_project_location_operations
"/file:v1beta1/file.projects.locations.operations.list/filter": filter
"/file:v1beta1/file.projects.locations.operations.list/name": name
"/file:v1beta1/file.projects.locations.operations.list/pageSize": page_size
"/file:v1beta1/file.projects.locations.operations.list/pageToken": page_token
"/file:v1beta1/key": key
"/file:v1beta1/quotaUser": quota_user
"/firebasedynamiclinks:v1/AnalyticsInfo": analytics_info
"/firebasedynamiclinks:v1/AnalyticsInfo/googlePlayAnalytics": google_play_analytics
"/firebasedynamiclinks:v1/AnalyticsInfo/itunesConnectAnalytics": itunes_connect_analytics
@ -86665,6 +86820,8 @@
"/vision:v1/AnnotateImageResponse/labelAnnotations/label_annotation": label_annotation
"/vision:v1/AnnotateImageResponse/landmarkAnnotations": landmark_annotations
"/vision:v1/AnnotateImageResponse/landmarkAnnotations/landmark_annotation": landmark_annotation
"/vision:v1/AnnotateImageResponse/localizedObjectAnnotations": localized_object_annotations
"/vision:v1/AnnotateImageResponse/localizedObjectAnnotations/localized_object_annotation": localized_object_annotation
"/vision:v1/AnnotateImageResponse/logoAnnotations": logo_annotations
"/vision:v1/AnnotateImageResponse/logoAnnotations/logo_annotation": logo_annotation
"/vision:v1/AnnotateImageResponse/safeSearchAnnotation": safe_search_annotation
@ -86964,6 +87121,8 @@
"/vision:v1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/labelAnnotations/label_annotation": label_annotation
"/vision:v1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/landmarkAnnotations": landmark_annotations
"/vision:v1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/landmarkAnnotations/landmark_annotation": landmark_annotation
"/vision:v1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/localizedObjectAnnotations": localized_object_annotations
"/vision:v1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/localizedObjectAnnotations/localized_object_annotation": localized_object_annotation
"/vision:v1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/logoAnnotations": logo_annotations
"/vision:v1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/logoAnnotations/logo_annotation": logo_annotation
"/vision:v1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/safeSearchAnnotation": safe_search_annotation
@ -87043,6 +87202,12 @@
"/vision:v1/GoogleCloudVisionV1p1beta1InputConfig": google_cloud_vision_v1p1beta1_input_config
"/vision:v1/GoogleCloudVisionV1p1beta1InputConfig/gcsSource": gcs_source
"/vision:v1/GoogleCloudVisionV1p1beta1InputConfig/mimeType": mime_type
"/vision:v1/GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation": google_cloud_vision_v1p1beta1_localized_object_annotation
"/vision:v1/GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation/boundingPoly": bounding_poly
"/vision:v1/GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation/languageCode": language_code
"/vision:v1/GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation/mid": mid
"/vision:v1/GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation/name": name
"/vision:v1/GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation/score": score
"/vision:v1/GoogleCloudVisionV1p1beta1LocationInfo": google_cloud_vision_v1p1beta1_location_info
"/vision:v1/GoogleCloudVisionV1p1beta1LocationInfo/latLng": lat_lng
"/vision:v1/GoogleCloudVisionV1p1beta1OperationMetadata": google_cloud_vision_v1p1beta1_operation_metadata
@ -87154,6 +87319,8 @@
"/vision:v1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/labelAnnotations/label_annotation": label_annotation
"/vision:v1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/landmarkAnnotations": landmark_annotations
"/vision:v1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/landmarkAnnotations/landmark_annotation": landmark_annotation
"/vision:v1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/localizedObjectAnnotations": localized_object_annotations
"/vision:v1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/localizedObjectAnnotations/localized_object_annotation": localized_object_annotation
"/vision:v1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/logoAnnotations": logo_annotations
"/vision:v1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/logoAnnotations/logo_annotation": logo_annotation
"/vision:v1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/safeSearchAnnotation": safe_search_annotation
@ -87237,6 +87404,12 @@
"/vision:v1/GoogleCloudVisionV1p2beta1InputConfig": google_cloud_vision_v1p2beta1_input_config
"/vision:v1/GoogleCloudVisionV1p2beta1InputConfig/gcsSource": gcs_source
"/vision:v1/GoogleCloudVisionV1p2beta1InputConfig/mimeType": mime_type
"/vision:v1/GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation": google_cloud_vision_v1p2beta1_localized_object_annotation
"/vision:v1/GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation/boundingPoly": bounding_poly
"/vision:v1/GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation/languageCode": language_code
"/vision:v1/GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation/mid": mid
"/vision:v1/GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation/name": name
"/vision:v1/GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation/score": score
"/vision:v1/GoogleCloudVisionV1p2beta1LocationInfo": google_cloud_vision_v1p2beta1_location_info
"/vision:v1/GoogleCloudVisionV1p2beta1LocationInfo/latLng": lat_lng
"/vision:v1/GoogleCloudVisionV1p2beta1NormalizedVertex": google_cloud_vision_v1p2beta1_normalized_vertex
@ -87618,6 +87791,12 @@
"/vision:v1/ListOperationsResponse/nextPageToken": next_page_token
"/vision:v1/ListOperationsResponse/operations": operations
"/vision:v1/ListOperationsResponse/operations/operation": operation
"/vision:v1/LocalizedObjectAnnotation": localized_object_annotation
"/vision:v1/LocalizedObjectAnnotation/boundingPoly": bounding_poly
"/vision:v1/LocalizedObjectAnnotation/languageCode": language_code
"/vision:v1/LocalizedObjectAnnotation/mid": mid
"/vision:v1/LocalizedObjectAnnotation/name": name
"/vision:v1/LocalizedObjectAnnotation/score": score
"/vision:v1/LocationInfo": location_info
"/vision:v1/LocationInfo/latLng": lat_lng
"/vision:v1/NormalizedVertex": normalized_vertex
@ -87760,6 +87939,8 @@
"/vision:v1p1beta1/AnnotateImageResponse/labelAnnotations/label_annotation": label_annotation
"/vision:v1p1beta1/AnnotateImageResponse/landmarkAnnotations": landmark_annotations
"/vision:v1p1beta1/AnnotateImageResponse/landmarkAnnotations/landmark_annotation": landmark_annotation
"/vision:v1p1beta1/AnnotateImageResponse/localizedObjectAnnotations": localized_object_annotations
"/vision:v1p1beta1/AnnotateImageResponse/localizedObjectAnnotations/localized_object_annotation": localized_object_annotation
"/vision:v1p1beta1/AnnotateImageResponse/logoAnnotations": logo_annotations
"/vision:v1p1beta1/AnnotateImageResponse/logoAnnotations/logo_annotation": logo_annotation
"/vision:v1p1beta1/AnnotateImageResponse/safeSearchAnnotation": safe_search_annotation
@ -87862,6 +88043,8 @@
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/labelAnnotations/label_annotation": label_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/landmarkAnnotations": landmark_annotations
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/landmarkAnnotations/landmark_annotation": landmark_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/localizedObjectAnnotations": localized_object_annotations
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/localizedObjectAnnotations/localized_object_annotation": localized_object_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/logoAnnotations": logo_annotations
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/logoAnnotations/logo_annotation": logo_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/safeSearchAnnotation": safe_search_annotation
@ -87978,6 +88161,12 @@
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1LatLongRect": google_cloud_vision_v1p1beta1_lat_long_rect
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1LatLongRect/maxLatLng": max_lat_lng
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1LatLongRect/minLatLng": min_lat_lng
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation": google_cloud_vision_v1p1beta1_localized_object_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation/boundingPoly": bounding_poly
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation/languageCode": language_code
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation/mid": mid
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation/name": name
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation/score": score
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1LocationInfo": google_cloud_vision_v1p1beta1_location_info
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1LocationInfo/latLng": lat_lng
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1OperationMetadata": google_cloud_vision_v1p1beta1_operation_metadata
@ -88091,6 +88280,8 @@
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/labelAnnotations/label_annotation": label_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/landmarkAnnotations": landmark_annotations
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/landmarkAnnotations/landmark_annotation": landmark_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/localizedObjectAnnotations": localized_object_annotations
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/localizedObjectAnnotations/localized_object_annotation": localized_object_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/logoAnnotations": logo_annotations
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/logoAnnotations/logo_annotation": logo_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/safeSearchAnnotation": safe_search_annotation
@ -88174,6 +88365,12 @@
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1InputConfig": google_cloud_vision_v1p2beta1_input_config
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1InputConfig/gcsSource": gcs_source
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1InputConfig/mimeType": mime_type
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation": google_cloud_vision_v1p2beta1_localized_object_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation/boundingPoly": bounding_poly
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation/languageCode": language_code
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation/mid": mid
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation/name": name
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation/score": score
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1LocationInfo": google_cloud_vision_v1p2beta1_location_info
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1LocationInfo/latLng": lat_lng
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1NormalizedVertex": google_cloud_vision_v1p2beta1_normalized_vertex
@ -88536,6 +88733,12 @@
"/vision:v1p1beta1/LatLng": lat_lng
"/vision:v1p1beta1/LatLng/latitude": latitude
"/vision:v1p1beta1/LatLng/longitude": longitude
"/vision:v1p1beta1/LocalizedObjectAnnotation": localized_object_annotation
"/vision:v1p1beta1/LocalizedObjectAnnotation/boundingPoly": bounding_poly
"/vision:v1p1beta1/LocalizedObjectAnnotation/languageCode": language_code
"/vision:v1p1beta1/LocalizedObjectAnnotation/mid": mid
"/vision:v1p1beta1/LocalizedObjectAnnotation/name": name
"/vision:v1p1beta1/LocalizedObjectAnnotation/score": score
"/vision:v1p1beta1/LocationInfo": location_info
"/vision:v1p1beta1/LocationInfo/latLng": lat_lng
"/vision:v1p1beta1/NormalizedVertex": normalized_vertex
@ -88663,6 +88866,8 @@
"/vision:v1p2beta1/AnnotateImageResponse/labelAnnotations/label_annotation": label_annotation
"/vision:v1p2beta1/AnnotateImageResponse/landmarkAnnotations": landmark_annotations
"/vision:v1p2beta1/AnnotateImageResponse/landmarkAnnotations/landmark_annotation": landmark_annotation
"/vision:v1p2beta1/AnnotateImageResponse/localizedObjectAnnotations": localized_object_annotations
"/vision:v1p2beta1/AnnotateImageResponse/localizedObjectAnnotations/localized_object_annotation": localized_object_annotation
"/vision:v1p2beta1/AnnotateImageResponse/logoAnnotations": logo_annotations
"/vision:v1p2beta1/AnnotateImageResponse/logoAnnotations/logo_annotation": logo_annotation
"/vision:v1p2beta1/AnnotateImageResponse/safeSearchAnnotation": safe_search_annotation
@ -88760,6 +88965,8 @@
"/vision:v1p2beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/labelAnnotations/label_annotation": label_annotation
"/vision:v1p2beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/landmarkAnnotations": landmark_annotations
"/vision:v1p2beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/landmarkAnnotations/landmark_annotation": landmark_annotation
"/vision:v1p2beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/localizedObjectAnnotations": localized_object_annotations
"/vision:v1p2beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/localizedObjectAnnotations/localized_object_annotation": localized_object_annotation
"/vision:v1p2beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/logoAnnotations": logo_annotations
"/vision:v1p2beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/logoAnnotations/logo_annotation": logo_annotation
"/vision:v1p2beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/safeSearchAnnotation": safe_search_annotation
@ -88839,6 +89046,12 @@
"/vision:v1p2beta1/GoogleCloudVisionV1p1beta1InputConfig": google_cloud_vision_v1p1beta1_input_config
"/vision:v1p2beta1/GoogleCloudVisionV1p1beta1InputConfig/gcsSource": gcs_source
"/vision:v1p2beta1/GoogleCloudVisionV1p1beta1InputConfig/mimeType": mime_type
"/vision:v1p2beta1/GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation": google_cloud_vision_v1p1beta1_localized_object_annotation
"/vision:v1p2beta1/GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation/boundingPoly": bounding_poly
"/vision:v1p2beta1/GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation/languageCode": language_code
"/vision:v1p2beta1/GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation/mid": mid
"/vision:v1p2beta1/GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation/name": name
"/vision:v1p2beta1/GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation/score": score
"/vision:v1p2beta1/GoogleCloudVisionV1p1beta1LocationInfo": google_cloud_vision_v1p1beta1_location_info
"/vision:v1p2beta1/GoogleCloudVisionV1p1beta1LocationInfo/latLng": lat_lng
"/vision:v1p2beta1/GoogleCloudVisionV1p1beta1OperationMetadata": google_cloud_vision_v1p1beta1_operation_metadata
@ -88955,6 +89168,8 @@
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/labelAnnotations/label_annotation": label_annotation
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/landmarkAnnotations": landmark_annotations
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/landmarkAnnotations/landmark_annotation": landmark_annotation
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/localizedObjectAnnotations": localized_object_annotations
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/localizedObjectAnnotations/localized_object_annotation": localized_object_annotation
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/logoAnnotations": logo_annotations
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/logoAnnotations/logo_annotation": logo_annotation
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/safeSearchAnnotation": safe_search_annotation
@ -89075,6 +89290,12 @@
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1LatLongRect": google_cloud_vision_v1p2beta1_lat_long_rect
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1LatLongRect/maxLatLng": max_lat_lng
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1LatLongRect/minLatLng": min_lat_lng
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation": google_cloud_vision_v1p2beta1_localized_object_annotation
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation/boundingPoly": bounding_poly
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation/languageCode": language_code
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation/mid": mid
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation/name": name
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation/score": score
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1LocationInfo": google_cloud_vision_v1p2beta1_location_info
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1LocationInfo/latLng": lat_lng
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1NormalizedVertex": google_cloud_vision_v1p2beta1_normalized_vertex
@ -89425,6 +89646,12 @@
"/vision:v1p2beta1/LatLng": lat_lng
"/vision:v1p2beta1/LatLng/latitude": latitude
"/vision:v1p2beta1/LatLng/longitude": longitude
"/vision:v1p2beta1/LocalizedObjectAnnotation": localized_object_annotation
"/vision:v1p2beta1/LocalizedObjectAnnotation/boundingPoly": bounding_poly
"/vision:v1p2beta1/LocalizedObjectAnnotation/languageCode": language_code
"/vision:v1p2beta1/LocalizedObjectAnnotation/mid": mid
"/vision:v1p2beta1/LocalizedObjectAnnotation/name": name
"/vision:v1p2beta1/LocalizedObjectAnnotation/score": score
"/vision:v1p2beta1/LocationInfo": location_info
"/vision:v1p2beta1/LocationInfo/latLng": lat_lng
"/vision:v1p2beta1/NormalizedVertex": normalized_vertex

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android/work/play/emm-api
module AndroidenterpriseV1
VERSION = 'V1'
REVISION = '20180802'
REVISION = '20180907'
# Manage corporate Android devices
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'

View File

@ -94,6 +94,26 @@ module Google
# @return [Array<String>]
attr_accessor :permission
# Options for displaying the Play Search page.
# Corresponds to the JSON property `playSearch`
# @return [Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPlaySearch]
attr_accessor :play_search
# Options for displaying the Private Apps page.
# Corresponds to the JSON property `privateApps`
# @return [Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPrivateApps]
attr_accessor :private_apps
# Options for displaying the Store Builder page.
# Corresponds to the JSON property `storeBuilder`
# @return [Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecStoreBuilder]
attr_accessor :store_builder
# Options for displaying the Web Apps page.
# Corresponds to the JSON property `webApps`
# @return [Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecWebApps]
attr_accessor :web_apps
def initialize(**args)
update!(**args)
end
@ -103,6 +123,90 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@parent = args[:parent] if args.key?(:parent)
@permission = args[:permission] if args.key?(:permission)
@play_search = args[:play_search] if args.key?(:play_search)
@private_apps = args[:private_apps] if args.key?(:private_apps)
@store_builder = args[:store_builder] if args.key?(:store_builder)
@web_apps = args[:web_apps] if args.key?(:web_apps)
end
end
#
class AdministratorWebTokenSpecPlaySearch
include Google::Apis::Core::Hashable
# Whether the Play Search page is displayed. Default is true.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enabled = args[:enabled] if args.key?(:enabled)
end
end
#
class AdministratorWebTokenSpecPrivateApps
include Google::Apis::Core::Hashable
# Whether the Private Apps page is displayed. Default is true.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enabled = args[:enabled] if args.key?(:enabled)
end
end
#
class AdministratorWebTokenSpecStoreBuilder
include Google::Apis::Core::Hashable
# Whether the Store Builder is be displayed. Default is true.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enabled = args[:enabled] if args.key?(:enabled)
end
end
#
class AdministratorWebTokenSpecWebApps
include Google::Apis::Core::Hashable
# Whether the Web Apps page is displayed. Default is true.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enabled = args[:enabled] if args.key?(:enabled)
end
end
@ -2493,11 +2597,10 @@ module Google
# @return [String]
attr_accessor :kind
# Ordered list of pages a user should be able to reach from this page. The pages
# must exist, must not be this page, and once a link is created the page linked
# to cannot be deleted until all links to it are removed. It is recommended that
# the basic pages are created first, before adding the links between pages.
# No attempt is made to verify that all pages are reachable from the homepage.
# Ordered list of pages a user should be able to reach from this page. The list
# can't include this page. It is recommended that the basic pages are created
# first, before adding the links between pages.
# The API doesn't verify that the pages exist or the pages are reachable.
# Corresponds to the JSON property `link`
# @return [Array<String>]
attr_accessor :link

View File

@ -40,6 +40,30 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AdministratorWebTokenSpecPlaySearch
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AdministratorWebTokenSpecPrivateApps
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AdministratorWebTokenSpecStoreBuilder
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AdministratorWebTokenSpecWebApps
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AndroidDevicePolicyConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -463,6 +487,42 @@ module Google
property :kind, as: 'kind'
property :parent, as: 'parent'
collection :permission, as: 'permission'
property :play_search, as: 'playSearch', class: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPlaySearch, decorator: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPlaySearch::Representation
property :private_apps, as: 'privateApps', class: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPrivateApps, decorator: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPrivateApps::Representation
property :store_builder, as: 'storeBuilder', class: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecStoreBuilder, decorator: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecStoreBuilder::Representation
property :web_apps, as: 'webApps', class: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecWebApps, decorator: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecWebApps::Representation
end
end
class AdministratorWebTokenSpecPlaySearch
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
end
end
class AdministratorWebTokenSpecPrivateApps
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
end
end
class AdministratorWebTokenSpecStoreBuilder
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
end
end
class AdministratorWebTokenSpecWebApps
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
end
end

View File

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

View File

@ -353,6 +353,11 @@ module Google
# @return [String]
attr_accessor :log_streaming_option
# Option to specify the logging mode, which determines where the logs are stored.
# Corresponds to the JSON property `logging`
# @return [String]
attr_accessor :logging
# Compute Engine machine type on which to run the build.
# Corresponds to the JSON property `machineType`
# @return [String]
@ -382,6 +387,7 @@ module Google
def update!(**args)
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
@log_streaming_option = args[:log_streaming_option] if args.key?(:log_streaming_option)
@logging = args[:logging] if args.key?(:logging)
@machine_type = args[:machine_type] if args.key?(:machine_type)
@requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
@source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)

View File

@ -267,6 +267,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
property :log_streaming_option, as: 'logStreamingOption'
property :logging, as: 'logging'
property :machine_type, as: 'machineType'
property :requested_verify_option, as: 'requestedVerifyOption'
collection :source_provenance_hash, as: 'sourceProvenanceHash'

View File

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

View File

@ -269,7 +269,7 @@ module Google
# [Shared VPC](/vpc/docs/shared-vpc) is not currently supported. The
# network must belong to the environment's project. If unspecified, the
# "default" network ID in the environment's project is used. If a
# [Custom Subnet Network]((/vpc/docs/vpc#vpc_networks_and_subnets)
# [Custom Subnet Network](/vpc/docs/vpc#vpc_networks_and_subnets)
# is provided, `nodeConfig.subnetwork` must also be provided.
# Corresponds to the JSON property `network`
# @return [String]

View File

@ -289,14 +289,14 @@ module Google
# more individual config overrides.</td>
# </tr>
# <tr>
# <td>config.softwareConfig.properties.<var>section</var>-<var>name
# <td>config.softwareConfig.airflowConfigOverrides.<var>section</var>-<var>name
# </var></td>
# <td>Override the Apache Airflow property <var>name</var> in the section
# named <var>section</var>, preserving other properties. To delete the
# property override, include it in `updateMask` and omit its mapping
# in `environment.config.softwareConfig.properties`.
# <td>Override the Apache Airflow config property <var>name</var> in the
# section named <var>section</var>, preserving other properties. To delete
# the property override, include it in `updateMask` and omit its mapping
# in `environment.config.softwareConfig.airflowConfigOverrides`.
# It is an error to provide both a mask of this form and the
# "config.softwareConfig.properties" mask.</td>
# "config.softwareConfig.airflowConfigOverrides" mask.</td>
# </tr>
# <tr>
# <td>config.softwareConfig.envVariables</td>

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/composer/
module ComposerV1beta1
VERSION = 'V1beta1'
REVISION = '20180815'
REVISION = '20180905'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -267,7 +267,7 @@ module Google
# [relative resource name](/apis/design/resource_names#relative_resource_name).
# For example: "projects/`projectId`/global/networks/`networkId`".
# If unspecified, the default network in the environment's project is used.
# If a [Custom Subnet Network]((/vpc/docs/vpc#vpc_networks_and_subnets)
# If a [Custom Subnet Network](/vpc/docs/vpc#vpc_networks_and_subnets)
# is provided, `nodeConfig.subnetwork` must also be provided. For
# [Shared VPC](/vpc/docs/shared-vpc) subnetwork requirements, see
# `nodeConfig.subnetwork`.

View File

@ -0,0 +1,34 @@
# 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/file_v1beta1/service.rb'
require 'google/apis/file_v1beta1/classes.rb'
require 'google/apis/file_v1beta1/representations.rb'
module Google
module Apis
# Cloud Filestore API
#
# The Cloud Filestore API is used for creating and managing cloud file servers.
#
# @see https://cloud.google.com/filestore/
module FileV1beta1
VERSION = 'V1beta1'
REVISION = '20180820'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
end
end
end

View File

@ -0,0 +1,810 @@
# 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 FileV1beta1
# The request message for Operations.CancelOperation.
class CancelOperationRequest
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# The sets of network addresses and DNS names for hosts to which a given
# export or share should be allowed or denied.
class ClientList
include Google::Apis::Core::Hashable
# DNS names of hosts, with optional wildcards.
# Corresponds to the JSON property `hostNames`
# @return [Array<String>]
attr_accessor :host_names
# IPv4 addresses in the format
# `octet 1`.`octet 2`.`octet 3`.`octet 4`.
# Corresponds to the JSON property `ipAddresses`
# @return [Array<String>]
attr_accessor :ip_addresses
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@host_names = args[:host_names] if args.key?(:host_names)
@ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
end
end
# A generic empty message that you can re-use to avoid defining duplicated
# empty messages in your APIs. A typical example is to use it as the request
# or the response type of an API method. For instance:
# service Foo `
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
# `
# The JSON representation for `Empty` is empty JSON object ````.
class Empty
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# File share export specification.
class Export
include Google::Apis::Core::Hashable
# The sets of network addresses and DNS names for hosts to which a given
# export or share should be allowed or denied.
# Corresponds to the JSON property `allowedClients`
# @return [Google::Apis::FileV1beta1::ClientList]
attr_accessor :allowed_clients
# Writes may be completed when not yet on stable storage.
# Corresponds to the JSON property `async`
# @return [Boolean]
attr_accessor :async
alias_method :async?, :async
# The sets of network addresses and DNS names for hosts to which a given
# export or share should be allowed or denied.
# Corresponds to the JSON property `deniedClients`
# @return [Google::Apis::FileV1beta1::ClientList]
attr_accessor :denied_clients
# Networks on which the export should appear.
# If none are specified, the default is all networks to which the instance is
# connected to.
# Corresponds to the JSON property `networks`
# @return [Array<Google::Apis::FileV1beta1::NetworkConfig>]
attr_accessor :networks
# NfsExport specifies attributes of a given NFS export rule.
# Corresponds to the JSON property `nfsExport`
# @return [Google::Apis::FileV1beta1::NfsExport]
attr_accessor :nfs_export
# Path to export (either "" or of the form /file_share_name[/subdir]).
# Corresponds to the JSON property `path`
# @return [String]
attr_accessor :path
# Whether the file share should be exported as read-only.
# Corresponds to the JSON property `readOnly`
# @return [Boolean]
attr_accessor :read_only
alias_method :read_only?, :read_only
# SmbExport defines attributes of a given SMB sharing rule.
# Corresponds to the JSON property `smbExport`
# @return [Google::Apis::FileV1beta1::SmbExport]
attr_accessor :smb_export
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@allowed_clients = args[:allowed_clients] if args.key?(:allowed_clients)
@async = args[:async] if args.key?(:async)
@denied_clients = args[:denied_clients] if args.key?(:denied_clients)
@networks = args[:networks] if args.key?(:networks)
@nfs_export = args[:nfs_export] if args.key?(:nfs_export)
@path = args[:path] if args.key?(:path)
@read_only = args[:read_only] if args.key?(:read_only)
@smb_export = args[:smb_export] if args.key?(:smb_export)
end
end
# File share configuration for the instance.
class FileShareConfig
include Google::Apis::Core::Hashable
# File share capacity in gigabytes (GB).
# Cloud Filestore defines 1 GB as 1024^3 bytes.
# Corresponds to the JSON property `capacityGb`
# @return [Fixnum]
attr_accessor :capacity_gb
# Delete requested. The file share will be deleted.
# Corresponds to the JSON property `deleted`
# @return [Boolean]
attr_accessor :deleted
alias_method :deleted?, :deleted
# Service enabled.
# When enabled, the instance exposes the exports to the user for mounting.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
# Exports.
# If protocols and exports are both zero-length, a default protocol of
# NFSV3 and a default export of "*" are provided, and enabled is set to
# true.
# Corresponds to the JSON property `exports`
# @return [Array<Google::Apis::FileV1beta1::Export>]
attr_accessor :exports
# The name of the file share (must be 16 characters or less).
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Protocols supported.
# Corresponds to the JSON property `protocols`
# @return [Array<String>]
attr_accessor :protocols
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
@deleted = args[:deleted] if args.key?(:deleted)
@enabled = args[:enabled] if args.key?(:enabled)
@exports = args[:exports] if args.key?(:exports)
@name = args[:name] if args.key?(:name)
@protocols = args[:protocols] if args.key?(:protocols)
end
end
# A Cloud Filestore instance.
class Instance
include Google::Apis::Core::Hashable
# Output only.
# The time when the instance was created.
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time
# Optional. A description of the instance (2048 characters or less).
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# Server-specified ETag for the instance resource to prevent simultaneous
# updates from overwriting each other.
# Corresponds to the JSON property `etag`
# @return [String]
attr_accessor :etag
# File system shares on the instance.
# For this version, only a single file share is supported.
# Corresponds to the JSON property `fileShares`
# @return [Array<Google::Apis::FileV1beta1::FileShareConfig>]
attr_accessor :file_shares
# Resource labels to represent user provided metadata.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# The logging service the instance should use to write logs.
# Currently available options:
# * `logging.googleapis.com` - the Google Cloud Logging service.
# * `none` - no logs will be exported from the instance.
# * if left as an empty string,`logging.googleapis.com` will be used.
# Corresponds to the JSON property `loggingService`
# @return [String]
attr_accessor :logging_service
# The monitoring service the instance should use to write metrics.
# Currently available options:
# * `monitoring.googleapis.com` - the Google Cloud Monitoring service.
# * `none` - no metrics will be exported from the instance.
# * if left as an empty string, `monitoring.googleapis.com` will be used.
# Corresponds to the JSON property `monitoringService`
# @return [String]
attr_accessor :monitoring_service
# Output only.
# The resource name of the instance, in the format
# projects/`project_id`/locations/`location_id`/instances/`instance_id`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# VPC networks to which the instance is connected.
# For this version, only a single network is supported.
# Corresponds to the JSON property `networks`
# @return [Array<Google::Apis::FileV1beta1::NetworkConfig>]
attr_accessor :networks
# Output only.
# The instance state.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
# Output only.
# Additional information about the instance state, if available.
# Corresponds to the JSON property `statusMessage`
# @return [String]
attr_accessor :status_message
# The service tier of the instance.
# Corresponds to the JSON property `tier`
# @return [String]
attr_accessor :tier
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)
@etag = args[:etag] if args.key?(:etag)
@file_shares = args[:file_shares] if args.key?(:file_shares)
@labels = args[:labels] if args.key?(:labels)
@logging_service = args[:logging_service] if args.key?(:logging_service)
@monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service)
@name = args[:name] if args.key?(:name)
@networks = args[:networks] if args.key?(:networks)
@state = args[:state] if args.key?(:state)
@status_message = args[:status_message] if args.key?(:status_message)
@tier = args[:tier] if args.key?(:tier)
end
end
# ListInstancesResponse is the result of ListInstancesRequest.
class ListInstancesResponse
include Google::Apis::Core::Hashable
# A list of instances in the project for the specified location.
# If the `location` value in the request is "-", the response contains a list
# of instances from all locations. If any location is unreachable, the
# response will only return instances in reachable locations and the
# "unreachable" field will be populated with a list of unreachable locations.
# Corresponds to the JSON property `instances`
# @return [Array<Google::Apis::FileV1beta1::Instance>]
attr_accessor :instances
# The token you can use to retrieve the next page of results. Not returned
# if there are no more results in the list.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# Locations that could not be reached.
# Corresponds to the JSON property `unreachable`
# @return [Array<String>]
attr_accessor :unreachable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@instances = args[:instances] if args.key?(:instances)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@unreachable = args[:unreachable] if args.key?(:unreachable)
end
end
# The response message for Locations.ListLocations.
class ListLocationsResponse
include Google::Apis::Core::Hashable
# A list of locations that matches the specified filter in the request.
# Corresponds to the JSON property `locations`
# @return [Array<Google::Apis::FileV1beta1::Location>]
attr_accessor :locations
# The standard List next-page token.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@locations = args[:locations] if args.key?(:locations)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# The response message for Operations.ListOperations.
class ListOperationsResponse
include Google::Apis::Core::Hashable
# The standard List next-page token.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# A list of operations that matches the specified filter in the request.
# Corresponds to the JSON property `operations`
# @return [Array<Google::Apis::FileV1beta1::Operation>]
attr_accessor :operations
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)
@operations = args[:operations] if args.key?(:operations)
end
end
# A resource that represents Google Cloud Platform location.
class Location
include Google::Apis::Core::Hashable
# The friendly name for this location, typically a nearby city name.
# For example, "Tokyo".
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# Cross-service attributes for the location. For example
# `"cloud.googleapis.com/region": "us-east1"`
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# The canonical id for this location. For example: `"us-east1"`.
# Corresponds to the JSON property `locationId`
# @return [String]
attr_accessor :location_id
# Service-specific metadata. For example the available capacity at the given
# location.
# Corresponds to the JSON property `metadata`
# @return [Hash<String,Object>]
attr_accessor :metadata
# Resource name for the location, which may vary between implementations.
# For example: `"projects/example-project/locations/us-east1"`
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@display_name = args[:display_name] if args.key?(:display_name)
@labels = args[:labels] if args.key?(:labels)
@location_id = args[:location_id] if args.key?(:location_id)
@metadata = args[:metadata] if args.key?(:metadata)
@name = args[:name] if args.key?(:name)
end
end
# Network configuration for the instance.
class NetworkConfig
include Google::Apis::Core::Hashable
# Output only.
# IPv4 addresses in the format
# `octet 1`.`octet 2`.`octet 3`.`octet 4` or IPv6 addresses in the format
# `block 1`:`block 2`:`block 3`:`block 4`:`block 5`:`block 6`:`block 7`:`block 8`
# .
# Corresponds to the JSON property `ipAddresses`
# @return [Array<String>]
attr_accessor :ip_addresses
# Internet protocol versions for which the instance has IP addresses
# assigned. For this version, only MODE_IPV4 is supported.
# Corresponds to the JSON property `modes`
# @return [Array<String>]
attr_accessor :modes
# The name of the Google Compute Engine
# [VPC network](/compute/docs/networks-and-firewalls#networks) to which the
# instance is connected.
# Corresponds to the JSON property `network`
# @return [String]
attr_accessor :network
# A /29 CIDR block in one of the
# [internal IP address ranges](https://www.arin.net/knowledge/address_filters.
# html)
# that identifies the range of IP addresses reserved for this
# instance. For example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify
# can't overlap with either existing subnets or assigned IP address ranges
# for other Cloud Filestore instances in the selected VPC network.
# Corresponds to the JSON property `reservedIpRange`
# @return [String]
attr_accessor :reserved_ip_range
# Output only.
# The name of the Google Compute Engine
# [subnetwork](/compute/docs/subnetworks) to which the
# instance is connected.
# Corresponds to the JSON property `subnetwork`
# @return [String]
attr_accessor :subnetwork
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
@modes = args[:modes] if args.key?(:modes)
@network = args[:network] if args.key?(:network)
@reserved_ip_range = args[:reserved_ip_range] if args.key?(:reserved_ip_range)
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
end
end
# NfsExport specifies attributes of a given NFS export rule.
class NfsExport
include Google::Apis::Core::Hashable
# GID for anonymous or squashed GIDs.
# Corresponds to the JSON property `anonymousGid`
# @return [Fixnum]
attr_accessor :anonymous_gid
# UID for anonymous or squashed UIDs.
# Corresponds to the JSON property `anonymousUid`
# @return [Fixnum]
attr_accessor :anonymous_uid
# Network transport protocols to be enabled.
# The default is TCP.
# Corresponds to the JSON property `protocols`
# @return [Array<String>]
attr_accessor :protocols
# The mode of mapping of UIDs and GIDs (if any).
# Corresponds to the JSON property `squash`
# @return [String]
attr_accessor :squash
# If unauthenticated_locks_allowed is true, locking requests do not require
# authentication.
# Corresponds to the JSON property `unauthenticatedLocksAllowed`
# @return [Boolean]
attr_accessor :unauthenticated_locks_allowed
alias_method :unauthenticated_locks_allowed?, :unauthenticated_locks_allowed
# If user_ports_allowed is true, client ports greater than or equal to 1024
# are allowed.
# Corresponds to the JSON property `userPortsAllowed`
# @return [Boolean]
attr_accessor :user_ports_allowed
alias_method :user_ports_allowed?, :user_ports_allowed
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@anonymous_gid = args[:anonymous_gid] if args.key?(:anonymous_gid)
@anonymous_uid = args[:anonymous_uid] if args.key?(:anonymous_uid)
@protocols = args[:protocols] if args.key?(:protocols)
@squash = args[:squash] if args.key?(:squash)
@unauthenticated_locks_allowed = args[:unauthenticated_locks_allowed] if args.key?(:unauthenticated_locks_allowed)
@user_ports_allowed = args[:user_ports_allowed] if args.key?(:user_ports_allowed)
end
end
# This resource represents a long-running operation that is the result of a
# network API call.
class Operation
include Google::Apis::Core::Hashable
# If the value is `false`, it means the operation is still in progress.
# If `true`, the operation is completed, and either `error` or `response` is
# available.
# Corresponds to the JSON property `done`
# @return [Boolean]
attr_accessor :done
alias_method :done?, :done
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
# error message is needed, put the localized message in the error details or
# localize it in the client. The optional error details may contain arbitrary
# information about the error. There is a predefined set of error detail types
# in the package `google.rpc` that can be used for common error conditions.
# # Language mapping
# The `Status` message is the logical representation of the error model, but it
# is not necessarily the actual wire format. When the `Status` message is
# exposed in different client libraries and different wire protocols, it can be
# mapped differently. For example, it will likely be mapped to some exceptions
# in Java, but more likely mapped to some error codes in C.
# # Other uses
# The error model and the `Status` message can be used in a variety of
# environments, either with or without APIs, to provide a
# consistent developer experience across different environments.
# Example uses of this error model include:
# - Partial errors. If a service needs to return partial errors to the client,
# it may embed the `Status` in the normal response to indicate the partial
# errors.
# - Workflow errors. A typical workflow has multiple steps. Each step may
# have a `Status` message for error reporting.
# - Batch operations. If a client uses batch request and batch response, the
# `Status` message should be used directly inside batch response, one for
# each error sub-response.
# - Asynchronous operations. If an API call embeds asynchronous operation
# results in its response, the status of those operations should be
# represented directly using the `Status` message.
# - Logging. If some API errors are stored in logs, the message `Status` could
# be used directly after any stripping needed for security/privacy reasons.
# Corresponds to the JSON property `error`
# @return [Google::Apis::FileV1beta1::Status]
attr_accessor :error
# Service-specific metadata associated with the operation. It typically
# contains progress information and common metadata such as create time.
# Some services might not provide such metadata. Any method that returns a
# long-running operation should document the metadata type, if any.
# Corresponds to the JSON property `metadata`
# @return [Hash<String,Object>]
attr_accessor :metadata
# The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should have the format of `operations/some/unique/name`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The normal response of the operation in case of success. If the original
# method returns no data on success, such as `Delete`, the response is
# `google.protobuf.Empty`. If the original method is standard
# `Get`/`Create`/`Update`, the response should be the resource. For other
# methods, the response should have the type `XxxResponse`, where `Xxx`
# is the original method name. For example, if the original method name
# is `TakeSnapshot()`, the inferred response type is
# `TakeSnapshotResponse`.
# Corresponds to the JSON property `response`
# @return [Hash<String,Object>]
attr_accessor :response
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@done = args[:done] if args.key?(:done)
@error = args[:error] if args.key?(:error)
@metadata = args[:metadata] if args.key?(:metadata)
@name = args[:name] if args.key?(:name)
@response = args[:response] if args.key?(:response)
end
end
# Represents the metadata of the long-running operation.
class OperationMetadata
include Google::Apis::Core::Hashable
# [Output only] API version used to start the operation.
# Corresponds to the JSON property `apiVersion`
# @return [String]
attr_accessor :api_version
# [Output only] Identifies whether the user has requested cancellation
# of the operation. Operations that have successfully been cancelled
# have Operation.error value with a google.rpc.Status.code of 1,
# corresponding to `Code.CANCELLED`.
# Corresponds to the JSON property `cancelRequested`
# @return [Boolean]
attr_accessor :cancel_requested
alias_method :cancel_requested?, :cancel_requested
# [Output only] The time the operation was created.
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time
# [Output only] The time the operation finished running.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# [Output only] Human-readable status of the operation, if any.
# Corresponds to the JSON property `statusDetail`
# @return [String]
attr_accessor :status_detail
# [Output only] Server-defined resource path for the target of the operation.
# Corresponds to the JSON property `target`
# @return [String]
attr_accessor :target
# [Output only] Name of the verb executed by the operation.
# Corresponds to the JSON property `verb`
# @return [String]
attr_accessor :verb
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@api_version = args[:api_version] if args.key?(:api_version)
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
@create_time = args[:create_time] if args.key?(:create_time)
@end_time = args[:end_time] if args.key?(:end_time)
@status_detail = args[:status_detail] if args.key?(:status_detail)
@target = args[:target] if args.key?(:target)
@verb = args[:verb] if args.key?(:verb)
end
end
# SmbExport defines attributes of a given SMB sharing rule.
class SmbExport
include Google::Apis::Core::Hashable
# If true, allow clients to see this share when browsing the instance for
# shares.
# Corresponds to the JSON property `browsable`
# @return [Boolean]
attr_accessor :browsable
alias_method :browsable?, :browsable
# The published name of the share (if different from name).
# Corresponds to the JSON property `fileShare`
# @return [String]
attr_accessor :file_share
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@browsable = args[:browsable] if args.key?(:browsable)
@file_share = args[:file_share] if args.key?(:file_share)
end
end
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
# error message is needed, put the localized message in the error details or
# localize it in the client. The optional error details may contain arbitrary
# information about the error. There is a predefined set of error detail types
# in the package `google.rpc` that can be used for common error conditions.
# # Language mapping
# The `Status` message is the logical representation of the error model, but it
# is not necessarily the actual wire format. When the `Status` message is
# exposed in different client libraries and different wire protocols, it can be
# mapped differently. For example, it will likely be mapped to some exceptions
# in Java, but more likely mapped to some error codes in C.
# # Other uses
# The error model and the `Status` message can be used in a variety of
# environments, either with or without APIs, to provide a
# consistent developer experience across different environments.
# Example uses of this error model include:
# - Partial errors. If a service needs to return partial errors to the client,
# it may embed the `Status` in the normal response to indicate the partial
# errors.
# - Workflow errors. A typical workflow has multiple steps. Each step may
# have a `Status` message for error reporting.
# - Batch operations. If a client uses batch request and batch response, the
# `Status` message should be used directly inside batch response, one for
# each error sub-response.
# - Asynchronous operations. If an API call embeds asynchronous operation
# results in its response, the status of those operations should be
# represented directly using the `Status` message.
# - Logging. If some API errors are stored in logs, the message `Status` could
# be used directly after any stripping needed for security/privacy reasons.
class Status
include Google::Apis::Core::Hashable
# The status code, which should be an enum value of google.rpc.Code.
# Corresponds to the JSON property `code`
# @return [Fixnum]
attr_accessor :code
# A list of messages that carry the error details. There is a common set of
# message types for APIs to use.
# Corresponds to the JSON property `details`
# @return [Array<Hash<String,Object>>]
attr_accessor :details
# A developer-facing error message, which should be in English. Any
# user-facing error message should be localized and sent in the
# google.rpc.Status.details field, or localized by the client.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@code = args[:code] if args.key?(:code)
@details = args[:details] if args.key?(:details)
@message = args[:message] if args.key?(:message)
end
end
end
end
end

View File

@ -0,0 +1,298 @@
# 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 FileV1beta1
class CancelOperationRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ClientList
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Export
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class FileShareConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Instance
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListInstancesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListLocationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListOperationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Location
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NetworkConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NfsExport
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Operation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SmbExport
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Status
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CancelOperationRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class ClientList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :host_names, as: 'hostNames'
collection :ip_addresses, as: 'ipAddresses'
end
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class Export
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :allowed_clients, as: 'allowedClients', class: Google::Apis::FileV1beta1::ClientList, decorator: Google::Apis::FileV1beta1::ClientList::Representation
property :async, as: 'async'
property :denied_clients, as: 'deniedClients', class: Google::Apis::FileV1beta1::ClientList, decorator: Google::Apis::FileV1beta1::ClientList::Representation
collection :networks, as: 'networks', class: Google::Apis::FileV1beta1::NetworkConfig, decorator: Google::Apis::FileV1beta1::NetworkConfig::Representation
property :nfs_export, as: 'nfsExport', class: Google::Apis::FileV1beta1::NfsExport, decorator: Google::Apis::FileV1beta1::NfsExport::Representation
property :path, as: 'path'
property :read_only, as: 'readOnly'
property :smb_export, as: 'smbExport', class: Google::Apis::FileV1beta1::SmbExport, decorator: Google::Apis::FileV1beta1::SmbExport::Representation
end
end
class FileShareConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :capacity_gb, :numeric_string => true, as: 'capacityGb'
property :deleted, as: 'deleted'
property :enabled, as: 'enabled'
collection :exports, as: 'exports', class: Google::Apis::FileV1beta1::Export, decorator: Google::Apis::FileV1beta1::Export::Representation
property :name, as: 'name'
collection :protocols, as: 'protocols'
end
end
class Instance
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :description, as: 'description'
property :etag, as: 'etag'
collection :file_shares, as: 'fileShares', class: Google::Apis::FileV1beta1::FileShareConfig, decorator: Google::Apis::FileV1beta1::FileShareConfig::Representation
hash :labels, as: 'labels'
property :logging_service, as: 'loggingService'
property :monitoring_service, as: 'monitoringService'
property :name, as: 'name'
collection :networks, as: 'networks', class: Google::Apis::FileV1beta1::NetworkConfig, decorator: Google::Apis::FileV1beta1::NetworkConfig::Representation
property :state, as: 'state'
property :status_message, as: 'statusMessage'
property :tier, as: 'tier'
end
end
class ListInstancesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :instances, as: 'instances', class: Google::Apis::FileV1beta1::Instance, decorator: Google::Apis::FileV1beta1::Instance::Representation
property :next_page_token, as: 'nextPageToken'
collection :unreachable, as: 'unreachable'
end
end
class ListLocationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :locations, as: 'locations', class: Google::Apis::FileV1beta1::Location, decorator: Google::Apis::FileV1beta1::Location::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class ListOperationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :operations, as: 'operations', class: Google::Apis::FileV1beta1::Operation, decorator: Google::Apis::FileV1beta1::Operation::Representation
end
end
class Location
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
hash :labels, as: 'labels'
property :location_id, as: 'locationId'
hash :metadata, as: 'metadata'
property :name, as: 'name'
end
end
class NetworkConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :ip_addresses, as: 'ipAddresses'
collection :modes, as: 'modes'
property :network, as: 'network'
property :reserved_ip_range, as: 'reservedIpRange'
property :subnetwork, as: 'subnetwork'
end
end
class NfsExport
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :anonymous_gid, :numeric_string => true, as: 'anonymousGid'
property :anonymous_uid, :numeric_string => true, as: 'anonymousUid'
collection :protocols, as: 'protocols'
property :squash, as: 'squash'
property :unauthenticated_locks_allowed, as: 'unauthenticatedLocksAllowed'
property :user_ports_allowed, as: 'userPortsAllowed'
end
end
class Operation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :done, as: 'done'
property :error, as: 'error', class: Google::Apis::FileV1beta1::Status, decorator: Google::Apis::FileV1beta1::Status::Representation
hash :metadata, as: 'metadata'
property :name, as: 'name'
hash :response, as: 'response'
end
end
class OperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
property :cancel_requested, as: 'cancelRequested'
property :create_time, as: 'createTime'
property :end_time, as: 'endTime'
property :status_detail, as: 'statusDetail'
property :target, as: 'target'
property :verb, as: 'verb'
end
end
class SmbExport
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :browsable, as: 'browsable'
property :file_share, as: 'fileShare'
end
end
class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :details, as: 'details'
property :message, as: 'message'
end
end
end
end
end

View File

@ -0,0 +1,472 @@
# 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 FileV1beta1
# Cloud Filestore API
#
# The Cloud Filestore API is used for creating and managing cloud file servers.
#
# @example
# require 'google/apis/file_v1beta1'
#
# File = Google::Apis::FileV1beta1 # Alias the module
# service = File::CloudFilestoreService.new
#
# @see https://cloud.google.com/filestore/
class CloudFilestoreService < 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://file.googleapis.com/', '')
@batch_path = 'batch'
end
# Gets information about a location.
# @param [String] name
# Resource name for the location.
# @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::FileV1beta1::Location] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FileV1beta1::Location]
#
# @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(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::FileV1beta1::Location::Representation
command.response_class = Google::Apis::FileV1beta1::Location
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists information about the supported locations for this service.
# @param [String] name
# The resource that owns the locations collection, if applicable.
# @param [String] filter
# The standard list filter.
# @param [Fixnum] page_size
# The standard list page size.
# @param [String] page_token
# The standard list page token.
# @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::FileV1beta1::ListLocationsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FileV1beta1::ListLocationsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}/locations', options)
command.response_representation = Google::Apis::FileV1beta1::ListLocationsResponse::Representation
command.response_class = Google::Apis::FileV1beta1::ListLocationsResponse
command.params['name'] = name unless name.nil?
command.query['filter'] = filter unless filter.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates an instance.
# @param [String] parent
# The instance's project and location, in the format
# projects/`project_id`/locations/`location`. In Cloud Filestore,
# locations map to GCP zones, for example **us-west1-b**.
# @param [Google::Apis::FileV1beta1::Instance] instance_object
# @param [String] instance_id
# The name of the instance to create.
# The name must be unique for the specified project and location.
# @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::FileV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FileV1beta1::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_project_location_instance(parent, instance_object = nil, instance_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}/instances', options)
command.request_representation = Google::Apis::FileV1beta1::Instance::Representation
command.request_object = instance_object
command.response_representation = Google::Apis::FileV1beta1::Operation::Representation
command.response_class = Google::Apis::FileV1beta1::Operation
command.params['parent'] = parent unless parent.nil?
command.query['instanceId'] = instance_id unless instance_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes an instance.
# @param [String] name
# The instance resource name, in the format
# projects/`project_id`/locations/`location`/instances/`instance_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::FileV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FileV1beta1::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_project_location_instance(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::FileV1beta1::Operation::Representation
command.response_class = Google::Apis::FileV1beta1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets the details of a specific instance.
# @param [String] name
# The instance resource name, in the format
# projects/`project_id`/locations/`location`/instances/`instance_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::FileV1beta1::Instance] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FileV1beta1::Instance]
#
# @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_instance(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::FileV1beta1::Instance::Representation
command.response_class = Google::Apis::FileV1beta1::Instance
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists all instances in a project for either a specified location
# or for all locations.
# @param [String] parent
# The project and location for which to retrieve instance information,
# in the format projects/`project_id`/locations/`location`. In Cloud
# Filestore, locations map to GCP zones, for example **us-west1-b**. To
# retrieve instance information for all locations, use "-" for the `location`
# value.
# @param [String] filter
# List filter.
# @param [String] order_by
# Sort results. Supported values are "name", "name desc" or "" (unsorted).
# @param [Fixnum] page_size
# The maximum number of items to return.
# @param [String] page_token
# The next_page_token value to use if there are additional
# results to retrieve for this list request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::FileV1beta1::ListInstancesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FileV1beta1::ListInstancesResponse]
#
# @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_instances(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/instances', options)
command.response_representation = Google::Apis::FileV1beta1::ListInstancesResponse::Representation
command.response_class = Google::Apis::FileV1beta1::ListInstancesResponse
command.params['parent'] = parent unless parent.nil?
command.query['filter'] = filter unless filter.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Updates the settings of a specific instance.
# @param [String] name
# Output only.
# The resource name of the instance, in the format
# projects/`project_id`/locations/`location_id`/instances/`instance_id`.
# @param [Google::Apis::FileV1beta1::Instance] instance_object
# @param [String] update_mask
# Mask of fields to update. At least one path must be supplied in this
# field. The elements of the repeated paths field may only include these
# fields:
# "description"
# @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::FileV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FileV1beta1::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_project_location_instance(name, instance_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::FileV1beta1::Instance::Representation
command.request_object = instance_object
command.response_representation = Google::Apis::FileV1beta1::Operation::Representation
command.response_class = Google::Apis::FileV1beta1::Operation
command.params['name'] = name unless name.nil?
command.query['updateMask'] = update_mask unless update_mask.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Starts asynchronous cancellation on a long-running operation. The server
# makes a best effort to cancel the operation, but success is not
# guaranteed. If the server doesn't support this method, it returns
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
# Operations.GetOperation or
# other methods to check whether the cancellation succeeded or whether the
# operation completed despite cancellation. On successful cancellation,
# the operation is not deleted; instead, it becomes an operation with
# an Operation.error value with a google.rpc.Status.code of 1,
# corresponding to `Code.CANCELLED`.
# @param [String] name
# The name of the operation resource to be cancelled.
# @param [Google::Apis::FileV1beta1::CancelOperationRequest] cancel_operation_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::FileV1beta1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FileV1beta1::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
command.request_representation = Google::Apis::FileV1beta1::CancelOperationRequest::Representation
command.request_object = cancel_operation_request_object
command.response_representation = Google::Apis::FileV1beta1::Empty::Representation
command.response_class = Google::Apis::FileV1beta1::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
# Deletes a long-running operation. This method indicates that the client is
# no longer interested in the operation result. It does not cancel the
# operation. If the server doesn't support this method, it returns
# `google.rpc.Code.UNIMPLEMENTED`.
# @param [String] name
# The name of the operation resource to be deleted.
# @param [String] 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::FileV1beta1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FileV1beta1::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_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::FileV1beta1::Empty::Representation
command.response_class = Google::Apis::FileV1beta1::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
# Gets the latest state of a long-running operation. Clients can use this
# method to poll the operation result at intervals as recommended by the API
# service.
# @param [String] name
# The name of the operation resource.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::FileV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FileV1beta1::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::FileV1beta1::Operation::Representation
command.response_class = Google::Apis::FileV1beta1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists operations that match the specified filter in the request. If the
# server doesn't support this method, it returns `UNIMPLEMENTED`.
# NOTE: the `name` binding allows API services to override the binding
# to use different resource name schemes, such as `users/*/operations`. To
# override the binding, API services can add a binding such as
# `"/v1/`name=users/*`/operations"` to their service configuration.
# For backwards compatibility, the default name includes the operations
# collection id, however overriding users must ensure the name binding
# is the parent resource, without the operations collection id.
# @param [String] name
# The name of the operation's parent resource.
# @param [String] filter
# The standard list filter.
# @param [Fixnum] page_size
# The standard list page size.
# @param [String] page_token
# The standard list page token.
# @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::FileV1beta1::ListOperationsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FileV1beta1::ListOperationsResponse]
#
# @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_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
command.response_representation = Google::Apis::FileV1beta1::ListOperationsResponse::Representation
command.response_class = Google::Apis::FileV1beta1::ListOperationsResponse
command.params['name'] = name unless name.nil?
command.query['filter'] = filter unless filter.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
protected
def apply_command_defaults(command)
command.query['key'] = key unless key.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
end
end
end
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV3
VERSION = 'V3'
REVISION = '20180821'
REVISION = '20180906'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -916,9 +916,9 @@ module Google
# @return [Array<Google::Apis::JobsV3::CustomAttributeHistogramRequest>]
attr_accessor :custom_attribute_histogram_facets
# Optional. Specifies the simple type of histogram facets, for example,
# `COMPANY_SIZE`, `EMPLOYMENT_TYPE` etc. This field is equivalent to
# GetHistogramRequest.
# Optional.
# Specifies the simple type of histogram facets, for example,
# `COMPANY_SIZE`, `EMPLOYMENT_TYPE` etc.
# Corresponds to the JSON property `simpleHistogramFacets`
# @return [Array<String>]
attr_accessor :simple_histogram_facets
@ -2249,27 +2249,26 @@ module Google
# * "relevance desc": By relevance descending, as determined by the API
# algorithms. Relevance thresholding of query results is only available
# with this ordering.
# * "posting_publish_time desc": By Job.posting_publish_time
# descending.
# * "posting_publish_time desc": By Job.posting_publish_time descending.
# * "posting_update_time desc": By Job.posting_update_time descending.
# * "title": By Job.title ascending.
# * "title desc": By Job.title descending.
# * "annualized_base_compensation": By job's
# CompensationInfo.annualized_base_compensation ascending. If job's
# annualized base compensation is unspecified, they are put at the end of
# search result.
# CompensationInfo.annualized_base_compensation_range ascending. Jobs
# whose annualized base compensation is unspecified are put at the end of
# search results.
# * "annualized_base_compensation desc": By job's
# CompensationInfo.annualized_base_compensation descending. If job's
# annualized base compensation is unspecified, they are put at the end of
# search result.
# CompensationInfo.annualized_base_compensation_range descending. Jobs
# whose annualized base compensation is unspecified are put at the end of
# search results.
# * "annualized_total_compensation": By job's
# CompensationInfo.annualized_total_compensation ascending. If job's
# annualized total compensation is unspecified, they are put at the end
# of search result.
# CompensationInfo.annualized_total_compensation_range ascending. Jobs
# whose annualized base compensation is unspecified are put at the end of
# search results.
# * "annualized_total_compensation desc": By job's
# CompensationInfo.annualized_total_compensation descending. If job's
# annualized total compensation is unspecified, they are put at the end
# of search result.
# CompensationInfo.annualized_total_compensation_range descending. Jobs
# whose annualized base compensation is unspecified are put at the end of
# search results.
# Corresponds to the JSON property `orderBy`
# @return [String]
attr_accessor :order_by

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/cloud-test-lab/
module TestingV1
VERSION = 'V1'
REVISION = '20180901'
REVISION = '20180906'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -581,13 +581,13 @@ module Google
# @return [String]
attr_accessor :id
# Represents a whole calendar date, e.g. date of birth. The time of day and
# time zone are either specified elsewhere or are not significant. The date
# is relative to the Proleptic Gregorian Calendar. The day may be 0 to
# represent a year and month where the day is not significant, e.g. credit card
# expiration date. The year may be 0 to represent a month and day independent
# of year, e.g. anniversary date. Related types are google.type.TimeOfDay
# and `google.protobuf.Timestamp`.
# Represents a whole calendar date, for example date of birth. The time of day
# and time zone are either specified elsewhere or are not significant. The date
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to
# represent a year and month where the day is not significant, for example
# credit card expiration date. The year can be 0 to represent a month and day
# independent of year, for example anniversary date. Related types are
# google.type.TimeOfDay and `google.protobuf.Timestamp`.
# Corresponds to the JSON property `releaseDate`
# @return [Google::Apis::TestingV1::Date]
attr_accessor :release_date
@ -788,13 +788,13 @@ module Google
end
end
# Represents a whole calendar date, e.g. date of birth. The time of day and
# time zone are either specified elsewhere or are not significant. The date
# is relative to the Proleptic Gregorian Calendar. The day may be 0 to
# represent a year and month where the day is not significant, e.g. credit card
# expiration date. The year may be 0 to represent a month and day independent
# of year, e.g. anniversary date. Related types are google.type.TimeOfDay
# and `google.protobuf.Timestamp`.
# Represents a whole calendar date, for example date of birth. The time of day
# and time zone are either specified elsewhere or are not significant. The date
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to
# represent a year and month where the day is not significant, for example
# credit card expiration date. The year can be 0 to represent a month and day
# independent of year, for example anniversary date. Related types are
# google.type.TimeOfDay and `google.protobuf.Timestamp`.
class Date
include Google::Apis::Core::Hashable

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/vision/
module VisionV1
VERSION = 'V1'
REVISION = '20180817'
REVISION = '20180907'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -169,6 +169,12 @@ module Google
# @return [Array<Google::Apis::VisionV1::EntityAnnotation>]
attr_accessor :landmark_annotations
# If present, localized object detection has completed successfully.
# This will be sorted descending by confidence score.
# Corresponds to the JSON property `localizedObjectAnnotations`
# @return [Array<Google::Apis::VisionV1::LocalizedObjectAnnotation>]
attr_accessor :localized_object_annotations
# If present, logo detection has completed successfully.
# Corresponds to the JSON property `logoAnnotations`
# @return [Array<Google::Apis::VisionV1::EntityAnnotation>]
@ -205,6 +211,7 @@ module Google
@image_properties_annotation = args[:image_properties_annotation] if args.key?(:image_properties_annotation)
@label_annotations = args[:label_annotations] if args.key?(:label_annotations)
@landmark_annotations = args[:landmark_annotations] if args.key?(:landmark_annotations)
@localized_object_annotations = args[:localized_object_annotations] if args.key?(:localized_object_annotations)
@logo_annotations = args[:logo_annotations] if args.key?(:logo_annotations)
@safe_search_annotation = args[:safe_search_annotation] if args.key?(:safe_search_annotation)
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
@ -1259,6 +1266,12 @@ module Google
# @return [Array<Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1EntityAnnotation>]
attr_accessor :landmark_annotations
# If present, localized object detection has completed successfully.
# This will be sorted descending by confidence score.
# Corresponds to the JSON property `localizedObjectAnnotations`
# @return [Array<Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation>]
attr_accessor :localized_object_annotations
# If present, logo detection has completed successfully.
# Corresponds to the JSON property `logoAnnotations`
# @return [Array<Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1EntityAnnotation>]
@ -1295,6 +1308,7 @@ module Google
@image_properties_annotation = args[:image_properties_annotation] if args.key?(:image_properties_annotation)
@label_annotations = args[:label_annotations] if args.key?(:label_annotations)
@landmark_annotations = args[:landmark_annotations] if args.key?(:landmark_annotations)
@localized_object_annotations = args[:localized_object_annotations] if args.key?(:localized_object_annotations)
@logo_annotations = args[:logo_annotations] if args.key?(:logo_annotations)
@safe_search_annotation = args[:safe_search_annotation] if args.key?(:safe_search_annotation)
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
@ -1944,6 +1958,51 @@ module Google
end
end
# Set of detected objects with bounding boxes.
class GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation
include Google::Apis::Core::Hashable
# A bounding polygon for the detected image annotation.
# Corresponds to the JSON property `boundingPoly`
# @return [Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1BoundingPoly]
attr_accessor :bounding_poly
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more
# information, see
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
# Corresponds to the JSON property `languageCode`
# @return [String]
attr_accessor :language_code
# Object ID that should align with EntityAnnotation mid.
# Corresponds to the JSON property `mid`
# @return [String]
attr_accessor :mid
# Object name, expressed in its `language_code` language.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Score of the result. Range [0, 1].
# Corresponds to the JSON property `score`
# @return [Float]
attr_accessor :score
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
@language_code = args[:language_code] if args.key?(:language_code)
@mid = args[:mid] if args.key?(:mid)
@name = args[:name] if args.key?(:name)
@score = args[:score] if args.key?(:score)
end
end
# Detected entity location information.
class GoogleCloudVisionV1p1beta1LocationInfo
include Google::Apis::Core::Hashable
@ -2738,6 +2797,12 @@ module Google
# @return [Array<Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1EntityAnnotation>]
attr_accessor :landmark_annotations
# If present, localized object detection has completed successfully.
# This will be sorted descending by confidence score.
# Corresponds to the JSON property `localizedObjectAnnotations`
# @return [Array<Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation>]
attr_accessor :localized_object_annotations
# If present, logo detection has completed successfully.
# Corresponds to the JSON property `logoAnnotations`
# @return [Array<Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1EntityAnnotation>]
@ -2774,6 +2839,7 @@ module Google
@image_properties_annotation = args[:image_properties_annotation] if args.key?(:image_properties_annotation)
@label_annotations = args[:label_annotations] if args.key?(:label_annotations)
@landmark_annotations = args[:landmark_annotations] if args.key?(:landmark_annotations)
@localized_object_annotations = args[:localized_object_annotations] if args.key?(:localized_object_annotations)
@logo_annotations = args[:logo_annotations] if args.key?(:logo_annotations)
@safe_search_annotation = args[:safe_search_annotation] if args.key?(:safe_search_annotation)
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
@ -3429,6 +3495,51 @@ module Google
end
end
# Set of detected objects with bounding boxes.
class GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation
include Google::Apis::Core::Hashable
# A bounding polygon for the detected image annotation.
# Corresponds to the JSON property `boundingPoly`
# @return [Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly]
attr_accessor :bounding_poly
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more
# information, see
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
# Corresponds to the JSON property `languageCode`
# @return [String]
attr_accessor :language_code
# Object ID that should align with EntityAnnotation mid.
# Corresponds to the JSON property `mid`
# @return [String]
attr_accessor :mid
# Object name, expressed in its `language_code` language.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Score of the result. Range [0, 1].
# Corresponds to the JSON property `score`
# @return [Float]
attr_accessor :score
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
@language_code = args[:language_code] if args.key?(:language_code)
@mid = args[:mid] if args.key?(:mid)
@name = args[:name] if args.key?(:name)
@score = args[:score] if args.key?(:score)
end
end
# Detected entity location information.
class GoogleCloudVisionV1p2beta1LocationInfo
include Google::Apis::Core::Hashable
@ -5420,8 +5531,6 @@ module Google
# A confidence level on the match, ranging from 0 (no confidence) to
# 1 (full confidence).
# This field is returned only if `view` is set to `FULL` in
# the request.
# Corresponds to the JSON property `score`
# @return [Float]
attr_accessor :score
@ -6259,6 +6368,51 @@ module Google
end
end
# Set of detected objects with bounding boxes.
class LocalizedObjectAnnotation
include Google::Apis::Core::Hashable
# A bounding polygon for the detected image annotation.
# Corresponds to the JSON property `boundingPoly`
# @return [Google::Apis::VisionV1::BoundingPoly]
attr_accessor :bounding_poly
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more
# information, see
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
# Corresponds to the JSON property `languageCode`
# @return [String]
attr_accessor :language_code
# Object ID that should align with EntityAnnotation mid.
# Corresponds to the JSON property `mid`
# @return [String]
attr_accessor :mid
# Object name, expressed in its `language_code` language.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Score of the result. Range [0, 1].
# Corresponds to the JSON property `score`
# @return [Float]
attr_accessor :score
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
@language_code = args[:language_code] if args.key?(:language_code)
@mid = args[:mid] if args.key?(:mid)
@name = args[:name] if args.key?(:name)
@score = args[:score] if args.key?(:score)
end
end
# Detected entity location information.
class LocationInfo
include Google::Apis::Core::Hashable

View File

@ -286,6 +286,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p1beta1LocationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -514,6 +520,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p2beta1LocationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -982,6 +994,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class LocalizedObjectAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LocationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1155,6 +1173,8 @@ module Google
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1::LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1::LocalizedObjectAnnotation::Representation
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation
@ -1419,6 +1439,8 @@ module Google
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1EntityAnnotation::Representation
collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation::Representation
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1EntityAnnotation::Representation
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1SafeSearchAnnotation::Representation
@ -1594,6 +1616,18 @@ module Google
end
end
class GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
property :language_code, as: 'languageCode'
property :mid, as: 'mid'
property :name, as: 'name'
property :score, as: 'score'
end
end
class GoogleCloudVisionV1p1beta1LocationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1828,6 +1862,8 @@ module Google
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1EntityAnnotation::Representation
collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation::Representation
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1EntityAnnotation::Representation
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1SafeSearchAnnotation::Representation
@ -2005,6 +2041,18 @@ module Google
end
end
class GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
property :language_code, as: 'languageCode'
property :mid, as: 'mid'
property :name, as: 'name'
property :score, as: 'score'
end
end
class GoogleCloudVisionV1p2beta1LocationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2812,6 +2860,18 @@ module Google
end
end
class LocalizedObjectAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
property :language_code, as: 'languageCode'
property :mid, as: 'mid'
property :name, as: 'name'
property :score, as: 'score'
end
end
class LocationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/vision/
module VisionV1p1beta1
VERSION = 'V1p1beta1'
REVISION = '20180817'
REVISION = '20180907'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -137,6 +137,12 @@ module Google
# @return [Array<Google::Apis::VisionV1p1beta1::EntityAnnotation>]
attr_accessor :landmark_annotations
# If present, localized object detection has completed successfully.
# This will be sorted descending by confidence score.
# Corresponds to the JSON property `localizedObjectAnnotations`
# @return [Array<Google::Apis::VisionV1p1beta1::LocalizedObjectAnnotation>]
attr_accessor :localized_object_annotations
# If present, logo detection has completed successfully.
# Corresponds to the JSON property `logoAnnotations`
# @return [Array<Google::Apis::VisionV1p1beta1::EntityAnnotation>]
@ -173,6 +179,7 @@ module Google
@image_properties_annotation = args[:image_properties_annotation] if args.key?(:image_properties_annotation)
@label_annotations = args[:label_annotations] if args.key?(:label_annotations)
@landmark_annotations = args[:landmark_annotations] if args.key?(:landmark_annotations)
@localized_object_annotations = args[:localized_object_annotations] if args.key?(:localized_object_annotations)
@logo_annotations = args[:logo_annotations] if args.key?(:logo_annotations)
@safe_search_annotation = args[:safe_search_annotation] if args.key?(:safe_search_annotation)
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
@ -1072,6 +1079,12 @@ module Google
# @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation>]
attr_accessor :landmark_annotations
# If present, localized object detection has completed successfully.
# This will be sorted descending by confidence score.
# Corresponds to the JSON property `localizedObjectAnnotations`
# @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation>]
attr_accessor :localized_object_annotations
# If present, logo detection has completed successfully.
# Corresponds to the JSON property `logoAnnotations`
# @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation>]
@ -1108,6 +1121,7 @@ module Google
@image_properties_annotation = args[:image_properties_annotation] if args.key?(:image_properties_annotation)
@label_annotations = args[:label_annotations] if args.key?(:label_annotations)
@landmark_annotations = args[:landmark_annotations] if args.key?(:landmark_annotations)
@localized_object_annotations = args[:localized_object_annotations] if args.key?(:localized_object_annotations)
@logo_annotations = args[:logo_annotations] if args.key?(:logo_annotations)
@safe_search_annotation = args[:safe_search_annotation] if args.key?(:safe_search_annotation)
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
@ -2059,6 +2073,51 @@ module Google
end
end
# Set of detected objects with bounding boxes.
class GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation
include Google::Apis::Core::Hashable
# A bounding polygon for the detected image annotation.
# Corresponds to the JSON property `boundingPoly`
# @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly]
attr_accessor :bounding_poly
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more
# information, see
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
# Corresponds to the JSON property `languageCode`
# @return [String]
attr_accessor :language_code
# Object ID that should align with EntityAnnotation mid.
# Corresponds to the JSON property `mid`
# @return [String]
attr_accessor :mid
# Object name, expressed in its `language_code` language.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Score of the result. Range [0, 1].
# Corresponds to the JSON property `score`
# @return [Float]
attr_accessor :score
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
@language_code = args[:language_code] if args.key?(:language_code)
@mid = args[:mid] if args.key?(:mid)
@name = args[:name] if args.key?(:name)
@score = args[:score] if args.key?(:score)
end
end
# Detected entity location information.
class GoogleCloudVisionV1p1beta1LocationInfo
include Google::Apis::Core::Hashable
@ -2873,6 +2932,12 @@ module Google
# @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1EntityAnnotation>]
attr_accessor :landmark_annotations
# If present, localized object detection has completed successfully.
# This will be sorted descending by confidence score.
# Corresponds to the JSON property `localizedObjectAnnotations`
# @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation>]
attr_accessor :localized_object_annotations
# If present, logo detection has completed successfully.
# Corresponds to the JSON property `logoAnnotations`
# @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1EntityAnnotation>]
@ -2909,6 +2974,7 @@ module Google
@image_properties_annotation = args[:image_properties_annotation] if args.key?(:image_properties_annotation)
@label_annotations = args[:label_annotations] if args.key?(:label_annotations)
@landmark_annotations = args[:landmark_annotations] if args.key?(:landmark_annotations)
@localized_object_annotations = args[:localized_object_annotations] if args.key?(:localized_object_annotations)
@logo_annotations = args[:logo_annotations] if args.key?(:logo_annotations)
@safe_search_annotation = args[:safe_search_annotation] if args.key?(:safe_search_annotation)
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
@ -3564,6 +3630,51 @@ module Google
end
end
# Set of detected objects with bounding boxes.
class GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation
include Google::Apis::Core::Hashable
# A bounding polygon for the detected image annotation.
# Corresponds to the JSON property `boundingPoly`
# @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly]
attr_accessor :bounding_poly
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more
# information, see
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
# Corresponds to the JSON property `languageCode`
# @return [String]
attr_accessor :language_code
# Object ID that should align with EntityAnnotation mid.
# Corresponds to the JSON property `mid`
# @return [String]
attr_accessor :mid
# Object name, expressed in its `language_code` language.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Score of the result. Range [0, 1].
# Corresponds to the JSON property `score`
# @return [Float]
attr_accessor :score
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
@language_code = args[:language_code] if args.key?(:language_code)
@mid = args[:mid] if args.key?(:mid)
@name = args[:name] if args.key?(:name)
@score = args[:score] if args.key?(:score)
end
end
# Detected entity location information.
class GoogleCloudVisionV1p2beta1LocationInfo
include Google::Apis::Core::Hashable
@ -5555,8 +5666,6 @@ module Google
# A confidence level on the match, ranging from 0 (no confidence) to
# 1 (full confidence).
# This field is returned only if `view` is set to `FULL` in
# the request.
# Corresponds to the JSON property `score`
# @return [Float]
attr_accessor :score
@ -6222,6 +6331,51 @@ module Google
end
end
# Set of detected objects with bounding boxes.
class LocalizedObjectAnnotation
include Google::Apis::Core::Hashable
# A bounding polygon for the detected image annotation.
# Corresponds to the JSON property `boundingPoly`
# @return [Google::Apis::VisionV1p1beta1::BoundingPoly]
attr_accessor :bounding_poly
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more
# information, see
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
# Corresponds to the JSON property `languageCode`
# @return [String]
attr_accessor :language_code
# Object ID that should align with EntityAnnotation mid.
# Corresponds to the JSON property `mid`
# @return [String]
attr_accessor :mid
# Object name, expressed in its `language_code` language.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Score of the result. Range [0, 1].
# Corresponds to the JSON property `score`
# @return [Float]
attr_accessor :score
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
@language_code = args[:language_code] if args.key?(:language_code)
@mid = args[:mid] if args.key?(:mid)
@name = args[:name] if args.key?(:name)
@score = args[:score] if args.key?(:score)
end
end
# Detected entity location information.
class LocationInfo
include Google::Apis::Core::Hashable

View File

@ -298,6 +298,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p1beta1LocationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -532,6 +538,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p2beta1LocationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -970,6 +982,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class LocalizedObjectAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LocationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1125,6 +1143,8 @@ module Google
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p1beta1::EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::EntityAnnotation::Representation
collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1p1beta1::LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1p1beta1::LocalizedObjectAnnotation::Representation
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1p1beta1::EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::EntityAnnotation::Representation
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p1beta1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1p1beta1::SafeSearchAnnotation::Representation
@ -1335,6 +1355,8 @@ module Google
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation::Representation
collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation::Representation
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation::Representation
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1SafeSearchAnnotation::Representation
@ -1604,6 +1626,18 @@ module Google
end
end
class GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
property :language_code, as: 'languageCode'
property :mid, as: 'mid'
property :name, as: 'name'
property :score, as: 'score'
end
end
class GoogleCloudVisionV1p1beta1LocationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1845,6 +1879,8 @@ module Google
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1EntityAnnotation::Representation
collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation::Representation
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1EntityAnnotation::Representation
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1SafeSearchAnnotation::Representation
@ -2022,6 +2058,18 @@ module Google
end
end
class GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
property :language_code, as: 'languageCode'
property :mid, as: 'mid'
property :name, as: 'name'
property :score, as: 'score'
end
end
class GoogleCloudVisionV1p2beta1LocationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2780,6 +2828,18 @@ module Google
end
end
class LocalizedObjectAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
property :language_code, as: 'languageCode'
property :mid, as: 'mid'
property :name, as: 'name'
property :score, as: 'score'
end
end
class LocationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/vision/
module VisionV1p2beta1
VERSION = 'V1p2beta1'
REVISION = '20180817'
REVISION = '20180907'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -137,6 +137,12 @@ module Google
# @return [Array<Google::Apis::VisionV1p2beta1::EntityAnnotation>]
attr_accessor :landmark_annotations
# If present, localized object detection has completed successfully.
# This will be sorted descending by confidence score.
# Corresponds to the JSON property `localizedObjectAnnotations`
# @return [Array<Google::Apis::VisionV1p2beta1::LocalizedObjectAnnotation>]
attr_accessor :localized_object_annotations
# If present, logo detection has completed successfully.
# Corresponds to the JSON property `logoAnnotations`
# @return [Array<Google::Apis::VisionV1p2beta1::EntityAnnotation>]
@ -173,6 +179,7 @@ module Google
@image_properties_annotation = args[:image_properties_annotation] if args.key?(:image_properties_annotation)
@label_annotations = args[:label_annotations] if args.key?(:label_annotations)
@landmark_annotations = args[:landmark_annotations] if args.key?(:landmark_annotations)
@localized_object_annotations = args[:localized_object_annotations] if args.key?(:localized_object_annotations)
@logo_annotations = args[:logo_annotations] if args.key?(:logo_annotations)
@safe_search_annotation = args[:safe_search_annotation] if args.key?(:safe_search_annotation)
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
@ -1040,6 +1047,12 @@ module Google
# @return [Array<Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1EntityAnnotation>]
attr_accessor :landmark_annotations
# If present, localized object detection has completed successfully.
# This will be sorted descending by confidence score.
# Corresponds to the JSON property `localizedObjectAnnotations`
# @return [Array<Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation>]
attr_accessor :localized_object_annotations
# If present, logo detection has completed successfully.
# Corresponds to the JSON property `logoAnnotations`
# @return [Array<Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1EntityAnnotation>]
@ -1076,6 +1089,7 @@ module Google
@image_properties_annotation = args[:image_properties_annotation] if args.key?(:image_properties_annotation)
@label_annotations = args[:label_annotations] if args.key?(:label_annotations)
@landmark_annotations = args[:landmark_annotations] if args.key?(:landmark_annotations)
@localized_object_annotations = args[:localized_object_annotations] if args.key?(:localized_object_annotations)
@logo_annotations = args[:logo_annotations] if args.key?(:logo_annotations)
@safe_search_annotation = args[:safe_search_annotation] if args.key?(:safe_search_annotation)
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
@ -1725,6 +1739,51 @@ module Google
end
end
# Set of detected objects with bounding boxes.
class GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation
include Google::Apis::Core::Hashable
# A bounding polygon for the detected image annotation.
# Corresponds to the JSON property `boundingPoly`
# @return [Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1BoundingPoly]
attr_accessor :bounding_poly
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more
# information, see
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
# Corresponds to the JSON property `languageCode`
# @return [String]
attr_accessor :language_code
# Object ID that should align with EntityAnnotation mid.
# Corresponds to the JSON property `mid`
# @return [String]
attr_accessor :mid
# Object name, expressed in its `language_code` language.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Score of the result. Range [0, 1].
# Corresponds to the JSON property `score`
# @return [Float]
attr_accessor :score
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
@language_code = args[:language_code] if args.key?(:language_code)
@mid = args[:mid] if args.key?(:mid)
@name = args[:name] if args.key?(:name)
@score = args[:score] if args.key?(:score)
end
end
# Detected entity location information.
class GoogleCloudVisionV1p1beta1LocationInfo
include Google::Apis::Core::Hashable
@ -2551,6 +2610,12 @@ module Google
# @return [Array<Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1EntityAnnotation>]
attr_accessor :landmark_annotations
# If present, localized object detection has completed successfully.
# This will be sorted descending by confidence score.
# Corresponds to the JSON property `localizedObjectAnnotations`
# @return [Array<Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation>]
attr_accessor :localized_object_annotations
# If present, logo detection has completed successfully.
# Corresponds to the JSON property `logoAnnotations`
# @return [Array<Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1EntityAnnotation>]
@ -2587,6 +2652,7 @@ module Google
@image_properties_annotation = args[:image_properties_annotation] if args.key?(:image_properties_annotation)
@label_annotations = args[:label_annotations] if args.key?(:label_annotations)
@landmark_annotations = args[:landmark_annotations] if args.key?(:landmark_annotations)
@localized_object_annotations = args[:localized_object_annotations] if args.key?(:localized_object_annotations)
@logo_annotations = args[:logo_annotations] if args.key?(:logo_annotations)
@safe_search_annotation = args[:safe_search_annotation] if args.key?(:safe_search_annotation)
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
@ -3544,6 +3610,51 @@ module Google
end
end
# Set of detected objects with bounding boxes.
class GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation
include Google::Apis::Core::Hashable
# A bounding polygon for the detected image annotation.
# Corresponds to the JSON property `boundingPoly`
# @return [Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1BoundingPoly]
attr_accessor :bounding_poly
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more
# information, see
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
# Corresponds to the JSON property `languageCode`
# @return [String]
attr_accessor :language_code
# Object ID that should align with EntityAnnotation mid.
# Corresponds to the JSON property `mid`
# @return [String]
attr_accessor :mid
# Object name, expressed in its `language_code` language.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Score of the result. Range [0, 1].
# Corresponds to the JSON property `score`
# @return [Float]
attr_accessor :score
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
@language_code = args[:language_code] if args.key?(:language_code)
@mid = args[:mid] if args.key?(:mid)
@name = args[:name] if args.key?(:name)
@score = args[:score] if args.key?(:score)
end
end
# Detected entity location information.
class GoogleCloudVisionV1p2beta1LocationInfo
include Google::Apis::Core::Hashable
@ -5555,8 +5666,6 @@ module Google
# A confidence level on the match, ranging from 0 (no confidence) to
# 1 (full confidence).
# This field is returned only if `view` is set to `FULL` in
# the request.
# Corresponds to the JSON property `score`
# @return [Float]
attr_accessor :score
@ -6222,6 +6331,51 @@ module Google
end
end
# Set of detected objects with bounding boxes.
class LocalizedObjectAnnotation
include Google::Apis::Core::Hashable
# A bounding polygon for the detected image annotation.
# Corresponds to the JSON property `boundingPoly`
# @return [Google::Apis::VisionV1p2beta1::BoundingPoly]
attr_accessor :bounding_poly
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more
# information, see
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
# Corresponds to the JSON property `languageCode`
# @return [String]
attr_accessor :language_code
# Object ID that should align with EntityAnnotation mid.
# Corresponds to the JSON property `mid`
# @return [String]
attr_accessor :mid
# Object name, expressed in its `language_code` language.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Score of the result. Range [0, 1].
# Corresponds to the JSON property `score`
# @return [Float]
attr_accessor :score
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
@language_code = args[:language_code] if args.key?(:language_code)
@mid = args[:mid] if args.key?(:mid)
@name = args[:name] if args.key?(:name)
@score = args[:score] if args.key?(:score)
end
end
# Detected entity location information.
class LocationInfo
include Google::Apis::Core::Hashable

View File

@ -232,6 +232,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p1beta1LocationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -526,6 +532,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p2beta1LocationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -970,6 +982,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class LocalizedObjectAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LocationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1125,6 +1143,8 @@ module Google
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p2beta1::EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::EntityAnnotation::Representation
collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1p2beta1::LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1p2beta1::LocalizedObjectAnnotation::Representation
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1p2beta1::EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::EntityAnnotation::Representation
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p2beta1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1p2beta1::SafeSearchAnnotation::Representation
@ -1323,6 +1343,8 @@ module Google
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1EntityAnnotation::Representation
collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation::Representation
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1EntityAnnotation::Representation
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1SafeSearchAnnotation::Representation
@ -1498,6 +1520,18 @@ module Google
end
end
class GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
property :language_code, as: 'languageCode'
property :mid, as: 'mid'
property :name, as: 'name'
property :score, as: 'score'
end
end
class GoogleCloudVisionV1p1beta1LocationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1744,6 +1778,8 @@ module Google
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1EntityAnnotation::Representation
collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation::Representation
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1EntityAnnotation::Representation
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1SafeSearchAnnotation::Representation
@ -2015,6 +2051,18 @@ module Google
end
end
class GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
property :language_code, as: 'languageCode'
property :mid, as: 'mid'
property :name, as: 'name'
property :score, as: 'score'
end
end
class GoogleCloudVisionV1p2beta1LocationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2780,6 +2828,18 @@ module Google
end
end
class LocalizedObjectAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p2beta1::BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::BoundingPoly::Representation
property :language_code, as: 'languageCode'
property :mid, as: 'mid'
property :name, as: 'name'
property :score, as: 'score'
end
end
class LocationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation