Autogenerated update (2019-05-10)

Update:
- cloudsearch_v1
- dataflow_v1b3
- dataproc_v1
- dataproc_v1beta2
- dialogflow_v2beta1
- logging_v2
- monitoring_v3
- remotebuildexecution_v1
- remotebuildexecution_v1alpha
- remotebuildexecution_v2
- serviceconsumermanagement_v1
- servicemanagement_v1
- servicenetworking_v1
- servicenetworking_v1beta
- serviceusage_v1
- serviceusage_v1beta1
- sheets_v4
- toolresults_v1beta3
- tpu_v1
- tpu_v1alpha1
- vision_v1
- vision_v1p1beta1
This commit is contained in:
Google APIs 2019-05-10 00:37:26 +00:00
parent 69fb4a0b11
commit cb0b81f794
299 changed files with 14537 additions and 7263 deletions

View File

@ -47801,6 +47801,7 @@
"/dataflow:v1b3/Snapshot/id": id
"/dataflow:v1b3/Snapshot/projectId": project_id
"/dataflow:v1b3/Snapshot/sourceJobId": source_job_id
"/dataflow:v1b3/Snapshot/state": state
"/dataflow:v1b3/Snapshot/ttl": ttl
"/dataflow:v1b3/SnapshotJobRequest": snapshot_job_request
"/dataflow:v1b3/SnapshotJobRequest/location": location
@ -48026,10 +48027,12 @@
"/dataflow:v1b3/WorkItemStatus/totalThrottlerWaitTimeSeconds": total_throttler_wait_time_seconds
"/dataflow:v1b3/WorkItemStatus/workItemId": work_item_id
"/dataflow:v1b3/WorkerHealthReport": worker_health_report
"/dataflow:v1b3/WorkerHealthReport/msg": msg
"/dataflow:v1b3/WorkerHealthReport/pods": pods
"/dataflow:v1b3/WorkerHealthReport/pods/pod": pod
"/dataflow:v1b3/WorkerHealthReport/pods/pod/pod": pod
"/dataflow:v1b3/WorkerHealthReport/reportInterval": report_interval
"/dataflow:v1b3/WorkerHealthReport/vmIsBroken": vm_is_broken
"/dataflow:v1b3/WorkerHealthReport/vmIsHealthy": vm_is_healthy
"/dataflow:v1b3/WorkerHealthReport/vmStartupTime": vm_startup_time
"/dataflow:v1b3/WorkerHealthReportResponse": worker_health_report_response
@ -48819,6 +48822,12 @@
"/dataproc:v1/YarnApplication/progress": progress
"/dataproc:v1/YarnApplication/state": state
"/dataproc:v1/YarnApplication/trackingUrl": tracking_url
"/dataproc:v1/dataproc.projects.locations.autoscalingPolicies.getIamPolicy": get_project_location_autoscaling_policy_iam_policy
"/dataproc:v1/dataproc.projects.locations.autoscalingPolicies.getIamPolicy/resource": resource
"/dataproc:v1/dataproc.projects.locations.autoscalingPolicies.setIamPolicy": set_project_location_autoscaling_policy_iam_policy
"/dataproc:v1/dataproc.projects.locations.autoscalingPolicies.setIamPolicy/resource": resource
"/dataproc:v1/dataproc.projects.locations.autoscalingPolicies.testIamPermissions": test_project_location_autoscaling_policy_iam_permissions
"/dataproc:v1/dataproc.projects.locations.autoscalingPolicies.testIamPermissions/resource": resource
"/dataproc:v1/dataproc.projects.locations.workflowTemplates.create": create_project_location_workflow_template
"/dataproc:v1/dataproc.projects.locations.workflowTemplates.create/parent": parent
"/dataproc:v1/dataproc.projects.locations.workflowTemplates.delete": delete_project_location_workflow_template
@ -48844,6 +48853,12 @@
"/dataproc:v1/dataproc.projects.locations.workflowTemplates.testIamPermissions/resource": resource
"/dataproc:v1/dataproc.projects.locations.workflowTemplates.update": update_project_location_workflow_template
"/dataproc:v1/dataproc.projects.locations.workflowTemplates.update/name": name
"/dataproc:v1/dataproc.projects.regions.autoscalingPolicies.getIamPolicy": get_project_region_autoscaling_policy_iam_policy
"/dataproc:v1/dataproc.projects.regions.autoscalingPolicies.getIamPolicy/resource": resource
"/dataproc:v1/dataproc.projects.regions.autoscalingPolicies.setIamPolicy": set_project_region_autoscaling_policy_iam_policy
"/dataproc:v1/dataproc.projects.regions.autoscalingPolicies.setIamPolicy/resource": resource
"/dataproc:v1/dataproc.projects.regions.autoscalingPolicies.testIamPermissions": test_project_region_autoscaling_policy_iam_permissions
"/dataproc:v1/dataproc.projects.regions.autoscalingPolicies.testIamPermissions/resource": resource
"/dataproc:v1/dataproc.projects.regions.clusters.create": create_cluster
"/dataproc:v1/dataproc.projects.regions.clusters.create/projectId": project_id
"/dataproc:v1/dataproc.projects.regions.clusters.create/region": region
@ -84792,6 +84807,7 @@
"/logging:v2/MonitoredResourceDescriptor/displayName": display_name
"/logging:v2/MonitoredResourceDescriptor/labels": labels
"/logging:v2/MonitoredResourceDescriptor/labels/label": label
"/logging:v2/MonitoredResourceDescriptor/launchStage": launch_stage
"/logging:v2/MonitoredResourceDescriptor/name": name
"/logging:v2/MonitoredResourceDescriptor/type": type
"/logging:v2/MonitoredResourceMetadata": monitored_resource_metadata
@ -86651,6 +86667,7 @@
"/monitoring:v3/MonitoredResourceDescriptor/displayName": display_name
"/monitoring:v3/MonitoredResourceDescriptor/labels": labels
"/monitoring:v3/MonitoredResourceDescriptor/labels/label": label
"/monitoring:v3/MonitoredResourceDescriptor/launchStage": launch_stage
"/monitoring:v3/MonitoredResourceDescriptor/name": name
"/monitoring:v3/MonitoredResourceDescriptor/type": type
"/monitoring:v3/MonitoredResourceMetadata": monitored_resource_metadata
@ -95350,6 +95367,7 @@
"/serviceconsumermanagement:v1/MetricDescriptor/displayName": display_name
"/serviceconsumermanagement:v1/MetricDescriptor/labels": labels
"/serviceconsumermanagement:v1/MetricDescriptor/labels/label": label
"/serviceconsumermanagement:v1/MetricDescriptor/launchStage": launch_stage
"/serviceconsumermanagement:v1/MetricDescriptor/metadata": metadata
"/serviceconsumermanagement:v1/MetricDescriptor/metricKind": metric_kind
"/serviceconsumermanagement:v1/MetricDescriptor/name": name
@ -96142,6 +96160,9 @@
"/servicemanagement:v1/Field/options/option": option
"/servicemanagement:v1/Field/packed": packed
"/servicemanagement:v1/Field/typeUrl": type_url
"/servicemanagement:v1/FlowErrorDetails": flow_error_details
"/servicemanagement:v1/FlowErrorDetails/exceptionType": exception_type
"/servicemanagement:v1/FlowErrorDetails/flowStepId": flow_step_id
"/servicemanagement:v1/FlowOperationMetadata": flow_operation_metadata
"/servicemanagement:v1/FlowOperationMetadata/cancelState": cancel_state
"/servicemanagement:v1/FlowOperationMetadata/deadline": deadline
@ -96279,6 +96300,7 @@
"/servicemanagement:v1/MonitoredResourceDescriptor/displayName": display_name
"/servicemanagement:v1/MonitoredResourceDescriptor/labels": labels
"/servicemanagement:v1/MonitoredResourceDescriptor/labels/label": label
"/servicemanagement:v1/MonitoredResourceDescriptor/launchStage": launch_stage
"/servicemanagement:v1/MonitoredResourceDescriptor/name": name
"/servicemanagement:v1/MonitoredResourceDescriptor/type": type
"/servicemanagement:v1/Monitoring": monitoring
@ -96744,6 +96766,7 @@
"/servicenetworking:v1/MetricDescriptor/displayName": display_name
"/servicenetworking:v1/MetricDescriptor/labels": labels
"/servicenetworking:v1/MetricDescriptor/labels/label": label
"/servicenetworking:v1/MetricDescriptor/launchStage": launch_stage
"/servicenetworking:v1/MetricDescriptor/metadata": metadata
"/servicenetworking:v1/MetricDescriptor/metricKind": metric_kind
"/servicenetworking:v1/MetricDescriptor/name": name
@ -97132,6 +97155,7 @@
"/servicenetworking:v1beta/MetricDescriptor/displayName": display_name
"/servicenetworking:v1beta/MetricDescriptor/labels": labels
"/servicenetworking:v1beta/MetricDescriptor/labels/label": label
"/servicenetworking:v1beta/MetricDescriptor/launchStage": launch_stage
"/servicenetworking:v1beta/MetricDescriptor/metadata": metadata
"/servicenetworking:v1beta/MetricDescriptor/metricKind": metric_kind
"/servicenetworking:v1beta/MetricDescriptor/name": name
@ -97617,6 +97641,7 @@
"/serviceusage:v1/MetricDescriptor/displayName": display_name
"/serviceusage:v1/MetricDescriptor/labels": labels
"/serviceusage:v1/MetricDescriptor/labels/label": label
"/serviceusage:v1/MetricDescriptor/launchStage": launch_stage
"/serviceusage:v1/MetricDescriptor/metadata": metadata
"/serviceusage:v1/MetricDescriptor/metricKind": metric_kind
"/serviceusage:v1/MetricDescriptor/name": name
@ -98090,6 +98115,7 @@
"/serviceusage:v1beta1/MetricDescriptor/displayName": display_name
"/serviceusage:v1beta1/MetricDescriptor/labels": labels
"/serviceusage:v1beta1/MetricDescriptor/labels/label": label
"/serviceusage:v1beta1/MetricDescriptor/launchStage": launch_stage
"/serviceusage:v1beta1/MetricDescriptor/metadata": metadata
"/serviceusage:v1beta1/MetricDescriptor/metricKind": metric_kind
"/serviceusage:v1beta1/MetricDescriptor/name": name
@ -110786,10 +110812,18 @@
"/videointelligence:v1p3beta1/videointelligence.videos.annotate": annotate_video
"/vision:v1/AddProductToProductSetRequest": add_product_to_product_set_request
"/vision:v1/AddProductToProductSetRequest/product": product
"/vision:v1/AnnotateFileRequest": annotate_file_request
"/vision:v1/AnnotateFileRequest/features": features
"/vision:v1/AnnotateFileRequest/features/feature": feature
"/vision:v1/AnnotateFileRequest/imageContext": image_context
"/vision:v1/AnnotateFileRequest/inputConfig": input_config
"/vision:v1/AnnotateFileRequest/pages": pages
"/vision:v1/AnnotateFileRequest/pages/page": page
"/vision:v1/AnnotateFileResponse": annotate_file_response
"/vision:v1/AnnotateFileResponse/inputConfig": input_config
"/vision:v1/AnnotateFileResponse/responses": responses
"/vision:v1/AnnotateFileResponse/responses/response": response
"/vision:v1/AnnotateFileResponse/totalPages": total_pages
"/vision:v1/AnnotateImageRequest": annotate_image_request
"/vision:v1/AnnotateImageRequest/features": features
"/vision:v1/AnnotateImageRequest/features/feature": feature
@ -110830,6 +110864,18 @@
"/vision:v1/AsyncBatchAnnotateFilesResponse": async_batch_annotate_files_response
"/vision:v1/AsyncBatchAnnotateFilesResponse/responses": responses
"/vision:v1/AsyncBatchAnnotateFilesResponse/responses/response": response
"/vision:v1/AsyncBatchAnnotateImagesRequest": async_batch_annotate_images_request
"/vision:v1/AsyncBatchAnnotateImagesRequest/outputConfig": output_config
"/vision:v1/AsyncBatchAnnotateImagesRequest/requests": requests
"/vision:v1/AsyncBatchAnnotateImagesRequest/requests/request": request
"/vision:v1/AsyncBatchAnnotateImagesResponse": async_batch_annotate_images_response
"/vision:v1/AsyncBatchAnnotateImagesResponse/outputConfig": output_config
"/vision:v1/BatchAnnotateFilesRequest": batch_annotate_files_request
"/vision:v1/BatchAnnotateFilesRequest/requests": requests
"/vision:v1/BatchAnnotateFilesRequest/requests/request": request
"/vision:v1/BatchAnnotateFilesResponse": batch_annotate_files_response
"/vision:v1/BatchAnnotateFilesResponse/responses": responses
"/vision:v1/BatchAnnotateFilesResponse/responses/response": response
"/vision:v1/BatchAnnotateImagesRequest": batch_annotate_images_request
"/vision:v1/BatchAnnotateImagesRequest/requests": requests
"/vision:v1/BatchAnnotateImagesRequest/requests/request": request
@ -111101,6 +111147,7 @@
"/vision:v1/GoogleCloudVisionV1p1beta1AnnotateFileResponse/inputConfig": input_config
"/vision:v1/GoogleCloudVisionV1p1beta1AnnotateFileResponse/responses": responses
"/vision:v1/GoogleCloudVisionV1p1beta1AnnotateFileResponse/responses/response": response
"/vision:v1/GoogleCloudVisionV1p1beta1AnnotateFileResponse/totalPages": total_pages
"/vision:v1/GoogleCloudVisionV1p1beta1AnnotateImageResponse": google_cloud_vision_v1p1beta1_annotate_image_response
"/vision:v1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/context": context
"/vision:v1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/cropHintsAnnotation": crop_hints_annotation
@ -111195,6 +111242,7 @@
"/vision:v1/GoogleCloudVisionV1p1beta1ImageProperties": google_cloud_vision_v1p1beta1_image_properties
"/vision:v1/GoogleCloudVisionV1p1beta1ImageProperties/dominantColors": dominant_colors
"/vision:v1/GoogleCloudVisionV1p1beta1InputConfig": google_cloud_vision_v1p1beta1_input_config
"/vision:v1/GoogleCloudVisionV1p1beta1InputConfig/content": content
"/vision:v1/GoogleCloudVisionV1p1beta1InputConfig/gcsSource": gcs_source
"/vision:v1/GoogleCloudVisionV1p1beta1InputConfig/mimeType": mime_type
"/vision:v1/GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation": google_cloud_vision_v1p1beta1_localized_object_annotation
@ -111329,6 +111377,7 @@
"/vision:v1/GoogleCloudVisionV1p2beta1AnnotateFileResponse/inputConfig": input_config
"/vision:v1/GoogleCloudVisionV1p2beta1AnnotateFileResponse/responses": responses
"/vision:v1/GoogleCloudVisionV1p2beta1AnnotateFileResponse/responses/response": response
"/vision:v1/GoogleCloudVisionV1p2beta1AnnotateFileResponse/totalPages": total_pages
"/vision:v1/GoogleCloudVisionV1p2beta1AnnotateImageResponse": google_cloud_vision_v1p2beta1_annotate_image_response
"/vision:v1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/context": context
"/vision:v1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/cropHintsAnnotation": crop_hints_annotation
@ -111425,6 +111474,7 @@
"/vision:v1/GoogleCloudVisionV1p2beta1ImageProperties": google_cloud_vision_v1p2beta1_image_properties
"/vision:v1/GoogleCloudVisionV1p2beta1ImageProperties/dominantColors": dominant_colors
"/vision:v1/GoogleCloudVisionV1p2beta1InputConfig": google_cloud_vision_v1p2beta1_input_config
"/vision:v1/GoogleCloudVisionV1p2beta1InputConfig/content": content
"/vision:v1/GoogleCloudVisionV1p2beta1InputConfig/gcsSource": gcs_source
"/vision:v1/GoogleCloudVisionV1p2beta1InputConfig/mimeType": mime_type
"/vision:v1/GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation": google_cloud_vision_v1p2beta1_localized_object_annotation
@ -111559,6 +111609,7 @@
"/vision:v1/GoogleCloudVisionV1p3beta1AnnotateFileResponse/inputConfig": input_config
"/vision:v1/GoogleCloudVisionV1p3beta1AnnotateFileResponse/responses": responses
"/vision:v1/GoogleCloudVisionV1p3beta1AnnotateFileResponse/responses/response": response
"/vision:v1/GoogleCloudVisionV1p3beta1AnnotateFileResponse/totalPages": total_pages
"/vision:v1/GoogleCloudVisionV1p3beta1AnnotateImageResponse": google_cloud_vision_v1p3beta1_annotate_image_response
"/vision:v1/GoogleCloudVisionV1p3beta1AnnotateImageResponse/context": context
"/vision:v1/GoogleCloudVisionV1p3beta1AnnotateImageResponse/cropHintsAnnotation": crop_hints_annotation
@ -111662,6 +111713,7 @@
"/vision:v1/GoogleCloudVisionV1p3beta1ImportProductSetsResponse/statuses": statuses
"/vision:v1/GoogleCloudVisionV1p3beta1ImportProductSetsResponse/statuses/status": status
"/vision:v1/GoogleCloudVisionV1p3beta1InputConfig": google_cloud_vision_v1p3beta1_input_config
"/vision:v1/GoogleCloudVisionV1p3beta1InputConfig/content": content
"/vision:v1/GoogleCloudVisionV1p3beta1InputConfig/gcsSource": gcs_source
"/vision:v1/GoogleCloudVisionV1p3beta1InputConfig/mimeType": mime_type
"/vision:v1/GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation": google_cloud_vision_v1p3beta1_localized_object_annotation
@ -112046,6 +112098,280 @@
"/vision:v1/GoogleCloudVisionV1p4beta1Word/property": property
"/vision:v1/GoogleCloudVisionV1p4beta1Word/symbols": symbols
"/vision:v1/GoogleCloudVisionV1p4beta1Word/symbols/symbol": symbol
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateFileResponse": google_cloud_vision_v1p5beta1_annotate_file_response
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateFileResponse/inputConfig": input_config
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateFileResponse/responses": responses
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateFileResponse/responses/response": response
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateFileResponse/totalPages": total_pages
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse": google_cloud_vision_v1p5beta1_annotate_image_response
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/context": context
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/cropHintsAnnotation": crop_hints_annotation
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/error": error
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/faceAnnotations": face_annotations
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/faceAnnotations/face_annotation": face_annotation
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/fullTextAnnotation": full_text_annotation
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/imagePropertiesAnnotation": image_properties_annotation
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/labelAnnotations": label_annotations
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/labelAnnotations/label_annotation": label_annotation
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/landmarkAnnotations": landmark_annotations
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/landmarkAnnotations/landmark_annotation": landmark_annotation
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/localizedObjectAnnotations": localized_object_annotations
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/localizedObjectAnnotations/localized_object_annotation": localized_object_annotation
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/logoAnnotations": logo_annotations
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/logoAnnotations/logo_annotation": logo_annotation
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/productSearchResults": product_search_results
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/safeSearchAnnotation": safe_search_annotation
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/textAnnotations": text_annotations
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/textAnnotations/text_annotation": text_annotation
"/vision:v1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/webDetection": web_detection
"/vision:v1/GoogleCloudVisionV1p5beta1AsyncAnnotateFileResponse": google_cloud_vision_v1p5beta1_async_annotate_file_response
"/vision:v1/GoogleCloudVisionV1p5beta1AsyncAnnotateFileResponse/outputConfig": output_config
"/vision:v1/GoogleCloudVisionV1p5beta1AsyncBatchAnnotateFilesResponse": google_cloud_vision_v1p5beta1_async_batch_annotate_files_response
"/vision:v1/GoogleCloudVisionV1p5beta1AsyncBatchAnnotateFilesResponse/responses": responses
"/vision:v1/GoogleCloudVisionV1p5beta1AsyncBatchAnnotateFilesResponse/responses/response": response
"/vision:v1/GoogleCloudVisionV1p5beta1AsyncBatchAnnotateImagesResponse": google_cloud_vision_v1p5beta1_async_batch_annotate_images_response
"/vision:v1/GoogleCloudVisionV1p5beta1AsyncBatchAnnotateImagesResponse/outputConfig": output_config
"/vision:v1/GoogleCloudVisionV1p5beta1BatchAnnotateFilesResponse": google_cloud_vision_v1p5beta1_batch_annotate_files_response
"/vision:v1/GoogleCloudVisionV1p5beta1BatchAnnotateFilesResponse/responses": responses
"/vision:v1/GoogleCloudVisionV1p5beta1BatchAnnotateFilesResponse/responses/response": response
"/vision:v1/GoogleCloudVisionV1p5beta1BatchOperationMetadata": google_cloud_vision_v1p5beta1_batch_operation_metadata
"/vision:v1/GoogleCloudVisionV1p5beta1BatchOperationMetadata/endTime": end_time
"/vision:v1/GoogleCloudVisionV1p5beta1BatchOperationMetadata/state": state
"/vision:v1/GoogleCloudVisionV1p5beta1BatchOperationMetadata/submitTime": submit_time
"/vision:v1/GoogleCloudVisionV1p5beta1Block": google_cloud_vision_v1p5beta1_block
"/vision:v1/GoogleCloudVisionV1p5beta1Block/blockType": block_type
"/vision:v1/GoogleCloudVisionV1p5beta1Block/boundingBox": bounding_box
"/vision:v1/GoogleCloudVisionV1p5beta1Block/confidence": confidence
"/vision:v1/GoogleCloudVisionV1p5beta1Block/keyValuePair": key_value_pair
"/vision:v1/GoogleCloudVisionV1p5beta1Block/mergedText": merged_text
"/vision:v1/GoogleCloudVisionV1p5beta1Block/paragraphs": paragraphs
"/vision:v1/GoogleCloudVisionV1p5beta1Block/paragraphs/paragraph": paragraph
"/vision:v1/GoogleCloudVisionV1p5beta1Block/property": property
"/vision:v1/GoogleCloudVisionV1p5beta1Block/table": table
"/vision:v1/GoogleCloudVisionV1p5beta1BoundingPoly": google_cloud_vision_v1p5beta1_bounding_poly
"/vision:v1/GoogleCloudVisionV1p5beta1BoundingPoly/normalizedVertices": normalized_vertices
"/vision:v1/GoogleCloudVisionV1p5beta1BoundingPoly/normalizedVertices/normalized_vertex": normalized_vertex
"/vision:v1/GoogleCloudVisionV1p5beta1BoundingPoly/vertices": vertices
"/vision:v1/GoogleCloudVisionV1p5beta1BoundingPoly/vertices/vertex": vertex
"/vision:v1/GoogleCloudVisionV1p5beta1ColorInfo": google_cloud_vision_v1p5beta1_color_info
"/vision:v1/GoogleCloudVisionV1p5beta1ColorInfo/color": color
"/vision:v1/GoogleCloudVisionV1p5beta1ColorInfo/pixelFraction": pixel_fraction
"/vision:v1/GoogleCloudVisionV1p5beta1ColorInfo/score": score
"/vision:v1/GoogleCloudVisionV1p5beta1CropHint": google_cloud_vision_v1p5beta1_crop_hint
"/vision:v1/GoogleCloudVisionV1p5beta1CropHint/boundingPoly": bounding_poly
"/vision:v1/GoogleCloudVisionV1p5beta1CropHint/confidence": confidence
"/vision:v1/GoogleCloudVisionV1p5beta1CropHint/importanceFraction": importance_fraction
"/vision:v1/GoogleCloudVisionV1p5beta1CropHintsAnnotation": google_cloud_vision_v1p5beta1_crop_hints_annotation
"/vision:v1/GoogleCloudVisionV1p5beta1CropHintsAnnotation/cropHints": crop_hints
"/vision:v1/GoogleCloudVisionV1p5beta1CropHintsAnnotation/cropHints/crop_hint": crop_hint
"/vision:v1/GoogleCloudVisionV1p5beta1DominantColorsAnnotation": google_cloud_vision_v1p5beta1_dominant_colors_annotation
"/vision:v1/GoogleCloudVisionV1p5beta1DominantColorsAnnotation/colors": colors
"/vision:v1/GoogleCloudVisionV1p5beta1DominantColorsAnnotation/colors/color": color
"/vision:v1/GoogleCloudVisionV1p5beta1EntityAnnotation": google_cloud_vision_v1p5beta1_entity_annotation
"/vision:v1/GoogleCloudVisionV1p5beta1EntityAnnotation/boundingPoly": bounding_poly
"/vision:v1/GoogleCloudVisionV1p5beta1EntityAnnotation/confidence": confidence
"/vision:v1/GoogleCloudVisionV1p5beta1EntityAnnotation/description": description
"/vision:v1/GoogleCloudVisionV1p5beta1EntityAnnotation/locale": locale
"/vision:v1/GoogleCloudVisionV1p5beta1EntityAnnotation/locations": locations
"/vision:v1/GoogleCloudVisionV1p5beta1EntityAnnotation/locations/location": location
"/vision:v1/GoogleCloudVisionV1p5beta1EntityAnnotation/mid": mid
"/vision:v1/GoogleCloudVisionV1p5beta1EntityAnnotation/properties": properties
"/vision:v1/GoogleCloudVisionV1p5beta1EntityAnnotation/properties/property": property
"/vision:v1/GoogleCloudVisionV1p5beta1EntityAnnotation/score": score
"/vision:v1/GoogleCloudVisionV1p5beta1EntityAnnotation/topicality": topicality
"/vision:v1/GoogleCloudVisionV1p5beta1FaceAnnotation": google_cloud_vision_v1p5beta1_face_annotation
"/vision:v1/GoogleCloudVisionV1p5beta1FaceAnnotation/angerLikelihood": anger_likelihood
"/vision:v1/GoogleCloudVisionV1p5beta1FaceAnnotation/blurredLikelihood": blurred_likelihood
"/vision:v1/GoogleCloudVisionV1p5beta1FaceAnnotation/boundingPoly": bounding_poly
"/vision:v1/GoogleCloudVisionV1p5beta1FaceAnnotation/detectionConfidence": detection_confidence
"/vision:v1/GoogleCloudVisionV1p5beta1FaceAnnotation/fdBoundingPoly": fd_bounding_poly
"/vision:v1/GoogleCloudVisionV1p5beta1FaceAnnotation/headwearLikelihood": headwear_likelihood
"/vision:v1/GoogleCloudVisionV1p5beta1FaceAnnotation/joyLikelihood": joy_likelihood
"/vision:v1/GoogleCloudVisionV1p5beta1FaceAnnotation/landmarkingConfidence": landmarking_confidence
"/vision:v1/GoogleCloudVisionV1p5beta1FaceAnnotation/landmarks": landmarks
"/vision:v1/GoogleCloudVisionV1p5beta1FaceAnnotation/landmarks/landmark": landmark
"/vision:v1/GoogleCloudVisionV1p5beta1FaceAnnotation/panAngle": pan_angle
"/vision:v1/GoogleCloudVisionV1p5beta1FaceAnnotation/rollAngle": roll_angle
"/vision:v1/GoogleCloudVisionV1p5beta1FaceAnnotation/sorrowLikelihood": sorrow_likelihood
"/vision:v1/GoogleCloudVisionV1p5beta1FaceAnnotation/surpriseLikelihood": surprise_likelihood
"/vision:v1/GoogleCloudVisionV1p5beta1FaceAnnotation/tiltAngle": tilt_angle
"/vision:v1/GoogleCloudVisionV1p5beta1FaceAnnotation/underExposedLikelihood": under_exposed_likelihood
"/vision:v1/GoogleCloudVisionV1p5beta1FaceAnnotationLandmark": google_cloud_vision_v1p5beta1_face_annotation_landmark
"/vision:v1/GoogleCloudVisionV1p5beta1FaceAnnotationLandmark/position": position
"/vision:v1/GoogleCloudVisionV1p5beta1FaceAnnotationLandmark/type": type
"/vision:v1/GoogleCloudVisionV1p5beta1GcsDestination": google_cloud_vision_v1p5beta1_gcs_destination
"/vision:v1/GoogleCloudVisionV1p5beta1GcsDestination/uri": uri
"/vision:v1/GoogleCloudVisionV1p5beta1GcsSource": google_cloud_vision_v1p5beta1_gcs_source
"/vision:v1/GoogleCloudVisionV1p5beta1GcsSource/uri": uri
"/vision:v1/GoogleCloudVisionV1p5beta1ImageAnnotationContext": google_cloud_vision_v1p5beta1_image_annotation_context
"/vision:v1/GoogleCloudVisionV1p5beta1ImageAnnotationContext/pageNumber": page_number
"/vision:v1/GoogleCloudVisionV1p5beta1ImageAnnotationContext/uri": uri
"/vision:v1/GoogleCloudVisionV1p5beta1ImageProperties": google_cloud_vision_v1p5beta1_image_properties
"/vision:v1/GoogleCloudVisionV1p5beta1ImageProperties/dominantColors": dominant_colors
"/vision:v1/GoogleCloudVisionV1p5beta1ImportProductSetsResponse": google_cloud_vision_v1p5beta1_import_product_sets_response
"/vision:v1/GoogleCloudVisionV1p5beta1ImportProductSetsResponse/referenceImages": reference_images
"/vision:v1/GoogleCloudVisionV1p5beta1ImportProductSetsResponse/referenceImages/reference_image": reference_image
"/vision:v1/GoogleCloudVisionV1p5beta1ImportProductSetsResponse/statuses": statuses
"/vision:v1/GoogleCloudVisionV1p5beta1ImportProductSetsResponse/statuses/status": status
"/vision:v1/GoogleCloudVisionV1p5beta1InputConfig": google_cloud_vision_v1p5beta1_input_config
"/vision:v1/GoogleCloudVisionV1p5beta1InputConfig/content": content
"/vision:v1/GoogleCloudVisionV1p5beta1InputConfig/gcsSource": gcs_source
"/vision:v1/GoogleCloudVisionV1p5beta1InputConfig/mimeType": mime_type
"/vision:v1/GoogleCloudVisionV1p5beta1KeyValuePair": google_cloud_vision_v1p5beta1_key_value_pair
"/vision:v1/GoogleCloudVisionV1p5beta1KeyValuePair/key": key
"/vision:v1/GoogleCloudVisionV1p5beta1KeyValuePair/keyBlock": key_block
"/vision:v1/GoogleCloudVisionV1p5beta1KeyValuePair/normalizedKey": normalized_key
"/vision:v1/GoogleCloudVisionV1p5beta1KeyValuePair/valueBlock": value_block
"/vision:v1/GoogleCloudVisionV1p5beta1KeyValuePair/valueType": value_type
"/vision:v1/GoogleCloudVisionV1p5beta1LocalizedObjectAnnotation": google_cloud_vision_v1p5beta1_localized_object_annotation
"/vision:v1/GoogleCloudVisionV1p5beta1LocalizedObjectAnnotation/boundingPoly": bounding_poly
"/vision:v1/GoogleCloudVisionV1p5beta1LocalizedObjectAnnotation/languageCode": language_code
"/vision:v1/GoogleCloudVisionV1p5beta1LocalizedObjectAnnotation/mid": mid
"/vision:v1/GoogleCloudVisionV1p5beta1LocalizedObjectAnnotation/name": name
"/vision:v1/GoogleCloudVisionV1p5beta1LocalizedObjectAnnotation/score": score
"/vision:v1/GoogleCloudVisionV1p5beta1LocationInfo": google_cloud_vision_v1p5beta1_location_info
"/vision:v1/GoogleCloudVisionV1p5beta1LocationInfo/latLng": lat_lng
"/vision:v1/GoogleCloudVisionV1p5beta1NormalizedVertex": google_cloud_vision_v1p5beta1_normalized_vertex
"/vision:v1/GoogleCloudVisionV1p5beta1NormalizedVertex/x": x
"/vision:v1/GoogleCloudVisionV1p5beta1NormalizedVertex/y": y
"/vision:v1/GoogleCloudVisionV1p5beta1OperationMetadata": google_cloud_vision_v1p5beta1_operation_metadata
"/vision:v1/GoogleCloudVisionV1p5beta1OperationMetadata/createTime": create_time
"/vision:v1/GoogleCloudVisionV1p5beta1OperationMetadata/state": state
"/vision:v1/GoogleCloudVisionV1p5beta1OperationMetadata/updateTime": update_time
"/vision:v1/GoogleCloudVisionV1p5beta1OutputConfig": google_cloud_vision_v1p5beta1_output_config
"/vision:v1/GoogleCloudVisionV1p5beta1OutputConfig/batchSize": batch_size
"/vision:v1/GoogleCloudVisionV1p5beta1OutputConfig/gcsDestination": gcs_destination
"/vision:v1/GoogleCloudVisionV1p5beta1Page": google_cloud_vision_v1p5beta1_page
"/vision:v1/GoogleCloudVisionV1p5beta1Page/blocks": blocks
"/vision:v1/GoogleCloudVisionV1p5beta1Page/blocks/block": block
"/vision:v1/GoogleCloudVisionV1p5beta1Page/confidence": confidence
"/vision:v1/GoogleCloudVisionV1p5beta1Page/height": height
"/vision:v1/GoogleCloudVisionV1p5beta1Page/mergedText": merged_text
"/vision:v1/GoogleCloudVisionV1p5beta1Page/property": property
"/vision:v1/GoogleCloudVisionV1p5beta1Page/width": width
"/vision:v1/GoogleCloudVisionV1p5beta1Paragraph": google_cloud_vision_v1p5beta1_paragraph
"/vision:v1/GoogleCloudVisionV1p5beta1Paragraph/boundingBox": bounding_box
"/vision:v1/GoogleCloudVisionV1p5beta1Paragraph/confidence": confidence
"/vision:v1/GoogleCloudVisionV1p5beta1Paragraph/mergedText": merged_text
"/vision:v1/GoogleCloudVisionV1p5beta1Paragraph/property": property
"/vision:v1/GoogleCloudVisionV1p5beta1Paragraph/words": words
"/vision:v1/GoogleCloudVisionV1p5beta1Paragraph/words/word": word
"/vision:v1/GoogleCloudVisionV1p5beta1Position": google_cloud_vision_v1p5beta1_position
"/vision:v1/GoogleCloudVisionV1p5beta1Position/x": x
"/vision:v1/GoogleCloudVisionV1p5beta1Position/y": y
"/vision:v1/GoogleCloudVisionV1p5beta1Position/z": z
"/vision:v1/GoogleCloudVisionV1p5beta1Product": google_cloud_vision_v1p5beta1_product
"/vision:v1/GoogleCloudVisionV1p5beta1Product/description": description
"/vision:v1/GoogleCloudVisionV1p5beta1Product/displayName": display_name
"/vision:v1/GoogleCloudVisionV1p5beta1Product/name": name
"/vision:v1/GoogleCloudVisionV1p5beta1Product/productCategory": product_category
"/vision:v1/GoogleCloudVisionV1p5beta1Product/productLabels": product_labels
"/vision:v1/GoogleCloudVisionV1p5beta1Product/productLabels/product_label": product_label
"/vision:v1/GoogleCloudVisionV1p5beta1ProductKeyValue": google_cloud_vision_v1p5beta1_product_key_value
"/vision:v1/GoogleCloudVisionV1p5beta1ProductKeyValue/key": key
"/vision:v1/GoogleCloudVisionV1p5beta1ProductKeyValue/value": value
"/vision:v1/GoogleCloudVisionV1p5beta1ProductSearchResults": google_cloud_vision_v1p5beta1_product_search_results
"/vision:v1/GoogleCloudVisionV1p5beta1ProductSearchResults/indexTime": index_time
"/vision:v1/GoogleCloudVisionV1p5beta1ProductSearchResults/productGroupedResults": product_grouped_results
"/vision:v1/GoogleCloudVisionV1p5beta1ProductSearchResults/productGroupedResults/product_grouped_result": product_grouped_result
"/vision:v1/GoogleCloudVisionV1p5beta1ProductSearchResults/results": results
"/vision:v1/GoogleCloudVisionV1p5beta1ProductSearchResults/results/result": result
"/vision:v1/GoogleCloudVisionV1p5beta1ProductSearchResultsGroupedResult": google_cloud_vision_v1p5beta1_product_search_results_grouped_result
"/vision:v1/GoogleCloudVisionV1p5beta1ProductSearchResultsGroupedResult/boundingPoly": bounding_poly
"/vision:v1/GoogleCloudVisionV1p5beta1ProductSearchResultsGroupedResult/results": results
"/vision:v1/GoogleCloudVisionV1p5beta1ProductSearchResultsGroupedResult/results/result": result
"/vision:v1/GoogleCloudVisionV1p5beta1ProductSearchResultsResult": google_cloud_vision_v1p5beta1_product_search_results_result
"/vision:v1/GoogleCloudVisionV1p5beta1ProductSearchResultsResult/image": image
"/vision:v1/GoogleCloudVisionV1p5beta1ProductSearchResultsResult/product": product
"/vision:v1/GoogleCloudVisionV1p5beta1ProductSearchResultsResult/score": score
"/vision:v1/GoogleCloudVisionV1p5beta1Property": google_cloud_vision_v1p5beta1_property
"/vision:v1/GoogleCloudVisionV1p5beta1Property/name": name
"/vision:v1/GoogleCloudVisionV1p5beta1Property/uint64Value": uint64_value
"/vision:v1/GoogleCloudVisionV1p5beta1Property/value": value
"/vision:v1/GoogleCloudVisionV1p5beta1ReferenceImage": google_cloud_vision_v1p5beta1_reference_image
"/vision:v1/GoogleCloudVisionV1p5beta1ReferenceImage/boundingPolys": bounding_polys
"/vision:v1/GoogleCloudVisionV1p5beta1ReferenceImage/boundingPolys/bounding_poly": bounding_poly
"/vision:v1/GoogleCloudVisionV1p5beta1ReferenceImage/name": name
"/vision:v1/GoogleCloudVisionV1p5beta1ReferenceImage/uri": uri
"/vision:v1/GoogleCloudVisionV1p5beta1SafeSearchAnnotation": google_cloud_vision_v1p5beta1_safe_search_annotation
"/vision:v1/GoogleCloudVisionV1p5beta1SafeSearchAnnotation/adult": adult
"/vision:v1/GoogleCloudVisionV1p5beta1SafeSearchAnnotation/medical": medical
"/vision:v1/GoogleCloudVisionV1p5beta1SafeSearchAnnotation/racy": racy
"/vision:v1/GoogleCloudVisionV1p5beta1SafeSearchAnnotation/spoof": spoof
"/vision:v1/GoogleCloudVisionV1p5beta1SafeSearchAnnotation/violence": violence
"/vision:v1/GoogleCloudVisionV1p5beta1Symbol": google_cloud_vision_v1p5beta1_symbol
"/vision:v1/GoogleCloudVisionV1p5beta1Symbol/boundingBox": bounding_box
"/vision:v1/GoogleCloudVisionV1p5beta1Symbol/confidence": confidence
"/vision:v1/GoogleCloudVisionV1p5beta1Symbol/property": property
"/vision:v1/GoogleCloudVisionV1p5beta1Symbol/text": text
"/vision:v1/GoogleCloudVisionV1p5beta1Table": google_cloud_vision_v1p5beta1_table
"/vision:v1/GoogleCloudVisionV1p5beta1Table/bodyRows": body_rows
"/vision:v1/GoogleCloudVisionV1p5beta1Table/bodyRows/body_row": body_row
"/vision:v1/GoogleCloudVisionV1p5beta1Table/headerRows": header_rows
"/vision:v1/GoogleCloudVisionV1p5beta1Table/headerRows/header_row": header_row
"/vision:v1/GoogleCloudVisionV1p5beta1TableTableCell": google_cloud_vision_v1p5beta1_table_table_cell
"/vision:v1/GoogleCloudVisionV1p5beta1TableTableCell/colSpan": col_span
"/vision:v1/GoogleCloudVisionV1p5beta1TableTableCell/rowSpan": row_span
"/vision:v1/GoogleCloudVisionV1p5beta1TableTableCell/text": text
"/vision:v1/GoogleCloudVisionV1p5beta1TableTableCell/textBlock": text_block
"/vision:v1/GoogleCloudVisionV1p5beta1TableTableRow": google_cloud_vision_v1p5beta1_table_table_row
"/vision:v1/GoogleCloudVisionV1p5beta1TableTableRow/cells": cells
"/vision:v1/GoogleCloudVisionV1p5beta1TableTableRow/cells/cell": cell
"/vision:v1/GoogleCloudVisionV1p5beta1TextAnnotation": google_cloud_vision_v1p5beta1_text_annotation
"/vision:v1/GoogleCloudVisionV1p5beta1TextAnnotation/pages": pages
"/vision:v1/GoogleCloudVisionV1p5beta1TextAnnotation/pages/page": page
"/vision:v1/GoogleCloudVisionV1p5beta1TextAnnotation/text": text
"/vision:v1/GoogleCloudVisionV1p5beta1TextAnnotationDetectedBreak": google_cloud_vision_v1p5beta1_text_annotation_detected_break
"/vision:v1/GoogleCloudVisionV1p5beta1TextAnnotationDetectedBreak/isPrefix": is_prefix
"/vision:v1/GoogleCloudVisionV1p5beta1TextAnnotationDetectedBreak/type": type
"/vision:v1/GoogleCloudVisionV1p5beta1TextAnnotationDetectedLanguage": google_cloud_vision_v1p5beta1_text_annotation_detected_language
"/vision:v1/GoogleCloudVisionV1p5beta1TextAnnotationDetectedLanguage/confidence": confidence
"/vision:v1/GoogleCloudVisionV1p5beta1TextAnnotationDetectedLanguage/languageCode": language_code
"/vision:v1/GoogleCloudVisionV1p5beta1TextAnnotationTextProperty": google_cloud_vision_v1p5beta1_text_annotation_text_property
"/vision:v1/GoogleCloudVisionV1p5beta1TextAnnotationTextProperty/detectedBreak": detected_break
"/vision:v1/GoogleCloudVisionV1p5beta1TextAnnotationTextProperty/detectedLanguages": detected_languages
"/vision:v1/GoogleCloudVisionV1p5beta1TextAnnotationTextProperty/detectedLanguages/detected_language": detected_language
"/vision:v1/GoogleCloudVisionV1p5beta1Vertex": google_cloud_vision_v1p5beta1_vertex
"/vision:v1/GoogleCloudVisionV1p5beta1Vertex/x": x
"/vision:v1/GoogleCloudVisionV1p5beta1Vertex/y": y
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetection": google_cloud_vision_v1p5beta1_web_detection
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetection/bestGuessLabels": best_guess_labels
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetection/bestGuessLabels/best_guess_label": best_guess_label
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetection/fullMatchingImages": full_matching_images
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetection/fullMatchingImages/full_matching_image": full_matching_image
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetection/pagesWithMatchingImages": pages_with_matching_images
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetection/pagesWithMatchingImages/pages_with_matching_image": pages_with_matching_image
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetection/partialMatchingImages": partial_matching_images
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetection/partialMatchingImages/partial_matching_image": partial_matching_image
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetection/visuallySimilarImages": visually_similar_images
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetection/visuallySimilarImages/visually_similar_image": visually_similar_image
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetection/webEntities": web_entities
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetection/webEntities/web_entity": web_entity
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetectionWebEntity": google_cloud_vision_v1p5beta1_web_detection_web_entity
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetectionWebEntity/description": description
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetectionWebEntity/entityId": entity_id
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetectionWebEntity/score": score
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetectionWebImage": google_cloud_vision_v1p5beta1_web_detection_web_image
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetectionWebImage/score": score
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetectionWebImage/url": url
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetectionWebLabel": google_cloud_vision_v1p5beta1_web_detection_web_label
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetectionWebLabel/label": label
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetectionWebLabel/languageCode": language_code
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetectionWebPage": google_cloud_vision_v1p5beta1_web_detection_web_page
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetectionWebPage/fullMatchingImages": full_matching_images
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetectionWebPage/fullMatchingImages/full_matching_image": full_matching_image
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetectionWebPage/pageTitle": page_title
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetectionWebPage/partialMatchingImages": partial_matching_images
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetectionWebPage/partialMatchingImages/partial_matching_image": partial_matching_image
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetectionWebPage/score": score
"/vision:v1/GoogleCloudVisionV1p5beta1WebDetectionWebPage/url": url
"/vision:v1/GoogleCloudVisionV1p5beta1Word": google_cloud_vision_v1p5beta1_word
"/vision:v1/GoogleCloudVisionV1p5beta1Word/boundingBox": bounding_box
"/vision:v1/GoogleCloudVisionV1p5beta1Word/confidence": confidence
"/vision:v1/GoogleCloudVisionV1p5beta1Word/mergedText": merged_text
"/vision:v1/GoogleCloudVisionV1p5beta1Word/property": property
"/vision:v1/GoogleCloudVisionV1p5beta1Word/symbols": symbols
"/vision:v1/GoogleCloudVisionV1p5beta1Word/symbols/symbol": symbol
"/vision:v1/GoogleRpcStatus": google_rpc_status
"/vision:v1/GoogleRpcStatus/code": code
"/vision:v1/GoogleRpcStatus/details": details
@ -112094,6 +112420,7 @@
"/vision:v1/ImportProductSetsResponse/statuses": statuses
"/vision:v1/ImportProductSetsResponse/statuses/status": status
"/vision:v1/InputConfig": input_config
"/vision:v1/InputConfig/content": content
"/vision:v1/InputConfig/gcsSource": gcs_source
"/vision:v1/InputConfig/mimeType": mime_type
"/vision:v1/KeyValue": key_value
@ -112281,8 +112608,10 @@
"/vision:v1/fields": fields
"/vision:v1/key": key
"/vision:v1/quotaUser": quota_user
"/vision:v1/vision.files.annotate": annotate_file
"/vision:v1/vision.files.asyncBatchAnnotate": async_batch_annotate_files
"/vision:v1/vision.images.annotate": annotate_image
"/vision:v1/vision.images.asyncBatchAnnotate": async_batch_annotate_images
"/vision:v1/vision.locations.operations.get": get_location_operation
"/vision:v1/vision.locations.operations.get/name": name
"/vision:v1/vision.operations.cancel": cancel_operation
@ -112353,6 +112682,7 @@
"/vision:v1p1beta1/AnnotateFileResponse/inputConfig": input_config
"/vision:v1p1beta1/AnnotateFileResponse/responses": responses
"/vision:v1p1beta1/AnnotateFileResponse/responses/response": response
"/vision:v1p1beta1/AnnotateFileResponse/totalPages": total_pages
"/vision:v1p1beta1/AnnotateImageResponse": annotate_image_response
"/vision:v1p1beta1/AnnotateImageResponse/context": context
"/vision:v1p1beta1/AnnotateImageResponse/cropHintsAnnotation": crop_hints_annotation
@ -112379,6 +112709,11 @@
"/vision:v1p1beta1/AsyncBatchAnnotateFilesResponse": async_batch_annotate_files_response
"/vision:v1p1beta1/AsyncBatchAnnotateFilesResponse/responses": responses
"/vision:v1p1beta1/AsyncBatchAnnotateFilesResponse/responses/response": response
"/vision:v1p1beta1/AsyncBatchAnnotateImagesResponse": async_batch_annotate_images_response
"/vision:v1p1beta1/AsyncBatchAnnotateImagesResponse/outputConfig": output_config
"/vision:v1p1beta1/BatchAnnotateFilesResponse": batch_annotate_files_response
"/vision:v1p1beta1/BatchAnnotateFilesResponse/responses": responses
"/vision:v1p1beta1/BatchAnnotateFilesResponse/responses/response": response
"/vision:v1p1beta1/BatchOperationMetadata": batch_operation_metadata
"/vision:v1p1beta1/BatchOperationMetadata/endTime": end_time
"/vision:v1p1beta1/BatchOperationMetadata/state": state
@ -112453,10 +112788,18 @@
"/vision:v1p1beta1/GcsDestination/uri": uri
"/vision:v1p1beta1/GcsSource": gcs_source
"/vision:v1p1beta1/GcsSource/uri": uri
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateFileRequest": google_cloud_vision_v1p1beta1_annotate_file_request
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateFileRequest/features": features
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateFileRequest/features/feature": feature
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateFileRequest/imageContext": image_context
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateFileRequest/inputConfig": input_config
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateFileRequest/pages": pages
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateFileRequest/pages/page": page
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateFileResponse": google_cloud_vision_v1p1beta1_annotate_file_response
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateFileResponse/inputConfig": input_config
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateFileResponse/responses": responses
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateFileResponse/responses/response": response
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateFileResponse/totalPages": total_pages
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageRequest": google_cloud_vision_v1p1beta1_annotate_image_request
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageRequest/features": features
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageRequest/features/feature": feature
@ -112497,6 +112840,16 @@
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse": google_cloud_vision_v1p1beta1_async_batch_annotate_files_response
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse/responses": responses
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse/responses/response": response
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest": google_cloud_vision_v1p1beta1_async_batch_annotate_images_request
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest/outputConfig": output_config
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest/requests": requests
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest/requests/request": request
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest": google_cloud_vision_v1p1beta1_batch_annotate_files_request
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest/requests": requests
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest/requests/request": request
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1BatchAnnotateFilesResponse": google_cloud_vision_v1p1beta1_batch_annotate_files_response
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1BatchAnnotateFilesResponse/responses": responses
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1BatchAnnotateFilesResponse/responses/response": response
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest": google_cloud_vision_v1p1beta1_batch_annotate_images_request
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest/requests": requests
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest/requests/request": request
@ -112591,6 +112944,7 @@
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1ImageSource/gcsImageUri": gcs_image_uri
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1ImageSource/imageUri": image_uri
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1InputConfig": google_cloud_vision_v1p1beta1_input_config
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1InputConfig/content": content
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1InputConfig/gcsSource": gcs_source
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1InputConfig/mimeType": mime_type
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1LatLongRect": google_cloud_vision_v1p1beta1_lat_long_rect
@ -112736,6 +113090,7 @@
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AnnotateFileResponse/inputConfig": input_config
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AnnotateFileResponse/responses": responses
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AnnotateFileResponse/responses/response": response
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AnnotateFileResponse/totalPages": total_pages
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AnnotateImageResponse": google_cloud_vision_v1p2beta1_annotate_image_response
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/context": context
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AnnotateImageResponse/cropHintsAnnotation": crop_hints_annotation
@ -112832,6 +113187,7 @@
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1ImageProperties": google_cloud_vision_v1p2beta1_image_properties
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1ImageProperties/dominantColors": dominant_colors
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1InputConfig": google_cloud_vision_v1p2beta1_input_config
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1InputConfig/content": content
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1InputConfig/gcsSource": gcs_source
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1InputConfig/mimeType": mime_type
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation": google_cloud_vision_v1p2beta1_localized_object_annotation
@ -112966,6 +113322,7 @@
"/vision:v1p1beta1/GoogleCloudVisionV1p3beta1AnnotateFileResponse/inputConfig": input_config
"/vision:v1p1beta1/GoogleCloudVisionV1p3beta1AnnotateFileResponse/responses": responses
"/vision:v1p1beta1/GoogleCloudVisionV1p3beta1AnnotateFileResponse/responses/response": response
"/vision:v1p1beta1/GoogleCloudVisionV1p3beta1AnnotateFileResponse/totalPages": total_pages
"/vision:v1p1beta1/GoogleCloudVisionV1p3beta1AnnotateImageResponse": google_cloud_vision_v1p3beta1_annotate_image_response
"/vision:v1p1beta1/GoogleCloudVisionV1p3beta1AnnotateImageResponse/context": context
"/vision:v1p1beta1/GoogleCloudVisionV1p3beta1AnnotateImageResponse/cropHintsAnnotation": crop_hints_annotation
@ -113069,6 +113426,7 @@
"/vision:v1p1beta1/GoogleCloudVisionV1p3beta1ImportProductSetsResponse/statuses": statuses
"/vision:v1p1beta1/GoogleCloudVisionV1p3beta1ImportProductSetsResponse/statuses/status": status
"/vision:v1p1beta1/GoogleCloudVisionV1p3beta1InputConfig": google_cloud_vision_v1p3beta1_input_config
"/vision:v1p1beta1/GoogleCloudVisionV1p3beta1InputConfig/content": content
"/vision:v1p1beta1/GoogleCloudVisionV1p3beta1InputConfig/gcsSource": gcs_source
"/vision:v1p1beta1/GoogleCloudVisionV1p3beta1InputConfig/mimeType": mime_type
"/vision:v1p1beta1/GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation": google_cloud_vision_v1p3beta1_localized_object_annotation
@ -113453,6 +113811,280 @@
"/vision:v1p1beta1/GoogleCloudVisionV1p4beta1Word/property": property
"/vision:v1p1beta1/GoogleCloudVisionV1p4beta1Word/symbols": symbols
"/vision:v1p1beta1/GoogleCloudVisionV1p4beta1Word/symbols/symbol": symbol
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateFileResponse": google_cloud_vision_v1p5beta1_annotate_file_response
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateFileResponse/inputConfig": input_config
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateFileResponse/responses": responses
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateFileResponse/responses/response": response
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateFileResponse/totalPages": total_pages
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse": google_cloud_vision_v1p5beta1_annotate_image_response
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/context": context
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/cropHintsAnnotation": crop_hints_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/error": error
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/faceAnnotations": face_annotations
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/faceAnnotations/face_annotation": face_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/fullTextAnnotation": full_text_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/imagePropertiesAnnotation": image_properties_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/labelAnnotations": label_annotations
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/labelAnnotations/label_annotation": label_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/landmarkAnnotations": landmark_annotations
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/landmarkAnnotations/landmark_annotation": landmark_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/localizedObjectAnnotations": localized_object_annotations
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/localizedObjectAnnotations/localized_object_annotation": localized_object_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/logoAnnotations": logo_annotations
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/logoAnnotations/logo_annotation": logo_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/productSearchResults": product_search_results
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/safeSearchAnnotation": safe_search_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/textAnnotations": text_annotations
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/textAnnotations/text_annotation": text_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AnnotateImageResponse/webDetection": web_detection
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AsyncAnnotateFileResponse": google_cloud_vision_v1p5beta1_async_annotate_file_response
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AsyncAnnotateFileResponse/outputConfig": output_config
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AsyncBatchAnnotateFilesResponse": google_cloud_vision_v1p5beta1_async_batch_annotate_files_response
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AsyncBatchAnnotateFilesResponse/responses": responses
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AsyncBatchAnnotateFilesResponse/responses/response": response
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AsyncBatchAnnotateImagesResponse": google_cloud_vision_v1p5beta1_async_batch_annotate_images_response
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1AsyncBatchAnnotateImagesResponse/outputConfig": output_config
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1BatchAnnotateFilesResponse": google_cloud_vision_v1p5beta1_batch_annotate_files_response
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1BatchAnnotateFilesResponse/responses": responses
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1BatchAnnotateFilesResponse/responses/response": response
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1BatchOperationMetadata": google_cloud_vision_v1p5beta1_batch_operation_metadata
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1BatchOperationMetadata/endTime": end_time
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1BatchOperationMetadata/state": state
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1BatchOperationMetadata/submitTime": submit_time
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Block": google_cloud_vision_v1p5beta1_block
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Block/blockType": block_type
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Block/boundingBox": bounding_box
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Block/confidence": confidence
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Block/keyValuePair": key_value_pair
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Block/mergedText": merged_text
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Block/paragraphs": paragraphs
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Block/paragraphs/paragraph": paragraph
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Block/property": property
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Block/table": table
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1BoundingPoly": google_cloud_vision_v1p5beta1_bounding_poly
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1BoundingPoly/normalizedVertices": normalized_vertices
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1BoundingPoly/normalizedVertices/normalized_vertex": normalized_vertex
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1BoundingPoly/vertices": vertices
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1BoundingPoly/vertices/vertex": vertex
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ColorInfo": google_cloud_vision_v1p5beta1_color_info
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ColorInfo/color": color
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ColorInfo/pixelFraction": pixel_fraction
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ColorInfo/score": score
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1CropHint": google_cloud_vision_v1p5beta1_crop_hint
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1CropHint/boundingPoly": bounding_poly
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1CropHint/confidence": confidence
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1CropHint/importanceFraction": importance_fraction
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1CropHintsAnnotation": google_cloud_vision_v1p5beta1_crop_hints_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1CropHintsAnnotation/cropHints": crop_hints
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1CropHintsAnnotation/cropHints/crop_hint": crop_hint
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1DominantColorsAnnotation": google_cloud_vision_v1p5beta1_dominant_colors_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1DominantColorsAnnotation/colors": colors
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1DominantColorsAnnotation/colors/color": color
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1EntityAnnotation": google_cloud_vision_v1p5beta1_entity_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1EntityAnnotation/boundingPoly": bounding_poly
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1EntityAnnotation/confidence": confidence
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1EntityAnnotation/description": description
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1EntityAnnotation/locale": locale
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1EntityAnnotation/locations": locations
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1EntityAnnotation/locations/location": location
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1EntityAnnotation/mid": mid
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1EntityAnnotation/properties": properties
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1EntityAnnotation/properties/property": property
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1EntityAnnotation/score": score
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1EntityAnnotation/topicality": topicality
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1FaceAnnotation": google_cloud_vision_v1p5beta1_face_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1FaceAnnotation/angerLikelihood": anger_likelihood
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1FaceAnnotation/blurredLikelihood": blurred_likelihood
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1FaceAnnotation/boundingPoly": bounding_poly
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1FaceAnnotation/detectionConfidence": detection_confidence
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1FaceAnnotation/fdBoundingPoly": fd_bounding_poly
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1FaceAnnotation/headwearLikelihood": headwear_likelihood
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1FaceAnnotation/joyLikelihood": joy_likelihood
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1FaceAnnotation/landmarkingConfidence": landmarking_confidence
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1FaceAnnotation/landmarks": landmarks
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1FaceAnnotation/landmarks/landmark": landmark
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1FaceAnnotation/panAngle": pan_angle
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1FaceAnnotation/rollAngle": roll_angle
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1FaceAnnotation/sorrowLikelihood": sorrow_likelihood
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1FaceAnnotation/surpriseLikelihood": surprise_likelihood
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1FaceAnnotation/tiltAngle": tilt_angle
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1FaceAnnotation/underExposedLikelihood": under_exposed_likelihood
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1FaceAnnotationLandmark": google_cloud_vision_v1p5beta1_face_annotation_landmark
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1FaceAnnotationLandmark/position": position
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1FaceAnnotationLandmark/type": type
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1GcsDestination": google_cloud_vision_v1p5beta1_gcs_destination
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1GcsDestination/uri": uri
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1GcsSource": google_cloud_vision_v1p5beta1_gcs_source
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1GcsSource/uri": uri
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ImageAnnotationContext": google_cloud_vision_v1p5beta1_image_annotation_context
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ImageAnnotationContext/pageNumber": page_number
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ImageAnnotationContext/uri": uri
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ImageProperties": google_cloud_vision_v1p5beta1_image_properties
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ImageProperties/dominantColors": dominant_colors
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ImportProductSetsResponse": google_cloud_vision_v1p5beta1_import_product_sets_response
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ImportProductSetsResponse/referenceImages": reference_images
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ImportProductSetsResponse/referenceImages/reference_image": reference_image
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ImportProductSetsResponse/statuses": statuses
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ImportProductSetsResponse/statuses/status": status
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1InputConfig": google_cloud_vision_v1p5beta1_input_config
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1InputConfig/content": content
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1InputConfig/gcsSource": gcs_source
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1InputConfig/mimeType": mime_type
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1KeyValuePair": google_cloud_vision_v1p5beta1_key_value_pair
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1KeyValuePair/key": key
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1KeyValuePair/keyBlock": key_block
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1KeyValuePair/normalizedKey": normalized_key
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1KeyValuePair/valueBlock": value_block
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1KeyValuePair/valueType": value_type
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1LocalizedObjectAnnotation": google_cloud_vision_v1p5beta1_localized_object_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1LocalizedObjectAnnotation/boundingPoly": bounding_poly
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1LocalizedObjectAnnotation/languageCode": language_code
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1LocalizedObjectAnnotation/mid": mid
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1LocalizedObjectAnnotation/name": name
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1LocalizedObjectAnnotation/score": score
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1LocationInfo": google_cloud_vision_v1p5beta1_location_info
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1LocationInfo/latLng": lat_lng
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1NormalizedVertex": google_cloud_vision_v1p5beta1_normalized_vertex
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1NormalizedVertex/x": x
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1NormalizedVertex/y": y
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1OperationMetadata": google_cloud_vision_v1p5beta1_operation_metadata
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1OperationMetadata/createTime": create_time
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1OperationMetadata/state": state
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1OperationMetadata/updateTime": update_time
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1OutputConfig": google_cloud_vision_v1p5beta1_output_config
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1OutputConfig/batchSize": batch_size
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1OutputConfig/gcsDestination": gcs_destination
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Page": google_cloud_vision_v1p5beta1_page
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Page/blocks": blocks
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Page/blocks/block": block
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Page/confidence": confidence
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Page/height": height
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Page/mergedText": merged_text
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Page/property": property
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Page/width": width
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Paragraph": google_cloud_vision_v1p5beta1_paragraph
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Paragraph/boundingBox": bounding_box
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Paragraph/confidence": confidence
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Paragraph/mergedText": merged_text
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Paragraph/property": property
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Paragraph/words": words
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Paragraph/words/word": word
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Position": google_cloud_vision_v1p5beta1_position
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Position/x": x
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Position/y": y
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Position/z": z
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Product": google_cloud_vision_v1p5beta1_product
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Product/description": description
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Product/displayName": display_name
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Product/name": name
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Product/productCategory": product_category
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Product/productLabels": product_labels
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Product/productLabels/product_label": product_label
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ProductKeyValue": google_cloud_vision_v1p5beta1_product_key_value
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ProductKeyValue/key": key
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ProductKeyValue/value": value
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ProductSearchResults": google_cloud_vision_v1p5beta1_product_search_results
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ProductSearchResults/indexTime": index_time
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ProductSearchResults/productGroupedResults": product_grouped_results
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ProductSearchResults/productGroupedResults/product_grouped_result": product_grouped_result
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ProductSearchResults/results": results
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ProductSearchResults/results/result": result
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ProductSearchResultsGroupedResult": google_cloud_vision_v1p5beta1_product_search_results_grouped_result
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ProductSearchResultsGroupedResult/boundingPoly": bounding_poly
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ProductSearchResultsGroupedResult/results": results
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ProductSearchResultsGroupedResult/results/result": result
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ProductSearchResultsResult": google_cloud_vision_v1p5beta1_product_search_results_result
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ProductSearchResultsResult/image": image
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ProductSearchResultsResult/product": product
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ProductSearchResultsResult/score": score
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Property": google_cloud_vision_v1p5beta1_property
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Property/name": name
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Property/uint64Value": uint64_value
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Property/value": value
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ReferenceImage": google_cloud_vision_v1p5beta1_reference_image
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ReferenceImage/boundingPolys": bounding_polys
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ReferenceImage/boundingPolys/bounding_poly": bounding_poly
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ReferenceImage/name": name
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1ReferenceImage/uri": uri
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1SafeSearchAnnotation": google_cloud_vision_v1p5beta1_safe_search_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1SafeSearchAnnotation/adult": adult
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1SafeSearchAnnotation/medical": medical
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1SafeSearchAnnotation/racy": racy
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1SafeSearchAnnotation/spoof": spoof
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1SafeSearchAnnotation/violence": violence
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Symbol": google_cloud_vision_v1p5beta1_symbol
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Symbol/boundingBox": bounding_box
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Symbol/confidence": confidence
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Symbol/property": property
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Symbol/text": text
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Table": google_cloud_vision_v1p5beta1_table
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Table/bodyRows": body_rows
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Table/bodyRows/body_row": body_row
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Table/headerRows": header_rows
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Table/headerRows/header_row": header_row
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TableTableCell": google_cloud_vision_v1p5beta1_table_table_cell
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TableTableCell/colSpan": col_span
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TableTableCell/rowSpan": row_span
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TableTableCell/text": text
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TableTableCell/textBlock": text_block
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TableTableRow": google_cloud_vision_v1p5beta1_table_table_row
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TableTableRow/cells": cells
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TableTableRow/cells/cell": cell
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TextAnnotation": google_cloud_vision_v1p5beta1_text_annotation
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TextAnnotation/pages": pages
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TextAnnotation/pages/page": page
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TextAnnotation/text": text
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TextAnnotationDetectedBreak": google_cloud_vision_v1p5beta1_text_annotation_detected_break
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TextAnnotationDetectedBreak/isPrefix": is_prefix
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TextAnnotationDetectedBreak/type": type
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TextAnnotationDetectedLanguage": google_cloud_vision_v1p5beta1_text_annotation_detected_language
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TextAnnotationDetectedLanguage/confidence": confidence
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TextAnnotationDetectedLanguage/languageCode": language_code
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TextAnnotationTextProperty": google_cloud_vision_v1p5beta1_text_annotation_text_property
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TextAnnotationTextProperty/detectedBreak": detected_break
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TextAnnotationTextProperty/detectedLanguages": detected_languages
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1TextAnnotationTextProperty/detectedLanguages/detected_language": detected_language
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Vertex": google_cloud_vision_v1p5beta1_vertex
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Vertex/x": x
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Vertex/y": y
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetection": google_cloud_vision_v1p5beta1_web_detection
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetection/bestGuessLabels": best_guess_labels
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetection/bestGuessLabels/best_guess_label": best_guess_label
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetection/fullMatchingImages": full_matching_images
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetection/fullMatchingImages/full_matching_image": full_matching_image
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetection/pagesWithMatchingImages": pages_with_matching_images
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetection/pagesWithMatchingImages/pages_with_matching_image": pages_with_matching_image
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetection/partialMatchingImages": partial_matching_images
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetection/partialMatchingImages/partial_matching_image": partial_matching_image
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetection/visuallySimilarImages": visually_similar_images
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetection/visuallySimilarImages/visually_similar_image": visually_similar_image
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetection/webEntities": web_entities
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetection/webEntities/web_entity": web_entity
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetectionWebEntity": google_cloud_vision_v1p5beta1_web_detection_web_entity
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetectionWebEntity/description": description
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetectionWebEntity/entityId": entity_id
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetectionWebEntity/score": score
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetectionWebImage": google_cloud_vision_v1p5beta1_web_detection_web_image
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetectionWebImage/score": score
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetectionWebImage/url": url
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetectionWebLabel": google_cloud_vision_v1p5beta1_web_detection_web_label
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetectionWebLabel/label": label
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetectionWebLabel/languageCode": language_code
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetectionWebPage": google_cloud_vision_v1p5beta1_web_detection_web_page
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetectionWebPage/fullMatchingImages": full_matching_images
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetectionWebPage/fullMatchingImages/full_matching_image": full_matching_image
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetectionWebPage/pageTitle": page_title
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetectionWebPage/partialMatchingImages": partial_matching_images
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetectionWebPage/partialMatchingImages/partial_matching_image": partial_matching_image
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetectionWebPage/score": score
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1WebDetectionWebPage/url": url
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Word": google_cloud_vision_v1p5beta1_word
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Word/boundingBox": bounding_box
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Word/confidence": confidence
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Word/mergedText": merged_text
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Word/property": property
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Word/symbols": symbols
"/vision:v1p1beta1/GoogleCloudVisionV1p5beta1Word/symbols/symbol": symbol
"/vision:v1p1beta1/GoogleRpcStatus": google_rpc_status
"/vision:v1p1beta1/GoogleRpcStatus/code": code
"/vision:v1p1beta1/GoogleRpcStatus/details": details
@ -113482,6 +114114,7 @@
"/vision:v1p1beta1/ImportProductSetsResponse/statuses": statuses
"/vision:v1p1beta1/ImportProductSetsResponse/statuses/status": status
"/vision:v1p1beta1/InputConfig": input_config
"/vision:v1p1beta1/InputConfig/content": content
"/vision:v1p1beta1/InputConfig/gcsSource": gcs_source
"/vision:v1p1beta1/InputConfig/mimeType": mime_type
"/vision:v1p1beta1/KeyValue": key_value
@ -113630,8 +114263,10 @@
"/vision:v1p1beta1/fields": fields
"/vision:v1p1beta1/key": key
"/vision:v1p1beta1/quotaUser": quota_user
"/vision:v1p1beta1/vision.files.annotate": annotate_file
"/vision:v1p1beta1/vision.files.asyncBatchAnnotate": async_file_batch_annotate
"/vision:v1p1beta1/vision.images.annotate": annotate_image
"/vision:v1p1beta1/vision.images.asyncBatchAnnotate": async_image_batch_annotate
"/vision:v1p2beta1/AnnotateFileResponse": annotate_file_response
"/vision:v1p2beta1/AnnotateFileResponse/inputConfig": input_config
"/vision:v1p2beta1/AnnotateFileResponse/responses": responses

View File

@ -76,7 +76,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_site(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AbusiveexperiencereportV1::SiteSummaryResponse::Representation
command.response_class = Google::Apis::AbusiveexperiencereportV1::SiteSummaryResponse
command.params['name'] = name unless name.nil?
@ -104,7 +104,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_violating_sites(fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/violatingSites', options)
command = make_simple_command(:get, 'v1/violatingSites', options)
command.response_representation = Google::Apis::AbusiveexperiencereportV1::ViolatingSitesResponse::Representation
command.response_class = Google::Apis::AbusiveexperiencereportV1::ViolatingSitesResponse
command.query['fields'] = fields unless fields.nil?

View File

@ -69,7 +69,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_get_amp_urls(batch_get_amp_urls_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/ampUrls:batchGet', options)
command = make_simple_command(:post, 'v1/ampUrls:batchGet', options)
command.request_representation = Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsRequest::Representation
command.request_object = batch_get_amp_urls_request_object
command.response_representation = Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsResponse::Representation

View File

@ -68,7 +68,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_folder_access_approval_settings(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
command.response_class = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings
command.params['name'] = name unless name.nil?
@ -105,7 +105,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_folder_access_approval_settings(name, access_approval_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
command.request_object = access_approval_settings_object
command.response_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
@ -140,7 +140,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def approve_folder_approval_request(name, approve_approval_request_message_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:approve', options)
command = make_simple_command(:post, 'v1beta1/{+name}:approve', options)
command.request_representation = Google::Apis::AccessapprovalV1beta1::ApproveApprovalRequestMessage::Representation
command.request_object = approve_approval_request_message_object
command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
@ -179,7 +179,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def dismiss_folder_approval_request(name, dismiss_approval_request_message_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:dismiss', options)
command = make_simple_command(:post, 'v1beta1/{+name}:dismiss', options)
command.request_representation = Google::Apis::AccessapprovalV1beta1::DismissApprovalRequestMessage::Representation
command.request_object = dismiss_approval_request_message_object
command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
@ -211,7 +211,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_folder_approval_request(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
command.params['name'] = name unless name.nil?
@ -258,7 +258,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_folder_approval_requests(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/approvalRequests', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/approvalRequests', options)
command.response_representation = Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse::Representation
command.response_class = Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse
command.params['parent'] = parent unless parent.nil?
@ -291,7 +291,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_organization_access_approval_settings(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
command.response_class = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings
command.params['name'] = name unless name.nil?
@ -328,7 +328,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_organization_access_approval_settings(name, access_approval_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
command.request_object = access_approval_settings_object
command.response_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
@ -363,7 +363,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def approve_organization_approval_request(name, approve_approval_request_message_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:approve', options)
command = make_simple_command(:post, 'v1beta1/{+name}:approve', options)
command.request_representation = Google::Apis::AccessapprovalV1beta1::ApproveApprovalRequestMessage::Representation
command.request_object = approve_approval_request_message_object
command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
@ -402,7 +402,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def dismiss_organization_approval_request(name, dismiss_approval_request_message_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:dismiss', options)
command = make_simple_command(:post, 'v1beta1/{+name}:dismiss', options)
command.request_representation = Google::Apis::AccessapprovalV1beta1::DismissApprovalRequestMessage::Representation
command.request_object = dismiss_approval_request_message_object
command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
@ -434,7 +434,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_organization_approval_request(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
command.params['name'] = name unless name.nil?
@ -481,7 +481,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_organization_approval_requests(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/approvalRequests', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/approvalRequests', options)
command.response_representation = Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse::Representation
command.response_class = Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse
command.params['parent'] = parent unless parent.nil?
@ -514,7 +514,7 @@ module Google
# @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_access_approval_settings(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
command.response_class = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings
command.params['name'] = name unless name.nil?
@ -551,7 +551,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_access_approval_settings(name, access_approval_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
command.request_object = access_approval_settings_object
command.response_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
@ -586,7 +586,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def approve_project_approval_request(name, approve_approval_request_message_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:approve', options)
command = make_simple_command(:post, 'v1beta1/{+name}:approve', options)
command.request_representation = Google::Apis::AccessapprovalV1beta1::ApproveApprovalRequestMessage::Representation
command.request_object = approve_approval_request_message_object
command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
@ -625,7 +625,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def dismiss_project_approval_request(name, dismiss_approval_request_message_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:dismiss', options)
command = make_simple_command(:post, 'v1beta1/{+name}:dismiss', options)
command.request_representation = Google::Apis::AccessapprovalV1beta1::DismissApprovalRequestMessage::Representation
command.request_object = dismiss_approval_request_message_object
command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
@ -657,7 +657,7 @@ module Google
# @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_approval_request(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
command.params['name'] = name unless name.nil?
@ -704,7 +704,7 @@ module Google
# @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_approval_requests(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/approvalRequests', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/approvalRequests', options)
command.response_representation = Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse::Representation
command.response_class = Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse
command.params['parent'] = parent unless parent.nil?

View File

@ -71,7 +71,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_access_policy(access_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/accessPolicies', options)
command = make_simple_command(:post, 'v1/accessPolicies', options)
command.request_representation = Google::Apis::AccesscontextmanagerV1::AccessPolicy::Representation
command.request_object = access_policy_object
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
@ -106,7 +106,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_access_policy(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1::Operation
command.params['name'] = name unless name.nil?
@ -137,7 +137,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_access_policy(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1::AccessPolicy::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1::AccessPolicy
command.params['name'] = name unless name.nil?
@ -176,7 +176,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_access_policies(page_size: nil, page_token: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/accessPolicies', options)
command = make_simple_command(:get, 'v1/accessPolicies', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1::ListAccessPoliciesResponse::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1::ListAccessPoliciesResponse
command.query['pageSize'] = page_size unless page_size.nil?
@ -216,7 +216,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_access_policy(name, access_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::AccesscontextmanagerV1::AccessPolicy::Representation
command.request_object = access_policy_object
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
@ -256,7 +256,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_access_policy_access_level(parent, access_level_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/accessLevels', options)
command = make_simple_command(:post, 'v1/{+parent}/accessLevels', options)
command.request_representation = Google::Apis::AccesscontextmanagerV1::AccessLevel::Representation
command.request_object = access_level_object
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
@ -293,7 +293,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_access_policy_access_level(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1::Operation
command.params['name'] = name unless name.nil?
@ -334,7 +334,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_access_policy_access_level(name, access_level_format: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1::AccessLevel::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1::AccessLevel
command.params['name'] = name unless name.nil?
@ -378,7 +378,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_access_policy_access_levels(parent, access_level_format: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/accessLevels', options)
command = make_simple_command(:get, 'v1/{+parent}/accessLevels', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1::ListAccessLevelsResponse::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1::ListAccessLevelsResponse
command.params['parent'] = parent unless parent.nil?
@ -420,7 +420,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_access_policy_access_level(name, access_level_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::AccesscontextmanagerV1::AccessLevel::Representation
command.request_object = access_level_object
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
@ -460,7 +460,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_access_policy_service_perimeter(parent, service_perimeter_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/servicePerimeters', options)
command = make_simple_command(:post, 'v1/{+parent}/servicePerimeters', options)
command.request_representation = Google::Apis::AccesscontextmanagerV1::ServicePerimeter::Representation
command.request_object = service_perimeter_object
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
@ -497,7 +497,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_access_policy_service_perimeter(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1::Operation
command.params['name'] = name unless name.nil?
@ -530,7 +530,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_access_policy_service_perimeter(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1::ServicePerimeter::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1::ServicePerimeter
command.params['name'] = name unless name.nil?
@ -569,7 +569,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_access_policy_service_perimeters(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/servicePerimeters', options)
command = make_simple_command(:get, 'v1/{+parent}/servicePerimeters', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1::ListServicePerimetersResponse::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1::ListServicePerimetersResponse
command.params['parent'] = parent unless parent.nil?
@ -610,7 +610,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_access_policy_service_perimeter(name, service_perimeter_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::AccesscontextmanagerV1::ServicePerimeter::Representation
command.request_object = service_perimeter_object
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
@ -653,7 +653,7 @@ module Google
# @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, 'v1/{+name}:cancel', options)
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
command.request_representation = Google::Apis::AccesscontextmanagerV1::CancelOperationRequest::Representation
command.request_object = cancel_operation_request_object
command.response_representation = Google::Apis::AccesscontextmanagerV1::Empty::Representation
@ -688,7 +688,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1::Empty::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1::Empty
command.params['name'] = name unless name.nil?
@ -720,7 +720,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1::Operation
command.params['name'] = name unless name.nil?
@ -764,7 +764,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1::ListOperationsResponse::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1::ListOperationsResponse
command.params['name'] = name unless name.nil?

View File

@ -71,7 +71,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_access_policy(access_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta/accessPolicies', options)
command = make_simple_command(:post, 'v1beta/accessPolicies', options)
command.request_representation = Google::Apis::AccesscontextmanagerV1beta::AccessPolicy::Representation
command.request_object = access_policy_object
command.response_representation = Google::Apis::AccesscontextmanagerV1beta::Operation::Representation
@ -106,7 +106,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_access_policy(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta/{+name}', options)
command = make_simple_command(:delete, 'v1beta/{+name}', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1beta::Operation::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1beta::Operation
command.params['name'] = name unless name.nil?
@ -137,7 +137,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_access_policy(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/{+name}', options)
command = make_simple_command(:get, 'v1beta/{+name}', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1beta::AccessPolicy::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1beta::AccessPolicy
command.params['name'] = name unless name.nil?
@ -176,7 +176,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_access_policies(page_size: nil, page_token: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/accessPolicies', options)
command = make_simple_command(:get, 'v1beta/accessPolicies', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1beta::ListAccessPoliciesResponse::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1beta::ListAccessPoliciesResponse
command.query['pageSize'] = page_size unless page_size.nil?
@ -216,7 +216,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_access_policy(name, access_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta/{+name}', options)
command = make_simple_command(:patch, 'v1beta/{+name}', options)
command.request_representation = Google::Apis::AccesscontextmanagerV1beta::AccessPolicy::Representation
command.request_object = access_policy_object
command.response_representation = Google::Apis::AccesscontextmanagerV1beta::Operation::Representation
@ -256,7 +256,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_access_policy_access_level(parent, access_level_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta/{+parent}/accessLevels', options)
command = make_simple_command(:post, 'v1beta/{+parent}/accessLevels', options)
command.request_representation = Google::Apis::AccesscontextmanagerV1beta::AccessLevel::Representation
command.request_object = access_level_object
command.response_representation = Google::Apis::AccesscontextmanagerV1beta::Operation::Representation
@ -293,7 +293,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_access_policy_access_level(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta/{+name}', options)
command = make_simple_command(:delete, 'v1beta/{+name}', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1beta::Operation::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1beta::Operation
command.params['name'] = name unless name.nil?
@ -334,7 +334,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_access_policy_access_level(name, access_level_format: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/{+name}', options)
command = make_simple_command(:get, 'v1beta/{+name}', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1beta::AccessLevel::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1beta::AccessLevel
command.params['name'] = name unless name.nil?
@ -378,7 +378,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_access_policy_access_levels(parent, access_level_format: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/{+parent}/accessLevels', options)
command = make_simple_command(:get, 'v1beta/{+parent}/accessLevels', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1beta::ListAccessLevelsResponse::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1beta::ListAccessLevelsResponse
command.params['parent'] = parent unless parent.nil?
@ -420,7 +420,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_access_policy_access_level(name, access_level_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta/{+name}', options)
command = make_simple_command(:patch, 'v1beta/{+name}', options)
command.request_representation = Google::Apis::AccesscontextmanagerV1beta::AccessLevel::Representation
command.request_object = access_level_object
command.response_representation = Google::Apis::AccesscontextmanagerV1beta::Operation::Representation
@ -460,7 +460,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_access_policy_service_perimeter(parent, service_perimeter_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta/{+parent}/servicePerimeters', options)
command = make_simple_command(:post, 'v1beta/{+parent}/servicePerimeters', options)
command.request_representation = Google::Apis::AccesscontextmanagerV1beta::ServicePerimeter::Representation
command.request_object = service_perimeter_object
command.response_representation = Google::Apis::AccesscontextmanagerV1beta::Operation::Representation
@ -497,7 +497,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_access_policy_service_perimeter(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta/{+name}', options)
command = make_simple_command(:delete, 'v1beta/{+name}', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1beta::Operation::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1beta::Operation
command.params['name'] = name unless name.nil?
@ -530,7 +530,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_access_policy_service_perimeter(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/{+name}', options)
command = make_simple_command(:get, 'v1beta/{+name}', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1beta::ServicePerimeter::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1beta::ServicePerimeter
command.params['name'] = name unless name.nil?
@ -569,7 +569,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_access_policy_service_perimeters(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/{+parent}/servicePerimeters', options)
command = make_simple_command(:get, 'v1beta/{+parent}/servicePerimeters', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1beta::ListServicePerimetersResponse::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1beta::ListServicePerimetersResponse
command.params['parent'] = parent unless parent.nil?
@ -610,7 +610,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_access_policy_service_perimeter(name, service_perimeter_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta/{+name}', options)
command = make_simple_command(:patch, 'v1beta/{+name}', options)
command.request_representation = Google::Apis::AccesscontextmanagerV1beta::ServicePerimeter::Representation
command.request_object = service_perimeter_object
command.response_representation = Google::Apis::AccesscontextmanagerV1beta::Operation::Representation
@ -645,7 +645,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/{+name}', options)
command = make_simple_command(:get, 'v1beta/{+name}', options)
command.response_representation = Google::Apis::AccesscontextmanagerV1beta::Operation::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1beta::Operation
command.params['name'] = name unless name.nil?

View File

@ -72,7 +72,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_account_client(account_id, client_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients', options)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
command.request_object = client_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
@ -106,7 +106,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account_client(account_id, client_account_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', options)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client
command.params['accountId'] = account_id unless account_id.nil?
@ -151,7 +151,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_clients(account_id, page_size: nil, page_token: nil, partner_client_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients', options)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse
command.params['accountId'] = account_id unless account_id.nil?
@ -188,7 +188,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_account_client(account_id, client_account_id, client_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', options)
command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
command.request_object = client_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
@ -226,7 +226,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_account_client_invitation(account_id, client_account_id, client_user_invitation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation
command.request_object = client_user_invitation_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation
@ -264,7 +264,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account_client_invitation(account_id, client_account_id, invitation_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}', options)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation
command.params['accountId'] = account_id unless account_id.nil?
@ -314,7 +314,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_client_invitations(account_id, client_account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse
command.params['accountId'] = account_id unless account_id.nil?
@ -352,7 +352,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account_client_user(account_id, client_account_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', options)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUser
command.params['accountId'] = account_id unless account_id.nil?
@ -402,7 +402,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_client_users(account_id, client_account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users', options)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse
command.params['accountId'] = account_id unless account_id.nil?
@ -442,7 +442,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_account_client_user(account_id, client_account_id, user_id, client_user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', options)
command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation
command.request_object = client_user_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation
@ -483,7 +483,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_account_creative(account_id, creative_object = nil, duplicate_id_mode: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives', options)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation
command.request_object = creative_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation
@ -518,7 +518,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account_creative(account_id, creative_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative
command.params['accountId'] = account_id unless account_id.nil?
@ -577,7 +577,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_creatives(account_id, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives', options)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse
command.params['accountId'] = account_id unless account_id.nil?
@ -615,7 +615,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def stop_watching_creative(account_id, creative_id, stop_watching_creative_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching', options)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::StopWatchingCreativeRequest::Representation
command.request_object = stop_watching_creative_request_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
@ -657,7 +657,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_account_creative(account_id, creative_id, creative_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options)
command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation
command.request_object = creative_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation
@ -698,7 +698,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def watch_creative(account_id, creative_id, watch_creative_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}:watch', options)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}:watch', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest::Representation
command.request_object = watch_creative_request_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
@ -734,7 +734,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def add_deal_association(account_id, creative_id, add_deal_association_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add', options)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::AddDealAssociationRequest::Representation
command.request_object = add_deal_association_request_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
@ -793,7 +793,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_creative_deal_associations(account_id, creative_id, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations', options)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse
command.params['accountId'] = account_id unless account_id.nil?
@ -830,7 +830,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def remove_deal_association(account_id, creative_id, remove_deal_association_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove', options)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::RemoveDealAssociationRequest::Representation
command.request_object = remove_deal_association_request_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
@ -877,7 +877,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_finalized_proposals(account_id, filter: nil, filter_syntax: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/finalizedProposals', options)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/finalizedProposals', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListProposalsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListProposalsResponse
command.params['accountId'] = account_id unless account_id.nil?
@ -913,7 +913,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account_product(account_id, product_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/products/{productId}', options)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/products/{productId}', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Product::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Product
command.params['accountId'] = account_id unless account_id.nil?
@ -956,7 +956,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_products(account_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/products', options)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/products', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListProductsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListProductsResponse
command.params['accountId'] = account_id unless account_id.nil?
@ -995,7 +995,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def accept_proposal(account_id, proposal_id, accept_proposal_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/proposals/{proposalId}:accept', options)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/proposals/{proposalId}:accept', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::AcceptProposalRequest::Representation
command.request_object = accept_proposal_request_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Proposal::Representation
@ -1034,7 +1034,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def add_proposal_note(account_id, proposal_id, add_note_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/proposals/{proposalId}:addNote', options)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/proposals/{proposalId}:addNote', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::AddNoteRequest::Representation
command.request_object = add_note_request_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Note::Representation
@ -1072,7 +1072,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_proposal_negotiation(account_id, proposal_id, cancel_negotiation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/proposals/{proposalId}:cancelNegotiation', options)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/proposals/{proposalId}:cancelNegotiation', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::CancelNegotiationRequest::Representation
command.request_object = cancel_negotiation_request_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Proposal::Representation
@ -1113,7 +1113,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def complete_proposal_setup(account_id, proposal_id, complete_setup_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/proposals/{proposalId}:completeSetup', options)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/proposals/{proposalId}:completeSetup', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::CompleteSetupRequest::Representation
command.request_object = complete_setup_request_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Proposal::Representation
@ -1148,7 +1148,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_account_proposal(account_id, proposal_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/proposals', options)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/proposals', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Proposal::Representation
command.request_object = proposal_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Proposal::Representation
@ -1183,7 +1183,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account_proposal(account_id, proposal_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/proposals/{proposalId}', options)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/proposals/{proposalId}', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Proposal::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Proposal
command.params['accountId'] = account_id unless account_id.nil?
@ -1231,7 +1231,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_proposals(account_id, filter: nil, filter_syntax: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/proposals', options)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/proposals', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListProposalsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListProposalsResponse
command.params['accountId'] = account_id unless account_id.nil?
@ -1274,7 +1274,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def pause_proposal(account_id, proposal_id, pause_proposal_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/proposals/{proposalId}:pause', options)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/proposals/{proposalId}:pause', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::PauseProposalRequest::Representation
command.request_object = pause_proposal_request_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Proposal::Representation
@ -1318,7 +1318,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def resume_proposal(account_id, proposal_id, resume_proposal_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/proposals/{proposalId}:resume', options)
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/proposals/{proposalId}:resume', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::ResumeProposalRequest::Representation
command.request_object = resume_proposal_request_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Proposal::Representation
@ -1365,7 +1365,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_account_proposal(account_id, proposal_id, proposal_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/proposals/{proposalId}', options)
command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/proposals/{proposalId}', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Proposal::Representation
command.request_object = proposal_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Proposal::Representation
@ -1400,7 +1400,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account_publisher_profile(account_id, publisher_profile_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/publisherProfiles/{publisherProfileId}', options)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/publisherProfiles/{publisherProfileId}', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::PublisherProfile::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::PublisherProfile
command.params['accountId'] = account_id unless account_id.nil?
@ -1435,7 +1435,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_publisher_profiles(account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/publisherProfiles', options)
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/publisherProfiles', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListPublisherProfilesResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListPublisherProfilesResponse
command.params['accountId'] = account_id unless account_id.nil?
@ -1478,7 +1478,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_bidder_account_filter_set(owner_name, filter_set_object = nil, is_transient: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/{+ownerName}/filterSets', options)
command = make_simple_command(:post, 'v2beta1/{+ownerName}/filterSets', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
command.request_object = filter_set_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
@ -1519,7 +1519,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_bidder_account_filter_set(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
command.params['name'] = name unless name.nil?
@ -1557,7 +1557,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_bidder_account_filter_set(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+name}', options)
command = make_simple_command(:get, 'v2beta1/{+name}', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet
command.params['name'] = name unless name.nil?
@ -1603,7 +1603,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_sets(owner_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+ownerName}/filterSets', options)
command = make_simple_command(:get, 'v2beta1/{+ownerName}/filterSets', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse
command.params['ownerName'] = owner_name unless owner_name.nil?
@ -1651,7 +1651,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_set_bid_metrics(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidMetrics', options)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidMetrics', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
@ -1700,7 +1700,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_set_bid_response_errors(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponseErrors', options)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponseErrors', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
@ -1749,7 +1749,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_set_bid_responses_without_bids(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponsesWithoutBids', options)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponsesWithoutBids', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
@ -1798,7 +1798,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_set_filtered_bid_requests(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBidRequests', options)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBidRequests', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
@ -1847,7 +1847,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_set_filtered_bids(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids', options)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
@ -1902,7 +1902,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_set_filtered_bid_creatives(filter_set_name, creative_status_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives', options)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
@ -1958,7 +1958,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_set_filtered_bid_details(filter_set_name, creative_status_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details', options)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
@ -2007,7 +2007,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_set_impression_metrics(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/impressionMetrics', options)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/impressionMetrics', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
@ -2056,7 +2056,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_set_losing_bids(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/losingBids', options)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/losingBids', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
@ -2105,7 +2105,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_set_non_billable_winning_bids(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/nonBillableWinningBids', options)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/nonBillableWinningBids', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
@ -2148,7 +2148,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_bidder_filter_set(owner_name, filter_set_object = nil, is_transient: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/{+ownerName}/filterSets', options)
command = make_simple_command(:post, 'v2beta1/{+ownerName}/filterSets', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
command.request_object = filter_set_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
@ -2189,7 +2189,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_bidder_filter_set(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
command.params['name'] = name unless name.nil?
@ -2227,7 +2227,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_bidder_filter_set(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+name}', options)
command = make_simple_command(:get, 'v2beta1/{+name}', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet
command.params['name'] = name unless name.nil?
@ -2273,7 +2273,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_sets(owner_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+ownerName}/filterSets', options)
command = make_simple_command(:get, 'v2beta1/{+ownerName}/filterSets', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse
command.params['ownerName'] = owner_name unless owner_name.nil?
@ -2321,7 +2321,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_set_bid_metrics(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidMetrics', options)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidMetrics', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
@ -2370,7 +2370,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_set_bid_response_errors(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponseErrors', options)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponseErrors', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
@ -2419,7 +2419,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_set_bid_responses_without_bids(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponsesWithoutBids', options)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponsesWithoutBids', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
@ -2468,7 +2468,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_set_filtered_bid_requests(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBidRequests', options)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBidRequests', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
@ -2517,7 +2517,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_set_filtered_bids(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids', options)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
@ -2572,7 +2572,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_set_filtered_bid_creatives(filter_set_name, creative_status_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives', options)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
@ -2628,7 +2628,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_set_filtered_bid_details(filter_set_name, creative_status_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details', options)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
@ -2677,7 +2677,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_set_impression_metrics(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/impressionMetrics', options)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/impressionMetrics', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
@ -2726,7 +2726,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_set_losing_bids(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/losingBids', options)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/losingBids', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
@ -2775,7 +2775,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_set_non_billable_winning_bids(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/nonBillableWinningBids', options)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/nonBillableWinningBids', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?

View File

@ -75,7 +75,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{id}', options)
command = make_simple_command(:get, 'accounts/{id}', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_2::Account::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_2::Account
command.params['id'] = id unless id.nil?
@ -106,7 +106,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_accounts(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts', options)
command = make_simple_command(:get, 'accounts', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_2::AccountsList::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_2::AccountsList
command.query['fields'] = fields unless fields.nil?
@ -139,7 +139,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_account(id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'accounts/{id}', options)
command = make_simple_command(:patch, 'accounts/{id}', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_2::Account::Representation
command.request_object = account_object
command.response_representation = Google::Apis::AdexchangebuyerV1_2::Account::Representation
@ -175,7 +175,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_account(id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'accounts/{id}', options)
command = make_simple_command(:put, 'accounts/{id}', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_2::Account::Representation
command.request_object = account_object
command.response_representation = Google::Apis::AdexchangebuyerV1_2::Account::Representation
@ -213,7 +213,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_creative(account_id, buyer_creative_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'creatives/{accountId}/{buyerCreativeId}', options)
command = make_simple_command(:get, 'creatives/{accountId}/{buyerCreativeId}', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_2::Creative::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_2::Creative
command.params['accountId'] = account_id unless account_id.nil?
@ -246,7 +246,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_creative(creative_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'creatives', options)
command = make_simple_command(:post, 'creatives', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_2::Creative::Representation
command.request_object = creative_object
command.response_representation = Google::Apis::AdexchangebuyerV1_2::Creative::Representation
@ -288,7 +288,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_creatives(max_results: nil, page_token: nil, status_filter: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'creatives', options)
command = make_simple_command(:get, 'creatives', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_2::CreativesList::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_2::CreativesList
command.query['maxResults'] = max_results unless max_results.nil?

View File

@ -75,7 +75,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{id}', options)
command = make_simple_command(:get, 'accounts/{id}', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_3::Account::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_3::Account
command.params['id'] = id unless id.nil?
@ -106,7 +106,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_accounts(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts', options)
command = make_simple_command(:get, 'accounts', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_3::AccountsList::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_3::AccountsList
command.query['fields'] = fields unless fields.nil?
@ -139,7 +139,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_account(id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'accounts/{id}', options)
command = make_simple_command(:patch, 'accounts/{id}', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_3::Account::Representation
command.request_object = account_object
command.response_representation = Google::Apis::AdexchangebuyerV1_3::Account::Representation
@ -175,7 +175,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_account(id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'accounts/{id}', options)
command = make_simple_command(:put, 'accounts/{id}', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_3::Account::Representation
command.request_object = account_object
command.response_representation = Google::Apis::AdexchangebuyerV1_3::Account::Representation
@ -210,7 +210,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_billing_info(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'billinginfo/{accountId}', options)
command = make_simple_command(:get, 'billinginfo/{accountId}', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_3::BillingInfo::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_3::BillingInfo
command.params['accountId'] = account_id unless account_id.nil?
@ -242,7 +242,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_billing_infos(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'billinginfo', options)
command = make_simple_command(:get, 'billinginfo', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_3::BillingInfoList::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_3::BillingInfoList
command.query['fields'] = fields unless fields.nil?
@ -277,7 +277,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_budget(account_id, billing_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'billinginfo/{accountId}/{billingId}', options)
command = make_simple_command(:get, 'billinginfo/{accountId}/{billingId}', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_3::Budget::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_3::Budget
command.params['accountId'] = account_id unless account_id.nil?
@ -316,7 +316,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_budget(account_id, billing_id, budget_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'billinginfo/{accountId}/{billingId}', options)
command = make_simple_command(:patch, 'billinginfo/{accountId}/{billingId}', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_3::Budget::Representation
command.request_object = budget_object
command.response_representation = Google::Apis::AdexchangebuyerV1_3::Budget::Representation
@ -356,7 +356,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_budget(account_id, billing_id, budget_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'billinginfo/{accountId}/{billingId}', options)
command = make_simple_command(:put, 'billinginfo/{accountId}/{billingId}', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_3::Budget::Representation
command.request_object = budget_object
command.response_representation = Google::Apis::AdexchangebuyerV1_3::Budget::Representation
@ -395,7 +395,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_creative(account_id, buyer_creative_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'creatives/{accountId}/{buyerCreativeId}', options)
command = make_simple_command(:get, 'creatives/{accountId}/{buyerCreativeId}', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_3::Creative::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_3::Creative
command.params['accountId'] = account_id unless account_id.nil?
@ -428,7 +428,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_creative(creative_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'creatives', options)
command = make_simple_command(:post, 'creatives', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_3::Creative::Representation
command.request_object = creative_object
command.response_representation = Google::Apis::AdexchangebuyerV1_3::Creative::Representation
@ -474,7 +474,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_creatives(account_id: nil, buyer_creative_id: nil, max_results: nil, page_token: nil, status_filter: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'creatives', options)
command = make_simple_command(:get, 'creatives', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_3::CreativesList::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_3::CreativesList
command.query['accountId'] = account_id unless account_id.nil?
@ -511,7 +511,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_direct_deal(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'directdeals/{id}', options)
command = make_simple_command(:get, 'directdeals/{id}', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_3::DirectDeal::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_3::DirectDeal
command.params['id'] = id unless id.nil?
@ -542,7 +542,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_direct_deals(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'directdeals', options)
command = make_simple_command(:get, 'directdeals', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_3::DirectDealsList::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_3::DirectDealsList
command.query['fields'] = fields unless fields.nil?
@ -585,7 +585,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_performance_reports(account_id, end_date_time, start_date_time, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'performancereport', options)
command = make_simple_command(:get, 'performancereport', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_3::PerformanceReportList::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_3::PerformanceReportList
command.query['accountId'] = account_id unless account_id.nil?
@ -624,7 +624,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_pretargeting_config(account_id, config_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'pretargetingconfigs/{accountId}/{configId}', options)
command = make_simple_command(:delete, 'pretargetingconfigs/{accountId}/{configId}', options)
command.params['accountId'] = account_id unless account_id.nil?
command.params['configId'] = config_id unless config_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -658,7 +658,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_pretargeting_config(account_id, config_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'pretargetingconfigs/{accountId}/{configId}', options)
command = make_simple_command(:get, 'pretargetingconfigs/{accountId}/{configId}', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_3::PretargetingConfig
command.params['accountId'] = account_id unless account_id.nil?
@ -693,7 +693,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_pretargeting_config(account_id, pretargeting_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'pretargetingconfigs/{accountId}', options)
command = make_simple_command(:post, 'pretargetingconfigs/{accountId}', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Representation
command.request_object = pretargeting_config_object
command.response_representation = Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Representation
@ -728,7 +728,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_pretargeting_configs(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'pretargetingconfigs/{accountId}', options)
command = make_simple_command(:get, 'pretargetingconfigs/{accountId}', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_3::PretargetingConfigList::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_3::PretargetingConfigList
command.params['accountId'] = account_id unless account_id.nil?
@ -764,7 +764,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_pretargeting_config(account_id, config_id, pretargeting_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'pretargetingconfigs/{accountId}/{configId}', options)
command = make_simple_command(:patch, 'pretargetingconfigs/{accountId}/{configId}', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Representation
command.request_object = pretargeting_config_object
command.response_representation = Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Representation
@ -803,7 +803,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_pretargeting_config(account_id, config_id, pretargeting_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'pretargetingconfigs/{accountId}/{configId}', options)
command = make_simple_command(:put, 'pretargetingconfigs/{accountId}/{configId}', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Representation
command.request_object = pretargeting_config_object
command.response_representation = Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Representation

View File

@ -75,7 +75,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{id}', options)
command = make_simple_command(:get, 'accounts/{id}', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_4::Account
command.params['id'] = id unless id.nil?
@ -106,7 +106,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_accounts(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts', options)
command = make_simple_command(:get, 'accounts', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_4::AccountsList::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_4::AccountsList
command.query['fields'] = fields unless fields.nil?
@ -141,7 +141,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_account(id, account_object = nil, confirm_unsafe_account_change: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'accounts/{id}', options)
command = make_simple_command(:patch, 'accounts/{id}', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation
command.request_object = account_object
command.response_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation
@ -180,7 +180,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_account(id, account_object = nil, confirm_unsafe_account_change: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'accounts/{id}', options)
command = make_simple_command(:put, 'accounts/{id}', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation
command.request_object = account_object
command.response_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation
@ -216,7 +216,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_billing_info(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'billinginfo/{accountId}', options)
command = make_simple_command(:get, 'billinginfo/{accountId}', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_4::BillingInfo::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_4::BillingInfo
command.params['accountId'] = account_id unless account_id.nil?
@ -248,7 +248,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_billing_infos(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'billinginfo', options)
command = make_simple_command(:get, 'billinginfo', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_4::BillingInfoList::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_4::BillingInfoList
command.query['fields'] = fields unless fields.nil?
@ -283,7 +283,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_budget(account_id, billing_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'billinginfo/{accountId}/{billingId}', options)
command = make_simple_command(:get, 'billinginfo/{accountId}/{billingId}', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_4::Budget::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_4::Budget
command.params['accountId'] = account_id unless account_id.nil?
@ -322,7 +322,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_budget(account_id, billing_id, budget_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'billinginfo/{accountId}/{billingId}', options)
command = make_simple_command(:patch, 'billinginfo/{accountId}/{billingId}', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_4::Budget::Representation
command.request_object = budget_object
command.response_representation = Google::Apis::AdexchangebuyerV1_4::Budget::Representation
@ -362,7 +362,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_budget(account_id, billing_id, budget_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'billinginfo/{accountId}/{billingId}', options)
command = make_simple_command(:put, 'billinginfo/{accountId}/{billingId}', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_4::Budget::Representation
command.request_object = budget_object
command.response_representation = Google::Apis::AdexchangebuyerV1_4::Budget::Representation
@ -402,7 +402,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def add_creative_deal(account_id, buyer_creative_id, deal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'creatives/{accountId}/{buyerCreativeId}/addDeal/{dealId}', options)
command = make_simple_command(:post, 'creatives/{accountId}/{buyerCreativeId}/addDeal/{dealId}', options)
command.params['accountId'] = account_id unless account_id.nil?
command.params['buyerCreativeId'] = buyer_creative_id unless buyer_creative_id.nil?
command.params['dealId'] = deal_id unless deal_id.nil?
@ -438,7 +438,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_creative(account_id, buyer_creative_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'creatives/{accountId}/{buyerCreativeId}', options)
command = make_simple_command(:get, 'creatives/{accountId}/{buyerCreativeId}', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_4::Creative::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_4::Creative
command.params['accountId'] = account_id unless account_id.nil?
@ -471,7 +471,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_creative(creative_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'creatives', options)
command = make_simple_command(:post, 'creatives', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_4::Creative::Representation
command.request_object = creative_object
command.response_representation = Google::Apis::AdexchangebuyerV1_4::Creative::Representation
@ -520,7 +520,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_creatives(account_id: nil, buyer_creative_id: nil, deals_status_filter: nil, max_results: nil, open_auction_status_filter: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'creatives', options)
command = make_simple_command(:get, 'creatives', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_4::CreativesList::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_4::CreativesList
command.query['accountId'] = account_id unless account_id.nil?
@ -560,7 +560,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_creative_deals(account_id, buyer_creative_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'creatives/{accountId}/{buyerCreativeId}/listDeals', options)
command = make_simple_command(:get, 'creatives/{accountId}/{buyerCreativeId}/listDeals', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_4::CreativeDealIds::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_4::CreativeDealIds
command.params['accountId'] = account_id unless account_id.nil?
@ -598,7 +598,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def remove_creative_deal(account_id, buyer_creative_id, deal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}', options)
command = make_simple_command(:post, 'creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}', options)
command.params['accountId'] = account_id unless account_id.nil?
command.params['buyerCreativeId'] = buyer_creative_id unless buyer_creative_id.nil?
command.params['dealId'] = deal_id unless deal_id.nil?
@ -632,7 +632,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_marketplacedeal_order_deals(proposal_id, delete_order_deals_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'proposals/{proposalId}/deals/delete', options)
command = make_simple_command(:post, 'proposals/{proposalId}/deals/delete', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_4::DeleteOrderDealsRequest::Representation
command.request_object = delete_order_deals_request_object
command.response_representation = Google::Apis::AdexchangebuyerV1_4::DeleteOrderDealsResponse::Representation
@ -668,7 +668,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_marketplacedeal(proposal_id, add_order_deals_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'proposals/{proposalId}/deals/insert', options)
command = make_simple_command(:post, 'proposals/{proposalId}/deals/insert', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_4::AddOrderDealsRequest::Representation
command.request_object = add_order_deals_request_object
command.response_representation = Google::Apis::AdexchangebuyerV1_4::AddOrderDealsResponse::Representation
@ -706,7 +706,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_marketplacedeals(proposal_id, pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'proposals/{proposalId}/deals', options)
command = make_simple_command(:get, 'proposals/{proposalId}/deals', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_4::GetOrderDealsResponse::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_4::GetOrderDealsResponse
command.params['proposalId'] = proposal_id unless proposal_id.nil?
@ -741,7 +741,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_marketplacedeal(proposal_id, edit_all_order_deals_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'proposals/{proposalId}/deals/update', options)
command = make_simple_command(:post, 'proposals/{proposalId}/deals/update', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_4::EditAllOrderDealsRequest::Representation
command.request_object = edit_all_order_deals_request_object
command.response_representation = Google::Apis::AdexchangebuyerV1_4::EditAllOrderDealsResponse::Representation
@ -777,7 +777,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_marketplacenote(proposal_id, add_order_notes_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'proposals/{proposalId}/notes/insert', options)
command = make_simple_command(:post, 'proposals/{proposalId}/notes/insert', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_4::AddOrderNotesRequest::Representation
command.request_object = add_order_notes_request_object
command.response_representation = Google::Apis::AdexchangebuyerV1_4::AddOrderNotesResponse::Representation
@ -817,7 +817,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_marketplacenotes(proposal_id, pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'proposals/{proposalId}/notes', options)
command = make_simple_command(:get, 'proposals/{proposalId}/notes', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_4::GetOrderNotesResponse::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_4::GetOrderNotesResponse
command.params['proposalId'] = proposal_id unless proposal_id.nil?
@ -852,7 +852,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_marketplace_private_auction_proposal(private_auction_id, update_private_auction_proposal_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'privateauction/{privateAuctionId}/updateproposal', options)
command = make_simple_command(:post, 'privateauction/{privateAuctionId}/updateproposal', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_4::UpdatePrivateAuctionProposalRequest::Representation
command.request_object = update_private_auction_proposal_request_object
command.params['privateAuctionId'] = private_auction_id unless private_auction_id.nil?
@ -896,7 +896,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_performance_reports(account_id, end_date_time, start_date_time, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'performancereport', options)
command = make_simple_command(:get, 'performancereport', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_4::PerformanceReportList::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_4::PerformanceReportList
command.query['accountId'] = account_id unless account_id.nil?
@ -935,7 +935,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_pretargeting_config(account_id, config_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'pretargetingconfigs/{accountId}/{configId}', options)
command = make_simple_command(:delete, 'pretargetingconfigs/{accountId}/{configId}', options)
command.params['accountId'] = account_id unless account_id.nil?
command.params['configId'] = config_id unless config_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -969,7 +969,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_pretargeting_config(account_id, config_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'pretargetingconfigs/{accountId}/{configId}', options)
command = make_simple_command(:get, 'pretargetingconfigs/{accountId}/{configId}', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_4::PretargetingConfig::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_4::PretargetingConfig
command.params['accountId'] = account_id unless account_id.nil?
@ -1004,7 +1004,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_pretargeting_config(account_id, pretargeting_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'pretargetingconfigs/{accountId}', options)
command = make_simple_command(:post, 'pretargetingconfigs/{accountId}', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_4::PretargetingConfig::Representation
command.request_object = pretargeting_config_object
command.response_representation = Google::Apis::AdexchangebuyerV1_4::PretargetingConfig::Representation
@ -1039,7 +1039,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_pretargeting_configs(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'pretargetingconfigs/{accountId}', options)
command = make_simple_command(:get, 'pretargetingconfigs/{accountId}', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_4::PretargetingConfigList::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_4::PretargetingConfigList
command.params['accountId'] = account_id unless account_id.nil?
@ -1075,7 +1075,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_pretargeting_config(account_id, config_id, pretargeting_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'pretargetingconfigs/{accountId}/{configId}', options)
command = make_simple_command(:patch, 'pretargetingconfigs/{accountId}/{configId}', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_4::PretargetingConfig::Representation
command.request_object = pretargeting_config_object
command.response_representation = Google::Apis::AdexchangebuyerV1_4::PretargetingConfig::Representation
@ -1114,7 +1114,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_pretargeting_config(account_id, config_id, pretargeting_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'pretargetingconfigs/{accountId}/{configId}', options)
command = make_simple_command(:put, 'pretargetingconfigs/{accountId}/{configId}', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_4::PretargetingConfig::Representation
command.request_object = pretargeting_config_object
command.response_representation = Google::Apis::AdexchangebuyerV1_4::PretargetingConfig::Representation
@ -1150,7 +1150,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_product(product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'products/{productId}', options)
command = make_simple_command(:get, 'products/{productId}', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_4::Product::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_4::Product
command.params['productId'] = product_id unless product_id.nil?
@ -1183,7 +1183,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_products(pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'products/search', options)
command = make_simple_command(:get, 'products/search', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_4::GetOffersResponse::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_4::GetOffersResponse
command.query['pqlQuery'] = pql_query unless pql_query.nil?
@ -1216,7 +1216,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_proposal(proposal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'proposals/{proposalId}', options)
command = make_simple_command(:get, 'proposals/{proposalId}', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_4::Proposal::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_4::Proposal
command.params['proposalId'] = proposal_id unless proposal_id.nil?
@ -1248,7 +1248,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_proposal(create_orders_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'proposals/insert', options)
command = make_simple_command(:post, 'proposals/insert', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_4::CreateOrdersRequest::Representation
command.request_object = create_orders_request_object
command.response_representation = Google::Apis::AdexchangebuyerV1_4::CreateOrdersResponse::Representation
@ -1291,7 +1291,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_proposal(proposal_id, revision_number, update_action, proposal_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'proposals/{proposalId}/{revisionNumber}/{updateAction}', options)
command = make_simple_command(:patch, 'proposals/{proposalId}/{revisionNumber}/{updateAction}', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_4::Proposal::Representation
command.request_object = proposal_object
command.response_representation = Google::Apis::AdexchangebuyerV1_4::Proposal::Representation
@ -1328,7 +1328,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_proposals(pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'proposals/search', options)
command = make_simple_command(:get, 'proposals/search', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_4::GetOrdersResponse::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_4::GetOrdersResponse
command.query['pqlQuery'] = pql_query unless pql_query.nil?
@ -1361,7 +1361,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def proposal_setup_complete(proposal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'proposals/{proposalId}/setupcomplete', options)
command = make_simple_command(:post, 'proposals/{proposalId}/setupcomplete', options)
command.params['proposalId'] = proposal_id unless proposal_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -1401,7 +1401,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_proposal(proposal_id, revision_number, update_action, proposal_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'proposals/{proposalId}/{revisionNumber}/{updateAction}', options)
command = make_simple_command(:put, 'proposals/{proposalId}/{revisionNumber}/{updateAction}', options)
command.request_representation = Google::Apis::AdexchangebuyerV1_4::Proposal::Representation
command.request_object = proposal_object
command.response_representation = Google::Apis::AdexchangebuyerV1_4::Proposal::Representation
@ -1438,7 +1438,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_pub_profiles(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'publisher/{accountId}/profiles', options)
command = make_simple_command(:get, 'publisher/{accountId}/profiles', options)
command.response_representation = Google::Apis::AdexchangebuyerV1_4::GetPublisherProfilesByAccountIdResponse::Representation
command.response_class = Google::Apis::AdexchangebuyerV1_4::GetPublisherProfilesByAccountIdResponse
command.params['accountId'] = account_id unless account_id.nil?

View File

@ -75,7 +75,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_site(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AdexperiencereportV1::SiteSummaryResponse::Representation
command.response_class = Google::Apis::AdexperiencereportV1::SiteSummaryResponse
command.params['name'] = name unless name.nil?
@ -103,7 +103,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_violating_sites(fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/violatingSites', options)
command = make_simple_command(:get, 'v1/violatingSites', options)
command.response_representation = Google::Apis::AdexperiencereportV1::ViolatingSitesResponse::Representation
command.response_class = Google::Apis::AdexperiencereportV1::ViolatingSitesResponse
command.query['fields'] = fields unless fields.nil?

View File

@ -74,7 +74,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_application(application_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'applications/{applicationId}', options)
command = make_simple_command(:get, 'applications/{applicationId}', options)
command.response_representation = Google::Apis::AdminDatatransferV1::Application::Representation
command.response_class = Google::Apis::AdminDatatransferV1::Application
command.params['applicationId'] = application_id unless application_id.nil?
@ -111,7 +111,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_applications(customer_id: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'applications', options)
command = make_simple_command(:get, 'applications', options)
command.response_representation = Google::Apis::AdminDatatransferV1::ApplicationsListResponse::Representation
command.response_class = Google::Apis::AdminDatatransferV1::ApplicationsListResponse
command.query['customerId'] = customer_id unless customer_id.nil?
@ -147,7 +147,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_transfer(data_transfer_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'transfers/{dataTransferId}', options)
command = make_simple_command(:get, 'transfers/{dataTransferId}', options)
command.response_representation = Google::Apis::AdminDatatransferV1::DataTransfer::Representation
command.response_class = Google::Apis::AdminDatatransferV1::DataTransfer
command.params['dataTransferId'] = data_transfer_id unless data_transfer_id.nil?
@ -179,7 +179,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_transfer(data_transfer_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'transfers', options)
command = make_simple_command(:post, 'transfers', options)
command.request_representation = Google::Apis::AdminDatatransferV1::DataTransfer::Representation
command.request_object = data_transfer_object
command.response_representation = Google::Apis::AdminDatatransferV1::DataTransfer::Representation
@ -223,7 +223,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_transfers(customer_id: nil, max_results: nil, new_owner_user_id: nil, old_owner_user_id: nil, page_token: nil, status: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'transfers', options)
command = make_simple_command(:get, 'transfers', options)
command.response_representation = Google::Apis::AdminDatatransferV1::DataTransfersListResponse::Representation
command.response_class = Google::Apis::AdminDatatransferV1::DataTransfersListResponse
command.query['customerId'] = customer_id unless customer_id.nil?

View File

@ -78,7 +78,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_asp(user_key, code_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'users/{userKey}/asps/{codeId}', options)
command = make_simple_command(:delete, 'users/{userKey}/asps/{codeId}', options)
command.params['userKey'] = user_key unless user_key.nil?
command.params['codeId'] = code_id unless code_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -113,7 +113,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_asp(user_key, code_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/{userKey}/asps/{codeId}', options)
command = make_simple_command(:get, 'users/{userKey}/asps/{codeId}', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Asp::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Asp
command.params['userKey'] = user_key unless user_key.nil?
@ -148,7 +148,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_asps(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/{userKey}/asps', options)
command = make_simple_command(:get, 'users/{userKey}/asps', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Asps::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Asps
command.params['userKey'] = user_key unless user_key.nil?
@ -180,7 +180,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def stop_channel(channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '/admin/directory_v1/channels/stop', options)
command = make_simple_command(:post, '/admin/directory_v1/channels/stop', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Channel::Representation
command.request_object = channel_object
command.query['fields'] = fields unless fields.nil?
@ -215,7 +215,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def action_chromeosdevice(customer_id, resource_id, chrome_os_device_action_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'customer/{customerId}/devices/chromeos/{resourceId}/action', options)
command = make_simple_command(:post, 'customer/{customerId}/devices/chromeos/{resourceId}/action', options)
command.request_representation = Google::Apis::AdminDirectoryV1::ChromeOsDeviceAction::Representation
command.request_object = chrome_os_device_action_object
command.params['customerId'] = customer_id unless customer_id.nil?
@ -253,7 +253,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_chrome_os_device(customer_id, device_id, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customerId}/devices/chromeos/{deviceId}', options)
command = make_simple_command(:get, 'customer/{customerId}/devices/chromeos/{deviceId}', options)
command.response_representation = Google::Apis::AdminDirectoryV1::ChromeOsDevice::Representation
command.response_class = Google::Apis::AdminDirectoryV1::ChromeOsDevice
command.params['customerId'] = customer_id unless customer_id.nil?
@ -304,7 +304,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_chrome_os_devices(customer_id, max_results: nil, order_by: nil, org_unit_path: nil, page_token: nil, projection: nil, query: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customerId}/devices/chromeos', options)
command = make_simple_command(:get, 'customer/{customerId}/devices/chromeos', options)
command.response_representation = Google::Apis::AdminDirectoryV1::ChromeOsDevices::Representation
command.response_class = Google::Apis::AdminDirectoryV1::ChromeOsDevices
command.params['customerId'] = customer_id unless customer_id.nil?
@ -347,7 +347,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def move_chromeosdevice_devices_to_ou(customer_id, org_unit_path, chrome_os_move_devices_to_ou_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'customer/{customerId}/devices/chromeos/moveDevicesToOu', options)
command = make_simple_command(:post, 'customer/{customerId}/devices/chromeos/moveDevicesToOu', options)
command.request_representation = Google::Apis::AdminDirectoryV1::ChromeOsMoveDevicesToOu::Representation
command.request_object = chrome_os_move_devices_to_ou_object
command.params['customerId'] = customer_id unless customer_id.nil?
@ -386,7 +386,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_chrome_os_device(customer_id, device_id, chrome_os_device_object = nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'customer/{customerId}/devices/chromeos/{deviceId}', options)
command = make_simple_command(:patch, 'customer/{customerId}/devices/chromeos/{deviceId}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::ChromeOsDevice::Representation
command.request_object = chrome_os_device_object
command.response_representation = Google::Apis::AdminDirectoryV1::ChromeOsDevice::Representation
@ -428,7 +428,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_chrome_os_device(customer_id, device_id, chrome_os_device_object = nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'customer/{customerId}/devices/chromeos/{deviceId}', options)
command = make_simple_command(:put, 'customer/{customerId}/devices/chromeos/{deviceId}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::ChromeOsDevice::Representation
command.request_object = chrome_os_device_object
command.response_representation = Google::Apis::AdminDirectoryV1::ChromeOsDevice::Representation
@ -465,7 +465,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_customer(customer_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customers/{customerKey}', options)
command = make_simple_command(:get, 'customers/{customerKey}', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Customer::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Customer
command.params['customerKey'] = customer_key unless customer_key.nil?
@ -499,7 +499,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_customer(customer_key, customer_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'customers/{customerKey}', options)
command = make_simple_command(:patch, 'customers/{customerKey}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Customer::Representation
command.request_object = customer_object
command.response_representation = Google::Apis::AdminDirectoryV1::Customer::Representation
@ -535,7 +535,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_customer(customer_key, customer_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'customers/{customerKey}', options)
command = make_simple_command(:put, 'customers/{customerKey}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Customer::Representation
command.request_object = customer_object
command.response_representation = Google::Apis::AdminDirectoryV1::Customer::Representation
@ -572,7 +572,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_domain_alias(customer, domain_alias_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'customer/{customer}/domainaliases/{domainAliasName}', options)
command = make_simple_command(:delete, 'customer/{customer}/domainaliases/{domainAliasName}', options)
command.params['customer'] = customer unless customer.nil?
command.params['domainAliasName'] = domain_alias_name unless domain_alias_name.nil?
command.query['fields'] = fields unless fields.nil?
@ -606,7 +606,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_domain_alias(customer, domain_alias_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customer}/domainaliases/{domainAliasName}', options)
command = make_simple_command(:get, 'customer/{customer}/domainaliases/{domainAliasName}', options)
command.response_representation = Google::Apis::AdminDirectoryV1::DomainAlias::Representation
command.response_class = Google::Apis::AdminDirectoryV1::DomainAlias
command.params['customer'] = customer unless customer.nil?
@ -641,7 +641,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_domain_alias(customer, domain_alias_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'customer/{customer}/domainaliases', options)
command = make_simple_command(:post, 'customer/{customer}/domainaliases', options)
command.request_representation = Google::Apis::AdminDirectoryV1::DomainAlias::Representation
command.request_object = domain_alias_object
command.response_representation = Google::Apis::AdminDirectoryV1::DomainAlias::Representation
@ -678,7 +678,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_domain_aliases(customer, parent_domain_name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customer}/domainaliases', options)
command = make_simple_command(:get, 'customer/{customer}/domainaliases', options)
command.response_representation = Google::Apis::AdminDirectoryV1::DomainAliases::Representation
command.response_class = Google::Apis::AdminDirectoryV1::DomainAliases
command.params['customer'] = customer unless customer.nil?
@ -714,7 +714,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_domain(customer, domain_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'customer/{customer}/domains/{domainName}', options)
command = make_simple_command(:delete, 'customer/{customer}/domains/{domainName}', options)
command.params['customer'] = customer unless customer.nil?
command.params['domainName'] = domain_name unless domain_name.nil?
command.query['fields'] = fields unless fields.nil?
@ -748,7 +748,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_domain(customer, domain_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customer}/domains/{domainName}', options)
command = make_simple_command(:get, 'customer/{customer}/domains/{domainName}', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Domains::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Domains
command.params['customer'] = customer unless customer.nil?
@ -783,7 +783,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_domain(customer, domains_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'customer/{customer}/domains', options)
command = make_simple_command(:post, 'customer/{customer}/domains', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Domains::Representation
command.request_object = domains_object
command.response_representation = Google::Apis::AdminDirectoryV1::Domains::Representation
@ -818,7 +818,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_domains(customer, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customer}/domains', options)
command = make_simple_command(:get, 'customer/{customer}/domains', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Domains2::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Domains2
command.params['customer'] = customer unless customer.nil?
@ -851,7 +851,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_group(group_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'groups/{groupKey}', options)
command = make_simple_command(:delete, 'groups/{groupKey}', options)
command.params['groupKey'] = group_key unless group_key.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -882,7 +882,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_group(group_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'groups/{groupKey}', options)
command = make_simple_command(:get, 'groups/{groupKey}', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Group::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Group
command.params['groupKey'] = group_key unless group_key.nil?
@ -914,7 +914,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_group(group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'groups', options)
command = make_simple_command(:post, 'groups', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Group::Representation
command.request_object = group_object
command.response_representation = Google::Apis::AdminDirectoryV1::Group::Representation
@ -967,7 +967,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_groups(customer: nil, domain: nil, max_results: nil, order_by: nil, page_token: nil, query: nil, sort_order: nil, user_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'groups', options)
command = make_simple_command(:get, 'groups', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Groups::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Groups
command.query['customer'] = customer unless customer.nil?
@ -1009,7 +1009,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_group(group_key, group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'groups/{groupKey}', options)
command = make_simple_command(:patch, 'groups/{groupKey}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Group::Representation
command.request_object = group_object
command.response_representation = Google::Apis::AdminDirectoryV1::Group::Representation
@ -1046,7 +1046,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_group(group_key, group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'groups/{groupKey}', options)
command = make_simple_command(:put, 'groups/{groupKey}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Group::Representation
command.request_object = group_object
command.response_representation = Google::Apis::AdminDirectoryV1::Group::Representation
@ -1083,7 +1083,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_group_alias(group_key, group_alias, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'groups/{groupKey}/aliases/{alias}', options)
command = make_simple_command(:delete, 'groups/{groupKey}/aliases/{alias}', options)
command.params['groupKey'] = group_key unless group_key.nil?
command.params['alias'] = group_alias unless group_alias.nil?
command.query['fields'] = fields unless fields.nil?
@ -1116,7 +1116,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_group_alias(group_key, alias_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'groups/{groupKey}/aliases', options)
command = make_simple_command(:post, 'groups/{groupKey}/aliases', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Alias::Representation
command.request_object = alias_object
command.response_representation = Google::Apis::AdminDirectoryV1::Alias::Representation
@ -1151,7 +1151,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_group_aliases(group_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'groups/{groupKey}/aliases', options)
command = make_simple_command(:get, 'groups/{groupKey}/aliases', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Aliases::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Aliases
command.params['groupKey'] = group_key unless group_key.nil?
@ -1186,7 +1186,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_member(group_key, member_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'groups/{groupKey}/members/{memberKey}', options)
command = make_simple_command(:delete, 'groups/{groupKey}/members/{memberKey}', options)
command.params['groupKey'] = group_key unless group_key.nil?
command.params['memberKey'] = member_key unless member_key.nil?
command.query['fields'] = fields unless fields.nil?
@ -1220,7 +1220,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_member(group_key, member_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'groups/{groupKey}/members/{memberKey}', options)
command = make_simple_command(:get, 'groups/{groupKey}/members/{memberKey}', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Member::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Member
command.params['groupKey'] = group_key unless group_key.nil?
@ -1259,7 +1259,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def has_member_member(group_key, member_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'groups/{groupKey}/hasMember/{memberKey}', options)
command = make_simple_command(:get, 'groups/{groupKey}/hasMember/{memberKey}', options)
command.response_representation = Google::Apis::AdminDirectoryV1::MembersHasMember::Representation
command.response_class = Google::Apis::AdminDirectoryV1::MembersHasMember
command.params['groupKey'] = group_key unless group_key.nil?
@ -1294,7 +1294,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_member(group_key, member_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'groups/{groupKey}/members', options)
command = make_simple_command(:post, 'groups/{groupKey}/members', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Member::Representation
command.request_object = member_object
command.response_representation = Google::Apis::AdminDirectoryV1::Member::Representation
@ -1337,7 +1337,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_members(group_key, include_derived_membership: nil, max_results: nil, page_token: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'groups/{groupKey}/members', options)
command = make_simple_command(:get, 'groups/{groupKey}/members', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Members::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Members
command.params['groupKey'] = group_key unless group_key.nil?
@ -1380,7 +1380,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_member(group_key, member_key, member_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'groups/{groupKey}/members/{memberKey}', options)
command = make_simple_command(:patch, 'groups/{groupKey}/members/{memberKey}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Member::Representation
command.request_object = member_object
command.response_representation = Google::Apis::AdminDirectoryV1::Member::Representation
@ -1421,7 +1421,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_member(group_key, member_key, member_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'groups/{groupKey}/members/{memberKey}', options)
command = make_simple_command(:put, 'groups/{groupKey}/members/{memberKey}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Member::Representation
command.request_object = member_object
command.response_representation = Google::Apis::AdminDirectoryV1::Member::Representation
@ -1460,7 +1460,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def action_mobile_device(customer_id, resource_id, mobile_device_action_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'customer/{customerId}/devices/mobile/{resourceId}/action', options)
command = make_simple_command(:post, 'customer/{customerId}/devices/mobile/{resourceId}/action', options)
command.request_representation = Google::Apis::AdminDirectoryV1::MobileDeviceAction::Representation
command.request_object = mobile_device_action_object
command.params['customerId'] = customer_id unless customer_id.nil?
@ -1496,7 +1496,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_mobile_device(customer_id, resource_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'customer/{customerId}/devices/mobile/{resourceId}', options)
command = make_simple_command(:delete, 'customer/{customerId}/devices/mobile/{resourceId}', options)
command.params['customerId'] = customer_id unless customer_id.nil?
command.params['resourceId'] = resource_id unless resource_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -1532,7 +1532,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_mobile_device(customer_id, resource_id, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customerId}/devices/mobile/{resourceId}', options)
command = make_simple_command(:get, 'customer/{customerId}/devices/mobile/{resourceId}', options)
command.response_representation = Google::Apis::AdminDirectoryV1::MobileDevice::Representation
command.response_class = Google::Apis::AdminDirectoryV1::MobileDevice
command.params['customerId'] = customer_id unless customer_id.nil?
@ -1581,7 +1581,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_mobile_devices(customer_id, max_results: nil, order_by: nil, page_token: nil, projection: nil, query: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customerId}/devices/mobile', options)
command = make_simple_command(:get, 'customer/{customerId}/devices/mobile', options)
command.response_representation = Google::Apis::AdminDirectoryV1::MobileDevices::Representation
command.response_class = Google::Apis::AdminDirectoryV1::MobileDevices
command.params['customerId'] = customer_id unless customer_id.nil?
@ -1623,7 +1623,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_notification(customer, notification_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'customer/{customer}/notifications/{notificationId}', options)
command = make_simple_command(:delete, 'customer/{customer}/notifications/{notificationId}', options)
command.params['customer'] = customer unless customer.nil?
command.params['notificationId'] = notification_id unless notification_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -1658,7 +1658,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_notification(customer, notification_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customer}/notifications/{notificationId}', options)
command = make_simple_command(:get, 'customer/{customer}/notifications/{notificationId}', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Notification::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Notification
command.params['customer'] = customer unless customer.nil?
@ -1699,7 +1699,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_notifications(customer, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customer}/notifications', options)
command = make_simple_command(:get, 'customer/{customer}/notifications', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Notifications::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Notifications
command.params['customer'] = customer unless customer.nil?
@ -1738,7 +1738,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_notification(customer, notification_id, notification_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'customer/{customer}/notifications/{notificationId}', options)
command = make_simple_command(:patch, 'customer/{customer}/notifications/{notificationId}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Notification::Representation
command.request_object = notification_object
command.response_representation = Google::Apis::AdminDirectoryV1::Notification::Representation
@ -1777,7 +1777,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_notification(customer, notification_id, notification_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'customer/{customer}/notifications/{notificationId}', options)
command = make_simple_command(:put, 'customer/{customer}/notifications/{notificationId}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Notification::Representation
command.request_object = notification_object
command.response_representation = Google::Apis::AdminDirectoryV1::Notification::Representation
@ -1815,7 +1815,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_org_unit(customer_id, org_unit_path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'customer/{customerId}/orgunits{/orgUnitPath*}', options)
command = make_simple_command(:delete, 'customer/{customerId}/orgunits{/orgUnitPath*}', options)
command.params['customerId'] = customer_id unless customer_id.nil?
command.params['orgUnitPath'] = org_unit_path unless org_unit_path.nil?
command.query['fields'] = fields unless fields.nil?
@ -1849,7 +1849,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_org_unit(customer_id, org_unit_path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customerId}/orgunits{/orgUnitPath*}', options)
command = make_simple_command(:get, 'customer/{customerId}/orgunits{/orgUnitPath*}', options)
command.response_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
command.response_class = Google::Apis::AdminDirectoryV1::OrgUnit
command.params['customerId'] = customer_id unless customer_id.nil?
@ -1884,7 +1884,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_org_unit(customer_id, org_unit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'customer/{customerId}/orgunits', options)
command = make_simple_command(:post, 'customer/{customerId}/orgunits', options)
command.request_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
command.request_object = org_unit_object
command.response_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
@ -1923,7 +1923,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_org_units(customer_id, org_unit_path: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customerId}/orgunits', options)
command = make_simple_command(:get, 'customer/{customerId}/orgunits', options)
command.response_representation = Google::Apis::AdminDirectoryV1::OrgUnits::Representation
command.response_class = Google::Apis::AdminDirectoryV1::OrgUnits
command.params['customerId'] = customer_id unless customer_id.nil?
@ -1961,7 +1961,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_org_unit(customer_id, org_unit_path, org_unit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'customer/{customerId}/orgunits{/orgUnitPath*}', options)
command = make_simple_command(:patch, 'customer/{customerId}/orgunits{/orgUnitPath*}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
command.request_object = org_unit_object
command.response_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
@ -2000,7 +2000,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_org_unit(customer_id, org_unit_path, org_unit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'customer/{customerId}/orgunits{/orgUnitPath*}', options)
command = make_simple_command(:put, 'customer/{customerId}/orgunits{/orgUnitPath*}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
command.request_object = org_unit_object
command.response_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
@ -2036,7 +2036,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_privileges(customer, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customer}/roles/ALL/privileges', options)
command = make_simple_command(:get, 'customer/{customer}/roles/ALL/privileges', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Privileges::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Privileges
command.params['customer'] = customer unless customer.nil?
@ -2067,7 +2067,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_resolved_app_access_setting_settings(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'resolvedappaccesssettings', options)
command = make_simple_command(:get, 'resolvedappaccesssettings', options)
command.response_representation = Google::Apis::AdminDirectoryV1::AppAccessCollections::Representation
command.response_class = Google::Apis::AdminDirectoryV1::AppAccessCollections
command.query['fields'] = fields unless fields.nil?
@ -2097,7 +2097,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_resolved_app_access_setting_trusted_apps(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'trustedapps', options)
command = make_simple_command(:get, 'trustedapps', options)
command.response_representation = Google::Apis::AdminDirectoryV1::TrustedApps::Representation
command.response_class = Google::Apis::AdminDirectoryV1::TrustedApps
command.query['fields'] = fields unless fields.nil?
@ -2132,7 +2132,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_resource_building(customer, building_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'customer/{customer}/resources/buildings/{buildingId}', options)
command = make_simple_command(:delete, 'customer/{customer}/resources/buildings/{buildingId}', options)
command.params['customer'] = customer unless customer.nil?
command.params['buildingId'] = building_id unless building_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -2167,7 +2167,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_resource_building(customer, building_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customer}/resources/buildings/{buildingId}', options)
command = make_simple_command(:get, 'customer/{customer}/resources/buildings/{buildingId}', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Building::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Building
command.params['customer'] = customer unless customer.nil?
@ -2205,7 +2205,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_resource_building(customer, building_object = nil, coordinates_source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'customer/{customer}/resources/buildings', options)
command = make_simple_command(:post, 'customer/{customer}/resources/buildings', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Building::Representation
command.request_object = building_object
command.response_representation = Google::Apis::AdminDirectoryV1::Building::Representation
@ -2246,7 +2246,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_resource_buildings(customer, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customer}/resources/buildings', options)
command = make_simple_command(:get, 'customer/{customer}/resources/buildings', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Buildings::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Buildings
command.params['customer'] = customer unless customer.nil?
@ -2287,7 +2287,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_resource_building(customer, building_id, building_object = nil, coordinates_source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'customer/{customer}/resources/buildings/{buildingId}', options)
command = make_simple_command(:patch, 'customer/{customer}/resources/buildings/{buildingId}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Building::Representation
command.request_object = building_object
command.response_representation = Google::Apis::AdminDirectoryV1::Building::Representation
@ -2330,7 +2330,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_resource_building(customer, building_id, building_object = nil, coordinates_source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'customer/{customer}/resources/buildings/{buildingId}', options)
command = make_simple_command(:put, 'customer/{customer}/resources/buildings/{buildingId}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Building::Representation
command.request_object = building_object
command.response_representation = Google::Apis::AdminDirectoryV1::Building::Representation
@ -2370,7 +2370,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_calendar_resource(customer, calendar_resource_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'customer/{customer}/resources/calendars/{calendarResourceId}', options)
command = make_simple_command(:delete, 'customer/{customer}/resources/calendars/{calendarResourceId}', options)
command.params['customer'] = customer unless customer.nil?
command.params['calendarResourceId'] = calendar_resource_id unless calendar_resource_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -2405,7 +2405,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_calendar_resource(customer, calendar_resource_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customer}/resources/calendars/{calendarResourceId}', options)
command = make_simple_command(:get, 'customer/{customer}/resources/calendars/{calendarResourceId}', options)
command.response_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
command.response_class = Google::Apis::AdminDirectoryV1::CalendarResource
command.params['customer'] = customer unless customer.nil?
@ -2441,7 +2441,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def calendar_resource(customer, calendar_resource_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'customer/{customer}/resources/calendars', options)
command = make_simple_command(:post, 'customer/{customer}/resources/calendars', options)
command.request_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
command.request_object = calendar_resource_object
command.response_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
@ -2496,7 +2496,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_calendar_resources(customer, max_results: nil, order_by: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customer}/resources/calendars', options)
command = make_simple_command(:get, 'customer/{customer}/resources/calendars', options)
command.response_representation = Google::Apis::AdminDirectoryV1::CalendarResources::Representation
command.response_class = Google::Apis::AdminDirectoryV1::CalendarResources
command.params['customer'] = customer unless customer.nil?
@ -2540,7 +2540,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_calendar_resource(customer, calendar_resource_id, calendar_resource_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'customer/{customer}/resources/calendars/{calendarResourceId}', options)
command = make_simple_command(:patch, 'customer/{customer}/resources/calendars/{calendarResourceId}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
command.request_object = calendar_resource_object
command.response_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
@ -2583,7 +2583,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_calendar_resource(customer, calendar_resource_id, calendar_resource_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'customer/{customer}/resources/calendars/{calendarResourceId}', options)
command = make_simple_command(:put, 'customer/{customer}/resources/calendars/{calendarResourceId}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
command.request_object = calendar_resource_object
command.response_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
@ -2622,7 +2622,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_resource_feature(customer, feature_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'customer/{customer}/resources/features/{featureKey}', options)
command = make_simple_command(:delete, 'customer/{customer}/resources/features/{featureKey}', options)
command.params['customer'] = customer unless customer.nil?
command.params['featureKey'] = feature_key unless feature_key.nil?
command.query['fields'] = fields unless fields.nil?
@ -2657,7 +2657,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_resource_feature(customer, feature_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customer}/resources/features/{featureKey}', options)
command = make_simple_command(:get, 'customer/{customer}/resources/features/{featureKey}', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Feature
command.params['customer'] = customer unless customer.nil?
@ -2693,7 +2693,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_resource_feature(customer, feature_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'customer/{customer}/resources/features', options)
command = make_simple_command(:post, 'customer/{customer}/resources/features', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
command.request_object = feature_object
command.response_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
@ -2733,7 +2733,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_resource_features(customer, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customer}/resources/features', options)
command = make_simple_command(:get, 'customer/{customer}/resources/features', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Features::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Features
command.params['customer'] = customer unless customer.nil?
@ -2772,7 +2772,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_resource_feature(customer, feature_key, feature_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'customer/{customer}/resources/features/{featureKey}', options)
command = make_simple_command(:patch, 'customer/{customer}/resources/features/{featureKey}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
command.request_object = feature_object
command.response_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
@ -2812,7 +2812,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def rename_resource_feature(customer, old_name, feature_rename_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'customer/{customer}/resources/features/{oldName}/rename', options)
command = make_simple_command(:post, 'customer/{customer}/resources/features/{oldName}/rename', options)
command.request_representation = Google::Apis::AdminDirectoryV1::FeatureRename::Representation
command.request_object = feature_rename_object
command.params['customer'] = customer unless customer.nil?
@ -2850,7 +2850,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_resource_feature(customer, feature_key, feature_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'customer/{customer}/resources/features/{featureKey}', options)
command = make_simple_command(:put, 'customer/{customer}/resources/features/{featureKey}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
command.request_object = feature_object
command.response_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
@ -2888,7 +2888,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_role_assignment(customer, role_assignment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'customer/{customer}/roleassignments/{roleAssignmentId}', options)
command = make_simple_command(:delete, 'customer/{customer}/roleassignments/{roleAssignmentId}', options)
command.params['customer'] = customer unless customer.nil?
command.params['roleAssignmentId'] = role_assignment_id unless role_assignment_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -2922,7 +2922,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_role_assignment(customer, role_assignment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customer}/roleassignments/{roleAssignmentId}', options)
command = make_simple_command(:get, 'customer/{customer}/roleassignments/{roleAssignmentId}', options)
command.response_representation = Google::Apis::AdminDirectoryV1::RoleAssignment::Representation
command.response_class = Google::Apis::AdminDirectoryV1::RoleAssignment
command.params['customer'] = customer unless customer.nil?
@ -2957,7 +2957,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_role_assignment(customer, role_assignment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'customer/{customer}/roleassignments', options)
command = make_simple_command(:post, 'customer/{customer}/roleassignments', options)
command.request_representation = Google::Apis::AdminDirectoryV1::RoleAssignment::Representation
command.request_object = role_assignment_object
command.response_representation = Google::Apis::AdminDirectoryV1::RoleAssignment::Representation
@ -3002,7 +3002,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_role_assignments(customer, max_results: nil, page_token: nil, role_id: nil, user_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customer}/roleassignments', options)
command = make_simple_command(:get, 'customer/{customer}/roleassignments', options)
command.response_representation = Google::Apis::AdminDirectoryV1::RoleAssignments::Representation
command.response_class = Google::Apis::AdminDirectoryV1::RoleAssignments
command.params['customer'] = customer unless customer.nil?
@ -3041,7 +3041,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_role(customer, role_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'customer/{customer}/roles/{roleId}', options)
command = make_simple_command(:delete, 'customer/{customer}/roles/{roleId}', options)
command.params['customer'] = customer unless customer.nil?
command.params['roleId'] = role_id unless role_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -3075,7 +3075,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_role(customer, role_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customer}/roles/{roleId}', options)
command = make_simple_command(:get, 'customer/{customer}/roles/{roleId}', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Role::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Role
command.params['customer'] = customer unless customer.nil?
@ -3110,7 +3110,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_role(customer, role_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'customer/{customer}/roles', options)
command = make_simple_command(:post, 'customer/{customer}/roles', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Role::Representation
command.request_object = role_object
command.response_representation = Google::Apis::AdminDirectoryV1::Role::Representation
@ -3149,7 +3149,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_roles(customer, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customer}/roles', options)
command = make_simple_command(:get, 'customer/{customer}/roles', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Roles::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Roles
command.params['customer'] = customer unless customer.nil?
@ -3187,7 +3187,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_role(customer, role_id, role_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'customer/{customer}/roles/{roleId}', options)
command = make_simple_command(:patch, 'customer/{customer}/roles/{roleId}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Role::Representation
command.request_object = role_object
command.response_representation = Google::Apis::AdminDirectoryV1::Role::Representation
@ -3226,7 +3226,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_role(customer, role_id, role_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'customer/{customer}/roles/{roleId}', options)
command = make_simple_command(:put, 'customer/{customer}/roles/{roleId}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Role::Representation
command.request_object = role_object
command.response_representation = Google::Apis::AdminDirectoryV1::Role::Representation
@ -3264,7 +3264,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_schema(customer_id, schema_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'customer/{customerId}/schemas/{schemaKey}', options)
command = make_simple_command(:delete, 'customer/{customerId}/schemas/{schemaKey}', options)
command.params['customerId'] = customer_id unless customer_id.nil?
command.params['schemaKey'] = schema_key unless schema_key.nil?
command.query['fields'] = fields unless fields.nil?
@ -3298,7 +3298,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_schema(customer_id, schema_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customerId}/schemas/{schemaKey}', options)
command = make_simple_command(:get, 'customer/{customerId}/schemas/{schemaKey}', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Schema
command.params['customerId'] = customer_id unless customer_id.nil?
@ -3333,7 +3333,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_schema(customer_id, schema_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'customer/{customerId}/schemas', options)
command = make_simple_command(:post, 'customer/{customerId}/schemas', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
command.request_object = schema_object
command.response_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
@ -3368,7 +3368,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_schemas(customer_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customer/{customerId}/schemas', options)
command = make_simple_command(:get, 'customer/{customerId}/schemas', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Schemas::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Schemas
command.params['customerId'] = customer_id unless customer_id.nil?
@ -3404,7 +3404,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_schema(customer_id, schema_key, schema_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'customer/{customerId}/schemas/{schemaKey}', options)
command = make_simple_command(:patch, 'customer/{customerId}/schemas/{schemaKey}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
command.request_object = schema_object
command.response_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
@ -3443,7 +3443,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_schema(customer_id, schema_key, schema_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'customer/{customerId}/schemas/{schemaKey}', options)
command = make_simple_command(:put, 'customer/{customerId}/schemas/{schemaKey}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
command.request_object = schema_object
command.response_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
@ -3482,7 +3482,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_token(user_key, client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'users/{userKey}/tokens/{clientId}', options)
command = make_simple_command(:delete, 'users/{userKey}/tokens/{clientId}', options)
command.params['userKey'] = user_key unless user_key.nil?
command.params['clientId'] = client_id unless client_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -3517,7 +3517,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_token(user_key, client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/{userKey}/tokens/{clientId}', options)
command = make_simple_command(:get, 'users/{userKey}/tokens/{clientId}', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Token::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Token
command.params['userKey'] = user_key unless user_key.nil?
@ -3552,7 +3552,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_tokens(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/{userKey}/tokens', options)
command = make_simple_command(:get, 'users/{userKey}/tokens', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Tokens::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Tokens
command.params['userKey'] = user_key unless user_key.nil?
@ -3585,7 +3585,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_user(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'users/{userKey}', options)
command = make_simple_command(:delete, 'users/{userKey}', options)
command.params['userKey'] = user_key unless user_key.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -3623,7 +3623,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_user(user_key, custom_field_mask: nil, projection: nil, view_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/{userKey}', options)
command = make_simple_command(:get, 'users/{userKey}', options)
command.response_representation = Google::Apis::AdminDirectoryV1::User::Representation
command.response_class = Google::Apis::AdminDirectoryV1::User
command.params['userKey'] = user_key unless user_key.nil?
@ -3658,7 +3658,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_user(user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'users', options)
command = make_simple_command(:post, 'users', options)
command.request_representation = Google::Apis::AdminDirectoryV1::User::Representation
command.request_object = user_object
command.response_representation = Google::Apis::AdminDirectoryV1::User::Representation
@ -3718,7 +3718,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_users(custom_field_mask: nil, customer: nil, domain: nil, event: nil, max_results: nil, order_by: nil, page_token: nil, projection: nil, query: nil, show_deleted: nil, sort_order: nil, view_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users', options)
command = make_simple_command(:get, 'users', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Users::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Users
command.query['customFieldMask'] = custom_field_mask unless custom_field_mask.nil?
@ -3763,7 +3763,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def make_user_admin(user_key, user_make_admin_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'users/{userKey}/makeAdmin', options)
command = make_simple_command(:post, 'users/{userKey}/makeAdmin', options)
command.request_representation = Google::Apis::AdminDirectoryV1::UserMakeAdmin::Representation
command.request_object = user_make_admin_object
command.params['userKey'] = user_key unless user_key.nil?
@ -3798,7 +3798,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_user(user_key, user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'users/{userKey}', options)
command = make_simple_command(:patch, 'users/{userKey}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::User::Representation
command.request_object = user_object
command.response_representation = Google::Apis::AdminDirectoryV1::User::Representation
@ -3834,7 +3834,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def undelete_user(user_key, user_undelete_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'users/{userKey}/undelete', options)
command = make_simple_command(:post, 'users/{userKey}/undelete', options)
command.request_representation = Google::Apis::AdminDirectoryV1::UserUndelete::Representation
command.request_object = user_undelete_object
command.params['userKey'] = user_key unless user_key.nil?
@ -3869,7 +3869,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_user(user_key, user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'users/{userKey}', options)
command = make_simple_command(:put, 'users/{userKey}', options)
command.request_representation = Google::Apis::AdminDirectoryV1::User::Representation
command.request_object = user_object
command.response_representation = Google::Apis::AdminDirectoryV1::User::Representation
@ -3931,7 +3931,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def watch_user(channel_object = nil, custom_field_mask: nil, customer: nil, domain: nil, event: nil, max_results: nil, order_by: nil, page_token: nil, projection: nil, query: nil, show_deleted: nil, sort_order: nil, view_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'users/watch', options)
command = make_simple_command(:post, 'users/watch', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Channel::Representation
command.request_object = channel_object
command.response_representation = Google::Apis::AdminDirectoryV1::Channel::Representation
@ -3979,7 +3979,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_user_alias(user_key, user_alias, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'users/{userKey}/aliases/{alias}', options)
command = make_simple_command(:delete, 'users/{userKey}/aliases/{alias}', options)
command.params['userKey'] = user_key unless user_key.nil?
command.params['alias'] = user_alias unless user_alias.nil?
command.query['fields'] = fields unless fields.nil?
@ -4012,7 +4012,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_user_alias(user_key, alias_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'users/{userKey}/aliases', options)
command = make_simple_command(:post, 'users/{userKey}/aliases', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Alias::Representation
command.request_object = alias_object
command.response_representation = Google::Apis::AdminDirectoryV1::Alias::Representation
@ -4049,7 +4049,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_user_aliases(user_key, event: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/{userKey}/aliases', options)
command = make_simple_command(:get, 'users/{userKey}/aliases', options)
command.response_representation = Google::Apis::AdminDirectoryV1::Aliases::Representation
command.response_class = Google::Apis::AdminDirectoryV1::Aliases
command.params['userKey'] = user_key unless user_key.nil?
@ -4086,7 +4086,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def watch_user_alias(user_key, channel_object = nil, event: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'users/{userKey}/aliases/watch', options)
command = make_simple_command(:post, 'users/{userKey}/aliases/watch', options)
command.request_representation = Google::Apis::AdminDirectoryV1::Channel::Representation
command.request_object = channel_object
command.response_representation = Google::Apis::AdminDirectoryV1::Channel::Representation
@ -4122,7 +4122,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_user_photo(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'users/{userKey}/photos/thumbnail', options)
command = make_simple_command(:delete, 'users/{userKey}/photos/thumbnail', options)
command.params['userKey'] = user_key unless user_key.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -4153,7 +4153,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_user_photo(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/{userKey}/photos/thumbnail', options)
command = make_simple_command(:get, 'users/{userKey}/photos/thumbnail', options)
command.response_representation = Google::Apis::AdminDirectoryV1::UserPhoto::Representation
command.response_class = Google::Apis::AdminDirectoryV1::UserPhoto
command.params['userKey'] = user_key unless user_key.nil?
@ -4187,7 +4187,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_user_photo(user_key, user_photo_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'users/{userKey}/photos/thumbnail', options)
command = make_simple_command(:patch, 'users/{userKey}/photos/thumbnail', options)
command.request_representation = Google::Apis::AdminDirectoryV1::UserPhoto::Representation
command.request_object = user_photo_object
command.response_representation = Google::Apis::AdminDirectoryV1::UserPhoto::Representation
@ -4223,7 +4223,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_user_photo(user_key, user_photo_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'users/{userKey}/photos/thumbnail', options)
command = make_simple_command(:put, 'users/{userKey}/photos/thumbnail', options)
command.request_representation = Google::Apis::AdminDirectoryV1::UserPhoto::Representation
command.request_object = user_photo_object
command.response_representation = Google::Apis::AdminDirectoryV1::UserPhoto::Representation
@ -4258,7 +4258,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def generate_verification_code(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'users/{userKey}/verificationCodes/generate', options)
command = make_simple_command(:post, 'users/{userKey}/verificationCodes/generate', options)
command.params['userKey'] = user_key unless user_key.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -4289,7 +4289,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def invalidate_verification_code(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'users/{userKey}/verificationCodes/invalidate', options)
command = make_simple_command(:post, 'users/{userKey}/verificationCodes/invalidate', options)
command.params['userKey'] = user_key unless user_key.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -4322,7 +4322,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_verification_codes(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/{userKey}/verificationCodes', options)
command = make_simple_command(:get, 'users/{userKey}/verificationCodes', options)
command.response_representation = Google::Apis::AdminDirectoryV1::VerificationCodes::Representation
command.response_class = Google::Apis::AdminDirectoryV1::VerificationCodes
command.params['userKey'] = user_key unless user_key.nil?

View File

@ -100,7 +100,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_activities(user_key, application_name, actor_ip_address: nil, customer_id: nil, end_time: nil, event_name: nil, filters: nil, max_results: nil, org_unit_id: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'activity/users/{userKey}/applications/{applicationName}', options)
command = make_simple_command(:get, 'activity/users/{userKey}/applications/{applicationName}', options)
command.response_representation = Google::Apis::AdminReportsV1::Activities::Representation
command.response_class = Google::Apis::AdminReportsV1::Activities
command.params['userKey'] = user_key unless user_key.nil?
@ -169,7 +169,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def watch_activity(user_key, application_name, channel_object = nil, actor_ip_address: nil, customer_id: nil, end_time: nil, event_name: nil, filters: nil, max_results: nil, org_unit_id: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'activity/users/{userKey}/applications/{applicationName}/watch', options)
command = make_simple_command(:post, 'activity/users/{userKey}/applications/{applicationName}/watch', options)
command.request_representation = Google::Apis::AdminReportsV1::Channel::Representation
command.request_object = channel_object
command.response_representation = Google::Apis::AdminReportsV1::Channel::Representation
@ -213,7 +213,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def stop_channel(channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '/admin/reports_v1/channels/stop', options)
command = make_simple_command(:post, '/admin/reports_v1/channels/stop', options)
command.request_representation = Google::Apis::AdminReportsV1::Channel::Representation
command.request_object = channel_object
command.query['fields'] = fields unless fields.nil?
@ -253,7 +253,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_customer_usage_report(date, customer_id: nil, page_token: nil, parameters: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'usage/dates/{date}', options)
command = make_simple_command(:get, 'usage/dates/{date}', options)
command.response_representation = Google::Apis::AdminReportsV1::UsageReports::Representation
command.response_class = Google::Apis::AdminReportsV1::UsageReports
command.params['date'] = date unless date.nil?
@ -305,7 +305,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_entity_usage_report(entity_type, entity_key, date, customer_id: nil, filters: nil, max_results: nil, page_token: nil, parameters: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'usage/{entityType}/{entityKey}/dates/{date}', options)
command = make_simple_command(:get, 'usage/{entityType}/{entityKey}/dates/{date}', options)
command.response_representation = Google::Apis::AdminReportsV1::UsageReports::Representation
command.response_class = Google::Apis::AdminReportsV1::UsageReports
command.params['entityType'] = entity_type unless entity_type.nil?
@ -363,7 +363,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_user_usage_report(user_key, date, customer_id: nil, filters: nil, max_results: nil, org_unit_id: nil, page_token: nil, parameters: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'usage/users/{userKey}/dates/{date}', options)
command = make_simple_command(:get, 'usage/users/{userKey}/dates/{date}', options)
command.response_representation = Google::Apis::AdminReportsV1::UsageReports::Representation
command.response_class = Google::Apis::AdminReportsV1::UsageReports
command.params['userKey'] = user_key unless user_key.nil?

View File

@ -76,7 +76,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account(account_id, tree: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}', options)
command = make_simple_command(:get, 'accounts/{accountId}', options)
command.response_representation = Google::Apis::AdsenseV1_4::Account::Representation
command.response_class = Google::Apis::AdsenseV1_4::Account
command.params['accountId'] = account_id unless account_id.nil?
@ -113,7 +113,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_accounts(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts', options)
command = make_simple_command(:get, 'accounts', options)
command.response_representation = Google::Apis::AdsenseV1_4::Accounts::Representation
command.response_class = Google::Apis::AdsenseV1_4::Accounts
command.query['maxResults'] = max_results unless max_results.nil?
@ -149,7 +149,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account_adclient_ad_code(account_id, ad_client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adcode', options)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adcode', options)
command.response_representation = Google::Apis::AdsenseV1_4::AdCode::Representation
command.response_class = Google::Apis::AdsenseV1_4::AdCode
command.params['accountId'] = account_id unless account_id.nil?
@ -189,7 +189,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_ad_clients(account_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/adclients', options)
command = make_simple_command(:get, 'accounts/{accountId}/adclients', options)
command.response_representation = Google::Apis::AdsenseV1_4::AdClients::Representation
command.response_class = Google::Apis::AdsenseV1_4::AdClients
command.params['accountId'] = account_id unless account_id.nil?
@ -229,7 +229,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account_ad_unit(account_id, ad_client_id, ad_unit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', options)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', options)
command.response_representation = Google::Apis::AdsenseV1_4::AdUnit::Representation
command.response_class = Google::Apis::AdsenseV1_4::AdUnit
command.params['accountId'] = account_id unless account_id.nil?
@ -268,7 +268,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account_ad_unit_ad_code(account_id, ad_client_id, ad_unit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode', options)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode', options)
command.response_representation = Google::Apis::AdsenseV1_4::AdCode::Representation
command.response_class = Google::Apis::AdsenseV1_4::AdCode
command.params['accountId'] = account_id unless account_id.nil?
@ -312,7 +312,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_ad_units(account_id, ad_client_id, include_inactive: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits', options)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits', options)
command.response_representation = Google::Apis::AdsenseV1_4::AdUnits::Representation
command.response_class = Google::Apis::AdsenseV1_4::AdUnits
command.params['accountId'] = account_id unless account_id.nil?
@ -360,7 +360,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_ad_unit_custom_channels(account_id, ad_client_id, ad_unit_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/customchannels', options)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/customchannels', options)
command.response_representation = Google::Apis::AdsenseV1_4::CustomChannels::Representation
command.response_class = Google::Apis::AdsenseV1_4::CustomChannels
command.params['accountId'] = account_id unless account_id.nil?
@ -400,7 +400,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_account_alert(account_id, alert_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'accounts/{accountId}/alerts/{alertId}', options)
command = make_simple_command(:delete, 'accounts/{accountId}/alerts/{alertId}', options)
command.params['accountId'] = account_id unless account_id.nil?
command.params['alertId'] = alert_id unless alert_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -436,7 +436,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_alerts(account_id, locale: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/alerts', options)
command = make_simple_command(:get, 'accounts/{accountId}/alerts', options)
command.response_representation = Google::Apis::AdsenseV1_4::Alerts::Representation
command.response_class = Google::Apis::AdsenseV1_4::Alerts
command.params['accountId'] = account_id unless account_id.nil?
@ -475,7 +475,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account_custom_channel(account_id, ad_client_id, custom_channel_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}', options)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}', options)
command.response_representation = Google::Apis::AdsenseV1_4::CustomChannel::Representation
command.response_class = Google::Apis::AdsenseV1_4::CustomChannel
command.params['accountId'] = account_id unless account_id.nil?
@ -519,7 +519,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_custom_channels(account_id, ad_client_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/customchannels', options)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/customchannels', options)
command.response_representation = Google::Apis::AdsenseV1_4::CustomChannels::Representation
command.response_class = Google::Apis::AdsenseV1_4::CustomChannels
command.params['accountId'] = account_id unless account_id.nil?
@ -566,7 +566,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_custom_channel_ad_units(account_id, ad_client_id, custom_channel_id, include_inactive: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}/adunits', options)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}/adunits', options)
command.response_representation = Google::Apis::AdsenseV1_4::AdUnits::Representation
command.response_class = Google::Apis::AdsenseV1_4::AdUnits
command.params['accountId'] = account_id unless account_id.nil?
@ -604,7 +604,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_payments(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/payments', options)
command = make_simple_command(:get, 'accounts/{accountId}/payments', options)
command.response_representation = Google::Apis::AdsenseV1_4::Payments::Representation
command.response_class = Google::Apis::AdsenseV1_4::Payments
command.params['accountId'] = account_id unless account_id.nil?
@ -669,7 +669,7 @@ module Google
# @raise [Google::Apis::AuthorizationError] Authorization is required
def generate_account_report(account_id, start_date, end_date, currency: nil, dimension: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_index: nil, use_timezone_reporting: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
if download_dest.nil?
command = make_simple_command(:get, 'accounts/{accountId}/reports', options)
command = make_simple_command(:get, 'accounts/{accountId}/reports', options)
else
command = make_download_command(:get, 'accounts/{accountId}/reports', options)
command.download_dest = download_dest
@ -727,7 +727,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def generate_account_saved_report(account_id, saved_report_id, locale: nil, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/reports/{savedReportId}', options)
command = make_simple_command(:get, 'accounts/{accountId}/reports/{savedReportId}', options)
command.response_representation = Google::Apis::AdsenseV1_4::GenerateReportResponse::Representation
command.response_class = Google::Apis::AdsenseV1_4::GenerateReportResponse
command.params['accountId'] = account_id unless account_id.nil?
@ -771,7 +771,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_saved_reports(account_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/reports/saved', options)
command = make_simple_command(:get, 'accounts/{accountId}/reports/saved', options)
command.response_representation = Google::Apis::AdsenseV1_4::SavedReports::Representation
command.response_class = Google::Apis::AdsenseV1_4::SavedReports
command.params['accountId'] = account_id unless account_id.nil?
@ -808,7 +808,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account_saved_ad_style(account_id, saved_ad_style_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/savedadstyles/{savedAdStyleId}', options)
command = make_simple_command(:get, 'accounts/{accountId}/savedadstyles/{savedAdStyleId}', options)
command.response_representation = Google::Apis::AdsenseV1_4::SavedAdStyle::Representation
command.response_class = Google::Apis::AdsenseV1_4::SavedAdStyle
command.params['accountId'] = account_id unless account_id.nil?
@ -849,7 +849,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_saved_ad_styles(account_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/savedadstyles', options)
command = make_simple_command(:get, 'accounts/{accountId}/savedadstyles', options)
command.response_representation = Google::Apis::AdsenseV1_4::SavedAdStyles::Representation
command.response_class = Google::Apis::AdsenseV1_4::SavedAdStyles
command.params['accountId'] = account_id unless account_id.nil?
@ -892,7 +892,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_url_channels(account_id, ad_client_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/urlchannels', options)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/urlchannels', options)
command.response_representation = Google::Apis::AdsenseV1_4::UrlChannels::Representation
command.response_class = Google::Apis::AdsenseV1_4::UrlChannels
command.params['accountId'] = account_id unless account_id.nil?
@ -932,7 +932,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_ad_clients(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'adclients', options)
command = make_simple_command(:get, 'adclients', options)
command.response_representation = Google::Apis::AdsenseV1_4::AdClients::Representation
command.response_class = Google::Apis::AdsenseV1_4::AdClients
command.query['maxResults'] = max_results unless max_results.nil?
@ -968,7 +968,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_ad_unit(ad_client_id, ad_unit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'adclients/{adClientId}/adunits/{adUnitId}', options)
command = make_simple_command(:get, 'adclients/{adClientId}/adunits/{adUnitId}', options)
command.response_representation = Google::Apis::AdsenseV1_4::AdUnit::Representation
command.response_class = Google::Apis::AdsenseV1_4::AdUnit
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
@ -1004,7 +1004,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_ad_code_ad_unit(ad_client_id, ad_unit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'adclients/{adClientId}/adunits/{adUnitId}/adcode', options)
command = make_simple_command(:get, 'adclients/{adClientId}/adunits/{adUnitId}/adcode', options)
command.response_representation = Google::Apis::AdsenseV1_4::AdCode::Representation
command.response_class = Google::Apis::AdsenseV1_4::AdCode
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
@ -1045,7 +1045,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_ad_units(ad_client_id, include_inactive: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'adclients/{adClientId}/adunits', options)
command = make_simple_command(:get, 'adclients/{adClientId}/adunits', options)
command.response_representation = Google::Apis::AdsenseV1_4::AdUnits::Representation
command.response_class = Google::Apis::AdsenseV1_4::AdUnits
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
@ -1090,7 +1090,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_ad_unit_custom_channels(ad_client_id, ad_unit_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'adclients/{adClientId}/adunits/{adUnitId}/customchannels', options)
command = make_simple_command(:get, 'adclients/{adClientId}/adunits/{adUnitId}/customchannels', options)
command.response_representation = Google::Apis::AdsenseV1_4::CustomChannels::Representation
command.response_class = Google::Apis::AdsenseV1_4::CustomChannels
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
@ -1126,7 +1126,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_alert(alert_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'alerts/{alertId}', options)
command = make_simple_command(:delete, 'alerts/{alertId}', options)
command.params['alertId'] = alert_id unless alert_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -1159,7 +1159,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_alerts(locale: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'alerts', options)
command = make_simple_command(:get, 'alerts', options)
command.response_representation = Google::Apis::AdsenseV1_4::Alerts::Representation
command.response_class = Google::Apis::AdsenseV1_4::Alerts
command.query['locale'] = locale unless locale.nil?
@ -1194,7 +1194,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_custom_channel(ad_client_id, custom_channel_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'adclients/{adClientId}/customchannels/{customChannelId}', options)
command = make_simple_command(:get, 'adclients/{adClientId}/customchannels/{customChannelId}', options)
command.response_representation = Google::Apis::AdsenseV1_4::CustomChannel::Representation
command.response_class = Google::Apis::AdsenseV1_4::CustomChannel
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
@ -1235,7 +1235,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_custom_channels(ad_client_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'adclients/{adClientId}/customchannels', options)
command = make_simple_command(:get, 'adclients/{adClientId}/customchannels', options)
command.response_representation = Google::Apis::AdsenseV1_4::CustomChannels::Representation
command.response_class = Google::Apis::AdsenseV1_4::CustomChannels
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
@ -1279,7 +1279,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_custom_channel_ad_units(ad_client_id, custom_channel_id, include_inactive: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'adclients/{adClientId}/customchannels/{customChannelId}/adunits', options)
command = make_simple_command(:get, 'adclients/{adClientId}/customchannels/{customChannelId}/adunits', options)
command.response_representation = Google::Apis::AdsenseV1_4::AdUnits::Representation
command.response_class = Google::Apis::AdsenseV1_4::AdUnits
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
@ -1314,7 +1314,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_metadata_dimensions(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'metadata/dimensions', options)
command = make_simple_command(:get, 'metadata/dimensions', options)
command.response_representation = Google::Apis::AdsenseV1_4::Metadata::Representation
command.response_class = Google::Apis::AdsenseV1_4::Metadata
command.query['fields'] = fields unless fields.nil?
@ -1344,7 +1344,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_metadata_metrics(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'metadata/metrics', options)
command = make_simple_command(:get, 'metadata/metrics', options)
command.response_representation = Google::Apis::AdsenseV1_4::Metadata::Representation
command.response_class = Google::Apis::AdsenseV1_4::Metadata
command.query['fields'] = fields unless fields.nil?
@ -1374,7 +1374,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_payments(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'payments', options)
command = make_simple_command(:get, 'payments', options)
command.response_representation = Google::Apis::AdsenseV1_4::Payments::Representation
command.response_class = Google::Apis::AdsenseV1_4::Payments
command.query['fields'] = fields unless fields.nil?
@ -1438,7 +1438,7 @@ module Google
# @raise [Google::Apis::AuthorizationError] Authorization is required
def generate_report(start_date, end_date, account_id: nil, currency: nil, dimension: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_index: nil, use_timezone_reporting: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
if download_dest.nil?
command = make_simple_command(:get, 'reports', options)
command = make_simple_command(:get, 'reports', options)
else
command = make_download_command(:get, 'reports', options)
command.download_dest = download_dest
@ -1494,7 +1494,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def generate_saved_report(saved_report_id, locale: nil, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'reports/{savedReportId}', options)
command = make_simple_command(:get, 'reports/{savedReportId}', options)
command.response_representation = Google::Apis::AdsenseV1_4::GenerateReportResponse::Representation
command.response_class = Google::Apis::AdsenseV1_4::GenerateReportResponse
command.params['savedReportId'] = saved_report_id unless saved_report_id.nil?
@ -1535,7 +1535,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_saved_reports(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'reports/saved', options)
command = make_simple_command(:get, 'reports/saved', options)
command.response_representation = Google::Apis::AdsenseV1_4::SavedReports::Representation
command.response_class = Google::Apis::AdsenseV1_4::SavedReports
command.query['maxResults'] = max_results unless max_results.nil?
@ -1569,7 +1569,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_saved_ad_style(saved_ad_style_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'savedadstyles/{savedAdStyleId}', options)
command = make_simple_command(:get, 'savedadstyles/{savedAdStyleId}', options)
command.response_representation = Google::Apis::AdsenseV1_4::SavedAdStyle::Representation
command.response_class = Google::Apis::AdsenseV1_4::SavedAdStyle
command.params['savedAdStyleId'] = saved_ad_style_id unless saved_ad_style_id.nil?
@ -1607,7 +1607,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_saved_ad_styles(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'savedadstyles', options)
command = make_simple_command(:get, 'savedadstyles', options)
command.response_representation = Google::Apis::AdsenseV1_4::SavedAdStyles::Representation
command.response_class = Google::Apis::AdsenseV1_4::SavedAdStyles
command.query['maxResults'] = max_results unless max_results.nil?
@ -1647,7 +1647,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_url_channels(ad_client_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'adclients/{adClientId}/urlchannels', options)
command = make_simple_command(:get, 'adclients/{adClientId}/urlchannels', options)
command.response_representation = Google::Apis::AdsenseV1_4::UrlChannels::Representation
command.response_class = Google::Apis::AdsenseV1_4::UrlChannels
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?

View File

@ -75,7 +75,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}', options)
command = make_simple_command(:get, 'accounts/{accountId}', options)
command.response_representation = Google::Apis::AdsensehostV4_1::Account::Representation
command.response_class = Google::Apis::AdsensehostV4_1::Account
command.params['accountId'] = account_id unless account_id.nil?
@ -108,7 +108,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_accounts(filter_ad_client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts', options)
command = make_simple_command(:get, 'accounts', options)
command.response_representation = Google::Apis::AdsensehostV4_1::Accounts::Representation
command.response_class = Google::Apis::AdsensehostV4_1::Accounts
command.query['filterAdClientId'] = filter_ad_client_id unless filter_ad_client_id.nil?
@ -144,7 +144,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account_ad_client(account_id, ad_client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}', options)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}', options)
command.response_representation = Google::Apis::AdsensehostV4_1::AdClient::Representation
command.response_class = Google::Apis::AdsensehostV4_1::AdClient
command.params['accountId'] = account_id unless account_id.nil?
@ -184,7 +184,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_ad_clients(account_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/adclients', options)
command = make_simple_command(:get, 'accounts/{accountId}/adclients', options)
command.response_representation = Google::Apis::AdsensehostV4_1::AdClients::Representation
command.response_class = Google::Apis::AdsensehostV4_1::AdClients
command.params['accountId'] = account_id unless account_id.nil?
@ -223,7 +223,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_account_ad_unit(account_id, ad_client_id, ad_unit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', options)
command = make_simple_command(:delete, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', options)
command.response_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
command.response_class = Google::Apis::AdsensehostV4_1::AdUnit
command.params['accountId'] = account_id unless account_id.nil?
@ -262,7 +262,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account_ad_unit(account_id, ad_client_id, ad_unit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', options)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', options)
command.response_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
command.response_class = Google::Apis::AdsensehostV4_1::AdUnit
command.params['accountId'] = account_id unless account_id.nil?
@ -304,7 +304,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account_ad_unit_ad_code(account_id, ad_client_id, ad_unit_id, host_custom_channel_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode', options)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode', options)
command.response_representation = Google::Apis::AdsensehostV4_1::AdCode::Representation
command.response_class = Google::Apis::AdsensehostV4_1::AdCode
command.params['accountId'] = account_id unless account_id.nil?
@ -343,7 +343,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_account_ad_unit(account_id, ad_client_id, ad_unit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'accounts/{accountId}/adclients/{adClientId}/adunits', options)
command = make_simple_command(:post, 'accounts/{accountId}/adclients/{adClientId}/adunits', options)
command.request_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
command.request_object = ad_unit_object
command.response_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
@ -388,7 +388,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_ad_units(account_id, ad_client_id, include_inactive: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits', options)
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits', options)
command.response_representation = Google::Apis::AdsensehostV4_1::AdUnits::Representation
command.response_class = Google::Apis::AdsensehostV4_1::AdUnits
command.params['accountId'] = account_id unless account_id.nil?
@ -431,7 +431,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_account_ad_unit(account_id, ad_client_id, ad_unit_id, ad_unit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'accounts/{accountId}/adclients/{adClientId}/adunits', options)
command = make_simple_command(:patch, 'accounts/{accountId}/adclients/{adClientId}/adunits', options)
command.request_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
command.request_object = ad_unit_object
command.response_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
@ -471,7 +471,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_account_ad_unit(account_id, ad_client_id, ad_unit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'accounts/{accountId}/adclients/{adClientId}/adunits', options)
command = make_simple_command(:put, 'accounts/{accountId}/adclients/{adClientId}/adunits', options)
command.request_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
command.request_object = ad_unit_object
command.response_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
@ -530,7 +530,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def generate_account_report(account_id, start_date, end_date, dimension: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/{accountId}/reports', options)
command = make_simple_command(:get, 'accounts/{accountId}/reports', options)
command.response_representation = Google::Apis::AdsensehostV4_1::Report::Representation
command.response_class = Google::Apis::AdsensehostV4_1::Report
command.params['accountId'] = account_id unless account_id.nil?
@ -572,7 +572,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_ad_client(ad_client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'adclients/{adClientId}', options)
command = make_simple_command(:get, 'adclients/{adClientId}', options)
command.response_representation = Google::Apis::AdsensehostV4_1::AdClient::Representation
command.response_class = Google::Apis::AdsensehostV4_1::AdClient
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
@ -609,7 +609,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_ad_clients(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'adclients', options)
command = make_simple_command(:get, 'adclients', options)
command.response_representation = Google::Apis::AdsensehostV4_1::AdClients::Representation
command.response_class = Google::Apis::AdsensehostV4_1::AdClients
command.query['maxResults'] = max_results unless max_results.nil?
@ -650,7 +650,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def start_association_session(product_code, website_url, user_locale: nil, website_locale: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'associationsessions/start', options)
command = make_simple_command(:get, 'associationsessions/start', options)
command.response_representation = Google::Apis::AdsensehostV4_1::AssociationSession::Representation
command.response_class = Google::Apis::AdsensehostV4_1::AssociationSession
command.query['productCode'] = product_code unless product_code.nil?
@ -687,7 +687,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def verify_association_session(token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'associationsessions/verify', options)
command = make_simple_command(:get, 'associationsessions/verify', options)
command.response_representation = Google::Apis::AdsensehostV4_1::AssociationSession::Representation
command.response_class = Google::Apis::AdsensehostV4_1::AssociationSession
command.query['token'] = token unless token.nil?
@ -722,7 +722,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_custom_channel(ad_client_id, custom_channel_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'adclients/{adClientId}/customchannels/{customChannelId}', options)
command = make_simple_command(:delete, 'adclients/{adClientId}/customchannels/{customChannelId}', options)
command.response_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
command.response_class = Google::Apis::AdsensehostV4_1::CustomChannel
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
@ -758,7 +758,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_custom_channel(ad_client_id, custom_channel_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'adclients/{adClientId}/customchannels/{customChannelId}', options)
command = make_simple_command(:get, 'adclients/{adClientId}/customchannels/{customChannelId}', options)
command.response_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
command.response_class = Google::Apis::AdsensehostV4_1::CustomChannel
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
@ -793,7 +793,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_custom_channel(ad_client_id, custom_channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'adclients/{adClientId}/customchannels', options)
command = make_simple_command(:post, 'adclients/{adClientId}/customchannels', options)
command.request_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
command.request_object = custom_channel_object
command.response_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
@ -835,7 +835,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_custom_channels(ad_client_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'adclients/{adClientId}/customchannels', options)
command = make_simple_command(:get, 'adclients/{adClientId}/customchannels', options)
command.response_representation = Google::Apis::AdsensehostV4_1::CustomChannels::Representation
command.response_class = Google::Apis::AdsensehostV4_1::CustomChannels
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
@ -874,7 +874,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_custom_channel(ad_client_id, custom_channel_id, custom_channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'adclients/{adClientId}/customchannels', options)
command = make_simple_command(:patch, 'adclients/{adClientId}/customchannels', options)
command.request_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
command.request_object = custom_channel_object
command.response_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
@ -911,7 +911,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_custom_channel(ad_client_id, custom_channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'adclients/{adClientId}/customchannels', options)
command = make_simple_command(:put, 'adclients/{adClientId}/customchannels', options)
command.request_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
command.request_object = custom_channel_object
command.response_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
@ -967,7 +967,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def generate_report(start_date, end_date, dimension: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'reports', options)
command = make_simple_command(:get, 'reports', options)
command.response_representation = Google::Apis::AdsensehostV4_1::Report::Representation
command.response_class = Google::Apis::AdsensehostV4_1::Report
command.query['dimension'] = dimension unless dimension.nil?
@ -1010,7 +1010,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_url_channel(ad_client_id, url_channel_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'adclients/{adClientId}/urlchannels/{urlChannelId}', options)
command = make_simple_command(:delete, 'adclients/{adClientId}/urlchannels/{urlChannelId}', options)
command.response_representation = Google::Apis::AdsensehostV4_1::UrlChannel::Representation
command.response_class = Google::Apis::AdsensehostV4_1::UrlChannel
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
@ -1045,7 +1045,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_url_channel(ad_client_id, url_channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'adclients/{adClientId}/urlchannels', options)
command = make_simple_command(:post, 'adclients/{adClientId}/urlchannels', options)
command.request_representation = Google::Apis::AdsensehostV4_1::UrlChannel::Representation
command.request_object = url_channel_object
command.response_representation = Google::Apis::AdsensehostV4_1::UrlChannel::Representation
@ -1086,7 +1086,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_url_channels(ad_client_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'adclients/{adClientId}/urlchannels', options)
command = make_simple_command(:get, 'adclients/{adClientId}/urlchannels', options)
command.response_representation = Google::Apis::AdsensehostV4_1::UrlChannels::Representation
command.response_class = Google::Apis::AdsensehostV4_1::UrlChannels
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?

View File

@ -76,7 +76,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_alert(alert_id, customer_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/alerts/{alertId}', options)
command = make_simple_command(:delete, 'v1beta1/alerts/{alertId}', options)
command.response_representation = Google::Apis::AlertcenterV1beta1::Empty::Representation
command.response_class = Google::Apis::AlertcenterV1beta1::Empty
command.params['alertId'] = alert_id unless alert_id.nil?
@ -112,7 +112,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_alert(alert_id, customer_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/alerts/{alertId}', options)
command = make_simple_command(:get, 'v1beta1/alerts/{alertId}', options)
command.response_representation = Google::Apis::AlertcenterV1beta1::Alert::Representation
command.response_class = Google::Apis::AlertcenterV1beta1::Alert
command.params['alertId'] = alert_id unless alert_id.nil?
@ -166,7 +166,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_alerts(customer_id: nil, 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/alerts', options)
command = make_simple_command(:get, 'v1beta1/alerts', options)
command.response_representation = Google::Apis::AlertcenterV1beta1::ListAlertsResponse::Representation
command.response_class = Google::Apis::AlertcenterV1beta1::ListAlertsResponse
command.query['customerId'] = customer_id unless customer_id.nil?
@ -205,7 +205,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def undelete_alert(alert_id, undelete_alert_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/alerts/{alertId}:undelete', options)
command = make_simple_command(:post, 'v1beta1/alerts/{alertId}:undelete', options)
command.request_representation = Google::Apis::AlertcenterV1beta1::UndeleteAlertRequest::Representation
command.request_object = undelete_alert_request_object
command.response_representation = Google::Apis::AlertcenterV1beta1::Alert::Representation
@ -243,7 +243,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_alert_feedback(alert_id, alert_feedback_object = nil, customer_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/alerts/{alertId}/feedback', options)
command = make_simple_command(:post, 'v1beta1/alerts/{alertId}/feedback', options)
command.request_representation = Google::Apis::AlertcenterV1beta1::AlertFeedback::Representation
command.request_object = alert_feedback_object
command.response_representation = Google::Apis::AlertcenterV1beta1::AlertFeedback::Representation
@ -288,7 +288,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_alert_feedbacks(alert_id, customer_id: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/alerts/{alertId}/feedback', options)
command = make_simple_command(:get, 'v1beta1/alerts/{alertId}/feedback', options)
command.response_representation = Google::Apis::AlertcenterV1beta1::ListAlertFeedbackResponse::Representation
command.response_class = Google::Apis::AlertcenterV1beta1::ListAlertFeedbackResponse
command.params['alertId'] = alert_id unless alert_id.nil?
@ -322,7 +322,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_settings(customer_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/settings', options)
command = make_simple_command(:get, 'v1beta1/settings', options)
command.response_representation = Google::Apis::AlertcenterV1beta1::Settings::Representation
command.response_class = Google::Apis::AlertcenterV1beta1::Settings
command.query['customerId'] = customer_id unless customer_id.nil?
@ -355,7 +355,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_settings(settings_object = nil, customer_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta1/settings', options)
command = make_simple_command(:patch, 'v1beta1/settings', options)
command.request_representation = Google::Apis::AlertcenterV1beta1::Settings::Representation
command.request_object = settings_object
command.response_representation = Google::Apis::AlertcenterV1beta1::Settings::Representation

View File

@ -99,7 +99,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_datum(ids, start_date, end_date, metrics, dimensions: nil, filters: nil, max_results: nil, segment: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'data', options)
command = make_simple_command(:get, 'data', options)
command.query['dimensions'] = dimensions unless dimensions.nil?
command.query['end-date'] = end_date unless end_date.nil?
command.query['filters'] = filters unless filters.nil?
@ -142,7 +142,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_management_accounts(max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts', options)
command = make_simple_command(:get, 'management/accounts', options)
command.query['max-results'] = max_results unless max_results.nil?
command.query['start-index'] = start_index unless start_index.nil?
command.query['fields'] = fields unless fields.nil?
@ -187,7 +187,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_management_goals(account_id, web_property_id, profile_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', options)
command.params['accountId'] = account_id unless account_id.nil?
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
command.params['profileId'] = profile_id unless profile_id.nil?
@ -233,7 +233,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_management_profiles(account_id, web_property_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', options)
command.params['accountId'] = account_id unless account_id.nil?
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
command.query['max-results'] = max_results unless max_results.nil?
@ -270,7 +270,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_management_segments(max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/segments', options)
command = make_simple_command(:get, 'management/segments', options)
command.query['max-results'] = max_results unless max_results.nil?
command.query['start-index'] = start_index unless start_index.nil?
command.query['fields'] = fields unless fields.nil?
@ -308,7 +308,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_management_webproperties(account_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties', options)
command.params['accountId'] = account_id unless account_id.nil?
command.query['max-results'] = max_results unless max_results.nil?
command.query['start-index'] = start_index unless start_index.nil?

View File

@ -108,7 +108,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_ga_data(ids, start_date, end_date, metrics, dimensions: nil, filters: nil, include_empty_rows: nil, max_results: nil, output: nil, sampling_level: nil, segment: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'data/ga', options)
command = make_simple_command(:get, 'data/ga', options)
command.response_representation = Google::Apis::AnalyticsV3::GaData::Representation
command.response_class = Google::Apis::AnalyticsV3::GaData
command.query['dimensions'] = dimensions unless dimensions.nil?
@ -182,7 +182,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_mcf_data(ids, start_date, end_date, metrics, dimensions: nil, filters: nil, max_results: nil, sampling_level: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'data/mcf', options)
command = make_simple_command(:get, 'data/mcf', options)
command.response_representation = Google::Apis::AnalyticsV3::McfData::Representation
command.response_class = Google::Apis::AnalyticsV3::McfData
command.query['dimensions'] = dimensions unless dimensions.nil?
@ -238,7 +238,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_realtime_data(ids, metrics, dimensions: nil, filters: nil, max_results: nil, sort: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'data/realtime', options)
command = make_simple_command(:get, 'data/realtime', options)
command.response_representation = Google::Apis::AnalyticsV3::RealtimeData::Representation
command.response_class = Google::Apis::AnalyticsV3::RealtimeData
command.query['dimensions'] = dimensions unless dimensions.nil?
@ -281,7 +281,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_summaries(max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accountSummaries', options)
command = make_simple_command(:get, 'management/accountSummaries', options)
command.response_representation = Google::Apis::AnalyticsV3::AccountSummaries::Representation
command.response_class = Google::Apis::AnalyticsV3::AccountSummaries
command.query['max-results'] = max_results unless max_results.nil?
@ -317,7 +317,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_account_user_link(account_id, link_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'management/accounts/{accountId}/entityUserLinks/{linkId}', options)
command = make_simple_command(:delete, 'management/accounts/{accountId}/entityUserLinks/{linkId}', options)
command.params['accountId'] = account_id unless account_id.nil?
command.params['linkId'] = link_id unless link_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -350,7 +350,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_account_user_link(account_id, entity_user_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'management/accounts/{accountId}/entityUserLinks', options)
command = make_simple_command(:post, 'management/accounts/{accountId}/entityUserLinks', options)
command.request_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
command.request_object = entity_user_link_object
command.response_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
@ -390,7 +390,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_user_links(account_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/entityUserLinks', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/entityUserLinks', options)
command.response_representation = Google::Apis::AnalyticsV3::EntityUserLinks::Representation
command.response_class = Google::Apis::AnalyticsV3::EntityUserLinks
command.params['accountId'] = account_id unless account_id.nil?
@ -428,7 +428,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_account_user_link(account_id, link_id, entity_user_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'management/accounts/{accountId}/entityUserLinks/{linkId}', options)
command = make_simple_command(:put, 'management/accounts/{accountId}/entityUserLinks/{linkId}', options)
command.request_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
command.request_object = entity_user_link_object
command.response_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
@ -467,7 +467,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_accounts(max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts', options)
command = make_simple_command(:get, 'management/accounts', options)
command.response_representation = Google::Apis::AnalyticsV3::Accounts::Representation
command.response_class = Google::Apis::AnalyticsV3::Accounts
command.query['max-results'] = max_results unless max_results.nil?
@ -500,7 +500,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def hash_client_id(hash_client_id_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'management/clientId:hashClientId', options)
command = make_simple_command(:post, 'management/clientId:hashClientId', options)
command.request_representation = Google::Apis::AnalyticsV3::HashClientIdRequest::Representation
command.request_object = hash_client_id_request_object
command.response_representation = Google::Apis::AnalyticsV3::HashClientIdResponse::Representation
@ -541,7 +541,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_custom_data_sources(account_id, web_property_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources', options)
command.response_representation = Google::Apis::AnalyticsV3::CustomDataSources::Representation
command.response_class = Google::Apis::AnalyticsV3::CustomDataSources
command.params['accountId'] = account_id unless account_id.nil?
@ -581,7 +581,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_custom_dimension(account_id, web_property_id, custom_dimension_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', options)
command.response_representation = Google::Apis::AnalyticsV3::CustomDimension::Representation
command.response_class = Google::Apis::AnalyticsV3::CustomDimension
command.params['accountId'] = account_id unless account_id.nil?
@ -619,7 +619,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_custom_dimension(account_id, web_property_id, custom_dimension_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions', options)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions', options)
command.request_representation = Google::Apis::AnalyticsV3::CustomDimension::Representation
command.request_object = custom_dimension_object
command.response_representation = Google::Apis::AnalyticsV3::CustomDimension::Representation
@ -662,7 +662,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_custom_dimensions(account_id, web_property_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions', options)
command.response_representation = Google::Apis::AnalyticsV3::CustomDimensions::Representation
command.response_class = Google::Apis::AnalyticsV3::CustomDimensions
command.params['accountId'] = account_id unless account_id.nil?
@ -706,7 +706,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_custom_dimension(account_id, web_property_id, custom_dimension_id, custom_dimension_object = nil, ignore_custom_data_source_links: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', options)
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', options)
command.request_representation = Google::Apis::AnalyticsV3::CustomDimension::Representation
command.request_object = custom_dimension_object
command.response_representation = Google::Apis::AnalyticsV3::CustomDimension::Representation
@ -752,7 +752,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_custom_dimension(account_id, web_property_id, custom_dimension_id, custom_dimension_object = nil, ignore_custom_data_source_links: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', options)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', options)
command.request_representation = Google::Apis::AnalyticsV3::CustomDimension::Representation
command.request_object = custom_dimension_object
command.response_representation = Google::Apis::AnalyticsV3::CustomDimension::Representation
@ -794,7 +794,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_custom_metric(account_id, web_property_id, custom_metric_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', options)
command.response_representation = Google::Apis::AnalyticsV3::CustomMetric::Representation
command.response_class = Google::Apis::AnalyticsV3::CustomMetric
command.params['accountId'] = account_id unless account_id.nil?
@ -832,7 +832,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_custom_metric(account_id, web_property_id, custom_metric_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics', options)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics', options)
command.request_representation = Google::Apis::AnalyticsV3::CustomMetric::Representation
command.request_object = custom_metric_object
command.response_representation = Google::Apis::AnalyticsV3::CustomMetric::Representation
@ -875,7 +875,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_custom_metrics(account_id, web_property_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics', options)
command.response_representation = Google::Apis::AnalyticsV3::CustomMetrics::Representation
command.response_class = Google::Apis::AnalyticsV3::CustomMetrics
command.params['accountId'] = account_id unless account_id.nil?
@ -919,7 +919,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_custom_metric(account_id, web_property_id, custom_metric_id, custom_metric_object = nil, ignore_custom_data_source_links: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', options)
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', options)
command.request_representation = Google::Apis::AnalyticsV3::CustomMetric::Representation
command.request_object = custom_metric_object
command.response_representation = Google::Apis::AnalyticsV3::CustomMetric::Representation
@ -965,7 +965,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_custom_metric(account_id, web_property_id, custom_metric_id, custom_metric_object = nil, ignore_custom_data_source_links: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', options)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', options)
command.request_representation = Google::Apis::AnalyticsV3::CustomMetric::Representation
command.request_object = custom_metric_object
command.response_representation = Google::Apis::AnalyticsV3::CustomMetric::Representation
@ -1009,7 +1009,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_experiment(account_id, web_property_id, profile_id, experiment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', options)
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', options)
command.params['accountId'] = account_id unless account_id.nil?
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
command.params['profileId'] = profile_id unless profile_id.nil?
@ -1049,7 +1049,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_experiment(account_id, web_property_id, profile_id, experiment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', options)
command.response_representation = Google::Apis::AnalyticsV3::Experiment::Representation
command.response_class = Google::Apis::AnalyticsV3::Experiment
command.params['accountId'] = account_id unless account_id.nil?
@ -1090,7 +1090,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_experiment(account_id, web_property_id, profile_id, experiment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', options)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', options)
command.request_representation = Google::Apis::AnalyticsV3::Experiment::Representation
command.request_object = experiment_object
command.response_representation = Google::Apis::AnalyticsV3::Experiment::Representation
@ -1136,7 +1136,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_experiments(account_id, web_property_id, profile_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', options)
command.response_representation = Google::Apis::AnalyticsV3::Experiments::Representation
command.response_class = Google::Apis::AnalyticsV3::Experiments
command.params['accountId'] = account_id unless account_id.nil?
@ -1180,7 +1180,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_experiment(account_id, web_property_id, profile_id, experiment_id, experiment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', options)
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', options)
command.request_representation = Google::Apis::AnalyticsV3::Experiment::Representation
command.request_object = experiment_object
command.response_representation = Google::Apis::AnalyticsV3::Experiment::Representation
@ -1225,7 +1225,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_experiment(account_id, web_property_id, profile_id, experiment_id, experiment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', options)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', options)
command.request_representation = Google::Apis::AnalyticsV3::Experiment::Representation
command.request_object = experiment_object
command.response_representation = Google::Apis::AnalyticsV3::Experiment::Representation
@ -1265,7 +1265,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_filter(account_id, filter_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'management/accounts/{accountId}/filters/{filterId}', options)
command = make_simple_command(:delete, 'management/accounts/{accountId}/filters/{filterId}', options)
command.response_representation = Google::Apis::AnalyticsV3::Filter::Representation
command.response_class = Google::Apis::AnalyticsV3::Filter
command.params['accountId'] = account_id unless account_id.nil?
@ -1301,7 +1301,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_filter(account_id, filter_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/filters/{filterId}', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/filters/{filterId}', options)
command.response_representation = Google::Apis::AnalyticsV3::Filter::Representation
command.response_class = Google::Apis::AnalyticsV3::Filter
command.params['accountId'] = account_id unless account_id.nil?
@ -1336,7 +1336,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_filter(account_id, filter_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'management/accounts/{accountId}/filters', options)
command = make_simple_command(:post, 'management/accounts/{accountId}/filters', options)
command.request_representation = Google::Apis::AnalyticsV3::Filter::Representation
command.request_object = filter_object
command.response_representation = Google::Apis::AnalyticsV3::Filter::Representation
@ -1376,7 +1376,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_filters(account_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/filters', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/filters', options)
command.response_representation = Google::Apis::AnalyticsV3::Filters::Representation
command.response_class = Google::Apis::AnalyticsV3::Filters
command.params['accountId'] = account_id unless account_id.nil?
@ -1414,7 +1414,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_filter(account_id, filter_id, filter_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'management/accounts/{accountId}/filters/{filterId}', options)
command = make_simple_command(:patch, 'management/accounts/{accountId}/filters/{filterId}', options)
command.request_representation = Google::Apis::AnalyticsV3::Filter::Representation
command.request_object = filter_object
command.response_representation = Google::Apis::AnalyticsV3::Filter::Representation
@ -1453,7 +1453,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_filter(account_id, filter_id, filter_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'management/accounts/{accountId}/filters/{filterId}', options)
command = make_simple_command(:put, 'management/accounts/{accountId}/filters/{filterId}', options)
command.request_representation = Google::Apis::AnalyticsV3::Filter::Representation
command.request_object = filter_object
command.response_representation = Google::Apis::AnalyticsV3::Filter::Representation
@ -1495,7 +1495,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_goal(account_id, web_property_id, profile_id, goal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', options)
command.response_representation = Google::Apis::AnalyticsV3::Goal::Representation
command.response_class = Google::Apis::AnalyticsV3::Goal
command.params['accountId'] = account_id unless account_id.nil?
@ -1536,7 +1536,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_goal(account_id, web_property_id, profile_id, goal_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', options)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', options)
command.request_representation = Google::Apis::AnalyticsV3::Goal::Representation
command.request_object = goal_object
command.response_representation = Google::Apis::AnalyticsV3::Goal::Representation
@ -1586,7 +1586,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_goals(account_id, web_property_id, profile_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', options)
command.response_representation = Google::Apis::AnalyticsV3::Goals::Representation
command.response_class = Google::Apis::AnalyticsV3::Goals
command.params['accountId'] = account_id unless account_id.nil?
@ -1630,7 +1630,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_goal(account_id, web_property_id, profile_id, goal_id, goal_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', options)
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', options)
command.request_representation = Google::Apis::AnalyticsV3::Goal::Representation
command.request_object = goal_object
command.response_representation = Google::Apis::AnalyticsV3::Goal::Representation
@ -1675,7 +1675,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_goal(account_id, web_property_id, profile_id, goal_id, goal_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', options)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', options)
command.request_representation = Google::Apis::AnalyticsV3::Goal::Representation
command.request_object = goal_object
command.response_representation = Google::Apis::AnalyticsV3::Goal::Representation
@ -1719,7 +1719,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_profile_filter_link(account_id, web_property_id, profile_id, link_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', options)
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', options)
command.params['accountId'] = account_id unless account_id.nil?
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
command.params['profileId'] = profile_id unless profile_id.nil?
@ -1759,7 +1759,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_profile_filter_link(account_id, web_property_id, profile_id, link_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', options)
command.response_representation = Google::Apis::AnalyticsV3::ProfileFilterLink::Representation
command.response_class = Google::Apis::AnalyticsV3::ProfileFilterLink
command.params['accountId'] = account_id unless account_id.nil?
@ -1800,7 +1800,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_profile_filter_link(account_id, web_property_id, profile_id, profile_filter_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks', options)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks', options)
command.request_representation = Google::Apis::AnalyticsV3::ProfileFilterLink::Representation
command.request_object = profile_filter_link_object
command.response_representation = Google::Apis::AnalyticsV3::ProfileFilterLink::Representation
@ -1849,7 +1849,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_profile_filter_links(account_id, web_property_id, profile_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks', options)
command.response_representation = Google::Apis::AnalyticsV3::ProfileFilterLinks::Representation
command.response_class = Google::Apis::AnalyticsV3::ProfileFilterLinks
command.params['accountId'] = account_id unless account_id.nil?
@ -1893,7 +1893,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_profile_filter_link(account_id, web_property_id, profile_id, link_id, profile_filter_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', options)
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', options)
command.request_representation = Google::Apis::AnalyticsV3::ProfileFilterLink::Representation
command.request_object = profile_filter_link_object
command.response_representation = Google::Apis::AnalyticsV3::ProfileFilterLink::Representation
@ -1938,7 +1938,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_profile_filter_link(account_id, web_property_id, profile_id, link_id, profile_filter_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', options)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', options)
command.request_representation = Google::Apis::AnalyticsV3::ProfileFilterLink::Representation
command.request_object = profile_filter_link_object
command.response_representation = Google::Apis::AnalyticsV3::ProfileFilterLink::Representation
@ -1982,7 +1982,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_profile_user_link(account_id, web_property_id, profile_id, link_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', options)
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', options)
command.params['accountId'] = account_id unless account_id.nil?
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
command.params['profileId'] = profile_id unless profile_id.nil?
@ -2021,7 +2021,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_profile_user_link(account_id, web_property_id, profile_id, entity_user_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', options)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', options)
command.request_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
command.request_object = entity_user_link_object
command.response_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
@ -2071,7 +2071,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_profile_user_links(account_id, web_property_id, profile_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', options)
command.response_representation = Google::Apis::AnalyticsV3::EntityUserLinks::Representation
command.response_class = Google::Apis::AnalyticsV3::EntityUserLinks
command.params['accountId'] = account_id unless account_id.nil?
@ -2115,7 +2115,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_profile_user_link(account_id, web_property_id, profile_id, link_id, entity_user_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', options)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', options)
command.request_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
command.request_object = entity_user_link_object
command.response_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
@ -2157,7 +2157,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_profile(account_id, web_property_id, profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', options)
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', options)
command.params['accountId'] = account_id unless account_id.nil?
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
command.params['profileId'] = profile_id unless profile_id.nil?
@ -2194,7 +2194,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_profile(account_id, web_property_id, profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', options)
command.response_representation = Google::Apis::AnalyticsV3::Profile::Representation
command.response_class = Google::Apis::AnalyticsV3::Profile
command.params['accountId'] = account_id unless account_id.nil?
@ -2232,7 +2232,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_profile(account_id, web_property_id, profile_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', options)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', options)
command.request_representation = Google::Apis::AnalyticsV3::Profile::Representation
command.request_object = profile_object
command.response_representation = Google::Apis::AnalyticsV3::Profile::Representation
@ -2279,7 +2279,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_profiles(account_id, web_property_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', options)
command.response_representation = Google::Apis::AnalyticsV3::Profiles::Representation
command.response_class = Google::Apis::AnalyticsV3::Profiles
command.params['accountId'] = account_id unless account_id.nil?
@ -2320,7 +2320,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_profile(account_id, web_property_id, profile_id, profile_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', options)
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', options)
command.request_representation = Google::Apis::AnalyticsV3::Profile::Representation
command.request_object = profile_object
command.response_representation = Google::Apis::AnalyticsV3::Profile::Representation
@ -2362,7 +2362,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_profile(account_id, web_property_id, profile_id, profile_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', options)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', options)
command.request_representation = Google::Apis::AnalyticsV3::Profile::Representation
command.request_object = profile_object
command.response_representation = Google::Apis::AnalyticsV3::Profile::Representation
@ -2403,7 +2403,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_management_remarketing_audience(account_id, web_property_id, remarketing_audience_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}', options)
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}', options)
command.params['accountId'] = account_id unless account_id.nil?
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
command.params['remarketingAudienceId'] = remarketing_audience_id unless remarketing_audience_id.nil?
@ -2440,7 +2440,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_management_remarketing_audience(account_id, web_property_id, remarketing_audience_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}', options)
command.response_representation = Google::Apis::AnalyticsV3::RemarketingAudience::Representation
command.response_class = Google::Apis::AnalyticsV3::RemarketingAudience
command.params['accountId'] = account_id unless account_id.nil?
@ -2478,7 +2478,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_management_remarketing_audience(account_id, web_property_id, remarketing_audience_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences', options)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences', options)
command.request_representation = Google::Apis::AnalyticsV3::RemarketingAudience::Representation
command.request_object = remarketing_audience_object
command.response_representation = Google::Apis::AnalyticsV3::RemarketingAudience::Representation
@ -2522,7 +2522,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_management_remarketing_audiences(account_id, web_property_id, max_results: nil, start_index: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences', options)
command.response_representation = Google::Apis::AnalyticsV3::RemarketingAudiences::Representation
command.response_class = Google::Apis::AnalyticsV3::RemarketingAudiences
command.params['accountId'] = account_id unless account_id.nil?
@ -2564,7 +2564,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_management_remarketing_audience(account_id, web_property_id, remarketing_audience_id, remarketing_audience_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}', options)
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}', options)
command.request_representation = Google::Apis::AnalyticsV3::RemarketingAudience::Representation
command.request_object = remarketing_audience_object
command.response_representation = Google::Apis::AnalyticsV3::RemarketingAudience::Representation
@ -2606,7 +2606,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_management_remarketing_audience(account_id, web_property_id, remarketing_audience_id, remarketing_audience_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}', options)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}', options)
command.request_representation = Google::Apis::AnalyticsV3::RemarketingAudience::Representation
command.request_object = remarketing_audience_object
command.response_representation = Google::Apis::AnalyticsV3::RemarketingAudience::Representation
@ -2646,7 +2646,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_segments(max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/segments', options)
command = make_simple_command(:get, 'management/segments', options)
command.response_representation = Google::Apis::AnalyticsV3::Segments::Representation
command.response_class = Google::Apis::AnalyticsV3::Segments
command.query['max-results'] = max_results unless max_results.nil?
@ -2686,7 +2686,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_unsampled_report(account_id, web_property_id, profile_id, unsampled_report_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}', options)
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}', options)
command.params['accountId'] = account_id unless account_id.nil?
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
command.params['profileId'] = profile_id unless profile_id.nil?
@ -2726,7 +2726,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_unsampled_report(account_id, web_property_id, profile_id, unsampled_report_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}', options)
command.response_representation = Google::Apis::AnalyticsV3::UnsampledReport::Representation
command.response_class = Google::Apis::AnalyticsV3::UnsampledReport
command.params['accountId'] = account_id unless account_id.nil?
@ -2767,7 +2767,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_unsampled_report(account_id, web_property_id, profile_id, unsampled_report_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports', options)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports', options)
command.request_representation = Google::Apis::AnalyticsV3::UnsampledReport::Representation
command.request_object = unsampled_report_object
command.response_representation = Google::Apis::AnalyticsV3::UnsampledReport::Representation
@ -2816,7 +2816,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_unsampled_reports(account_id, web_property_id, profile_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports', options)
command.response_representation = Google::Apis::AnalyticsV3::UnsampledReports::Representation
command.response_class = Google::Apis::AnalyticsV3::UnsampledReports
command.params['accountId'] = account_id unless account_id.nil?
@ -2858,7 +2858,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_upload_data(account_id, web_property_id, custom_data_source_id, delete_upload_data_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData', options)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData', options)
command.request_representation = Google::Apis::AnalyticsV3::DeleteUploadDataRequest::Representation
command.request_object = delete_upload_data_request_object
command.params['accountId'] = account_id unless account_id.nil?
@ -2899,7 +2899,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_upload(account_id, web_property_id, custom_data_source_id, upload_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}', options)
command.response_representation = Google::Apis::AnalyticsV3::Upload::Representation
command.response_class = Google::Apis::AnalyticsV3::Upload
command.params['accountId'] = account_id unless account_id.nil?
@ -2944,7 +2944,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_uploads(account_id, web_property_id, custom_data_source_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', options)
command.response_representation = Google::Apis::AnalyticsV3::Uploads::Representation
command.response_class = Google::Apis::AnalyticsV3::Uploads
command.params['accountId'] = account_id unless account_id.nil?
@ -2990,7 +2990,7 @@ module Google
# @raise [Google::Apis::AuthorizationError] Authorization is required
def upload_data(account_id, web_property_id, custom_data_source_id, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', options)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', options)
else
command = make_upload_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', options)
command.upload_source = upload_source
@ -3034,7 +3034,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_web_property_ad_words_link(account_id, web_property_id, web_property_ad_words_link_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', options)
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', options)
command.params['accountId'] = account_id unless account_id.nil?
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
command.params['webPropertyAdWordsLinkId'] = web_property_ad_words_link_id unless web_property_ad_words_link_id.nil?
@ -3071,7 +3071,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_web_property_ad_words_link(account_id, web_property_id, web_property_ad_words_link_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', options)
command.response_representation = Google::Apis::AnalyticsV3::EntityAdWordsLink::Representation
command.response_class = Google::Apis::AnalyticsV3::EntityAdWordsLink
command.params['accountId'] = account_id unless account_id.nil?
@ -3109,7 +3109,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_web_property_ad_words_link(account_id, web_property_id, entity_ad_words_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks', options)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks', options)
command.request_representation = Google::Apis::AnalyticsV3::EntityAdWordsLink::Representation
command.request_object = entity_ad_words_link_object
command.response_representation = Google::Apis::AnalyticsV3::EntityAdWordsLink::Representation
@ -3152,7 +3152,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_web_property_ad_words_links(account_id, web_property_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks', options)
command.response_representation = Google::Apis::AnalyticsV3::EntityAdWordsLinks::Representation
command.response_class = Google::Apis::AnalyticsV3::EntityAdWordsLinks
command.params['accountId'] = account_id unless account_id.nil?
@ -3194,7 +3194,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_web_property_ad_words_link(account_id, web_property_id, web_property_ad_words_link_id, entity_ad_words_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', options)
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', options)
command.request_representation = Google::Apis::AnalyticsV3::EntityAdWordsLink::Representation
command.request_object = entity_ad_words_link_object
command.response_representation = Google::Apis::AnalyticsV3::EntityAdWordsLink::Representation
@ -3236,7 +3236,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_web_property_ad_words_link(account_id, web_property_id, web_property_ad_words_link_id, entity_ad_words_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', options)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', options)
command.request_representation = Google::Apis::AnalyticsV3::EntityAdWordsLink::Representation
command.request_object = entity_ad_words_link_object
command.response_representation = Google::Apis::AnalyticsV3::EntityAdWordsLink::Representation
@ -3275,7 +3275,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_web_property(account_id, web_property_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}', options)
command.response_representation = Google::Apis::AnalyticsV3::Webproperty::Representation
command.response_class = Google::Apis::AnalyticsV3::Webproperty
command.params['accountId'] = account_id unless account_id.nil?
@ -3312,7 +3312,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_web_property(account_id, webproperty_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties', options)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties', options)
command.request_representation = Google::Apis::AnalyticsV3::Webproperty::Representation
command.request_object = webproperty_object
command.response_representation = Google::Apis::AnalyticsV3::Webproperty::Representation
@ -3353,7 +3353,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_web_properties(account_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties', options)
command.response_representation = Google::Apis::AnalyticsV3::Webproperties::Representation
command.response_class = Google::Apis::AnalyticsV3::Webproperties
command.params['accountId'] = account_id unless account_id.nil?
@ -3391,7 +3391,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_web_property(account_id, web_property_id, webproperty_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}', options)
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}', options)
command.request_representation = Google::Apis::AnalyticsV3::Webproperty::Representation
command.request_object = webproperty_object
command.response_representation = Google::Apis::AnalyticsV3::Webproperty::Representation
@ -3430,7 +3430,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_web_property(account_id, web_property_id, webproperty_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}', options)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}', options)
command.request_representation = Google::Apis::AnalyticsV3::Webproperty::Representation
command.request_object = webproperty_object
command.response_representation = Google::Apis::AnalyticsV3::Webproperty::Representation
@ -3470,7 +3470,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_web_property_user_link(account_id, web_property_id, link_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', options)
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', options)
command.params['accountId'] = account_id unless account_id.nil?
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
command.params['linkId'] = link_id unless link_id.nil?
@ -3506,7 +3506,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_web_property_user_link(account_id, web_property_id, entity_user_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', options)
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', options)
command.request_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
command.request_object = entity_user_link_object
command.response_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
@ -3551,7 +3551,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_web_property_user_links(account_id, web_property_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', options)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', options)
command.response_representation = Google::Apis::AnalyticsV3::EntityUserLinks::Representation
command.response_class = Google::Apis::AnalyticsV3::EntityUserLinks
command.params['accountId'] = account_id unless account_id.nil?
@ -3592,7 +3592,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_web_property_user_link(account_id, web_property_id, link_id, entity_user_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', options)
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', options)
command.request_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
command.request_object = entity_user_link_object
command.response_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
@ -3630,7 +3630,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_metadata_columns(report_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'metadata/{reportType}/columns', options)
command = make_simple_command(:get, 'metadata/{reportType}/columns', options)
command.response_representation = Google::Apis::AnalyticsV3::Columns::Representation
command.response_class = Google::Apis::AnalyticsV3::Columns
command.params['reportType'] = report_type unless report_type.nil?
@ -3662,7 +3662,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_account_ticket(account_ticket_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'provisioning/createAccountTicket', options)
command = make_simple_command(:post, 'provisioning/createAccountTicket', options)
command.request_representation = Google::Apis::AnalyticsV3::AccountTicket::Representation
command.request_object = account_ticket_object
command.response_representation = Google::Apis::AnalyticsV3::AccountTicket::Representation
@ -3695,7 +3695,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_provisioning_account_tree(account_tree_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'provisioning/createAccountTree', options)
command = make_simple_command(:post, 'provisioning/createAccountTree', options)
command.request_representation = Google::Apis::AnalyticsV3::AccountTreeRequest::Representation
command.request_object = account_tree_request_object
command.response_representation = Google::Apis::AnalyticsV3::AccountTreeResponse::Representation
@ -3728,7 +3728,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def upsert_user_deletion_user_deletion_request(user_deletion_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'userDeletion/userDeletionRequests:upsert', options)
command = make_simple_command(:post, 'userDeletion/userDeletionRequests:upsert', options)
command.request_representation = Google::Apis::AnalyticsV3::UserDeletionRequest::Representation
command.request_object = user_deletion_request_object
command.response_representation = Google::Apis::AnalyticsV3::UserDeletionRequest::Representation

View File

@ -67,7 +67,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_get_reports(get_reports_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v4/reports:batchGet', options)
command = make_simple_command(:post, 'v4/reports:batchGet', options)
command.request_representation = Google::Apis::AnalyticsreportingV4::GetReportsRequest::Representation
command.request_object = get_reports_request_object
command.response_representation = Google::Apis::AnalyticsreportingV4::GetReportsResponse::Representation
@ -97,7 +97,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_user_activity(search_user_activity_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v4/userActivity:search', options)
command = make_simple_command(:post, 'v4/userActivity:search', options)
command.request_representation = Google::Apis::AnalyticsreportingV4::SearchUserActivityRequest::Representation
command.request_object = search_user_activity_request_object
command.response_representation = Google::Apis::AnalyticsreportingV4::SearchUserActivityResponse::Representation

View File

@ -72,7 +72,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_customers(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/customers', options)
command = make_simple_command(:get, 'v1/customers', options)
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerListCustomersResponse::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::CustomerListCustomersResponse
command.query['pageSize'] = page_size unless page_size.nil?
@ -106,7 +106,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_customer_configuration(parent, configuration_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/configurations', options)
command = make_simple_command(:post, 'v1/{+parent}/configurations', options)
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::Configuration::Representation
command.request_object = configuration_object
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Configuration::Representation
@ -141,7 +141,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_customer_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Empty::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Empty
command.params['name'] = name unless name.nil?
@ -172,7 +172,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_customer_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Configuration::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Configuration
command.params['name'] = name unless name.nil?
@ -203,7 +203,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_customer_configurations(parent, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/configurations', options)
command = make_simple_command(:get, 'v1/{+parent}/configurations', options)
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerListConfigurationsResponse::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::CustomerListConfigurationsResponse
command.params['parent'] = parent unless parent.nil?
@ -241,7 +241,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_customer_configuration(name, configuration_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::Configuration::Representation
command.request_object = configuration_object
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Configuration::Representation
@ -278,7 +278,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def apply_customer_device_configuration(parent, customer_apply_configuration_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/devices:applyConfiguration', options)
command = make_simple_command(:post, 'v1/{+parent}/devices:applyConfiguration', options)
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerApplyConfigurationRequest::Representation
command.request_object = customer_apply_configuration_request_object
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Empty::Representation
@ -311,7 +311,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_customer_device(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Device::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Device
command.params['name'] = name unless name.nil?
@ -347,7 +347,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_customer_devices(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerListDevicesResponse::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::CustomerListDevicesResponse
command.params['parent'] = parent unless parent.nil?
@ -381,7 +381,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def remove_customer_device_configuration(parent, customer_remove_configuration_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/devices:removeConfiguration', options)
command = make_simple_command(:post, 'v1/{+parent}/devices:removeConfiguration', options)
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerRemoveConfigurationRequest::Representation
command.request_object = customer_remove_configuration_request_object
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Empty::Representation
@ -418,7 +418,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def unclaim_customer_device(parent, customer_unclaim_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/devices:unclaim', options)
command = make_simple_command(:post, 'v1/{+parent}/devices:unclaim', options)
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerUnclaimDeviceRequest::Representation
command.request_object = customer_unclaim_device_request_object
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Empty::Representation
@ -452,7 +452,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_customer_dpcs(parent, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/dpcs', options)
command = make_simple_command(:get, 'v1/{+parent}/dpcs', options)
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerListDpcsResponse::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::CustomerListDpcsResponse
command.params['parent'] = parent unless parent.nil?
@ -484,7 +484,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Operation::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Operation
command.params['name'] = name unless name.nil?
@ -520,7 +520,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_customer(parent, create_customer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/customers', options)
command = make_simple_command(:post, 'v1/{+parent}/customers', options)
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::CreateCustomerRequest::Representation
command.request_object = create_customer_request_object
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Company::Representation
@ -559,7 +559,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_partner_customers(partner_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/partners/{+partnerId}/customers', options)
command = make_simple_command(:get, 'v1/partners/{+partnerId}/customers', options)
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::ListCustomersResponse::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::ListCustomersResponse
command.params['partnerId'] = partner_id unless partner_id.nil?
@ -593,7 +593,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def claim_device(partner_id, claim_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:claim', options)
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:claim', options)
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::ClaimDeviceRequest::Representation
command.request_object = claim_device_request_object
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::ClaimDeviceResponse::Representation
@ -628,7 +628,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def claim_partner_device_async(partner_id, claim_devices_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:claimAsync', options)
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:claimAsync', options)
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::ClaimDevicesRequest::Representation
command.request_object = claim_devices_request_object
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Operation::Representation
@ -661,7 +661,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def find_partner_device_by_identifier(partner_id, find_devices_by_device_identifier_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:findByIdentifier', options)
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:findByIdentifier', options)
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByDeviceIdentifierRequest::Representation
command.request_object = find_devices_by_device_identifier_request_object
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByDeviceIdentifierResponse::Representation
@ -697,7 +697,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def find_partner_device_by_owner(partner_id, find_devices_by_owner_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:findByOwner', options)
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:findByOwner', options)
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByOwnerRequest::Representation
command.request_object = find_devices_by_owner_request_object
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByOwnerResponse::Representation
@ -730,7 +730,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_partner_device(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Device::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Device
command.params['name'] = name unless name.nil?
@ -763,7 +763,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def metadata_partner_device(metadata_owner_id, device_id, update_device_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/partners/{+metadataOwnerId}/devices/{+deviceId}/metadata', options)
command = make_simple_command(:post, 'v1/partners/{+metadataOwnerId}/devices/{+deviceId}/metadata', options)
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::UpdateDeviceMetadataRequest::Representation
command.request_object = update_device_metadata_request_object
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata::Representation
@ -798,7 +798,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def unclaim_device(partner_id, unclaim_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:unclaim', options)
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:unclaim', options)
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::UnclaimDeviceRequest::Representation
command.request_object = unclaim_device_request_object
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Empty::Representation
@ -833,7 +833,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def unclaim_partner_device_async(partner_id, unclaim_devices_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:unclaimAsync', options)
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:unclaimAsync', options)
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::UnclaimDevicesRequest::Representation
command.request_object = unclaim_devices_request_object
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Operation::Representation
@ -869,7 +869,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_partner_device_metadata_async(partner_id, update_device_metadata_in_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:updateMetadataAsync', options)
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:updateMetadataAsync', options)
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::UpdateDeviceMetadataInBatchRequest::Representation
command.request_object = update_device_metadata_in_batch_request_object
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Operation::Representation
@ -905,7 +905,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_partner_vendors(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/vendors', options)
command = make_simple_command(:get, 'v1/{+parent}/vendors', options)
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::ListVendorsResponse::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::ListVendorsResponse
command.params['parent'] = parent unless parent.nil?
@ -942,7 +942,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_partner_vendor_customers(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/customers', options)
command = make_simple_command(:get, 'v1/{+parent}/customers', options)
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::ListVendorCustomersResponse::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::ListVendorCustomersResponse
command.params['parent'] = parent unless parent.nil?

View File

@ -78,7 +78,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_device(enterprise_id, user_id, device_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::Device::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::Device
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -121,7 +121,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_device_state(enterprise_id, user_id, device_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::DeviceState::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::DeviceState
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -158,7 +158,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_devices(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::ListDevicesResponse::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::ListDevicesResponse
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -202,7 +202,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_device(enterprise_id, user_id, device_id, device_object = nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}', options)
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::Device::Representation
command.request_object = device_object
command.response_representation = Google::Apis::AndroidenterpriseV1::Device::Representation
@ -249,7 +249,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_device_state(enterprise_id, user_id, device_id, device_state_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state', options)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::DeviceState::Representation
command.request_object = device_state_object
command.response_representation = Google::Apis::AndroidenterpriseV1::DeviceState::Representation
@ -296,7 +296,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_device(enterprise_id, user_id, device_id, device_object = nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}', options)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::Device::Representation
command.request_object = device_object
command.response_representation = Google::Apis::AndroidenterpriseV1::Device::Representation
@ -337,7 +337,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def acknowledge_enterprise_notification_set(notification_set_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'enterprises/acknowledgeNotificationSet', options)
command = make_simple_command(:post, 'enterprises/acknowledgeNotificationSet', options)
command.query['notificationSetId'] = notification_set_id unless notification_set_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -372,7 +372,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def complete_enterprise_signup(completion_token: nil, enterprise_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'enterprises/completeSignup', options)
command = make_simple_command(:post, 'enterprises/completeSignup', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::Enterprise::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::Enterprise
command.query['completionToken'] = completion_token unless completion_token.nil?
@ -410,7 +410,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_enterprise_web_token(enterprise_id, administrator_web_token_spec_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/createWebToken', options)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/createWebToken', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpec::Representation
command.request_object = administrator_web_token_spec_object
command.response_representation = Google::Apis::AndroidenterpriseV1::AdministratorWebToken::Representation
@ -446,7 +446,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def enroll_enterprise(token, enterprise_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'enterprises/enroll', options)
command = make_simple_command(:post, 'enterprises/enroll', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::Enterprise::Representation
command.request_object = enterprise_object
command.response_representation = Google::Apis::AndroidenterpriseV1::Enterprise::Representation
@ -487,7 +487,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def generate_enterprise_signup_url(callback_url: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'enterprises/signupUrl', options)
command = make_simple_command(:post, 'enterprises/signupUrl', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::SignupInfo::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::SignupInfo
command.query['callbackUrl'] = callback_url unless callback_url.nil?
@ -520,7 +520,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_enterprise(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::Enterprise::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::Enterprise
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -565,7 +565,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_enterprise_service_account(enterprise_id, key_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/serviceAccount', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/serviceAccount', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::ServiceAccount::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::ServiceAccount
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -600,7 +600,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_enterprise_store_layout(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreLayout::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::StoreLayout
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -637,7 +637,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_enterprises(domain, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises', options)
command = make_simple_command(:get, 'enterprises', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::ListEnterprisesResponse::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::ListEnterprisesResponse
command.query['domain'] = domain unless domain.nil?
@ -690,7 +690,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def pull_enterprise_notification_set(request_mode: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'enterprises/pullNotificationSet', options)
command = make_simple_command(:post, 'enterprises/pullNotificationSet', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::NotificationSet::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::NotificationSet
command.query['requestMode'] = request_mode unless request_mode.nil?
@ -724,7 +724,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def send_enterprise_test_push_notification(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/sendTestPushNotification', options)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/sendTestPushNotification', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::SendTestPushNotificationResponse::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::SendTestPushNotificationResponse
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -759,7 +759,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_enterprise_account(enterprise_id, enterprise_account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/account', options)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/account', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::EnterpriseAccount::Representation
command.request_object = enterprise_account_object
command.response_representation = Google::Apis::AndroidenterpriseV1::EnterpriseAccount::Representation
@ -801,7 +801,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_enterprise_store_layout(enterprise_id, store_layout_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/storeLayout', options)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/storeLayout', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::StoreLayout::Representation
command.request_object = store_layout_object
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreLayout::Representation
@ -836,7 +836,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def unenroll_enterprise(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/unenroll', options)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/unenroll', options)
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -871,7 +871,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_entitlement(enterprise_id, user_id, entitlement_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', options)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', options)
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
command.params['userId'] = user_id unless user_id.nil?
command.params['entitlementId'] = entitlement_id unless entitlement_id.nil?
@ -908,7 +908,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_entitlement(enterprise_id, user_id, entitlement_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::Entitlement::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::Entitlement
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -945,7 +945,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_entitlements(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/entitlements', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/entitlements', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::ListEntitlementsResponse::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::ListEntitlementsResponse
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -990,7 +990,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_entitlement(enterprise_id, user_id, entitlement_id, entitlement_object = nil, install: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', options)
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::Entitlement::Representation
command.request_object = entitlement_object
command.response_representation = Google::Apis::AndroidenterpriseV1::Entitlement::Representation
@ -1038,7 +1038,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_entitlement(enterprise_id, user_id, entitlement_id, entitlement_object = nil, install: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', options)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::Entitlement::Representation
command.request_object = entitlement_object
command.response_representation = Google::Apis::AndroidenterpriseV1::Entitlement::Representation
@ -1079,7 +1079,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_group_license(enterprise_id, group_license_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::GroupLicense::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::GroupLicense
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -1113,7 +1113,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_group_licenses(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/groupLicenses', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/groupLicenses', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::ListGroupLicensesResponse::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::ListGroupLicensesResponse
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -1150,7 +1150,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_group_license_users(enterprise_id, group_license_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}/users', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}/users', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::ListGroupLicenseUsersResponse::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::ListGroupLicenseUsersResponse
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -1192,7 +1192,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_install(enterprise_id, user_id, device_id, install_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', options)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', options)
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
command.params['userId'] = user_id unless user_id.nil?
command.params['deviceId'] = device_id unless device_id.nil?
@ -1233,7 +1233,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_install(enterprise_id, user_id, device_id, install_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::Install::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::Install
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -1273,7 +1273,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_installs(enterprise_id, user_id, device_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::ListInstallsResponse::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::ListInstallsResponse
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -1318,7 +1318,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_install(enterprise_id, user_id, device_id, install_id, install_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', options)
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::Install::Representation
command.request_object = install_object
command.response_representation = Google::Apis::AndroidenterpriseV1::Install::Representation
@ -1365,7 +1365,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_install(enterprise_id, user_id, device_id, install_id, install_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', options)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::Install::Representation
command.request_object = install_object
command.response_representation = Google::Apis::AndroidenterpriseV1::Install::Representation
@ -1410,7 +1410,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_managedconfigurationsfordevice(enterprise_id, user_id, device_id, managed_configuration_for_device_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
command.params['userId'] = user_id unless user_id.nil?
command.params['deviceId'] = device_id unless device_id.nil?
@ -1451,7 +1451,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_managedconfigurationsfordevice(enterprise_id, user_id, device_id, managed_configuration_for_device_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfiguration
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -1492,7 +1492,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_managedconfigurationsfordevices(enterprise_id, user_id, device_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsForDeviceListResponse::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsForDeviceListResponse
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -1536,7 +1536,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_managedconfigurationsfordevice(enterprise_id, user_id, device_id, managed_configuration_for_device_id, managed_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
command.request_object = managed_configuration_object
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
@ -1583,7 +1583,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_managedconfigurationsfordevice(enterprise_id, user_id, device_id, managed_configuration_for_device_id, managed_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
command.request_object = managed_configuration_object
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
@ -1626,7 +1626,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_managedconfigurationsforuser(enterprise_id, user_id, managed_configuration_for_user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
command.params['userId'] = user_id unless user_id.nil?
command.params['managedConfigurationForUserId'] = managed_configuration_for_user_id unless managed_configuration_for_user_id.nil?
@ -1665,7 +1665,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_managedconfigurationsforuser(enterprise_id, user_id, managed_configuration_for_user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfiguration
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -1703,7 +1703,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_managedconfigurationsforusers(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsForUserListResponse::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsForUserListResponse
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -1748,7 +1748,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_managedconfigurationsforuser(enterprise_id, user_id, managed_configuration_for_user_id, managed_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
command.request_object = managed_configuration_object
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
@ -1795,7 +1795,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_managedconfigurationsforuser(enterprise_id, user_id, managed_configuration_for_user_id, managed_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
command.request_object = managed_configuration_object
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
@ -1835,7 +1835,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_managedconfigurationssettings(enterprise_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products/{productId}/managedConfigurationsSettings', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products/{productId}/managedConfigurationsSettings', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettingsListResponse::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettingsListResponse
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -1872,7 +1872,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_permission(permission_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'permissions/{permissionId}', options)
command = make_simple_command(:get, 'permissions/{permissionId}', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::Permission::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::Permission
command.params['permissionId'] = permission_id unless permission_id.nil?
@ -1913,7 +1913,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def approve_product(enterprise_id, product_id, approve_product_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/products/{productId}/approve', options)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/products/{productId}/approve', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::ApproveProductRequest::Representation
command.request_object = approve_product_request_object
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -1959,7 +1959,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def generate_product_approval_url(enterprise_id, product_id, language_code: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/products/{productId}/generateApprovalUrl', options)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/products/{productId}/generateApprovalUrl', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::GenerateProductApprovalUrlResponse::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::GenerateProductApprovalUrlResponse
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -1998,7 +1998,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_product(enterprise_id, product_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products/{productId}', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products/{productId}', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::Product::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::Product
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -2042,7 +2042,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_product_app_restrictions_schema(enterprise_id, product_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products/{productId}/appRestrictionsSchema', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products/{productId}/appRestrictionsSchema', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::AppRestrictionsSchema::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::AppRestrictionsSchema
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -2079,7 +2079,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_product_permissions(enterprise_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products/{productId}/permissions', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products/{productId}/permissions', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::ProductPermissions::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::ProductPermissions
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -2133,7 +2133,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_products(enterprise_id, approved: nil, language: nil, max_results: nil, query: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::ProductsListResponse::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::ProductsListResponse
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -2173,7 +2173,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def unapprove_product(enterprise_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/products/{productId}/unapprove', options)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/products/{productId}/unapprove', options)
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
command.params['productId'] = product_id unless product_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -2210,7 +2210,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_serviceaccountkey(enterprise_id, key_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/serviceAccountKeys/{keyId}', options)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/serviceAccountKeys/{keyId}', options)
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
command.params['keyId'] = key_id unless key_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -2247,7 +2247,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_serviceaccountkey(enterprise_id, service_account_key_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/serviceAccountKeys', options)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/serviceAccountKeys', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::ServiceAccountKey::Representation
command.request_object = service_account_key_object
command.response_representation = Google::Apis::AndroidenterpriseV1::ServiceAccountKey::Representation
@ -2286,7 +2286,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_serviceaccountkeys(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/serviceAccountKeys', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/serviceAccountKeys', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::ServiceAccountKeysListResponse::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::ServiceAccountKeysListResponse
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -2323,7 +2323,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_storelayoutcluster(enterprise_id, page_id, cluster_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
command.params['pageId'] = page_id unless page_id.nil?
command.params['clusterId'] = cluster_id unless cluster_id.nil?
@ -2360,7 +2360,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_storelayoutcluster(enterprise_id, page_id, cluster_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::StoreCluster
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -2398,7 +2398,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_storelayoutcluster(enterprise_id, page_id, store_cluster_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters', options)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
command.request_object = store_cluster_object
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
@ -2436,7 +2436,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_storelayoutclusters(enterprise_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreLayoutClustersListResponse::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::StoreLayoutClustersListResponse
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -2475,7 +2475,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_storelayoutcluster(enterprise_id, page_id, cluster_id, store_cluster_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
command.request_object = store_cluster_object
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
@ -2517,7 +2517,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_storelayoutcluster(enterprise_id, page_id, cluster_id, store_cluster_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
command.request_object = store_cluster_object
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
@ -2556,7 +2556,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_storelayoutpage(enterprise_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
command.params['pageId'] = page_id unless page_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -2590,7 +2590,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_storelayoutpage(enterprise_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::StorePage
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -2625,7 +2625,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_storelayoutpage(enterprise_id, store_page_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/storeLayout/pages', options)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/storeLayout/pages', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
command.request_object = store_page_object
command.response_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
@ -2660,7 +2660,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_storelayoutpages(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout/pages', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout/pages', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreLayoutPagesListResponse::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::StoreLayoutPagesListResponse
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -2696,7 +2696,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_storelayoutpage(enterprise_id, page_id, store_page_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
command.request_object = store_page_object
command.response_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
@ -2735,7 +2735,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_storelayoutpage(enterprise_id, page_id, store_page_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
command.request_object = store_page_object
command.response_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
@ -2773,7 +2773,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_user(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}', options)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}', options)
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
command.params['userId'] = user_id unless user_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -2811,7 +2811,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def generate_user_authentication_token(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/users/{userId}/authenticationToken', options)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/users/{userId}/authenticationToken', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::AuthenticationToken::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::AuthenticationToken
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -2850,7 +2850,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def generate_user_token(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/users/{userId}/token', options)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/users/{userId}/token', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::UserToken::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::UserToken
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -2886,7 +2886,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_user(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::User::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::User
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -2922,7 +2922,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_user_available_product_set(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/availableProductSet', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/availableProductSet', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::ProductSet::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::ProductSet
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -2962,7 +2962,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_user(enterprise_id, user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/users', options)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/users', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::User::Representation
command.request_object = user_object
command.response_representation = Google::Apis::AndroidenterpriseV1::User::Representation
@ -3001,7 +3001,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_users(enterprise_id, email, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::ListUsersResponse::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::ListUsersResponse
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -3042,7 +3042,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_user(enterprise_id, user_id, user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}', options)
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::User::Representation
command.request_object = user_object
command.response_representation = Google::Apis::AndroidenterpriseV1::User::Representation
@ -3083,7 +3083,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def revoke_user_device_access(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/deviceAccess', options)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/deviceAccess', options)
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
command.params['userId'] = user_id unless user_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -3117,7 +3117,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def revoke_user_token(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/token', options)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/token', options)
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
command.params['userId'] = user_id unless user_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -3154,7 +3154,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_user_available_product_set(enterprise_id, user_id, product_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/availableProductSet', options)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/availableProductSet', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::ProductSet::Representation
command.request_object = product_set_object
command.response_representation = Google::Apis::AndroidenterpriseV1::ProductSet::Representation
@ -3197,7 +3197,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_user(enterprise_id, user_id, user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}', options)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::User::Representation
command.request_object = user_object
command.response_representation = Google::Apis::AndroidenterpriseV1::User::Representation
@ -3235,7 +3235,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_webapp(enterprise_id, web_app_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/webApps/{webAppId}', options)
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/webApps/{webAppId}', options)
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
command.params['webAppId'] = web_app_id unless web_app_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -3269,7 +3269,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_webapp(enterprise_id, web_app_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/webApps/{webAppId}', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/webApps/{webAppId}', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::WebApp
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -3304,7 +3304,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_webapp(enterprise_id, web_app_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/webApps', options)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/webApps', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
command.request_object = web_app_object
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
@ -3339,7 +3339,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_webapps(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/webApps', options)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/webApps', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::WebAppsListResponse::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::WebAppsListResponse
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
@ -3375,7 +3375,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_webapp(enterprise_id, web_app_id, web_app_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/webApps/{webAppId}', options)
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/webApps/{webAppId}', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
command.request_object = web_app_object
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
@ -3414,7 +3414,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_webapp(enterprise_id, web_app_id, web_app_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/webApps/{webAppId}', options)
command = make_simple_command(:put, 'enterprises/{enterpriseId}/webApps/{webAppId}', options)
command.request_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
command.request_object = web_app_object
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation

View File

@ -74,7 +74,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_enterprise(enterprise_object = nil, enterprise_token: nil, project_id: nil, signup_url_name: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/enterprises', options)
command = make_simple_command(:post, 'v1/enterprises', options)
command.request_representation = Google::Apis::AndroidmanagementV1::Enterprise::Representation
command.request_object = enterprise_object
command.response_representation = Google::Apis::AndroidmanagementV1::Enterprise::Representation
@ -108,7 +108,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_enterprise(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroidmanagementV1::Enterprise::Representation
command.response_class = Google::Apis::AndroidmanagementV1::Enterprise
command.params['name'] = name unless name.nil?
@ -142,7 +142,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_enterprise(name, enterprise_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::AndroidmanagementV1::Enterprise::Representation
command.request_object = enterprise_object
command.response_representation = Google::Apis::AndroidmanagementV1::Enterprise::Representation
@ -180,7 +180,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_enterprise_application(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroidmanagementV1::Application::Representation
command.response_class = Google::Apis::AndroidmanagementV1::Application
command.params['name'] = name unless name.nil?
@ -214,7 +214,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_enterprise_device(name, wipe_data_flags: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
command.response_class = Google::Apis::AndroidmanagementV1::Empty
command.params['name'] = name unless name.nil?
@ -246,7 +246,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_enterprise_device(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroidmanagementV1::Device::Representation
command.response_class = Google::Apis::AndroidmanagementV1::Device
command.params['name'] = name unless name.nil?
@ -280,7 +280,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def issue_enterprise_device_command(name, command_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:issueCommand', options)
command = make_simple_command(:post, 'v1/{+name}:issueCommand', options)
command.request_representation = Google::Apis::AndroidmanagementV1::Command::Representation
command.request_object = command_object
command.response_representation = Google::Apis::AndroidmanagementV1::Operation::Representation
@ -317,7 +317,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_enterprise_devices(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
command.response_representation = Google::Apis::AndroidmanagementV1::ListDevicesResponse::Representation
command.response_class = Google::Apis::AndroidmanagementV1::ListDevicesResponse
command.params['parent'] = parent unless parent.nil?
@ -354,7 +354,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_enterprise_device(name, device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::AndroidmanagementV1::Device::Representation
command.request_object = device_object
command.response_representation = Google::Apis::AndroidmanagementV1::Device::Representation
@ -394,7 +394,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_enterprise_device_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
command.response_class = Google::Apis::AndroidmanagementV1::Empty
command.params['name'] = name unless name.nil?
@ -427,7 +427,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_enterprise_device_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
command.response_class = Google::Apis::AndroidmanagementV1::Empty
command.params['name'] = name unless name.nil?
@ -458,7 +458,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_enterprise_device_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroidmanagementV1::Operation::Representation
command.response_class = Google::Apis::AndroidmanagementV1::Operation
command.params['name'] = name unless name.nil?
@ -501,7 +501,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_enterprise_device_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroidmanagementV1::ListOperationsResponse::Representation
command.response_class = Google::Apis::AndroidmanagementV1::ListOperationsResponse
command.params['name'] = name unless name.nil?
@ -535,7 +535,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_enterprise_enrollment_token(parent, enrollment_token_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/enrollmentTokens', options)
command = make_simple_command(:post, 'v1/{+parent}/enrollmentTokens', options)
command.request_representation = Google::Apis::AndroidmanagementV1::EnrollmentToken::Representation
command.request_object = enrollment_token_object
command.response_representation = Google::Apis::AndroidmanagementV1::EnrollmentToken::Representation
@ -569,7 +569,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_enterprise_enrollment_token(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
command.response_class = Google::Apis::AndroidmanagementV1::Empty
command.params['name'] = name unless name.nil?
@ -601,7 +601,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_enterprise_policy(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
command.response_class = Google::Apis::AndroidmanagementV1::Empty
command.params['name'] = name unless name.nil?
@ -632,7 +632,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_enterprise_policy(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroidmanagementV1::Policy::Representation
command.response_class = Google::Apis::AndroidmanagementV1::Policy
command.params['name'] = name unless name.nil?
@ -667,7 +667,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_enterprise_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/policies', options)
command = make_simple_command(:get, 'v1/{+parent}/policies', options)
command.response_representation = Google::Apis::AndroidmanagementV1::ListPoliciesResponse::Representation
command.response_class = Google::Apis::AndroidmanagementV1::ListPoliciesResponse
command.params['parent'] = parent unless parent.nil?
@ -704,7 +704,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_enterprise_policy(name, policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::AndroidmanagementV1::Policy::Representation
command.request_object = policy_object
command.response_representation = Google::Apis::AndroidmanagementV1::Policy::Representation
@ -738,7 +738,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_enterprise_web_app(parent, web_app_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/webApps', options)
command = make_simple_command(:post, 'v1/{+parent}/webApps', options)
command.request_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
command.request_object = web_app_object
command.response_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
@ -771,7 +771,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_enterprise_web_app(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
command.response_class = Google::Apis::AndroidmanagementV1::Empty
command.params['name'] = name unless name.nil?
@ -802,7 +802,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_enterprise_web_app(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
command.response_class = Google::Apis::AndroidmanagementV1::WebApp
command.params['name'] = name unless name.nil?
@ -837,7 +837,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_enterprise_web_apps(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/webApps', options)
command = make_simple_command(:get, 'v1/{+parent}/webApps', options)
command.response_representation = Google::Apis::AndroidmanagementV1::ListWebAppsResponse::Representation
command.response_class = Google::Apis::AndroidmanagementV1::ListWebAppsResponse
command.params['parent'] = parent unless parent.nil?
@ -874,7 +874,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_enterprise_web_app(name, web_app_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
command.request_object = web_app_object
command.response_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
@ -909,7 +909,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_enterprise_web_token(parent, web_token_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/webTokens', options)
command = make_simple_command(:post, 'v1/{+parent}/webTokens', options)
command.request_representation = Google::Apis::AndroidmanagementV1::WebToken::Representation
command.request_object = web_token_object
command.response_representation = Google::Apis::AndroidmanagementV1::WebToken::Representation
@ -948,7 +948,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_signup_url(callback_url: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/signupUrls', options)
command = make_simple_command(:post, 'v1/signupUrls', options)
command.response_representation = Google::Apis::AndroidmanagementV1::SignupUrl::Representation
command.response_class = Google::Apis::AndroidmanagementV1::SignupUrl
command.query['callbackUrl'] = callback_url unless callback_url.nil?

View File

@ -80,7 +80,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_purchase(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/subscriptions/{subscriptionId}/purchases/{token}/cancel', options)
command = make_simple_command(:post, '{packageName}/subscriptions/{subscriptionId}/purchases/{token}/cancel', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
command.params['token'] = token unless token.nil?
@ -119,7 +119,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_purchase(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/subscriptions/{subscriptionId}/purchases/{token}', options)
command = make_simple_command(:get, '{packageName}/subscriptions/{subscriptionId}/purchases/{token}', options)
command.response_representation = Google::Apis::AndroidpublisherV1::SubscriptionPurchase::Representation
command.response_class = Google::Apis::AndroidpublisherV1::SubscriptionPurchase
command.params['packageName'] = package_name unless package_name.nil?

View File

@ -79,7 +79,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_inapppurchase(package_name, product_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/inapp/{productId}/purchases/{token}', options)
command = make_simple_command(:get, '{packageName}/inapp/{productId}/purchases/{token}', options)
command.response_representation = Google::Apis::AndroidpublisherV1_1::InappPurchase::Representation
command.response_class = Google::Apis::AndroidpublisherV1_1::InappPurchase
command.params['packageName'] = package_name unless package_name.nil?
@ -120,7 +120,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_purchase(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/subscriptions/{subscriptionId}/purchases/{token}/cancel', options)
command = make_simple_command(:post, '{packageName}/subscriptions/{subscriptionId}/purchases/{token}/cancel', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
command.params['token'] = token unless token.nil?
@ -159,7 +159,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_purchase(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/subscriptions/{subscriptionId}/purchases/{token}', options)
command = make_simple_command(:get, '{packageName}/subscriptions/{subscriptionId}/purchases/{token}', options)
command.response_representation = Google::Apis::AndroidpublisherV1_1::SubscriptionPurchase::Representation
command.response_class = Google::Apis::AndroidpublisherV1_1::SubscriptionPurchase
command.params['packageName'] = package_name unless package_name.nil?

View File

@ -77,7 +77,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def commit_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/edits/{editId}:commit', options)
command = make_simple_command(:post, '{packageName}/edits/{editId}:commit', options)
command.response_representation = Google::Apis::AndroidpublisherV2::AppEdit::Representation
command.response_class = Google::Apis::AndroidpublisherV2::AppEdit
command.params['packageName'] = package_name unless package_name.nil?
@ -116,7 +116,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{packageName}/edits/{editId}', options)
command = make_simple_command(:delete, '{packageName}/edits/{editId}', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['editId'] = edit_id unless edit_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -152,7 +152,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}', options)
command.response_representation = Google::Apis::AndroidpublisherV2::AppEdit::Representation
command.response_class = Google::Apis::AndroidpublisherV2::AppEdit
command.params['packageName'] = package_name unless package_name.nil?
@ -188,7 +188,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_edit(package_name, app_edit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/edits', options)
command = make_simple_command(:post, '{packageName}/edits', options)
command.request_representation = Google::Apis::AndroidpublisherV2::AppEdit::Representation
command.request_object = app_edit_object
command.response_representation = Google::Apis::AndroidpublisherV2::AppEdit::Representation
@ -227,7 +227,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def validate_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/edits/{editId}:validate', options)
command = make_simple_command(:post, '{packageName}/edits/{editId}:validate', options)
command.response_representation = Google::Apis::AndroidpublisherV2::AppEdit::Representation
command.response_class = Google::Apis::AndroidpublisherV2::AppEdit
command.params['packageName'] = package_name unless package_name.nil?
@ -271,7 +271,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_apk_listing(package_name, edit_id, apk_version_code, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', options)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['editId'] = edit_id unless edit_id.nil?
command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil?
@ -310,7 +310,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_all_apk_listings(package_name, edit_id, apk_version_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings', options)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['editId'] = edit_id unless edit_id.nil?
command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil?
@ -353,7 +353,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_apk_listing(package_name, edit_id, apk_version_code, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', options)
command.response_representation = Google::Apis::AndroidpublisherV2::ApkListing::Representation
command.response_class = Google::Apis::AndroidpublisherV2::ApkListing
command.params['packageName'] = package_name unless package_name.nil?
@ -394,7 +394,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_apk_listings(package_name, edit_id, apk_version_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings', options)
command.response_representation = Google::Apis::AndroidpublisherV2::ListApkListingsResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV2::ListApkListingsResponse
command.params['packageName'] = package_name unless package_name.nil?
@ -440,7 +440,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_apk_listing(package_name, edit_id, apk_version_code, language, apk_listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', options)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', options)
command.request_representation = Google::Apis::AndroidpublisherV2::ApkListing::Representation
command.request_object = apk_listing_object
command.response_representation = Google::Apis::AndroidpublisherV2::ApkListing::Representation
@ -489,7 +489,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_apk_listing(package_name, edit_id, apk_version_code, language, apk_listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', options)
command = make_simple_command(:put, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', options)
command.request_representation = Google::Apis::AndroidpublisherV2::ApkListing::Representation
command.request_object = apk_listing_object
command.response_representation = Google::Apis::AndroidpublisherV2::ApkListing::Representation
@ -534,7 +534,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def add_externally_hosted_apk(package_name, edit_id, apks_add_externally_hosted_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/externallyHosted', options)
command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/externallyHosted', options)
command.request_representation = Google::Apis::AndroidpublisherV2::ApksAddExternallyHostedRequest::Representation
command.request_object = apks_add_externally_hosted_request_object
command.response_representation = Google::Apis::AndroidpublisherV2::ApksAddExternallyHostedResponse::Representation
@ -573,7 +573,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_apks(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/apks', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/apks', options)
command.response_representation = Google::Apis::AndroidpublisherV2::ListApksResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV2::ListApksResponse
command.params['packageName'] = package_name unless package_name.nil?
@ -615,7 +615,7 @@ module Google
# @raise [Google::Apis::AuthorizationError] Authorization is required
def upload_apk(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:post, '{packageName}/edits/{editId}/apks', options)
command = make_simple_command(:post, '{packageName}/edits/{editId}/apks', options)
else
command = make_upload_command(:post, '{packageName}/edits/{editId}/apks', options)
command.upload_source = upload_source
@ -657,7 +657,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_edit_bundles(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/bundles', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/bundles', options)
command.response_representation = Google::Apis::AndroidpublisherV2::BundlesListResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV2::BundlesListResponse
command.params['packageName'] = package_name unless package_name.nil?
@ -707,7 +707,7 @@ module Google
# @raise [Google::Apis::AuthorizationError] Authorization is required
def upload_edit_bundle(package_name, edit_id, ack_bundle_installation_warning: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:post, '{packageName}/edits/{editId}/bundles', options)
command = make_simple_command(:post, '{packageName}/edits/{editId}/bundles', options)
else
command = make_upload_command(:post, '{packageName}/edits/{editId}/bundles', options)
command.upload_source = upload_source
@ -759,7 +759,7 @@ module Google
# @raise [Google::Apis::AuthorizationError] Authorization is required
def upload_edit_deobfuscationfile(package_name, edit_id, apk_version_code, deobfuscation_file_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
else
command = make_upload_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
command.upload_source = upload_source
@ -804,7 +804,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_detail(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/details', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/details', options)
command.response_representation = Google::Apis::AndroidpublisherV2::AppDetails::Representation
command.response_class = Google::Apis::AndroidpublisherV2::AppDetails
command.params['packageName'] = package_name unless package_name.nil?
@ -842,7 +842,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/details', options)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/details', options)
command.request_representation = Google::Apis::AndroidpublisherV2::AppDetails::Representation
command.request_object = app_details_object
command.response_representation = Google::Apis::AndroidpublisherV2::AppDetails::Representation
@ -882,7 +882,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{packageName}/edits/{editId}/details', options)
command = make_simple_command(:put, '{packageName}/edits/{editId}/details', options)
command.request_representation = Google::Apis::AndroidpublisherV2::AppDetails::Representation
command.request_object = app_details_object
command.response_representation = Google::Apis::AndroidpublisherV2::AppDetails::Representation
@ -925,7 +925,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
command.response_representation = Google::Apis::AndroidpublisherV2::ExpansionFile::Representation
command.response_class = Google::Apis::AndroidpublisherV2::ExpansionFile
command.params['packageName'] = package_name unless package_name.nil?
@ -971,7 +971,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, expansion_file_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
command.request_representation = Google::Apis::AndroidpublisherV2::ExpansionFile::Representation
command.request_object = expansion_file_object
command.response_representation = Google::Apis::AndroidpublisherV2::ExpansionFile::Representation
@ -1018,7 +1018,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, expansion_file_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
command = make_simple_command(:put, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
command.request_representation = Google::Apis::AndroidpublisherV2::ExpansionFile::Representation
command.request_object = expansion_file_object
command.response_representation = Google::Apis::AndroidpublisherV2::ExpansionFile::Representation
@ -1068,7 +1068,7 @@ module Google
# @raise [Google::Apis::AuthorizationError] Authorization is required
def upload_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
else
command = make_upload_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
command.upload_source = upload_source
@ -1119,7 +1119,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_image(package_name, edit_id, language, image_type, image_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}', options)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['editId'] = edit_id unless edit_id.nil?
command.params['language'] = language unless language.nil?
@ -1162,7 +1162,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_all_images(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
command.response_representation = Google::Apis::AndroidpublisherV2::DeleteAllImagesResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV2::DeleteAllImagesResponse
command.params['packageName'] = package_name unless package_name.nil?
@ -1206,7 +1206,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_images(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
command.response_representation = Google::Apis::AndroidpublisherV2::ListImagesResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV2::ListImagesResponse
command.params['packageName'] = package_name unless package_name.nil?
@ -1256,7 +1256,7 @@ module Google
# @raise [Google::Apis::AuthorizationError] Authorization is required
def upload_image(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:post, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
command = make_simple_command(:post, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
else
command = make_upload_command(:post, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
command.upload_source = upload_source
@ -1303,7 +1303,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_listing(package_name, edit_id, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}', options)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['editId'] = edit_id unless edit_id.nil?
command.params['language'] = language unless language.nil?
@ -1339,7 +1339,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_all_listings(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings', options)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['editId'] = edit_id unless edit_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -1377,7 +1377,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_listing(package_name, edit_id, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/listings/{language}', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/listings/{language}', options)
command.response_representation = Google::Apis::AndroidpublisherV2::Listing::Representation
command.response_class = Google::Apis::AndroidpublisherV2::Listing
command.params['packageName'] = package_name unless package_name.nil?
@ -1415,7 +1415,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_listings(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/listings', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/listings', options)
command.response_representation = Google::Apis::AndroidpublisherV2::ListListingsResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV2::ListListingsResponse
command.params['packageName'] = package_name unless package_name.nil?
@ -1457,7 +1457,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/listings/{language}', options)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/listings/{language}', options)
command.request_representation = Google::Apis::AndroidpublisherV2::Listing::Representation
command.request_object = listing_object
command.response_representation = Google::Apis::AndroidpublisherV2::Listing::Representation
@ -1501,7 +1501,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{packageName}/edits/{editId}/listings/{language}', options)
command = make_simple_command(:put, '{packageName}/edits/{editId}/listings/{language}', options)
command.request_representation = Google::Apis::AndroidpublisherV2::Listing::Representation
command.request_object = listing_object
command.response_representation = Google::Apis::AndroidpublisherV2::Listing::Representation
@ -1543,7 +1543,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_tester(package_name, edit_id, track, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/testers/{track}', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/testers/{track}', options)
command.response_representation = Google::Apis::AndroidpublisherV2::Testers::Representation
command.response_class = Google::Apis::AndroidpublisherV2::Testers
command.params['packageName'] = package_name unless package_name.nil?
@ -1584,7 +1584,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/testers/{track}', options)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/testers/{track}', options)
command.request_representation = Google::Apis::AndroidpublisherV2::Testers::Representation
command.request_object = testers_object
command.response_representation = Google::Apis::AndroidpublisherV2::Testers::Representation
@ -1627,7 +1627,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{packageName}/edits/{editId}/testers/{track}', options)
command = make_simple_command(:put, '{packageName}/edits/{editId}/testers/{track}', options)
command.request_representation = Google::Apis::AndroidpublisherV2::Testers::Representation
command.request_object = testers_object
command.response_representation = Google::Apis::AndroidpublisherV2::Testers::Representation
@ -1670,7 +1670,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_track(package_name, edit_id, track, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/tracks/{track}', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/tracks/{track}', options)
command.response_representation = Google::Apis::AndroidpublisherV2::Track::Representation
command.response_class = Google::Apis::AndroidpublisherV2::Track
command.params['packageName'] = package_name unless package_name.nil?
@ -1708,7 +1708,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_tracks(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/tracks', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/tracks', options)
command.response_representation = Google::Apis::AndroidpublisherV2::ListTracksResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV2::ListTracksResponse
command.params['packageName'] = package_name unless package_name.nil?
@ -1749,7 +1749,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/tracks/{track}', options)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/tracks/{track}', options)
command.request_representation = Google::Apis::AndroidpublisherV2::Track::Representation
command.request_object = track_object
command.response_representation = Google::Apis::AndroidpublisherV2::Track::Representation
@ -1792,7 +1792,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{packageName}/edits/{editId}/tracks/{track}', options)
command = make_simple_command(:put, '{packageName}/edits/{editId}/tracks/{track}', options)
command.request_representation = Google::Apis::AndroidpublisherV2::Track::Representation
command.request_object = track_object
command.response_representation = Google::Apis::AndroidpublisherV2::Track::Representation
@ -1832,7 +1832,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_in_app_product(package_name, sku, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{packageName}/inappproducts/{sku}', options)
command = make_simple_command(:delete, '{packageName}/inappproducts/{sku}', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['sku'] = sku unless sku.nil?
command.query['fields'] = fields unless fields.nil?
@ -1865,7 +1865,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_in_app_product(package_name, sku, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/inappproducts/{sku}', options)
command = make_simple_command(:get, '{packageName}/inappproducts/{sku}', options)
command.response_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
command.response_class = Google::Apis::AndroidpublisherV2::InAppProduct
command.params['packageName'] = package_name unless package_name.nil?
@ -1904,7 +1904,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_in_app_product(package_name, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/inappproducts', options)
command = make_simple_command(:post, '{packageName}/inappproducts', options)
command.request_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
command.request_object = in_app_product_object
command.response_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
@ -1945,7 +1945,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_in_app_products(package_name, max_results: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/inappproducts', options)
command = make_simple_command(:get, '{packageName}/inappproducts', options)
command.response_representation = Google::Apis::AndroidpublisherV2::ListInAppProductsResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV2::ListInAppProductsResponse
command.params['packageName'] = package_name unless package_name.nil?
@ -1989,7 +1989,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_in_app_product(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{packageName}/inappproducts/{sku}', options)
command = make_simple_command(:patch, '{packageName}/inappproducts/{sku}', options)
command.request_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
command.request_object = in_app_product_object
command.response_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
@ -2034,7 +2034,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_in_app_product(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{packageName}/inappproducts/{sku}', options)
command = make_simple_command(:put, '{packageName}/inappproducts/{sku}', options)
command.request_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
command.request_object = in_app_product_object
command.response_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
@ -2080,7 +2080,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def refund_order(package_name, order_id, revoke: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/orders/{orderId}:refund', options)
command = make_simple_command(:post, '{packageName}/orders/{orderId}:refund', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['orderId'] = order_id unless order_id.nil?
command.query['revoke'] = revoke unless revoke.nil?
@ -2118,7 +2118,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_purchase_product(package_name, product_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/purchases/products/{productId}/tokens/{token}', options)
command = make_simple_command(:get, '{packageName}/purchases/products/{productId}/tokens/{token}', options)
command.response_representation = Google::Apis::AndroidpublisherV2::ProductPurchase::Representation
command.response_class = Google::Apis::AndroidpublisherV2::ProductPurchase
command.params['packageName'] = package_name unless package_name.nil?
@ -2159,7 +2159,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel', options)
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
command.params['token'] = token unless token.nil?
@ -2198,7 +2198,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def defer_purchase_subscription(package_name, subscription_id, token, defer_subscription_purchases_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer', options)
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer', options)
command.request_representation = Google::Apis::AndroidpublisherV2::DeferSubscriptionPurchasesRequest::Representation
command.request_object = defer_subscription_purchases_request_object
command.response_representation = Google::Apis::AndroidpublisherV2::DeferSubscriptionPurchasesResponse::Representation
@ -2241,7 +2241,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}', options)
command = make_simple_command(:get, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}', options)
command.response_representation = Google::Apis::AndroidpublisherV2::SubscriptionPurchase::Representation
command.response_class = Google::Apis::AndroidpublisherV2::SubscriptionPurchase
command.params['packageName'] = package_name unless package_name.nil?
@ -2282,7 +2282,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def refund_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund', options)
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
command.params['token'] = token unless token.nil?
@ -2321,7 +2321,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def revoke_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke', options)
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
command.params['token'] = token unless token.nil?
@ -2372,7 +2372,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_purchase_voidedpurchases(package_name, end_time: nil, max_results: nil, start_index: nil, start_time: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/purchases/voidedpurchases', options)
command = make_simple_command(:get, '{packageName}/purchases/voidedpurchases', options)
command.response_representation = Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse
command.params['packageName'] = package_name unless package_name.nil?
@ -2413,7 +2413,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_review(package_name, review_id, translation_language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/reviews/{reviewId}', options)
command = make_simple_command(:get, '{packageName}/reviews/{reviewId}', options)
command.response_representation = Google::Apis::AndroidpublisherV2::Review::Representation
command.response_class = Google::Apis::AndroidpublisherV2::Review
command.params['packageName'] = package_name unless package_name.nil?
@ -2453,7 +2453,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_reviews(package_name, max_results: nil, start_index: nil, token: nil, translation_language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/reviews', options)
command = make_simple_command(:get, '{packageName}/reviews', options)
command.response_representation = Google::Apis::AndroidpublisherV2::ReviewsListResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV2::ReviewsListResponse
command.params['packageName'] = package_name unless package_name.nil?
@ -2493,7 +2493,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def reply_review(package_name, review_id, reviews_reply_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/reviews/{reviewId}:reply', options)
command = make_simple_command(:post, '{packageName}/reviews/{reviewId}:reply', options)
command.request_representation = Google::Apis::AndroidpublisherV2::ReviewsReplyRequest::Representation
command.request_object = reviews_reply_request_object
command.response_representation = Google::Apis::AndroidpublisherV2::ReviewsReplyResponse::Representation

View File

@ -77,7 +77,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def commit_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/edits/{editId}:commit', options)
command = make_simple_command(:post, '{packageName}/edits/{editId}:commit', options)
command.response_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation
command.response_class = Google::Apis::AndroidpublisherV3::AppEdit
command.params['packageName'] = package_name unless package_name.nil?
@ -116,7 +116,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{packageName}/edits/{editId}', options)
command = make_simple_command(:delete, '{packageName}/edits/{editId}', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['editId'] = edit_id unless edit_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -152,7 +152,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}', options)
command.response_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation
command.response_class = Google::Apis::AndroidpublisherV3::AppEdit
command.params['packageName'] = package_name unless package_name.nil?
@ -188,7 +188,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_edit(package_name, app_edit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/edits', options)
command = make_simple_command(:post, '{packageName}/edits', options)
command.request_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation
command.request_object = app_edit_object
command.response_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation
@ -227,7 +227,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def validate_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/edits/{editId}:validate', options)
command = make_simple_command(:post, '{packageName}/edits/{editId}:validate', options)
command.response_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation
command.response_class = Google::Apis::AndroidpublisherV3::AppEdit
command.params['packageName'] = package_name unless package_name.nil?
@ -268,7 +268,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def addexternallyhosted_edit_apk(package_name, edit_id, apks_add_externally_hosted_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/externallyHosted', options)
command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/externallyHosted', options)
command.request_representation = Google::Apis::AndroidpublisherV3::ApksAddExternallyHostedRequest::Representation
command.request_object = apks_add_externally_hosted_request_object
command.response_representation = Google::Apis::AndroidpublisherV3::ApksAddExternallyHostedResponse::Representation
@ -307,7 +307,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_edit_apks(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/apks', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/apks', options)
command.response_representation = Google::Apis::AndroidpublisherV3::ApksListResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV3::ApksListResponse
command.params['packageName'] = package_name unless package_name.nil?
@ -349,7 +349,7 @@ module Google
# @raise [Google::Apis::AuthorizationError] Authorization is required
def upload_edit_apk(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:post, '{packageName}/edits/{editId}/apks', options)
command = make_simple_command(:post, '{packageName}/edits/{editId}/apks', options)
else
command = make_upload_command(:post, '{packageName}/edits/{editId}/apks', options)
command.upload_source = upload_source
@ -391,7 +391,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_edit_bundles(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/bundles', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/bundles', options)
command.response_representation = Google::Apis::AndroidpublisherV3::BundlesListResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV3::BundlesListResponse
command.params['packageName'] = package_name unless package_name.nil?
@ -441,7 +441,7 @@ module Google
# @raise [Google::Apis::AuthorizationError] Authorization is required
def upload_edit_bundle(package_name, edit_id, ack_bundle_installation_warning: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:post, '{packageName}/edits/{editId}/bundles', options)
command = make_simple_command(:post, '{packageName}/edits/{editId}/bundles', options)
else
command = make_upload_command(:post, '{packageName}/edits/{editId}/bundles', options)
command.upload_source = upload_source
@ -493,7 +493,7 @@ module Google
# @raise [Google::Apis::AuthorizationError] Authorization is required
def upload_edit_deobfuscationfile(package_name, edit_id, apk_version_code, deobfuscation_file_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
else
command = make_upload_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
command.upload_source = upload_source
@ -538,7 +538,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_edit_detail(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/details', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/details', options)
command.response_representation = Google::Apis::AndroidpublisherV3::AppDetails::Representation
command.response_class = Google::Apis::AndroidpublisherV3::AppDetails
command.params['packageName'] = package_name unless package_name.nil?
@ -576,7 +576,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_edit_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/details', options)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/details', options)
command.request_representation = Google::Apis::AndroidpublisherV3::AppDetails::Representation
command.request_object = app_details_object
command.response_representation = Google::Apis::AndroidpublisherV3::AppDetails::Representation
@ -616,7 +616,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_edit_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{packageName}/edits/{editId}/details', options)
command = make_simple_command(:put, '{packageName}/edits/{editId}/details', options)
command.request_representation = Google::Apis::AndroidpublisherV3::AppDetails::Representation
command.request_object = app_details_object
command.response_representation = Google::Apis::AndroidpublisherV3::AppDetails::Representation
@ -659,7 +659,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_edit_expansionfile(package_name, edit_id, apk_version_code, expansion_file_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
command.response_representation = Google::Apis::AndroidpublisherV3::ExpansionFile::Representation
command.response_class = Google::Apis::AndroidpublisherV3::ExpansionFile
command.params['packageName'] = package_name unless package_name.nil?
@ -705,7 +705,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_edit_expansionfile(package_name, edit_id, apk_version_code, expansion_file_type, expansion_file_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
command.request_representation = Google::Apis::AndroidpublisherV3::ExpansionFile::Representation
command.request_object = expansion_file_object
command.response_representation = Google::Apis::AndroidpublisherV3::ExpansionFile::Representation
@ -752,7 +752,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_edit_expansionfile(package_name, edit_id, apk_version_code, expansion_file_type, expansion_file_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
command = make_simple_command(:put, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
command.request_representation = Google::Apis::AndroidpublisherV3::ExpansionFile::Representation
command.request_object = expansion_file_object
command.response_representation = Google::Apis::AndroidpublisherV3::ExpansionFile::Representation
@ -802,7 +802,7 @@ module Google
# @raise [Google::Apis::AuthorizationError] Authorization is required
def upload_edit_expansionfile(package_name, edit_id, apk_version_code, expansion_file_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
else
command = make_upload_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
command.upload_source = upload_source
@ -853,7 +853,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_edit_image(package_name, edit_id, language, image_type, image_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}', options)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['editId'] = edit_id unless edit_id.nil?
command.params['language'] = language unless language.nil?
@ -896,7 +896,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def deleteall_edit_image(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
command.response_representation = Google::Apis::AndroidpublisherV3::ImagesDeleteAllResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV3::ImagesDeleteAllResponse
command.params['packageName'] = package_name unless package_name.nil?
@ -940,7 +940,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_edit_images(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
command.response_representation = Google::Apis::AndroidpublisherV3::ImagesListResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV3::ImagesListResponse
command.params['packageName'] = package_name unless package_name.nil?
@ -990,7 +990,7 @@ module Google
# @raise [Google::Apis::AuthorizationError] Authorization is required
def upload_edit_image(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:post, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
command = make_simple_command(:post, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
else
command = make_upload_command(:post, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
command.upload_source = upload_source
@ -1037,7 +1037,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_edit_listing(package_name, edit_id, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}', options)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['editId'] = edit_id unless edit_id.nil?
command.params['language'] = language unless language.nil?
@ -1073,7 +1073,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def deleteall_edit_listing(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings', options)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['editId'] = edit_id unless edit_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -1111,7 +1111,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_edit_listing(package_name, edit_id, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/listings/{language}', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/listings/{language}', options)
command.response_representation = Google::Apis::AndroidpublisherV3::Listing::Representation
command.response_class = Google::Apis::AndroidpublisherV3::Listing
command.params['packageName'] = package_name unless package_name.nil?
@ -1149,7 +1149,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_edit_listings(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/listings', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/listings', options)
command.response_representation = Google::Apis::AndroidpublisherV3::ListingsListResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV3::ListingsListResponse
command.params['packageName'] = package_name unless package_name.nil?
@ -1191,7 +1191,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_edit_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/listings/{language}', options)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/listings/{language}', options)
command.request_representation = Google::Apis::AndroidpublisherV3::Listing::Representation
command.request_object = listing_object
command.response_representation = Google::Apis::AndroidpublisherV3::Listing::Representation
@ -1235,7 +1235,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_edit_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{packageName}/edits/{editId}/listings/{language}', options)
command = make_simple_command(:put, '{packageName}/edits/{editId}/listings/{language}', options)
command.request_representation = Google::Apis::AndroidpublisherV3::Listing::Representation
command.request_object = listing_object
command.response_representation = Google::Apis::AndroidpublisherV3::Listing::Representation
@ -1277,7 +1277,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_edit_tester(package_name, edit_id, track, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/testers/{track}', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/testers/{track}', options)
command.response_representation = Google::Apis::AndroidpublisherV3::Testers::Representation
command.response_class = Google::Apis::AndroidpublisherV3::Testers
command.params['packageName'] = package_name unless package_name.nil?
@ -1318,7 +1318,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_edit_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/testers/{track}', options)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/testers/{track}', options)
command.request_representation = Google::Apis::AndroidpublisherV3::Testers::Representation
command.request_object = testers_object
command.response_representation = Google::Apis::AndroidpublisherV3::Testers::Representation
@ -1361,7 +1361,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_edit_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{packageName}/edits/{editId}/testers/{track}', options)
command = make_simple_command(:put, '{packageName}/edits/{editId}/testers/{track}', options)
command.request_representation = Google::Apis::AndroidpublisherV3::Testers::Representation
command.request_object = testers_object
command.response_representation = Google::Apis::AndroidpublisherV3::Testers::Representation
@ -1404,7 +1404,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_edit_track(package_name, edit_id, track, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/tracks/{track}', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/tracks/{track}', options)
command.response_representation = Google::Apis::AndroidpublisherV3::Track::Representation
command.response_class = Google::Apis::AndroidpublisherV3::Track
command.params['packageName'] = package_name unless package_name.nil?
@ -1442,7 +1442,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_edit_tracks(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/edits/{editId}/tracks', options)
command = make_simple_command(:get, '{packageName}/edits/{editId}/tracks', options)
command.response_representation = Google::Apis::AndroidpublisherV3::TracksListResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV3::TracksListResponse
command.params['packageName'] = package_name unless package_name.nil?
@ -1483,7 +1483,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_edit_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/tracks/{track}', options)
command = make_simple_command(:patch, '{packageName}/edits/{editId}/tracks/{track}', options)
command.request_representation = Google::Apis::AndroidpublisherV3::Track::Representation
command.request_object = track_object
command.response_representation = Google::Apis::AndroidpublisherV3::Track::Representation
@ -1526,7 +1526,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_edit_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{packageName}/edits/{editId}/tracks/{track}', options)
command = make_simple_command(:put, '{packageName}/edits/{editId}/tracks/{track}', options)
command.request_representation = Google::Apis::AndroidpublisherV3::Track::Representation
command.request_object = track_object
command.response_representation = Google::Apis::AndroidpublisherV3::Track::Representation
@ -1566,7 +1566,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_inappproduct(package_name, sku, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{packageName}/inappproducts/{sku}', options)
command = make_simple_command(:delete, '{packageName}/inappproducts/{sku}', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['sku'] = sku unless sku.nil?
command.query['fields'] = fields unless fields.nil?
@ -1599,7 +1599,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_inappproduct(package_name, sku, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/inappproducts/{sku}', options)
command = make_simple_command(:get, '{packageName}/inappproducts/{sku}', options)
command.response_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
command.response_class = Google::Apis::AndroidpublisherV3::InAppProduct
command.params['packageName'] = package_name unless package_name.nil?
@ -1638,7 +1638,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_inappproduct(package_name, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/inappproducts', options)
command = make_simple_command(:post, '{packageName}/inappproducts', options)
command.request_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
command.request_object = in_app_product_object
command.response_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
@ -1679,7 +1679,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_inappproducts(package_name, max_results: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/inappproducts', options)
command = make_simple_command(:get, '{packageName}/inappproducts', options)
command.response_representation = Google::Apis::AndroidpublisherV3::InappproductsListResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV3::InappproductsListResponse
command.params['packageName'] = package_name unless package_name.nil?
@ -1723,7 +1723,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_inappproduct(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{packageName}/inappproducts/{sku}', options)
command = make_simple_command(:patch, '{packageName}/inappproducts/{sku}', options)
command.request_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
command.request_object = in_app_product_object
command.response_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
@ -1768,7 +1768,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_inappproduct(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{packageName}/inappproducts/{sku}', options)
command = make_simple_command(:put, '{packageName}/inappproducts/{sku}', options)
command.request_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
command.request_object = in_app_product_object
command.response_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
@ -1814,7 +1814,7 @@ module Google
# @raise [Google::Apis::AuthorizationError] Authorization is required
def uploadapk_internalappsharingartifact(package_name, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:post, 'internalappsharing/{packageName}/artifacts/apk', options)
command = make_simple_command(:post, 'internalappsharing/{packageName}/artifacts/apk', options)
else
command = make_upload_command(:post, 'internalappsharing/{packageName}/artifacts/apk', options)
command.upload_source = upload_source
@ -1861,7 +1861,7 @@ module Google
# @raise [Google::Apis::AuthorizationError] Authorization is required
def uploadbundle_internalappsharingartifact(package_name, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:post, 'internalappsharing/{packageName}/artifacts/bundle', options)
command = make_simple_command(:post, 'internalappsharing/{packageName}/artifacts/bundle', options)
else
command = make_upload_command(:post, 'internalappsharing/{packageName}/artifacts/bundle', options)
command.upload_source = upload_source
@ -1908,7 +1908,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def refund_order(package_name, order_id, revoke: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/orders/{orderId}:refund', options)
command = make_simple_command(:post, '{packageName}/orders/{orderId}:refund', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['orderId'] = order_id unless order_id.nil?
command.query['revoke'] = revoke unless revoke.nil?
@ -1947,7 +1947,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def acknowledge_purchase_product(package_name, product_id, token, product_purchases_acknowledge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge', options)
command = make_simple_command(:post, '{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge', options)
command.request_representation = Google::Apis::AndroidpublisherV3::ProductPurchasesAcknowledgeRequest::Representation
command.request_object = product_purchases_acknowledge_request_object
command.params['packageName'] = package_name unless package_name.nil?
@ -1987,7 +1987,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_purchase_product(package_name, product_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/purchases/products/{productId}/tokens/{token}', options)
command = make_simple_command(:get, '{packageName}/purchases/products/{productId}/tokens/{token}', options)
command.response_representation = Google::Apis::AndroidpublisherV3::ProductPurchase::Representation
command.response_class = Google::Apis::AndroidpublisherV3::ProductPurchase
command.params['packageName'] = package_name unless package_name.nil?
@ -2028,7 +2028,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def acknowledge_purchase_subscription(package_name, subscription_id, token, subscription_purchases_acknowledge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge', options)
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge', options)
command.request_representation = Google::Apis::AndroidpublisherV3::SubscriptionPurchasesAcknowledgeRequest::Representation
command.request_object = subscription_purchases_acknowledge_request_object
command.params['packageName'] = package_name unless package_name.nil?
@ -2069,7 +2069,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel', options)
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
command.params['token'] = token unless token.nil?
@ -2108,7 +2108,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def defer_purchase_subscription(package_name, subscription_id, token, subscription_purchases_defer_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer', options)
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer', options)
command.request_representation = Google::Apis::AndroidpublisherV3::SubscriptionPurchasesDeferRequest::Representation
command.request_object = subscription_purchases_defer_request_object
command.response_representation = Google::Apis::AndroidpublisherV3::SubscriptionPurchasesDeferResponse::Representation
@ -2151,7 +2151,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}', options)
command = make_simple_command(:get, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}', options)
command.response_representation = Google::Apis::AndroidpublisherV3::SubscriptionPurchase::Representation
command.response_class = Google::Apis::AndroidpublisherV3::SubscriptionPurchase
command.params['packageName'] = package_name unless package_name.nil?
@ -2192,7 +2192,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def refund_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund', options)
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
command.params['token'] = token unless token.nil?
@ -2231,7 +2231,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def revoke_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke', options)
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
command.params['token'] = token unless token.nil?
@ -2282,7 +2282,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_purchase_voidedpurchases(package_name, end_time: nil, max_results: nil, start_index: nil, start_time: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/purchases/voidedpurchases', options)
command = make_simple_command(:get, '{packageName}/purchases/voidedpurchases', options)
command.response_representation = Google::Apis::AndroidpublisherV3::VoidedPurchasesListResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV3::VoidedPurchasesListResponse
command.params['packageName'] = package_name unless package_name.nil?
@ -2323,7 +2323,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_review(package_name, review_id, translation_language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/reviews/{reviewId}', options)
command = make_simple_command(:get, '{packageName}/reviews/{reviewId}', options)
command.response_representation = Google::Apis::AndroidpublisherV3::Review::Representation
command.response_class = Google::Apis::AndroidpublisherV3::Review
command.params['packageName'] = package_name unless package_name.nil?
@ -2363,7 +2363,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_reviews(package_name, max_results: nil, start_index: nil, token: nil, translation_language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/reviews', options)
command = make_simple_command(:get, '{packageName}/reviews', options)
command.response_representation = Google::Apis::AndroidpublisherV3::ReviewsListResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV3::ReviewsListResponse
command.params['packageName'] = package_name unless package_name.nil?
@ -2403,7 +2403,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def reply_review(package_name, review_id, reviews_reply_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{packageName}/reviews/{reviewId}:reply', options)
command = make_simple_command(:post, '{packageName}/reviews/{reviewId}:reply', options)
command.request_representation = Google::Apis::AndroidpublisherV3::ReviewsReplyRequest::Representation
command.request_object = reviews_reply_request_object
command.response_representation = Google::Apis::AndroidpublisherV3::ReviewsReplyResponse::Representation

View File

@ -73,7 +73,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_app(application_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/apps', options)
command = make_simple_command(:post, 'v1/apps', options)
command.request_representation = Google::Apis::AppengineV1::Application::Representation
command.request_object = application_object
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
@ -104,7 +104,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app(apps_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/apps/{appsId}', options)
command = make_simple_command(:get, 'v1/apps/{appsId}', options)
command.response_representation = Google::Apis::AppengineV1::Application::Representation
command.response_class = Google::Apis::AppengineV1::Application
command.params['appsId'] = apps_id unless apps_id.nil?
@ -142,7 +142,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_app(apps_id, application_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/apps/{appsId}', options)
command = make_simple_command(:patch, 'v1/apps/{appsId}', options)
command.request_representation = Google::Apis::AppengineV1::Application::Representation
command.request_object = application_object
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
@ -185,7 +185,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def repair_application(apps_id, repair_application_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/apps/{appsId}:repair', options)
command = make_simple_command(:post, 'v1/apps/{appsId}:repair', options)
command.request_representation = Google::Apis::AppengineV1::RepairApplicationRequest::Representation
command.request_object = repair_application_request_object
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
@ -218,7 +218,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_app_authorized_certificate(apps_id, authorized_certificate_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/apps/{appsId}/authorizedCertificates', options)
command = make_simple_command(:post, 'v1/apps/{appsId}/authorizedCertificates', options)
command.request_representation = Google::Apis::AppengineV1::AuthorizedCertificate::Representation
command.request_object = authorized_certificate_object
command.response_representation = Google::Apis::AppengineV1::AuthorizedCertificate::Representation
@ -253,7 +253,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_app_authorized_certificate(apps_id, authorized_certificates_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
command = make_simple_command(:delete, 'v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
command.response_representation = Google::Apis::AppengineV1::Empty::Representation
command.response_class = Google::Apis::AppengineV1::Empty
command.params['appsId'] = apps_id unless apps_id.nil?
@ -289,7 +289,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_authorized_certificate(apps_id, authorized_certificates_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
command = make_simple_command(:get, 'v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
command.response_representation = Google::Apis::AppengineV1::AuthorizedCertificate::Representation
command.response_class = Google::Apis::AppengineV1::AuthorizedCertificate
command.params['appsId'] = apps_id unless apps_id.nil?
@ -327,7 +327,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_authorized_certificates(apps_id, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/apps/{appsId}/authorizedCertificates', options)
command = make_simple_command(:get, 'v1/apps/{appsId}/authorizedCertificates', options)
command.response_representation = Google::Apis::AppengineV1::ListAuthorizedCertificatesResponse::Representation
command.response_class = Google::Apis::AppengineV1::ListAuthorizedCertificatesResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -370,7 +370,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_app_authorized_certificate(apps_id, authorized_certificates_id, authorized_certificate_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
command = make_simple_command(:patch, 'v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
command.request_representation = Google::Apis::AppengineV1::AuthorizedCertificate::Representation
command.request_object = authorized_certificate_object
command.response_representation = Google::Apis::AppengineV1::AuthorizedCertificate::Representation
@ -408,7 +408,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_authorized_domains(apps_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/apps/{appsId}/authorizedDomains', options)
command = make_simple_command(:get, 'v1/apps/{appsId}/authorizedDomains', options)
command.response_representation = Google::Apis::AppengineV1::ListAuthorizedDomainsResponse::Representation
command.response_class = Google::Apis::AppengineV1::ListAuthorizedDomainsResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -446,7 +446,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_app_domain_mapping(apps_id, domain_mapping_object = nil, override_strategy: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/apps/{appsId}/domainMappings', options)
command = make_simple_command(:post, 'v1/apps/{appsId}/domainMappings', options)
command.request_representation = Google::Apis::AppengineV1::DomainMapping::Representation
command.request_object = domain_mapping_object
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
@ -483,7 +483,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_app_domain_mapping(apps_id, domain_mappings_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/apps/{appsId}/domainMappings/{domainMappingsId}', options)
command = make_simple_command(:delete, 'v1/apps/{appsId}/domainMappings/{domainMappingsId}', options)
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
command.response_class = Google::Apis::AppengineV1::Operation
command.params['appsId'] = apps_id unless apps_id.nil?
@ -517,7 +517,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_domain_mapping(apps_id, domain_mappings_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/apps/{appsId}/domainMappings/{domainMappingsId}', options)
command = make_simple_command(:get, 'v1/apps/{appsId}/domainMappings/{domainMappingsId}', options)
command.response_representation = Google::Apis::AppengineV1::DomainMapping::Representation
command.response_class = Google::Apis::AppengineV1::DomainMapping
command.params['appsId'] = apps_id unless apps_id.nil?
@ -552,7 +552,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_domain_mappings(apps_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/apps/{appsId}/domainMappings', options)
command = make_simple_command(:get, 'v1/apps/{appsId}/domainMappings', options)
command.response_representation = Google::Apis::AppengineV1::ListDomainMappingsResponse::Representation
command.response_class = Google::Apis::AppengineV1::ListDomainMappingsResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -593,7 +593,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_app_domain_mapping(apps_id, domain_mappings_id, domain_mapping_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/apps/{appsId}/domainMappings/{domainMappingsId}', options)
command = make_simple_command(:patch, 'v1/apps/{appsId}/domainMappings/{domainMappingsId}', options)
command.request_representation = Google::Apis::AppengineV1::DomainMapping::Representation
command.request_object = domain_mapping_object
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
@ -632,7 +632,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_update_ingress_rules(apps_id, batch_update_ingress_rules_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/apps/{appsId}/firewall/ingressRules:batchUpdate', options)
command = make_simple_command(:post, 'v1/apps/{appsId}/firewall/ingressRules:batchUpdate', options)
command.request_representation = Google::Apis::AppengineV1::BatchUpdateIngressRulesRequest::Representation
command.request_object = batch_update_ingress_rules_request_object
command.response_representation = Google::Apis::AppengineV1::BatchUpdateIngressRulesResponse::Representation
@ -666,7 +666,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_app_firewall_ingress_rule(apps_id, firewall_rule_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/apps/{appsId}/firewall/ingressRules', options)
command = make_simple_command(:post, 'v1/apps/{appsId}/firewall/ingressRules', options)
command.request_representation = Google::Apis::AppengineV1::FirewallRule::Representation
command.request_object = firewall_rule_object
command.response_representation = Google::Apis::AppengineV1::FirewallRule::Representation
@ -701,7 +701,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_app_firewall_ingress_rule(apps_id, ingress_rules_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', options)
command = make_simple_command(:delete, 'v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', options)
command.response_representation = Google::Apis::AppengineV1::Empty::Representation
command.response_class = Google::Apis::AppengineV1::Empty
command.params['appsId'] = apps_id unless apps_id.nil?
@ -735,7 +735,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_firewall_ingress_rule(apps_id, ingress_rules_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', options)
command = make_simple_command(:get, 'v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', options)
command.response_representation = Google::Apis::AppengineV1::FirewallRule::Representation
command.response_class = Google::Apis::AppengineV1::FirewallRule
command.params['appsId'] = apps_id unless apps_id.nil?
@ -774,7 +774,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_firewall_ingress_rules(apps_id, matching_address: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/apps/{appsId}/firewall/ingressRules', options)
command = make_simple_command(:get, 'v1/apps/{appsId}/firewall/ingressRules', options)
command.response_representation = Google::Apis::AppengineV1::ListIngressRulesResponse::Representation
command.response_class = Google::Apis::AppengineV1::ListIngressRulesResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -813,7 +813,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_app_firewall_ingress_rule(apps_id, ingress_rules_id, firewall_rule_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', options)
command = make_simple_command(:patch, 'v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', options)
command.request_representation = Google::Apis::AppengineV1::FirewallRule::Representation
command.request_object = firewall_rule_object
command.response_representation = Google::Apis::AppengineV1::FirewallRule::Representation
@ -849,7 +849,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_location(apps_id, locations_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/apps/{appsId}/locations/{locationsId}', options)
command = make_simple_command(:get, 'v1/apps/{appsId}/locations/{locationsId}', options)
command.response_representation = Google::Apis::AppengineV1::Location::Representation
command.response_class = Google::Apis::AppengineV1::Location
command.params['appsId'] = apps_id unless apps_id.nil?
@ -886,7 +886,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_locations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/apps/{appsId}/locations', options)
command = make_simple_command(:get, 'v1/apps/{appsId}/locations', options)
command.response_representation = Google::Apis::AppengineV1::ListLocationsResponse::Representation
command.response_class = Google::Apis::AppengineV1::ListLocationsResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -922,7 +922,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/apps/{appsId}/operations/{operationsId}', options)
command = make_simple_command(:get, 'v1/apps/{appsId}/operations/{operationsId}', options)
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
command.response_class = Google::Apis::AppengineV1::Operation
command.params['appsId'] = apps_id unless apps_id.nil?
@ -966,7 +966,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_operations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/apps/{appsId}/operations', options)
command = make_simple_command(:get, 'v1/apps/{appsId}/operations', options)
command.response_representation = Google::Apis::AppengineV1::ListOperationsResponse::Representation
command.response_class = Google::Apis::AppengineV1::ListOperationsResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -1002,7 +1002,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_app_service(apps_id, services_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/apps/{appsId}/services/{servicesId}', options)
command = make_simple_command(:delete, 'v1/apps/{appsId}/services/{servicesId}', options)
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
command.response_class = Google::Apis::AppengineV1::Operation
command.params['appsId'] = apps_id unless apps_id.nil?
@ -1036,7 +1036,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_service(apps_id, services_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/apps/{appsId}/services/{servicesId}', options)
command = make_simple_command(:get, 'v1/apps/{appsId}/services/{servicesId}', options)
command.response_representation = Google::Apis::AppengineV1::Service::Representation
command.response_class = Google::Apis::AppengineV1::Service
command.params['appsId'] = apps_id unless apps_id.nil?
@ -1071,7 +1071,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_services(apps_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/apps/{appsId}/services', options)
command = make_simple_command(:get, 'v1/apps/{appsId}/services', options)
command.response_representation = Google::Apis::AppengineV1::ListServicesResponse::Representation
command.response_class = Google::Apis::AppengineV1::ListServicesResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -1122,7 +1122,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_app_service(apps_id, services_id, service_object = nil, migrate_traffic: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/apps/{appsId}/services/{servicesId}', options)
command = make_simple_command(:patch, 'v1/apps/{appsId}/services/{servicesId}', options)
command.request_representation = Google::Apis::AppengineV1::Service::Representation
command.request_object = service_object
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
@ -1161,7 +1161,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_app_service_version(apps_id, services_id, version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/apps/{appsId}/services/{servicesId}/versions', options)
command = make_simple_command(:post, 'v1/apps/{appsId}/services/{servicesId}/versions', options)
command.request_representation = Google::Apis::AppengineV1::Version::Representation
command.request_object = version_object
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
@ -1199,7 +1199,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_app_service_version(apps_id, services_id, versions_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
command = make_simple_command(:delete, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
command.response_class = Google::Apis::AppengineV1::Operation
command.params['appsId'] = apps_id unless apps_id.nil?
@ -1239,7 +1239,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_service_version(apps_id, services_id, versions_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
command = make_simple_command(:get, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
command.response_representation = Google::Apis::AppengineV1::Version::Representation
command.response_class = Google::Apis::AppengineV1::Version
command.params['appsId'] = apps_id unless apps_id.nil?
@ -1281,7 +1281,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_service_versions(apps_id, services_id, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/apps/{appsId}/services/{servicesId}/versions', options)
command = make_simple_command(:get, 'v1/apps/{appsId}/services/{servicesId}/versions', options)
command.response_representation = Google::Apis::AppengineV1::ListVersionsResponse::Representation
command.response_class = Google::Apis::AppengineV1::ListVersionsResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -1365,7 +1365,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_app_service_version(apps_id, services_id, versions_id, version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
command = make_simple_command(:patch, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
command.request_representation = Google::Apis::AppengineV1::Version::Representation
command.request_object = version_object
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
@ -1413,7 +1413,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def debug_instance(apps_id, services_id, versions_id, instances_id, debug_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug', options)
command = make_simple_command(:post, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug', options)
command.request_representation = Google::Apis::AppengineV1::DebugInstanceRequest::Representation
command.request_object = debug_instance_request_object
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
@ -1455,7 +1455,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_app_service_version_instance(apps_id, services_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
command = make_simple_command(:delete, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
command.response_class = Google::Apis::AppengineV1::Operation
command.params['appsId'] = apps_id unless apps_id.nil?
@ -1495,7 +1495,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_service_version_instance(apps_id, services_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
command = make_simple_command(:get, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
command.response_representation = Google::Apis::AppengineV1::Instance::Representation
command.response_class = Google::Apis::AppengineV1::Instance
command.params['appsId'] = apps_id unless apps_id.nil?
@ -1539,7 +1539,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_service_version_instances(apps_id, services_id, versions_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances', options)
command = make_simple_command(:get, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances', options)
command.response_representation = Google::Apis::AppengineV1::ListInstancesResponse::Representation
command.response_class = Google::Apis::AppengineV1::ListInstancesResponse
command.params['appsId'] = apps_id unless apps_id.nil?

View File

@ -69,7 +69,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_app_authorized_certificate(apps_id, authorized_certificate_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha/apps/{appsId}/authorizedCertificates', options)
command = make_simple_command(:post, 'v1alpha/apps/{appsId}/authorizedCertificates', options)
command.request_representation = Google::Apis::AppengineV1alpha::AuthorizedCertificate::Representation
command.request_object = authorized_certificate_object
command.response_representation = Google::Apis::AppengineV1alpha::AuthorizedCertificate::Representation
@ -104,7 +104,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_app_authorized_certificate(apps_id, authorized_certificates_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1alpha/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
command = make_simple_command(:delete, 'v1alpha/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
command.response_representation = Google::Apis::AppengineV1alpha::Empty::Representation
command.response_class = Google::Apis::AppengineV1alpha::Empty
command.params['appsId'] = apps_id unless apps_id.nil?
@ -140,7 +140,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_authorized_certificate(apps_id, authorized_certificates_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
command = make_simple_command(:get, 'v1alpha/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
command.response_representation = Google::Apis::AppengineV1alpha::AuthorizedCertificate::Representation
command.response_class = Google::Apis::AppengineV1alpha::AuthorizedCertificate
command.params['appsId'] = apps_id unless apps_id.nil?
@ -178,7 +178,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_authorized_certificates(apps_id, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha/apps/{appsId}/authorizedCertificates', options)
command = make_simple_command(:get, 'v1alpha/apps/{appsId}/authorizedCertificates', options)
command.response_representation = Google::Apis::AppengineV1alpha::ListAuthorizedCertificatesResponse::Representation
command.response_class = Google::Apis::AppengineV1alpha::ListAuthorizedCertificatesResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -221,7 +221,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_app_authorized_certificate(apps_id, authorized_certificates_id, authorized_certificate_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1alpha/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
command = make_simple_command(:patch, 'v1alpha/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
command.request_representation = Google::Apis::AppengineV1alpha::AuthorizedCertificate::Representation
command.request_object = authorized_certificate_object
command.response_representation = Google::Apis::AppengineV1alpha::AuthorizedCertificate::Representation
@ -259,7 +259,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_authorized_domains(apps_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha/apps/{appsId}/authorizedDomains', options)
command = make_simple_command(:get, 'v1alpha/apps/{appsId}/authorizedDomains', options)
command.response_representation = Google::Apis::AppengineV1alpha::ListAuthorizedDomainsResponse::Representation
command.response_class = Google::Apis::AppengineV1alpha::ListAuthorizedDomainsResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -302,7 +302,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_app_domain_mapping(apps_id, domain_mapping_object = nil, no_managed_certificate: nil, override_strategy: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha/apps/{appsId}/domainMappings', options)
command = make_simple_command(:post, 'v1alpha/apps/{appsId}/domainMappings', options)
command.request_representation = Google::Apis::AppengineV1alpha::DomainMapping::Representation
command.request_object = domain_mapping_object
command.response_representation = Google::Apis::AppengineV1alpha::Operation::Representation
@ -340,7 +340,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_app_domain_mapping(apps_id, domain_mappings_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1alpha/apps/{appsId}/domainMappings/{domainMappingsId}', options)
command = make_simple_command(:delete, 'v1alpha/apps/{appsId}/domainMappings/{domainMappingsId}', options)
command.response_representation = Google::Apis::AppengineV1alpha::Operation::Representation
command.response_class = Google::Apis::AppengineV1alpha::Operation
command.params['appsId'] = apps_id unless apps_id.nil?
@ -374,7 +374,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_domain_mapping(apps_id, domain_mappings_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha/apps/{appsId}/domainMappings/{domainMappingsId}', options)
command = make_simple_command(:get, 'v1alpha/apps/{appsId}/domainMappings/{domainMappingsId}', options)
command.response_representation = Google::Apis::AppengineV1alpha::DomainMapping::Representation
command.response_class = Google::Apis::AppengineV1alpha::DomainMapping
command.params['appsId'] = apps_id unless apps_id.nil?
@ -409,7 +409,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_domain_mappings(apps_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha/apps/{appsId}/domainMappings', options)
command = make_simple_command(:get, 'v1alpha/apps/{appsId}/domainMappings', options)
command.response_representation = Google::Apis::AppengineV1alpha::ListDomainMappingsResponse::Representation
command.response_class = Google::Apis::AppengineV1alpha::ListDomainMappingsResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -456,7 +456,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_app_domain_mapping(apps_id, domain_mappings_id, domain_mapping_object = nil, no_managed_certificate: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1alpha/apps/{appsId}/domainMappings/{domainMappingsId}', options)
command = make_simple_command(:patch, 'v1alpha/apps/{appsId}/domainMappings/{domainMappingsId}', options)
command.request_representation = Google::Apis::AppengineV1alpha::DomainMapping::Representation
command.request_object = domain_mapping_object
command.response_representation = Google::Apis::AppengineV1alpha::Operation::Representation
@ -493,7 +493,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_location(apps_id, locations_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha/apps/{appsId}/locations/{locationsId}', options)
command = make_simple_command(:get, 'v1alpha/apps/{appsId}/locations/{locationsId}', options)
command.response_representation = Google::Apis::AppengineV1alpha::Location::Representation
command.response_class = Google::Apis::AppengineV1alpha::Location
command.params['appsId'] = apps_id unless apps_id.nil?
@ -530,7 +530,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_locations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha/apps/{appsId}/locations', options)
command = make_simple_command(:get, 'v1alpha/apps/{appsId}/locations', options)
command.response_representation = Google::Apis::AppengineV1alpha::ListLocationsResponse::Representation
command.response_class = Google::Apis::AppengineV1alpha::ListLocationsResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -566,7 +566,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha/apps/{appsId}/operations/{operationsId}', options)
command = make_simple_command(:get, 'v1alpha/apps/{appsId}/operations/{operationsId}', options)
command.response_representation = Google::Apis::AppengineV1alpha::Operation::Representation
command.response_class = Google::Apis::AppengineV1alpha::Operation
command.params['appsId'] = apps_id unless apps_id.nil?
@ -610,7 +610,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_operations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha/apps/{appsId}/operations', options)
command = make_simple_command(:get, 'v1alpha/apps/{appsId}/operations', options)
command.response_representation = Google::Apis::AppengineV1alpha::ListOperationsResponse::Representation
command.response_class = Google::Apis::AppengineV1alpha::ListOperationsResponse
command.params['appsId'] = apps_id unless apps_id.nil?

View File

@ -73,7 +73,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_app(application_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta/apps', options)
command = make_simple_command(:post, 'v1beta/apps', options)
command.request_representation = Google::Apis::AppengineV1beta::Application::Representation
command.request_object = application_object
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
@ -104,7 +104,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app(apps_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/apps/{appsId}', options)
command = make_simple_command(:get, 'v1beta/apps/{appsId}', options)
command.response_representation = Google::Apis::AppengineV1beta::Application::Representation
command.response_class = Google::Apis::AppengineV1beta::Application
command.params['appsId'] = apps_id unless apps_id.nil?
@ -142,7 +142,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_app(apps_id, application_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta/apps/{appsId}', options)
command = make_simple_command(:patch, 'v1beta/apps/{appsId}', options)
command.request_representation = Google::Apis::AppengineV1beta::Application::Representation
command.request_object = application_object
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
@ -185,7 +185,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def repair_application(apps_id, repair_application_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta/apps/{appsId}:repair', options)
command = make_simple_command(:post, 'v1beta/apps/{appsId}:repair', options)
command.request_representation = Google::Apis::AppengineV1beta::RepairApplicationRequest::Representation
command.request_object = repair_application_request_object
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
@ -218,7 +218,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_app_authorized_certificate(apps_id, authorized_certificate_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta/apps/{appsId}/authorizedCertificates', options)
command = make_simple_command(:post, 'v1beta/apps/{appsId}/authorizedCertificates', options)
command.request_representation = Google::Apis::AppengineV1beta::AuthorizedCertificate::Representation
command.request_object = authorized_certificate_object
command.response_representation = Google::Apis::AppengineV1beta::AuthorizedCertificate::Representation
@ -253,7 +253,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_app_authorized_certificate(apps_id, authorized_certificates_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
command = make_simple_command(:delete, 'v1beta/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
command.response_representation = Google::Apis::AppengineV1beta::Empty::Representation
command.response_class = Google::Apis::AppengineV1beta::Empty
command.params['appsId'] = apps_id unless apps_id.nil?
@ -289,7 +289,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_authorized_certificate(apps_id, authorized_certificates_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
command.response_representation = Google::Apis::AppengineV1beta::AuthorizedCertificate::Representation
command.response_class = Google::Apis::AppengineV1beta::AuthorizedCertificate
command.params['appsId'] = apps_id unless apps_id.nil?
@ -327,7 +327,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_authorized_certificates(apps_id, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/authorizedCertificates', options)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/authorizedCertificates', options)
command.response_representation = Google::Apis::AppengineV1beta::ListAuthorizedCertificatesResponse::Representation
command.response_class = Google::Apis::AppengineV1beta::ListAuthorizedCertificatesResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -370,7 +370,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_app_authorized_certificate(apps_id, authorized_certificates_id, authorized_certificate_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
command = make_simple_command(:patch, 'v1beta/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
command.request_representation = Google::Apis::AppengineV1beta::AuthorizedCertificate::Representation
command.request_object = authorized_certificate_object
command.response_representation = Google::Apis::AppengineV1beta::AuthorizedCertificate::Representation
@ -408,7 +408,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_authorized_domains(apps_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/authorizedDomains', options)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/authorizedDomains', options)
command.response_representation = Google::Apis::AppengineV1beta::ListAuthorizedDomainsResponse::Representation
command.response_class = Google::Apis::AppengineV1beta::ListAuthorizedDomainsResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -446,7 +446,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_app_domain_mapping(apps_id, domain_mapping_object = nil, override_strategy: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta/apps/{appsId}/domainMappings', options)
command = make_simple_command(:post, 'v1beta/apps/{appsId}/domainMappings', options)
command.request_representation = Google::Apis::AppengineV1beta::DomainMapping::Representation
command.request_object = domain_mapping_object
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
@ -483,7 +483,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_app_domain_mapping(apps_id, domain_mappings_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta/apps/{appsId}/domainMappings/{domainMappingsId}', options)
command = make_simple_command(:delete, 'v1beta/apps/{appsId}/domainMappings/{domainMappingsId}', options)
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
command.response_class = Google::Apis::AppengineV1beta::Operation
command.params['appsId'] = apps_id unless apps_id.nil?
@ -517,7 +517,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_domain_mapping(apps_id, domain_mappings_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/domainMappings/{domainMappingsId}', options)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/domainMappings/{domainMappingsId}', options)
command.response_representation = Google::Apis::AppengineV1beta::DomainMapping::Representation
command.response_class = Google::Apis::AppengineV1beta::DomainMapping
command.params['appsId'] = apps_id unless apps_id.nil?
@ -552,7 +552,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_domain_mappings(apps_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/domainMappings', options)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/domainMappings', options)
command.response_representation = Google::Apis::AppengineV1beta::ListDomainMappingsResponse::Representation
command.response_class = Google::Apis::AppengineV1beta::ListDomainMappingsResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -593,7 +593,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_app_domain_mapping(apps_id, domain_mappings_id, domain_mapping_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta/apps/{appsId}/domainMappings/{domainMappingsId}', options)
command = make_simple_command(:patch, 'v1beta/apps/{appsId}/domainMappings/{domainMappingsId}', options)
command.request_representation = Google::Apis::AppengineV1beta::DomainMapping::Representation
command.request_object = domain_mapping_object
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
@ -632,7 +632,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_update_ingress_rules(apps_id, batch_update_ingress_rules_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta/apps/{appsId}/firewall/ingressRules:batchUpdate', options)
command = make_simple_command(:post, 'v1beta/apps/{appsId}/firewall/ingressRules:batchUpdate', options)
command.request_representation = Google::Apis::AppengineV1beta::BatchUpdateIngressRulesRequest::Representation
command.request_object = batch_update_ingress_rules_request_object
command.response_representation = Google::Apis::AppengineV1beta::BatchUpdateIngressRulesResponse::Representation
@ -666,7 +666,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_app_firewall_ingress_rule(apps_id, firewall_rule_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta/apps/{appsId}/firewall/ingressRules', options)
command = make_simple_command(:post, 'v1beta/apps/{appsId}/firewall/ingressRules', options)
command.request_representation = Google::Apis::AppengineV1beta::FirewallRule::Representation
command.request_object = firewall_rule_object
command.response_representation = Google::Apis::AppengineV1beta::FirewallRule::Representation
@ -701,7 +701,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_app_firewall_ingress_rule(apps_id, ingress_rules_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', options)
command = make_simple_command(:delete, 'v1beta/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', options)
command.response_representation = Google::Apis::AppengineV1beta::Empty::Representation
command.response_class = Google::Apis::AppengineV1beta::Empty
command.params['appsId'] = apps_id unless apps_id.nil?
@ -735,7 +735,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_firewall_ingress_rule(apps_id, ingress_rules_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', options)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', options)
command.response_representation = Google::Apis::AppengineV1beta::FirewallRule::Representation
command.response_class = Google::Apis::AppengineV1beta::FirewallRule
command.params['appsId'] = apps_id unless apps_id.nil?
@ -774,7 +774,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_firewall_ingress_rules(apps_id, matching_address: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/firewall/ingressRules', options)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/firewall/ingressRules', options)
command.response_representation = Google::Apis::AppengineV1beta::ListIngressRulesResponse::Representation
command.response_class = Google::Apis::AppengineV1beta::ListIngressRulesResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -813,7 +813,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_app_firewall_ingress_rule(apps_id, ingress_rules_id, firewall_rule_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', options)
command = make_simple_command(:patch, 'v1beta/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', options)
command.request_representation = Google::Apis::AppengineV1beta::FirewallRule::Representation
command.request_object = firewall_rule_object
command.response_representation = Google::Apis::AppengineV1beta::FirewallRule::Representation
@ -849,7 +849,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_location(apps_id, locations_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/locations/{locationsId}', options)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/locations/{locationsId}', options)
command.response_representation = Google::Apis::AppengineV1beta::Location::Representation
command.response_class = Google::Apis::AppengineV1beta::Location
command.params['appsId'] = apps_id unless apps_id.nil?
@ -886,7 +886,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_locations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/locations', options)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/locations', options)
command.response_representation = Google::Apis::AppengineV1beta::ListLocationsResponse::Representation
command.response_class = Google::Apis::AppengineV1beta::ListLocationsResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -922,7 +922,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/operations/{operationsId}', options)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/operations/{operationsId}', options)
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
command.response_class = Google::Apis::AppengineV1beta::Operation
command.params['appsId'] = apps_id unless apps_id.nil?
@ -966,7 +966,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_operations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/operations', options)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/operations', options)
command.response_representation = Google::Apis::AppengineV1beta::ListOperationsResponse::Representation
command.response_class = Google::Apis::AppengineV1beta::ListOperationsResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -1002,7 +1002,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_app_service(apps_id, services_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta/apps/{appsId}/services/{servicesId}', options)
command = make_simple_command(:delete, 'v1beta/apps/{appsId}/services/{servicesId}', options)
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
command.response_class = Google::Apis::AppengineV1beta::Operation
command.params['appsId'] = apps_id unless apps_id.nil?
@ -1036,7 +1036,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_service(apps_id, services_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/services/{servicesId}', options)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/services/{servicesId}', options)
command.response_representation = Google::Apis::AppengineV1beta::Service::Representation
command.response_class = Google::Apis::AppengineV1beta::Service
command.params['appsId'] = apps_id unless apps_id.nil?
@ -1071,7 +1071,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_services(apps_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/services', options)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/services', options)
command.response_representation = Google::Apis::AppengineV1beta::ListServicesResponse::Representation
command.response_class = Google::Apis::AppengineV1beta::ListServicesResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -1122,7 +1122,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_app_service(apps_id, services_id, service_object = nil, migrate_traffic: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta/apps/{appsId}/services/{servicesId}', options)
command = make_simple_command(:patch, 'v1beta/apps/{appsId}/services/{servicesId}', options)
command.request_representation = Google::Apis::AppengineV1beta::Service::Representation
command.request_object = service_object
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
@ -1161,7 +1161,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_app_service_version(apps_id, services_id, version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta/apps/{appsId}/services/{servicesId}/versions', options)
command = make_simple_command(:post, 'v1beta/apps/{appsId}/services/{servicesId}/versions', options)
command.request_representation = Google::Apis::AppengineV1beta::Version::Representation
command.request_object = version_object
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
@ -1199,7 +1199,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_app_service_version(apps_id, services_id, versions_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
command = make_simple_command(:delete, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
command.response_class = Google::Apis::AppengineV1beta::Operation
command.params['appsId'] = apps_id unless apps_id.nil?
@ -1239,7 +1239,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_service_version(apps_id, services_id, versions_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
command.response_representation = Google::Apis::AppengineV1beta::Version::Representation
command.response_class = Google::Apis::AppengineV1beta::Version
command.params['appsId'] = apps_id unless apps_id.nil?
@ -1281,7 +1281,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_service_versions(apps_id, services_id, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/services/{servicesId}/versions', options)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/services/{servicesId}/versions', options)
command.response_representation = Google::Apis::AppengineV1beta::ListVersionsResponse::Representation
command.response_class = Google::Apis::AppengineV1beta::ListVersionsResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -1365,7 +1365,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_app_service_version(apps_id, services_id, versions_id, version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
command = make_simple_command(:patch, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
command.request_representation = Google::Apis::AppengineV1beta::Version::Representation
command.request_object = version_object
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
@ -1413,7 +1413,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def debug_instance(apps_id, services_id, versions_id, instances_id, debug_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug', options)
command = make_simple_command(:post, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug', options)
command.request_representation = Google::Apis::AppengineV1beta::DebugInstanceRequest::Representation
command.request_object = debug_instance_request_object
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
@ -1455,7 +1455,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_app_service_version_instance(apps_id, services_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
command = make_simple_command(:delete, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
command.response_class = Google::Apis::AppengineV1beta::Operation
command.params['appsId'] = apps_id unless apps_id.nil?
@ -1495,7 +1495,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_service_version_instance(apps_id, services_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
command.response_representation = Google::Apis::AppengineV1beta::Instance::Representation
command.response_class = Google::Apis::AppengineV1beta::Instance
command.params['appsId'] = apps_id unless apps_id.nil?
@ -1539,7 +1539,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_service_version_instances(apps_id, services_id, versions_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances', options)
command = make_simple_command(:get, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances', options)
command.response_representation = Google::Apis::AppengineV1beta::ListInstancesResponse::Representation
command.response_class = Google::Apis::AppengineV1beta::ListInstancesResponse
command.params['appsId'] = apps_id unless apps_id.nil?

View File

@ -73,7 +73,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_app(application_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta4/apps', options)
command = make_simple_command(:post, 'v1beta4/apps', options)
command.request_representation = Google::Apis::AppengineV1beta4::Application::Representation
command.request_object = application_object
command.response_representation = Google::Apis::AppengineV1beta4::Operation::Representation
@ -110,7 +110,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app(apps_id, ensure_resources_exist: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}', options)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}', options)
command.response_representation = Google::Apis::AppengineV1beta4::Application::Representation
command.response_class = Google::Apis::AppengineV1beta4::Application
command.params['appsId'] = apps_id unless apps_id.nil?
@ -150,7 +150,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_app(apps_id, application_object = nil, mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta4/apps/{appsId}', options)
command = make_simple_command(:patch, 'v1beta4/apps/{appsId}', options)
command.request_representation = Google::Apis::AppengineV1beta4::Application::Representation
command.request_object = application_object
command.response_representation = Google::Apis::AppengineV1beta4::Operation::Representation
@ -185,7 +185,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_location(apps_id, locations_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/locations/{locationsId}', options)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/locations/{locationsId}', options)
command.response_representation = Google::Apis::AppengineV1beta4::Location::Representation
command.response_class = Google::Apis::AppengineV1beta4::Location
command.params['appsId'] = apps_id unless apps_id.nil?
@ -222,7 +222,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_locations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/locations', options)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/locations', options)
command.response_representation = Google::Apis::AppengineV1beta4::ListLocationsResponse::Representation
command.response_class = Google::Apis::AppengineV1beta4::ListLocationsResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -258,7 +258,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_app_module(apps_id, modules_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta4/apps/{appsId}/modules/{modulesId}', options)
command = make_simple_command(:delete, 'v1beta4/apps/{appsId}/modules/{modulesId}', options)
command.response_representation = Google::Apis::AppengineV1beta4::Operation::Representation
command.response_class = Google::Apis::AppengineV1beta4::Operation
command.params['appsId'] = apps_id unless apps_id.nil?
@ -292,7 +292,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_module(apps_id, modules_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/modules/{modulesId}', options)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/modules/{modulesId}', options)
command.response_representation = Google::Apis::AppengineV1beta4::Module::Representation
command.response_class = Google::Apis::AppengineV1beta4::Module
command.params['appsId'] = apps_id unless apps_id.nil?
@ -327,7 +327,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_modules(apps_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/modules', options)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/modules', options)
command.response_representation = Google::Apis::AppengineV1beta4::ListModulesResponse::Representation
command.response_class = Google::Apis::AppengineV1beta4::ListModulesResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -378,7 +378,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_app_module(apps_id, modules_id, module_object = nil, mask: nil, migrate_traffic: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta4/apps/{appsId}/modules/{modulesId}', options)
command = make_simple_command(:patch, 'v1beta4/apps/{appsId}/modules/{modulesId}', options)
command.request_representation = Google::Apis::AppengineV1beta4::Module::Representation
command.request_object = module_object
command.response_representation = Google::Apis::AppengineV1beta4::Operation::Representation
@ -417,7 +417,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_app_module_version(apps_id, modules_id, version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions', options)
command = make_simple_command(:post, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions', options)
command.request_representation = Google::Apis::AppengineV1beta4::Version::Representation
command.request_object = version_object
command.response_representation = Google::Apis::AppengineV1beta4::Operation::Representation
@ -455,7 +455,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_app_module_version(apps_id, modules_id, versions_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}', options)
command = make_simple_command(:delete, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}', options)
command.response_representation = Google::Apis::AppengineV1beta4::Operation::Representation
command.response_class = Google::Apis::AppengineV1beta4::Operation
command.params['appsId'] = apps_id unless apps_id.nil?
@ -495,7 +495,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_module_version(apps_id, modules_id, versions_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}', options)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}', options)
command.response_representation = Google::Apis::AppengineV1beta4::Version::Representation
command.response_class = Google::Apis::AppengineV1beta4::Version
command.params['appsId'] = apps_id unless apps_id.nil?
@ -537,7 +537,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_module_versions(apps_id, modules_id, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions', options)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions', options)
command.response_representation = Google::Apis::AppengineV1beta4::ListVersionsResponse::Representation
command.response_class = Google::Apis::AppengineV1beta4::ListVersionsResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -596,7 +596,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_app_module_version(apps_id, modules_id, versions_id, version_object = nil, mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}', options)
command = make_simple_command(:patch, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}', options)
command.request_representation = Google::Apis::AppengineV1beta4::Version::Representation
command.request_object = version_object
command.response_representation = Google::Apis::AppengineV1beta4::Operation::Representation
@ -644,7 +644,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def debug_instance(apps_id, modules_id, versions_id, instances_id, debug_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}/instances/{instancesId}:debug', options)
command = make_simple_command(:post, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}/instances/{instancesId}:debug', options)
command.request_representation = Google::Apis::AppengineV1beta4::DebugInstanceRequest::Representation
command.request_object = debug_instance_request_object
command.response_representation = Google::Apis::AppengineV1beta4::Operation::Representation
@ -686,7 +686,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_app_module_version_instance(apps_id, modules_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}/instances/{instancesId}', options)
command = make_simple_command(:delete, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}/instances/{instancesId}', options)
command.response_representation = Google::Apis::AppengineV1beta4::Operation::Representation
command.response_class = Google::Apis::AppengineV1beta4::Operation
command.params['appsId'] = apps_id unless apps_id.nil?
@ -726,7 +726,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_module_version_instance(apps_id, modules_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}/instances/{instancesId}', options)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}/instances/{instancesId}', options)
command.response_representation = Google::Apis::AppengineV1beta4::Instance::Representation
command.response_class = Google::Apis::AppengineV1beta4::Instance
command.params['appsId'] = apps_id unless apps_id.nil?
@ -770,7 +770,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_module_version_instances(apps_id, modules_id, versions_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}/instances', options)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}/instances', options)
command.response_representation = Google::Apis::AppengineV1beta4::ListInstancesResponse::Representation
command.response_class = Google::Apis::AppengineV1beta4::ListInstancesResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -807,7 +807,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/operations/{operationsId}', options)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/operations/{operationsId}', options)
command.response_representation = Google::Apis::AppengineV1beta4::Operation::Representation
command.response_class = Google::Apis::AppengineV1beta4::Operation
command.params['appsId'] = apps_id unless apps_id.nil?
@ -851,7 +851,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_operations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/operations', options)
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/operations', options)
command.response_representation = Google::Apis::AppengineV1beta4::ListOperationsResponse::Representation
command.response_class = Google::Apis::AppengineV1beta4::ListOperationsResponse
command.params['appsId'] = apps_id unless apps_id.nil?

View File

@ -73,7 +73,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_app(application_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta5/apps', options)
command = make_simple_command(:post, 'v1beta5/apps', options)
command.request_representation = Google::Apis::AppengineV1beta5::Application::Representation
command.request_object = application_object
command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
@ -111,7 +111,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app(apps_id, ensure_resources_exist: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}', options)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}', options)
command.response_representation = Google::Apis::AppengineV1beta5::Application::Representation
command.response_class = Google::Apis::AppengineV1beta5::Application
command.params['appsId'] = apps_id unless apps_id.nil?
@ -151,7 +151,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_app(apps_id, application_object = nil, mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta5/apps/{appsId}', options)
command = make_simple_command(:patch, 'v1beta5/apps/{appsId}', options)
command.request_representation = Google::Apis::AppengineV1beta5::Application::Representation
command.request_object = application_object
command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
@ -186,7 +186,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_location(apps_id, locations_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/locations/{locationsId}', options)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/locations/{locationsId}', options)
command.response_representation = Google::Apis::AppengineV1beta5::Location::Representation
command.response_class = Google::Apis::AppengineV1beta5::Location
command.params['appsId'] = apps_id unless apps_id.nil?
@ -223,7 +223,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_locations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/locations', options)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/locations', options)
command.response_representation = Google::Apis::AppengineV1beta5::ListLocationsResponse::Representation
command.response_class = Google::Apis::AppengineV1beta5::ListLocationsResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -259,7 +259,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/operations/{operationsId}', options)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/operations/{operationsId}', options)
command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
command.response_class = Google::Apis::AppengineV1beta5::Operation
command.params['appsId'] = apps_id unless apps_id.nil?
@ -303,7 +303,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_operations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/operations', options)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/operations', options)
command.response_representation = Google::Apis::AppengineV1beta5::ListOperationsResponse::Representation
command.response_class = Google::Apis::AppengineV1beta5::ListOperationsResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -339,7 +339,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_app_service(apps_id, services_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta5/apps/{appsId}/services/{servicesId}', options)
command = make_simple_command(:delete, 'v1beta5/apps/{appsId}/services/{servicesId}', options)
command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
command.response_class = Google::Apis::AppengineV1beta5::Operation
command.params['appsId'] = apps_id unless apps_id.nil?
@ -373,7 +373,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_service(apps_id, services_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/services/{servicesId}', options)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/services/{servicesId}', options)
command.response_representation = Google::Apis::AppengineV1beta5::Service::Representation
command.response_class = Google::Apis::AppengineV1beta5::Service
command.params['appsId'] = apps_id unless apps_id.nil?
@ -408,7 +408,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_services(apps_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/services', options)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/services', options)
command.response_representation = Google::Apis::AppengineV1beta5::ListServicesResponse::Representation
command.response_class = Google::Apis::AppengineV1beta5::ListServicesResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -459,7 +459,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_app_service(apps_id, services_id, service_object = nil, mask: nil, migrate_traffic: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta5/apps/{appsId}/services/{servicesId}', options)
command = make_simple_command(:patch, 'v1beta5/apps/{appsId}/services/{servicesId}', options)
command.request_representation = Google::Apis::AppengineV1beta5::Service::Representation
command.request_object = service_object
command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
@ -498,7 +498,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_app_service_version(apps_id, services_id, version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta5/apps/{appsId}/services/{servicesId}/versions', options)
command = make_simple_command(:post, 'v1beta5/apps/{appsId}/services/{servicesId}/versions', options)
command.request_representation = Google::Apis::AppengineV1beta5::Version::Representation
command.request_object = version_object
command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
@ -536,7 +536,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_app_service_version(apps_id, services_id, versions_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
command = make_simple_command(:delete, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
command.response_class = Google::Apis::AppengineV1beta5::Operation
command.params['appsId'] = apps_id unless apps_id.nil?
@ -576,7 +576,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_service_version(apps_id, services_id, versions_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
command.response_representation = Google::Apis::AppengineV1beta5::Version::Representation
command.response_class = Google::Apis::AppengineV1beta5::Version
command.params['appsId'] = apps_id unless apps_id.nil?
@ -618,7 +618,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_service_versions(apps_id, services_id, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/services/{servicesId}/versions', options)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/services/{servicesId}/versions', options)
command.response_representation = Google::Apis::AppengineV1beta5::ListVersionsResponse::Representation
command.response_class = Google::Apis::AppengineV1beta5::ListVersionsResponse
command.params['appsId'] = apps_id unless apps_id.nil?
@ -677,7 +677,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_app_service_version(apps_id, services_id, versions_id, version_object = nil, mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
command = make_simple_command(:patch, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
command.request_representation = Google::Apis::AppengineV1beta5::Version::Representation
command.request_object = version_object
command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
@ -725,7 +725,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def debug_instance(apps_id, services_id, versions_id, instances_id, debug_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug', options)
command = make_simple_command(:post, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug', options)
command.request_representation = Google::Apis::AppengineV1beta5::DebugInstanceRequest::Representation
command.request_object = debug_instance_request_object
command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
@ -767,7 +767,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_app_service_version_instance(apps_id, services_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
command = make_simple_command(:delete, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
command.response_class = Google::Apis::AppengineV1beta5::Operation
command.params['appsId'] = apps_id unless apps_id.nil?
@ -807,7 +807,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_app_service_version_instance(apps_id, services_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
command.response_representation = Google::Apis::AppengineV1beta5::Instance::Representation
command.response_class = Google::Apis::AppengineV1beta5::Instance
command.params['appsId'] = apps_id unless apps_id.nil?
@ -851,7 +851,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_app_service_version_instances(apps_id, services_id, versions_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances', options)
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances', options)
command.response_representation = Google::Apis::AppengineV1beta5::ListInstancesResponse::Representation
command.response_class = Google::Apis::AppengineV1beta5::ListInstancesResponse
command.params['appsId'] = apps_id unless apps_id.nil?

View File

@ -97,7 +97,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_activities(drive_ancestor_id: nil, drive_file_id: nil, grouping_strategy: nil, page_size: nil, page_token: nil, source: nil, user_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'activities', options)
command = make_simple_command(:get, 'activities', options)
command.response_representation = Google::Apis::AppsactivityV1::ListActivitiesResponse::Representation
command.response_class = Google::Apis::AppsactivityV1::ListActivitiesResponse
command.query['drive.ancestorId'] = drive_ancestor_id unless drive_ancestor_id.nil?

View File

@ -77,7 +77,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_customer_license(application_id, customer_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'customerLicense/{applicationId}/{customerId}', options)
command = make_simple_command(:get, 'customerLicense/{applicationId}/{customerId}', options)
command.response_representation = Google::Apis::AppsmarketV2::CustomerLicense::Representation
command.response_class = Google::Apis::AppsmarketV2::CustomerLicense
command.params['applicationId'] = application_id unless application_id.nil?
@ -117,7 +117,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_license_notifications(application_id, max_results: nil, start_token: nil, timestamp: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'licenseNotification/{applicationId}', options)
command = make_simple_command(:get, 'licenseNotification/{applicationId}', options)
command.response_representation = Google::Apis::AppsmarketV2::LicenseNotificationList::Representation
command.response_class = Google::Apis::AppsmarketV2::LicenseNotificationList
command.params['applicationId'] = application_id unless application_id.nil?
@ -155,7 +155,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_user_license(application_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'userLicense/{applicationId}/{userId}', options)
command = make_simple_command(:get, 'userLicense/{applicationId}/{userId}', options)
command.response_representation = Google::Apis::AppsmarketV2::UserLicense::Representation
command.response_class = Google::Apis::AppsmarketV2::UserLicense
command.params['applicationId'] = application_id unless application_id.nil?

View File

@ -79,7 +79,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def clear_state(state_key, current_data_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'states/{stateKey}/clear', options)
command = make_simple_command(:post, 'states/{stateKey}/clear', options)
command.response_representation = Google::Apis::AppstateV1::WriteResult::Representation
command.response_class = Google::Apis::AppstateV1::WriteResult
command.params['stateKey'] = state_key unless state_key.nil?
@ -117,7 +117,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_state(state_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'states/{stateKey}', options)
command = make_simple_command(:delete, 'states/{stateKey}', options)
command.params['stateKey'] = state_key unless state_key.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -149,7 +149,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_state(state_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'states/{stateKey}', options)
command = make_simple_command(:get, 'states/{stateKey}', options)
command.response_representation = Google::Apis::AppstateV1::GetResponse::Representation
command.response_class = Google::Apis::AppstateV1::GetResponse
command.params['stateKey'] = state_key unless state_key.nil?
@ -182,7 +182,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_states(include_data: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'states', options)
command = make_simple_command(:get, 'states', options)
command.response_representation = Google::Apis::AppstateV1::ListResponse::Representation
command.response_class = Google::Apis::AppstateV1::ListResponse
command.query['includeData'] = include_data unless include_data.nil?
@ -223,7 +223,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_state(state_key, update_request_object = nil, current_state_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'states/{stateKey}', options)
command = make_simple_command(:put, 'states/{stateKey}', options)
command.request_representation = Google::Apis::AppstateV1::UpdateRequest::Representation
command.request_object = update_request_object
command.response_representation = Google::Apis::AppstateV1::WriteResult::Representation

View File

@ -82,7 +82,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_dataset(project_id, dataset_id, delete_contents: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'projects/{projectId}/datasets/{datasetId}', options)
command = make_simple_command(:delete, 'projects/{projectId}/datasets/{datasetId}', options)
command.params['projectId'] = project_id unless project_id.nil?
command.params['datasetId'] = dataset_id unless dataset_id.nil?
command.query['deleteContents'] = delete_contents unless delete_contents.nil?
@ -117,7 +117,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_dataset(project_id, dataset_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}', options)
command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}', options)
command.response_representation = Google::Apis::BigqueryV2::Dataset::Representation
command.response_class = Google::Apis::BigqueryV2::Dataset
command.params['projectId'] = project_id unless project_id.nil?
@ -152,7 +152,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_dataset(project_id, dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'projects/{projectId}/datasets', options)
command = make_simple_command(:post, 'projects/{projectId}/datasets', options)
command.request_representation = Google::Apis::BigqueryV2::Dataset::Representation
command.request_object = dataset_object
command.response_representation = Google::Apis::BigqueryV2::Dataset::Representation
@ -199,7 +199,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_datasets(project_id, all: nil, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects/{projectId}/datasets', options)
command = make_simple_command(:get, 'projects/{projectId}/datasets', options)
command.response_representation = Google::Apis::BigqueryV2::DatasetList::Representation
command.response_class = Google::Apis::BigqueryV2::DatasetList
command.params['projectId'] = project_id unless project_id.nil?
@ -242,7 +242,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_dataset(project_id, dataset_id, dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'projects/{projectId}/datasets/{datasetId}', options)
command = make_simple_command(:patch, 'projects/{projectId}/datasets/{datasetId}', options)
command.request_representation = Google::Apis::BigqueryV2::Dataset::Representation
command.request_object = dataset_object
command.response_representation = Google::Apis::BigqueryV2::Dataset::Representation
@ -283,7 +283,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_dataset(project_id, dataset_id, dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'projects/{projectId}/datasets/{datasetId}', options)
command = make_simple_command(:put, 'projects/{projectId}/datasets/{datasetId}', options)
command.request_representation = Google::Apis::BigqueryV2::Dataset::Representation
command.request_object = dataset_object
command.response_representation = Google::Apis::BigqueryV2::Dataset::Representation
@ -326,7 +326,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_job(project_id, job_id, location: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'projects/{projectId}/jobs/{jobId}/cancel', options)
command = make_simple_command(:post, 'projects/{projectId}/jobs/{jobId}/cancel', options)
command.response_representation = Google::Apis::BigqueryV2::CancelJobResponse::Representation
command.response_class = Google::Apis::BigqueryV2::CancelJobResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -368,7 +368,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_job(project_id, job_id, location: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects/{projectId}/jobs/{jobId}', options)
command = make_simple_command(:get, 'projects/{projectId}/jobs/{jobId}', options)
command.response_representation = Google::Apis::BigqueryV2::Job::Representation
command.response_class = Google::Apis::BigqueryV2::Job
command.params['projectId'] = project_id unless project_id.nil?
@ -419,7 +419,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_job_query_results(project_id, job_id, location: nil, max_results: nil, page_token: nil, start_index: nil, timeout_ms: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects/{projectId}/queries/{jobId}', options)
command = make_simple_command(:get, 'projects/{projectId}/queries/{jobId}', options)
command.response_representation = Google::Apis::BigqueryV2::GetQueryResultsResponse::Representation
command.response_class = Google::Apis::BigqueryV2::GetQueryResultsResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -464,7 +464,7 @@ module Google
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_job(project_id, job_object = nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:post, 'projects/{projectId}/jobs', options)
command = make_simple_command(:post, 'projects/{projectId}/jobs', options)
else
command = make_upload_command(:post, 'projects/{projectId}/jobs', options)
command.upload_source = upload_source
@ -523,7 +523,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_jobs(project_id, all_users: nil, max_creation_time: nil, max_results: nil, min_creation_time: nil, page_token: nil, projection: nil, state_filter: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects/{projectId}/jobs', options)
command = make_simple_command(:get, 'projects/{projectId}/jobs', options)
command.response_representation = Google::Apis::BigqueryV2::JobList::Representation
command.response_class = Google::Apis::BigqueryV2::JobList
command.params['projectId'] = project_id unless project_id.nil?
@ -565,7 +565,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def query_job(project_id, query_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'projects/{projectId}/queries', options)
command = make_simple_command(:post, 'projects/{projectId}/queries', options)
command.request_representation = Google::Apis::BigqueryV2::QueryRequest::Representation
command.request_object = query_request_object
command.response_representation = Google::Apis::BigqueryV2::QueryResponse::Representation
@ -601,7 +601,7 @@ module Google
# @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_service_account(project_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects/{projectId}/serviceAccount', options)
command = make_simple_command(:get, 'projects/{projectId}/serviceAccount', options)
command.response_representation = Google::Apis::BigqueryV2::GetServiceAccountResponse::Representation
command.response_class = Google::Apis::BigqueryV2::GetServiceAccountResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -636,7 +636,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_projects(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects', options)
command = make_simple_command(:get, 'projects', options)
command.response_representation = Google::Apis::BigqueryV2::ProjectList::Representation
command.response_class = Google::Apis::BigqueryV2::ProjectList
command.query['maxResults'] = max_results unless max_results.nil?
@ -676,7 +676,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_all_table_data(project_id, dataset_id, table_id, insert_all_table_data_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/insertAll', options)
command = make_simple_command(:post, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/insertAll', options)
command.request_representation = Google::Apis::BigqueryV2::InsertAllTableDataRequest::Representation
command.request_object = insert_all_table_data_request_object
command.response_representation = Google::Apis::BigqueryV2::InsertAllTableDataResponse::Representation
@ -727,7 +727,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_table_data(project_id, dataset_id, table_id, max_results: nil, page_token: nil, selected_fields: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data', options)
command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data', options)
command.response_representation = Google::Apis::BigqueryV2::TableDataList::Representation
command.response_class = Google::Apis::BigqueryV2::TableDataList
command.params['projectId'] = project_id unless project_id.nil?
@ -771,7 +771,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_table(project_id, dataset_id, table_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
command = make_simple_command(:delete, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
command.params['projectId'] = project_id unless project_id.nil?
command.params['datasetId'] = dataset_id unless dataset_id.nil?
command.params['tableId'] = table_id unless table_id.nil?
@ -813,7 +813,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_table(project_id, dataset_id, table_id, selected_fields: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
command.response_representation = Google::Apis::BigqueryV2::Table::Representation
command.response_class = Google::Apis::BigqueryV2::Table
command.params['projectId'] = project_id unless project_id.nil?
@ -852,7 +852,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_table(project_id, dataset_id, table_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'projects/{projectId}/datasets/{datasetId}/tables', options)
command = make_simple_command(:post, 'projects/{projectId}/datasets/{datasetId}/tables', options)
command.request_representation = Google::Apis::BigqueryV2::Table::Representation
command.request_object = table_object
command.response_representation = Google::Apis::BigqueryV2::Table::Representation
@ -894,7 +894,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_tables(project_id, dataset_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables', options)
command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables', options)
command.response_representation = Google::Apis::BigqueryV2::TableList::Representation
command.response_class = Google::Apis::BigqueryV2::TableList
command.params['projectId'] = project_id unless project_id.nil?
@ -937,7 +937,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_table(project_id, dataset_id, table_id, table_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
command = make_simple_command(:patch, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
command.request_representation = Google::Apis::BigqueryV2::Table::Representation
command.request_object = table_object
command.response_representation = Google::Apis::BigqueryV2::Table::Representation
@ -981,7 +981,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_table(project_id, dataset_id, table_id, table_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
command = make_simple_command(:put, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
command.request_representation = Google::Apis::BigqueryV2::Table::Representation
command.request_object = table_object
command.response_representation = Google::Apis::BigqueryV2::Table::Representation

View File

@ -76,7 +76,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def check_project_data_source_valid_creds(name, check_valid_creds_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:checkValidCreds', options)
command = make_simple_command(:post, 'v1/{+name}:checkValidCreds', options)
command.request_representation = Google::Apis::BigquerydatatransferV1::CheckValidCredsRequest::Representation
command.request_object = check_valid_creds_request_object
command.response_representation = Google::Apis::BigquerydatatransferV1::CheckValidCredsResponse::Representation
@ -110,7 +110,7 @@ module Google
# @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_data_source(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::BigquerydatatransferV1::DataSource::Representation
command.response_class = Google::Apis::BigquerydatatransferV1::DataSource
command.params['name'] = name unless name.nil?
@ -150,7 +150,7 @@ module Google
# @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_data_sources(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/dataSources', options)
command = make_simple_command(:get, 'v1/{+parent}/dataSources', options)
command.response_representation = Google::Apis::BigquerydatatransferV1::ListDataSourcesResponse::Representation
command.response_class = Google::Apis::BigquerydatatransferV1::ListDataSourcesResponse
command.params['parent'] = parent unless parent.nil?
@ -182,7 +182,7 @@ module Google
# @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, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::BigquerydatatransferV1::Location::Representation
command.response_class = Google::Apis::BigquerydatatransferV1::Location
command.params['name'] = name unless name.nil?
@ -218,7 +218,7 @@ module Google
# @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, 'v1/{+name}/locations', options)
command = make_simple_command(:get, 'v1/{+name}/locations', options)
command.response_representation = Google::Apis::BigquerydatatransferV1::ListLocationsResponse::Representation
command.response_class = Google::Apis::BigquerydatatransferV1::ListLocationsResponse
command.params['name'] = name unless name.nil?
@ -258,7 +258,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def check_project_location_data_source_valid_creds(name, check_valid_creds_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:checkValidCreds', options)
command = make_simple_command(:post, 'v1/{+name}:checkValidCreds', options)
command.request_representation = Google::Apis::BigquerydatatransferV1::CheckValidCredsRequest::Representation
command.request_object = check_valid_creds_request_object
command.response_representation = Google::Apis::BigquerydatatransferV1::CheckValidCredsResponse::Representation
@ -292,7 +292,7 @@ module Google
# @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_data_source(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::BigquerydatatransferV1::DataSource::Representation
command.response_class = Google::Apis::BigquerydatatransferV1::DataSource
command.params['name'] = name unless name.nil?
@ -332,7 +332,7 @@ module Google
# @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_data_sources(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/dataSources', options)
command = make_simple_command(:get, 'v1/{+parent}/dataSources', options)
command.response_representation = Google::Apis::BigquerydatatransferV1::ListDataSourcesResponse::Representation
command.response_class = Google::Apis::BigquerydatatransferV1::ListDataSourcesResponse
command.params['parent'] = parent unless parent.nil?
@ -392,7 +392,7 @@ module Google
# @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_transfer_config(parent, transfer_config_object = nil, authorization_code: nil, version_info: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/transferConfigs', options)
command = make_simple_command(:post, 'v1/{+parent}/transferConfigs', options)
command.request_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation
command.request_object = transfer_config_object
command.response_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation
@ -428,7 +428,7 @@ module Google
# @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_transfer_config(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::BigquerydatatransferV1::Empty::Representation
command.response_class = Google::Apis::BigquerydatatransferV1::Empty
command.params['name'] = name unless name.nil?
@ -459,7 +459,7 @@ module Google
# @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_transfer_config(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation
command.response_class = Google::Apis::BigquerydatatransferV1::TransferConfig
command.params['name'] = name unless name.nil?
@ -500,7 +500,7 @@ module Google
# @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_transfer_configs(parent, data_source_ids: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/transferConfigs', options)
command = make_simple_command(:get, 'v1/{+parent}/transferConfigs', options)
command.response_representation = Google::Apis::BigquerydatatransferV1::ListTransferConfigsResponse::Representation
command.response_class = Google::Apis::BigquerydatatransferV1::ListTransferConfigsResponse
command.params['parent'] = parent unless parent.nil?
@ -567,7 +567,7 @@ module Google
# @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_transfer_config(name, transfer_config_object = nil, authorization_code: nil, update_mask: nil, version_info: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation
command.request_object = transfer_config_object
command.response_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation
@ -608,7 +608,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def schedule_project_location_transfer_config_runs(parent, schedule_transfer_runs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}:scheduleRuns', options)
command = make_simple_command(:post, 'v1/{+parent}:scheduleRuns', options)
command.request_representation = Google::Apis::BigquerydatatransferV1::ScheduleTransferRunsRequest::Representation
command.request_object = schedule_transfer_runs_request_object
command.response_representation = Google::Apis::BigquerydatatransferV1::ScheduleTransferRunsResponse::Representation
@ -645,7 +645,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def start_project_location_transfer_config_manual_runs(parent, start_manual_transfer_runs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}:startManualRuns', options)
command = make_simple_command(:post, 'v1/{+parent}:startManualRuns', options)
command.request_representation = Google::Apis::BigquerydatatransferV1::StartManualTransferRunsRequest::Representation
command.request_object = start_manual_transfer_runs_request_object
command.response_representation = Google::Apis::BigquerydatatransferV1::StartManualTransferRunsResponse::Representation
@ -678,7 +678,7 @@ module Google
# @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_transfer_config_run(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::BigquerydatatransferV1::Empty::Representation
command.response_class = Google::Apis::BigquerydatatransferV1::Empty
command.params['name'] = name unless name.nil?
@ -709,7 +709,7 @@ module Google
# @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_transfer_config_run(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::BigquerydatatransferV1::TransferRun::Representation
command.response_class = Google::Apis::BigquerydatatransferV1::TransferRun
command.params['name'] = name unless name.nil?
@ -753,7 +753,7 @@ module Google
# @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_transfer_config_runs(parent, page_size: nil, page_token: nil, run_attempt: nil, states: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/runs', options)
command = make_simple_command(:get, 'v1/{+parent}/runs', options)
command.response_representation = Google::Apis::BigquerydatatransferV1::ListTransferRunsResponse::Representation
command.response_class = Google::Apis::BigquerydatatransferV1::ListTransferRunsResponse
command.params['parent'] = parent unless parent.nil?
@ -799,7 +799,7 @@ module Google
# @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_transfer_config_run_transfer_logs(parent, message_types: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/transferLogs', options)
command = make_simple_command(:get, 'v1/{+parent}/transferLogs', options)
command.response_representation = Google::Apis::BigquerydatatransferV1::ListTransferLogsResponse::Representation
command.response_class = Google::Apis::BigquerydatatransferV1::ListTransferLogsResponse
command.params['parent'] = parent unless parent.nil?
@ -860,7 +860,7 @@ module Google
# @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_transfer_config(parent, transfer_config_object = nil, authorization_code: nil, version_info: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/transferConfigs', options)
command = make_simple_command(:post, 'v1/{+parent}/transferConfigs', options)
command.request_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation
command.request_object = transfer_config_object
command.response_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation
@ -896,7 +896,7 @@ module Google
# @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_transfer_config(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::BigquerydatatransferV1::Empty::Representation
command.response_class = Google::Apis::BigquerydatatransferV1::Empty
command.params['name'] = name unless name.nil?
@ -927,7 +927,7 @@ module Google
# @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_transfer_config(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation
command.response_class = Google::Apis::BigquerydatatransferV1::TransferConfig
command.params['name'] = name unless name.nil?
@ -968,7 +968,7 @@ module Google
# @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_transfer_configs(parent, data_source_ids: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/transferConfigs', options)
command = make_simple_command(:get, 'v1/{+parent}/transferConfigs', options)
command.response_representation = Google::Apis::BigquerydatatransferV1::ListTransferConfigsResponse::Representation
command.response_class = Google::Apis::BigquerydatatransferV1::ListTransferConfigsResponse
command.params['parent'] = parent unless parent.nil?
@ -1035,7 +1035,7 @@ module Google
# @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_transfer_config(name, transfer_config_object = nil, authorization_code: nil, update_mask: nil, version_info: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation
command.request_object = transfer_config_object
command.response_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation
@ -1076,7 +1076,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def schedule_project_transfer_config_runs(parent, schedule_transfer_runs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}:scheduleRuns', options)
command = make_simple_command(:post, 'v1/{+parent}:scheduleRuns', options)
command.request_representation = Google::Apis::BigquerydatatransferV1::ScheduleTransferRunsRequest::Representation
command.request_object = schedule_transfer_runs_request_object
command.response_representation = Google::Apis::BigquerydatatransferV1::ScheduleTransferRunsResponse::Representation
@ -1113,7 +1113,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def start_project_transfer_config_manual_runs(parent, start_manual_transfer_runs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}:startManualRuns', options)
command = make_simple_command(:post, 'v1/{+parent}:startManualRuns', options)
command.request_representation = Google::Apis::BigquerydatatransferV1::StartManualTransferRunsRequest::Representation
command.request_object = start_manual_transfer_runs_request_object
command.response_representation = Google::Apis::BigquerydatatransferV1::StartManualTransferRunsResponse::Representation
@ -1146,7 +1146,7 @@ module Google
# @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_transfer_config_run(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::BigquerydatatransferV1::Empty::Representation
command.response_class = Google::Apis::BigquerydatatransferV1::Empty
command.params['name'] = name unless name.nil?
@ -1177,7 +1177,7 @@ module Google
# @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_transfer_config_run(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::BigquerydatatransferV1::TransferRun::Representation
command.response_class = Google::Apis::BigquerydatatransferV1::TransferRun
command.params['name'] = name unless name.nil?
@ -1221,7 +1221,7 @@ module Google
# @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_transfer_config_runs(parent, page_size: nil, page_token: nil, run_attempt: nil, states: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/runs', options)
command = make_simple_command(:get, 'v1/{+parent}/runs', options)
command.response_representation = Google::Apis::BigquerydatatransferV1::ListTransferRunsResponse::Representation
command.response_class = Google::Apis::BigquerydatatransferV1::ListTransferRunsResponse
command.params['parent'] = parent unless parent.nil?
@ -1267,7 +1267,7 @@ module Google
# @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_transfer_config_run_transfer_logs(parent, message_types: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/transferLogs', options)
command = make_simple_command(:get, 'v1/{+parent}/transferLogs', options)
command.response_representation = Google::Apis::BigquerydatatransferV1::ListTransferLogsResponse::Representation
command.response_class = Google::Apis::BigquerydatatransferV1::ListTransferLogsResponse
command.params['parent'] = parent unless parent.nil?

View File

@ -68,7 +68,7 @@ module Google
# @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, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::BigtableadminV1::Location::Representation
command.response_class = Google::Apis::BigtableadminV1::Location
command.params['name'] = name unless name.nil?
@ -104,7 +104,7 @@ module Google
# @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, 'v1/{+name}/locations', options)
command = make_simple_command(:get, 'v1/{+name}/locations', options)
command.response_representation = Google::Apis::BigtableadminV1::ListLocationsResponse::Representation
command.response_class = Google::Apis::BigtableadminV1::ListLocationsResponse
command.params['name'] = name unless name.nil?

View File

@ -77,7 +77,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+name}:cancel', options)
command = make_simple_command(:post, 'v2/{+name}:cancel', options)
command.response_representation = Google::Apis::BigtableadminV2::Empty::Representation
command.response_class = Google::Apis::BigtableadminV2::Empty
command.params['name'] = name unless name.nil?
@ -110,7 +110,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2/{+name}', options)
command = make_simple_command(:delete, 'v2/{+name}', options)
command.response_representation = Google::Apis::BigtableadminV2::Empty::Representation
command.response_class = Google::Apis::BigtableadminV2::Empty
command.params['name'] = name unless name.nil?
@ -142,7 +142,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}', options)
command = make_simple_command(:get, 'v2/{+name}', options)
command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
command.response_class = Google::Apis::BigtableadminV2::Operation
command.params['name'] = name unless name.nil?
@ -186,7 +186,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_operation_project_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}/operations', options)
command = make_simple_command(:get, 'v2/{+name}/operations', options)
command.response_representation = Google::Apis::BigtableadminV2::ListOperationsResponse::Representation
command.response_class = Google::Apis::BigtableadminV2::ListOperationsResponse
command.params['name'] = name unless name.nil?
@ -221,7 +221,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_instance(parent, create_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+parent}/instances', options)
command = make_simple_command(:post, 'v2/{+parent}/instances', options)
command.request_representation = Google::Apis::BigtableadminV2::CreateInstanceRequest::Representation
command.request_object = create_instance_request_object
command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
@ -254,7 +254,7 @@ module Google
# @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_instance(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2/{+name}', options)
command = make_simple_command(:delete, 'v2/{+name}', options)
command.response_representation = Google::Apis::BigtableadminV2::Empty::Representation
command.response_class = Google::Apis::BigtableadminV2::Empty
command.params['name'] = name unless name.nil?
@ -285,7 +285,7 @@ module Google
# @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_instance(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}', options)
command = make_simple_command(:get, 'v2/{+name}', options)
command.response_representation = Google::Apis::BigtableadminV2::Instance::Representation
command.response_class = Google::Apis::BigtableadminV2::Instance
command.params['name'] = name unless name.nil?
@ -318,7 +318,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_instance_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::BigtableadminV2::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::BigtableadminV2::Policy::Representation
@ -353,7 +353,7 @@ module Google
# @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_instances(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+parent}/instances', options)
command = make_simple_command(:get, 'v2/{+parent}/instances', options)
command.response_representation = Google::Apis::BigtableadminV2::ListInstancesResponse::Representation
command.response_class = Google::Apis::BigtableadminV2::ListInstancesResponse
command.params['parent'] = parent unless parent.nil?
@ -391,7 +391,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def partial_project_instance_update_instance(name, instance_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v2/{+name}', options)
command = make_simple_command(:patch, 'v2/{+name}', options)
command.request_representation = Google::Apis::BigtableadminV2::Instance::Representation
command.request_object = instance_object
command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
@ -427,7 +427,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_instance_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::BigtableadminV2::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::BigtableadminV2::Policy::Representation
@ -461,7 +461,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_instance_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::BigtableadminV2::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::BigtableadminV2::TestIamPermissionsResponse::Representation
@ -498,7 +498,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_instance(name, instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v2/{+name}', options)
command = make_simple_command(:put, 'v2/{+name}', options)
command.request_representation = Google::Apis::BigtableadminV2::Instance::Representation
command.request_object = instance_object
command.response_representation = Google::Apis::BigtableadminV2::Instance::Representation
@ -539,7 +539,7 @@ module Google
# @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_instance_app_profile(parent, app_profile_object = nil, app_profile_id: nil, ignore_warnings: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+parent}/appProfiles', options)
command = make_simple_command(:post, 'v2/{+parent}/appProfiles', options)
command.request_representation = Google::Apis::BigtableadminV2::AppProfile::Representation
command.request_object = app_profile_object
command.response_representation = Google::Apis::BigtableadminV2::AppProfile::Representation
@ -576,7 +576,7 @@ module Google
# @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_instance_app_profile(name, ignore_warnings: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2/{+name}', options)
command = make_simple_command(:delete, 'v2/{+name}', options)
command.response_representation = Google::Apis::BigtableadminV2::Empty::Representation
command.response_class = Google::Apis::BigtableadminV2::Empty
command.params['name'] = name unless name.nil?
@ -608,7 +608,7 @@ module Google
# @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_instance_app_profile(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}', options)
command = make_simple_command(:get, 'v2/{+name}', options)
command.response_representation = Google::Apis::BigtableadminV2::AppProfile::Representation
command.response_class = Google::Apis::BigtableadminV2::AppProfile
command.params['name'] = name unless name.nil?
@ -647,7 +647,7 @@ module Google
# @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_instance_app_profiles(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+parent}/appProfiles', options)
command = make_simple_command(:get, 'v2/{+parent}/appProfiles', options)
command.response_representation = Google::Apis::BigtableadminV2::ListAppProfilesResponse::Representation
command.response_class = Google::Apis::BigtableadminV2::ListAppProfilesResponse
command.params['parent'] = parent unless parent.nil?
@ -687,7 +687,7 @@ module Google
# @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_instance_app_profile(name, app_profile_object = nil, ignore_warnings: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v2/{+name}', options)
command = make_simple_command(:patch, 'v2/{+name}', options)
command.request_representation = Google::Apis::BigtableadminV2::AppProfile::Representation
command.request_object = app_profile_object
command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
@ -728,7 +728,7 @@ module Google
# @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_instance_cluster(parent, cluster_object = nil, cluster_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+parent}/clusters', options)
command = make_simple_command(:post, 'v2/{+parent}/clusters', options)
command.request_representation = Google::Apis::BigtableadminV2::Cluster::Representation
command.request_object = cluster_object
command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
@ -762,7 +762,7 @@ module Google
# @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_instance_cluster(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2/{+name}', options)
command = make_simple_command(:delete, 'v2/{+name}', options)
command.response_representation = Google::Apis::BigtableadminV2::Empty::Representation
command.response_class = Google::Apis::BigtableadminV2::Empty
command.params['name'] = name unless name.nil?
@ -793,7 +793,7 @@ module Google
# @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_instance_cluster(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}', options)
command = make_simple_command(:get, 'v2/{+name}', options)
command.response_representation = Google::Apis::BigtableadminV2::Cluster::Representation
command.response_class = Google::Apis::BigtableadminV2::Cluster
command.params['name'] = name unless name.nil?
@ -828,7 +828,7 @@ module Google
# @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_instance_clusters(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+parent}/clusters', options)
command = make_simple_command(:get, 'v2/{+parent}/clusters', options)
command.response_representation = Google::Apis::BigtableadminV2::ListClustersResponse::Representation
command.response_class = Google::Apis::BigtableadminV2::ListClustersResponse
command.params['parent'] = parent unless parent.nil?
@ -862,7 +862,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_instance_cluster(name, cluster_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v2/{+name}', options)
command = make_simple_command(:put, 'v2/{+name}', options)
command.request_representation = Google::Apis::BigtableadminV2::Cluster::Representation
command.request_object = cluster_object
command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
@ -899,7 +899,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def check_table_consistency(name, check_consistency_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+name}:checkConsistency', options)
command = make_simple_command(:post, 'v2/{+name}:checkConsistency', options)
command.request_representation = Google::Apis::BigtableadminV2::CheckConsistencyRequest::Representation
command.request_object = check_consistency_request_object
command.response_representation = Google::Apis::BigtableadminV2::CheckConsistencyResponse::Representation
@ -935,7 +935,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_table(parent, create_table_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+parent}/tables', options)
command = make_simple_command(:post, 'v2/{+parent}/tables', options)
command.request_representation = Google::Apis::BigtableadminV2::CreateTableRequest::Representation
command.request_object = create_table_request_object
command.response_representation = Google::Apis::BigtableadminV2::Table::Representation
@ -969,7 +969,7 @@ module Google
# @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_instance_table(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2/{+name}', options)
command = make_simple_command(:delete, 'v2/{+name}', options)
command.response_representation = Google::Apis::BigtableadminV2::Empty::Representation
command.response_class = Google::Apis::BigtableadminV2::Empty
command.params['name'] = name unless name.nil?
@ -1004,7 +1004,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def drop_table_row_range(name, drop_row_range_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+name}:dropRowRange', options)
command = make_simple_command(:post, 'v2/{+name}:dropRowRange', options)
command.request_representation = Google::Apis::BigtableadminV2::DropRowRangeRequest::Representation
command.request_object = drop_row_range_request_object
command.response_representation = Google::Apis::BigtableadminV2::Empty::Representation
@ -1042,7 +1042,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def generate_table_consistency_token(name, generate_consistency_token_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+name}:generateConsistencyToken', options)
command = make_simple_command(:post, 'v2/{+name}:generateConsistencyToken', options)
command.request_representation = Google::Apis::BigtableadminV2::GenerateConsistencyTokenRequest::Representation
command.request_object = generate_consistency_token_request_object
command.response_representation = Google::Apis::BigtableadminV2::GenerateConsistencyTokenResponse::Representation
@ -1079,7 +1079,7 @@ module Google
# @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_instance_table(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}', options)
command = make_simple_command(:get, 'v2/{+name}', options)
command.response_representation = Google::Apis::BigtableadminV2::Table::Representation
command.response_class = Google::Apis::BigtableadminV2::Table
command.params['name'] = name unless name.nil?
@ -1113,7 +1113,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_table_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::BigtableadminV2::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::BigtableadminV2::Policy::Representation
@ -1159,7 +1159,7 @@ module Google
# @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_instance_tables(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+parent}/tables', options)
command = make_simple_command(:get, 'v2/{+parent}/tables', options)
command.response_representation = Google::Apis::BigtableadminV2::ListTablesResponse::Representation
command.response_class = Google::Apis::BigtableadminV2::ListTablesResponse
command.params['parent'] = parent unless parent.nil?
@ -1198,7 +1198,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def modify_table_column_families(name, modify_column_families_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+name}:modifyColumnFamilies', options)
command = make_simple_command(:post, 'v2/{+name}:modifyColumnFamilies', options)
command.request_representation = Google::Apis::BigtableadminV2::ModifyColumnFamiliesRequest::Representation
command.request_object = modify_column_families_request_object
command.response_representation = Google::Apis::BigtableadminV2::Table::Representation
@ -1233,7 +1233,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_table_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::BigtableadminV2::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::BigtableadminV2::Policy::Representation
@ -1267,7 +1267,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_table_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::BigtableadminV2::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::BigtableadminV2::TestIamPermissionsResponse::Representation

View File

@ -71,7 +71,7 @@ module Google
# @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_policy(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::BinaryauthorizationV1beta1::Policy::Representation
command.response_class = Google::Apis::BinaryauthorizationV1beta1::Policy
command.params['name'] = name unless name.nil?
@ -107,7 +107,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_policy(name, policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1beta1/{+name}', options)
command = make_simple_command(:put, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::BinaryauthorizationV1beta1::Policy::Representation
command.request_object = policy_object
command.response_representation = Google::Apis::BinaryauthorizationV1beta1::Policy::Representation
@ -145,7 +145,7 @@ module Google
# @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_attestor(parent, attestor_object = nil, attestor_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}/attestors', options)
command = make_simple_command(:post, 'v1beta1/{+parent}/attestors', options)
command.request_representation = Google::Apis::BinaryauthorizationV1beta1::Attestor::Representation
command.request_object = attestor_object
command.response_representation = Google::Apis::BinaryauthorizationV1beta1::Attestor::Representation
@ -180,7 +180,7 @@ module Google
# @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_attestor(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::BinaryauthorizationV1beta1::Empty::Representation
command.response_class = Google::Apis::BinaryauthorizationV1beta1::Empty
command.params['name'] = name unless name.nil?
@ -212,7 +212,7 @@ module Google
# @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_attestor(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::BinaryauthorizationV1beta1::Attestor::Representation
command.response_class = Google::Apis::BinaryauthorizationV1beta1::Attestor
command.params['name'] = name unless name.nil?
@ -245,7 +245,7 @@ module Google
# @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_attestor_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
command.response_representation = Google::Apis::BinaryauthorizationV1beta1::IamPolicy::Representation
command.response_class = Google::Apis::BinaryauthorizationV1beta1::IamPolicy
command.params['resource'] = resource unless resource.nil?
@ -284,7 +284,7 @@ module Google
# @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_attestors(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/attestors', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/attestors', options)
command.response_representation = Google::Apis::BinaryauthorizationV1beta1::ListAttestorsResponse::Representation
command.response_class = Google::Apis::BinaryauthorizationV1beta1::ListAttestorsResponse
command.params['parent'] = parent unless parent.nil?
@ -319,7 +319,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_attestor_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::BinaryauthorizationV1beta1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::BinaryauthorizationV1beta1::IamPolicy::Representation
@ -358,7 +358,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_attestor_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::BinaryauthorizationV1beta1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::BinaryauthorizationV1beta1::TestIamPermissionsResponse::Representation
@ -393,7 +393,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_attestor(name, attestor_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1beta1/{+name}', options)
command = make_simple_command(:put, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::BinaryauthorizationV1beta1::Attestor::Representation
command.request_object = attestor_object
command.response_representation = Google::Apis::BinaryauthorizationV1beta1::Attestor::Representation
@ -428,7 +428,7 @@ module Google
# @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_policy_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
command.response_representation = Google::Apis::BinaryauthorizationV1beta1::IamPolicy::Representation
command.response_class = Google::Apis::BinaryauthorizationV1beta1::IamPolicy
command.params['resource'] = resource unless resource.nil?
@ -461,7 +461,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::BinaryauthorizationV1beta1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::BinaryauthorizationV1beta1::IamPolicy::Representation
@ -500,7 +500,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::BinaryauthorizationV1beta1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::BinaryauthorizationV1beta1::TestIamPermissionsResponse::Representation

View File

@ -74,7 +74,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_blog(blog_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'blogs/{blogId}', options)
command = make_simple_command(:get, 'blogs/{blogId}', options)
command.response_representation = Google::Apis::BloggerV2::Blog::Representation
command.response_class = Google::Apis::BloggerV2::Blog
command.params['blogId'] = blog_id unless blog_id.nil?
@ -111,7 +111,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_comment(blog_id, post_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}/comments/{commentId}', options)
command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}/comments/{commentId}', options)
command.response_representation = Google::Apis::BloggerV2::Comment::Representation
command.response_class = Google::Apis::BloggerV2::Comment
command.params['blogId'] = blog_id unless blog_id.nil?
@ -156,7 +156,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_comments(blog_id, post_id, fetch_bodies: nil, max_results: nil, page_token: nil, start_date: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}/comments', options)
command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}/comments', options)
command.response_representation = Google::Apis::BloggerV2::CommentList::Representation
command.response_class = Google::Apis::BloggerV2::CommentList
command.params['blogId'] = blog_id unless blog_id.nil?
@ -196,7 +196,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_page(blog_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'blogs/{blogId}/pages/{pageId}', options)
command = make_simple_command(:get, 'blogs/{blogId}/pages/{pageId}', options)
command.response_representation = Google::Apis::BloggerV2::Page::Representation
command.response_class = Google::Apis::BloggerV2::Page
command.params['blogId'] = blog_id unless blog_id.nil?
@ -232,7 +232,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_pages(blog_id, fetch_bodies: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'blogs/{blogId}/pages', options)
command = make_simple_command(:get, 'blogs/{blogId}/pages', options)
command.response_representation = Google::Apis::BloggerV2::PageList::Representation
command.response_class = Google::Apis::BloggerV2::PageList
command.params['blogId'] = blog_id unless blog_id.nil?
@ -268,7 +268,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_post(blog_id, post_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}', options)
command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}', options)
command.response_representation = Google::Apis::BloggerV2::Post::Representation
command.response_class = Google::Apis::BloggerV2::Post
command.params['blogId'] = blog_id unless blog_id.nil?
@ -310,7 +310,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_posts(blog_id, fetch_bodies: nil, max_results: nil, page_token: nil, start_date: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'blogs/{blogId}/posts', options)
command = make_simple_command(:get, 'blogs/{blogId}/posts', options)
command.response_representation = Google::Apis::BloggerV2::PostList::Representation
command.response_class = Google::Apis::BloggerV2::PostList
command.params['blogId'] = blog_id unless blog_id.nil?
@ -347,7 +347,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_user(user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/{userId}', options)
command = make_simple_command(:get, 'users/{userId}', options)
command.response_representation = Google::Apis::BloggerV2::User::Representation
command.response_class = Google::Apis::BloggerV2::User
command.params['userId'] = user_id unless user_id.nil?
@ -381,7 +381,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_user_blogs(user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/{userId}/blogs', options)
command = make_simple_command(:get, 'users/{userId}/blogs', options)
command.response_representation = Google::Apis::BloggerV2::BlogList::Representation
command.response_class = Google::Apis::BloggerV2::BlogList
command.params['userId'] = user_id unless user_id.nil?

View File

@ -79,7 +79,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_blog_user_info(user_id, blog_id, max_posts: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/{userId}/blogs/{blogId}', options)
command = make_simple_command(:get, 'users/{userId}/blogs/{blogId}', options)
command.response_representation = Google::Apis::BloggerV3::BlogUserInfo::Representation
command.response_class = Google::Apis::BloggerV3::BlogUserInfo
command.params['userId'] = user_id unless user_id.nil?
@ -119,7 +119,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_blog(blog_id, max_posts: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'blogs/{blogId}', options)
command = make_simple_command(:get, 'blogs/{blogId}', options)
command.response_representation = Google::Apis::BloggerV3::Blog::Representation
command.response_class = Google::Apis::BloggerV3::Blog
command.params['blogId'] = blog_id unless blog_id.nil?
@ -157,7 +157,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_blog_by_url(url, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'blogs/byurl', options)
command = make_simple_command(:get, 'blogs/byurl', options)
command.response_representation = Google::Apis::BloggerV3::Blog::Representation
command.response_class = Google::Apis::BloggerV3::Blog
command.query['url'] = url unless url.nil?
@ -205,7 +205,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_blogs_by_user(user_id, fetch_user_info: nil, role: nil, status: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/{userId}/blogs', options)
command = make_simple_command(:get, 'users/{userId}/blogs', options)
command.response_representation = Google::Apis::BloggerV3::BlogList::Representation
command.response_class = Google::Apis::BloggerV3::BlogList
command.params['userId'] = user_id unless user_id.nil?
@ -246,7 +246,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def approve_comment(blog_id, post_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/comments/{commentId}/approve', options)
command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/comments/{commentId}/approve', options)
command.response_representation = Google::Apis::BloggerV3::Comment::Representation
command.response_class = Google::Apis::BloggerV3::Comment
command.params['blogId'] = blog_id unless blog_id.nil?
@ -285,7 +285,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_comment(blog_id, post_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'blogs/{blogId}/posts/{postId}/comments/{commentId}', options)
command = make_simple_command(:delete, 'blogs/{blogId}/posts/{postId}/comments/{commentId}', options)
command.params['blogId'] = blog_id unless blog_id.nil?
command.params['postId'] = post_id unless post_id.nil?
command.params['commentId'] = comment_id unless comment_id.nil?
@ -327,7 +327,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_comment(blog_id, post_id, comment_id, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}/comments/{commentId}', options)
command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}/comments/{commentId}', options)
command.response_representation = Google::Apis::BloggerV3::Comment::Representation
command.response_class = Google::Apis::BloggerV3::Comment
command.params['blogId'] = blog_id unless blog_id.nil?
@ -379,7 +379,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_comments(blog_id, post_id, end_date: nil, fetch_bodies: nil, max_results: nil, page_token: nil, start_date: nil, status: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}/comments', options)
command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}/comments', options)
command.response_representation = Google::Apis::BloggerV3::CommentList::Representation
command.response_class = Google::Apis::BloggerV3::CommentList
command.params['blogId'] = blog_id unless blog_id.nil?
@ -431,7 +431,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_comments_by_blog(blog_id, end_date: nil, fetch_bodies: nil, max_results: nil, page_token: nil, start_date: nil, status: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'blogs/{blogId}/comments', options)
command = make_simple_command(:get, 'blogs/{blogId}/comments', options)
command.response_representation = Google::Apis::BloggerV3::CommentList::Representation
command.response_class = Google::Apis::BloggerV3::CommentList
command.params['blogId'] = blog_id unless blog_id.nil?
@ -474,7 +474,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def mark_comment_as_spam(blog_id, post_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/comments/{commentId}/spam', options)
command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/comments/{commentId}/spam', options)
command.response_representation = Google::Apis::BloggerV3::Comment::Representation
command.response_class = Google::Apis::BloggerV3::Comment
command.params['blogId'] = blog_id unless blog_id.nil?
@ -513,7 +513,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def remove_comment_content(blog_id, post_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent', options)
command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent', options)
command.response_representation = Google::Apis::BloggerV3::Comment::Representation
command.response_class = Google::Apis::BloggerV3::Comment
command.params['blogId'] = blog_id unless blog_id.nil?
@ -549,7 +549,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_page_view(blog_id, range: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'blogs/{blogId}/pageviews', options)
command = make_simple_command(:get, 'blogs/{blogId}/pageviews', options)
command.response_representation = Google::Apis::BloggerV3::Pageviews::Representation
command.response_class = Google::Apis::BloggerV3::Pageviews
command.params['blogId'] = blog_id unless blog_id.nil?
@ -585,7 +585,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_page(blog_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'blogs/{blogId}/pages/{pageId}', options)
command = make_simple_command(:delete, 'blogs/{blogId}/pages/{pageId}', options)
command.params['blogId'] = blog_id unless blog_id.nil?
command.params['pageId'] = page_id unless page_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -620,7 +620,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_page(blog_id, page_id, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'blogs/{blogId}/pages/{pageId}', options)
command = make_simple_command(:get, 'blogs/{blogId}/pages/{pageId}', options)
command.response_representation = Google::Apis::BloggerV3::Page::Representation
command.response_class = Google::Apis::BloggerV3::Page
command.params['blogId'] = blog_id unless blog_id.nil?
@ -658,7 +658,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_page(blog_id, page_object = nil, is_draft: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'blogs/{blogId}/pages', options)
command = make_simple_command(:post, 'blogs/{blogId}/pages', options)
command.request_representation = Google::Apis::BloggerV3::Page::Representation
command.request_object = page_object
command.response_representation = Google::Apis::BloggerV3::Page::Representation
@ -704,7 +704,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_pages(blog_id, fetch_bodies: nil, max_results: nil, page_token: nil, status: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'blogs/{blogId}/pages', options)
command = make_simple_command(:get, 'blogs/{blogId}/pages', options)
command.response_representation = Google::Apis::BloggerV3::PageList::Representation
command.response_class = Google::Apis::BloggerV3::PageList
command.params['blogId'] = blog_id unless blog_id.nil?
@ -751,7 +751,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_page(blog_id, page_id, page_object = nil, publish: nil, revert: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'blogs/{blogId}/pages/{pageId}', options)
command = make_simple_command(:patch, 'blogs/{blogId}/pages/{pageId}', options)
command.request_representation = Google::Apis::BloggerV3::Page::Representation
command.request_object = page_object
command.response_representation = Google::Apis::BloggerV3::Page::Representation
@ -791,7 +791,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def publish_page(blog_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'blogs/{blogId}/pages/{pageId}/publish', options)
command = make_simple_command(:post, 'blogs/{blogId}/pages/{pageId}/publish', options)
command.response_representation = Google::Apis::BloggerV3::Page::Representation
command.response_class = Google::Apis::BloggerV3::Page
command.params['blogId'] = blog_id unless blog_id.nil?
@ -827,7 +827,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def revert_page(blog_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'blogs/{blogId}/pages/{pageId}/revert', options)
command = make_simple_command(:post, 'blogs/{blogId}/pages/{pageId}/revert', options)
command.response_representation = Google::Apis::BloggerV3::Page::Representation
command.response_class = Google::Apis::BloggerV3::Page
command.params['blogId'] = blog_id unless blog_id.nil?
@ -870,7 +870,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_page(blog_id, page_id, page_object = nil, publish: nil, revert: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'blogs/{blogId}/pages/{pageId}', options)
command = make_simple_command(:put, 'blogs/{blogId}/pages/{pageId}', options)
command.request_representation = Google::Apis::BloggerV3::Page::Representation
command.request_object = page_object
command.response_representation = Google::Apis::BloggerV3::Page::Representation
@ -917,7 +917,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_post_user_info(user_id, blog_id, post_id, max_comments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/{userId}/blogs/{blogId}/posts/{postId}', options)
command = make_simple_command(:get, 'users/{userId}/blogs/{blogId}/posts/{postId}', options)
command.response_representation = Google::Apis::BloggerV3::PostUserInfo::Representation
command.response_class = Google::Apis::BloggerV3::PostUserInfo
command.params['userId'] = user_id unless user_id.nil?
@ -976,7 +976,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_post_user_info(user_id, blog_id, end_date: nil, fetch_bodies: nil, labels: nil, max_results: nil, order_by: nil, page_token: nil, start_date: nil, status: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/{userId}/blogs/{blogId}/posts', options)
command = make_simple_command(:get, 'users/{userId}/blogs/{blogId}/posts', options)
command.response_representation = Google::Apis::BloggerV3::PostUserInfosList::Representation
command.response_class = Google::Apis::BloggerV3::PostUserInfosList
command.params['userId'] = user_id unless user_id.nil?
@ -1021,7 +1021,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_post(blog_id, post_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'blogs/{blogId}/posts/{postId}', options)
command = make_simple_command(:delete, 'blogs/{blogId}/posts/{postId}', options)
command.params['blogId'] = blog_id unless blog_id.nil?
command.params['postId'] = post_id unless post_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -1066,7 +1066,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_post(blog_id, post_id, fetch_body: nil, fetch_images: nil, max_comments: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}', options)
command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}', options)
command.response_representation = Google::Apis::BloggerV3::Post::Representation
command.response_class = Google::Apis::BloggerV3::Post
command.params['blogId'] = blog_id unless blog_id.nil?
@ -1111,7 +1111,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_post_by_path(blog_id, path, max_comments: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'blogs/{blogId}/posts/bypath', options)
command = make_simple_command(:get, 'blogs/{blogId}/posts/bypath', options)
command.response_representation = Google::Apis::BloggerV3::Post::Representation
command.response_class = Google::Apis::BloggerV3::Post
command.params['blogId'] = blog_id unless blog_id.nil?
@ -1156,7 +1156,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_post(blog_id, post_object = nil, fetch_body: nil, fetch_images: nil, is_draft: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'blogs/{blogId}/posts', options)
command = make_simple_command(:post, 'blogs/{blogId}/posts', options)
command.request_representation = Google::Apis::BloggerV3::Post::Representation
command.request_object = post_object
command.response_representation = Google::Apis::BloggerV3::Post::Representation
@ -1216,7 +1216,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_posts(blog_id, end_date: nil, fetch_bodies: nil, fetch_images: nil, labels: nil, max_results: nil, order_by: nil, page_token: nil, start_date: nil, status: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'blogs/{blogId}/posts', options)
command = make_simple_command(:get, 'blogs/{blogId}/posts', options)
command.response_representation = Google::Apis::BloggerV3::PostList::Representation
command.response_class = Google::Apis::BloggerV3::PostList
command.params['blogId'] = blog_id unless blog_id.nil?
@ -1276,7 +1276,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_post(blog_id, post_id, post_object = nil, fetch_body: nil, fetch_images: nil, max_comments: nil, publish: nil, revert: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'blogs/{blogId}/posts/{postId}', options)
command = make_simple_command(:patch, 'blogs/{blogId}/posts/{postId}', options)
command.request_representation = Google::Apis::BloggerV3::Post::Representation
command.request_object = post_object
command.response_representation = Google::Apis::BloggerV3::Post::Representation
@ -1325,7 +1325,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def publish_post(blog_id, post_id, publish_date: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/publish', options)
command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/publish', options)
command.response_representation = Google::Apis::BloggerV3::Post::Representation
command.response_class = Google::Apis::BloggerV3::Post
command.params['blogId'] = blog_id unless blog_id.nil?
@ -1362,7 +1362,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def revert_post(blog_id, post_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/revert', options)
command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/revert', options)
command.response_representation = Google::Apis::BloggerV3::Post::Representation
command.response_class = Google::Apis::BloggerV3::Post
command.params['blogId'] = blog_id unless blog_id.nil?
@ -1403,7 +1403,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_posts(blog_id, q, fetch_bodies: nil, order_by: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'blogs/{blogId}/posts/search', options)
command = make_simple_command(:get, 'blogs/{blogId}/posts/search', options)
command.response_representation = Google::Apis::BloggerV3::PostList::Representation
command.response_class = Google::Apis::BloggerV3::PostList
command.params['blogId'] = blog_id unless blog_id.nil?
@ -1456,7 +1456,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_post(blog_id, post_id, post_object = nil, fetch_body: nil, fetch_images: nil, max_comments: nil, publish: nil, revert: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'blogs/{blogId}/posts/{postId}', options)
command = make_simple_command(:put, 'blogs/{blogId}/posts/{postId}', options)
command.request_representation = Google::Apis::BloggerV3::Post::Representation
command.request_object = post_object
command.response_representation = Google::Apis::BloggerV3::Post::Representation
@ -1497,7 +1497,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_user(user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/{userId}', options)
command = make_simple_command(:get, 'users/{userId}', options)
command.response_representation = Google::Apis::BloggerV3::User::Representation
command.response_class = Google::Apis::BloggerV3::User
command.params['userId'] = user_id unless user_id.nil?

View File

@ -78,7 +78,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_bookshelf(user_id, shelf, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/{userId}/bookshelves/{shelf}', options)
command = make_simple_command(:get, 'users/{userId}/bookshelves/{shelf}', options)
command.response_representation = Google::Apis::BooksV1::Bookshelf::Representation
command.response_class = Google::Apis::BooksV1::Bookshelf
command.params['userId'] = user_id unless user_id.nil?
@ -115,7 +115,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bookshelves(user_id, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/{userId}/bookshelves', options)
command = make_simple_command(:get, 'users/{userId}/bookshelves', options)
command.response_representation = Google::Apis::BooksV1::Bookshelves::Representation
command.response_class = Google::Apis::BooksV1::Bookshelves
command.params['userId'] = user_id unless user_id.nil?
@ -159,7 +159,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bookshelf_volumes(user_id, shelf, max_results: nil, show_preorders: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/{userId}/bookshelves/{shelf}/volumes', options)
command = make_simple_command(:get, 'users/{userId}/bookshelves/{shelf}/volumes', options)
command.response_representation = Google::Apis::BooksV1::Volumes::Representation
command.response_class = Google::Apis::BooksV1::Volumes
command.params['userId'] = user_id unless user_id.nil?
@ -202,7 +202,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def add_book(drive_document_id: nil, mime_type: nil, name: nil, upload_client_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'cloudloading/addBook', options)
command = make_simple_command(:post, 'cloudloading/addBook', options)
command.response_representation = Google::Apis::BooksV1::LoadingResource::Representation
command.response_class = Google::Apis::BooksV1::LoadingResource
command.query['drive_document_id'] = drive_document_id unless drive_document_id.nil?
@ -238,7 +238,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_book(volume_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'cloudloading/deleteBook', options)
command = make_simple_command(:post, 'cloudloading/deleteBook', options)
command.query['volumeId'] = volume_id unless volume_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -268,7 +268,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_book(loading_resource_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'cloudloading/updateBook', options)
command = make_simple_command(:post, 'cloudloading/updateBook', options)
command.request_representation = Google::Apis::BooksV1::LoadingResource::Representation
command.request_object = loading_resource_object
command.response_representation = Google::Apis::BooksV1::LoadingResource::Representation
@ -302,7 +302,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_offline_metadata_dictionary(cpksver, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'dictionary/listOfflineMetadata', options)
command = make_simple_command(:get, 'dictionary/listOfflineMetadata', options)
command.response_representation = Google::Apis::BooksV1::Metadata::Representation
command.response_class = Google::Apis::BooksV1::Metadata
command.query['cpksver'] = cpksver unless cpksver.nil?
@ -335,7 +335,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_familysharing_family_info(source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'familysharing/getFamilyInfo', options)
command = make_simple_command(:get, 'familysharing/getFamilyInfo', options)
command.response_representation = Google::Apis::BooksV1::FamilyInfo::Representation
command.response_class = Google::Apis::BooksV1::FamilyInfo
command.query['source'] = source unless source.nil?
@ -373,7 +373,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def share_familysharing(doc_id: nil, source: nil, volume_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'familysharing/share', options)
command = make_simple_command(:post, 'familysharing/share', options)
command.query['docId'] = doc_id unless doc_id.nil?
command.query['source'] = source unless source.nil?
command.query['volumeId'] = volume_id unless volume_id.nil?
@ -411,7 +411,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def unshare_familysharing(doc_id: nil, source: nil, volume_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'familysharing/unshare', options)
command = make_simple_command(:post, 'familysharing/unshare', options)
command.query['docId'] = doc_id unless doc_id.nil?
command.query['source'] = source unless source.nil?
command.query['volumeId'] = volume_id unless volume_id.nil?
@ -450,7 +450,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_layer(volume_id, summary_id, content_version: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'volumes/{volumeId}/layersummary/{summaryId}', options)
command = make_simple_command(:get, 'volumes/{volumeId}/layersummary/{summaryId}', options)
command.response_representation = Google::Apis::BooksV1::LayerSummary::Representation
command.response_class = Google::Apis::BooksV1::LayerSummary
command.params['volumeId'] = volume_id unless volume_id.nil?
@ -494,7 +494,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_layers(volume_id, content_version: nil, max_results: nil, page_token: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'volumes/{volumeId}/layersummary', options)
command = make_simple_command(:get, 'volumes/{volumeId}/layersummary', options)
command.response_representation = Google::Apis::BooksV1::LayerSummaries::Representation
command.response_class = Google::Apis::BooksV1::LayerSummaries
command.params['volumeId'] = volume_id unless volume_id.nil?
@ -552,7 +552,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_layer_annotation_data(volume_id, layer_id, annotation_data_id, content_version, allow_web_definitions: nil, h: nil, locale: nil, scale: nil, source: nil, w: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}', options)
command = make_simple_command(:get, 'volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}', options)
command.response_representation = Google::Apis::BooksV1::AnnotationData::Representation
command.response_class = Google::Apis::BooksV1::AnnotationData
command.params['volumeId'] = volume_id unless volume_id.nil?
@ -624,7 +624,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_layer_annotation_data(volume_id, layer_id, content_version, annotation_data_id: nil, h: nil, locale: nil, max_results: nil, page_token: nil, scale: nil, source: nil, updated_max: nil, updated_min: nil, w: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'volumes/{volumeId}/layers/{layerId}/data', options)
command = make_simple_command(:get, 'volumes/{volumeId}/layers/{layerId}/data', options)
command.response_representation = Google::Apis::BooksV1::AnnotationsData::Representation
command.response_class = Google::Apis::BooksV1::AnnotationsData
command.params['volumeId'] = volume_id unless volume_id.nil?
@ -678,7 +678,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_layer_volume_annotation(volume_id, layer_id, annotation_id, locale: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}', options)
command = make_simple_command(:get, 'volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}', options)
command.response_representation = Google::Apis::BooksV1::VolumeAnnotation::Representation
command.response_class = Google::Apis::BooksV1::VolumeAnnotation
command.params['volumeId'] = volume_id unless volume_id.nil?
@ -747,7 +747,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_layer_volume_annotations(volume_id, layer_id, content_version, end_offset: nil, end_position: nil, locale: nil, max_results: nil, page_token: nil, show_deleted: nil, source: nil, start_offset: nil, start_position: nil, updated_max: nil, updated_min: nil, volume_annotations_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'volumes/{volumeId}/layers/{layerId}', options)
command = make_simple_command(:get, 'volumes/{volumeId}/layers/{layerId}', options)
command.response_representation = Google::Apis::BooksV1::Volumeannotations::Representation
command.response_class = Google::Apis::BooksV1::Volumeannotations
command.params['volumeId'] = volume_id unless volume_id.nil?
@ -792,7 +792,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_user_settings(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'myconfig/getUserSettings', options)
command = make_simple_command(:get, 'myconfig/getUserSettings', options)
command.response_representation = Google::Apis::BooksV1::UserSettings::Representation
command.response_class = Google::Apis::BooksV1::UserSettings
command.query['fields'] = fields unless fields.nil?
@ -830,7 +830,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def release_download_access(volume_ids, cpksver, locale: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'myconfig/releaseDownloadAccess', options)
command = make_simple_command(:post, 'myconfig/releaseDownloadAccess', options)
command.response_representation = Google::Apis::BooksV1::DownloadAccesses::Representation
command.response_class = Google::Apis::BooksV1::DownloadAccesses
command.query['cpksver'] = cpksver unless cpksver.nil?
@ -876,7 +876,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def request_access(source, volume_id, nonce, cpksver, license_types: nil, locale: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'myconfig/requestAccess', options)
command = make_simple_command(:post, 'myconfig/requestAccess', options)
command.response_representation = Google::Apis::BooksV1::RequestAccess::Representation
command.response_class = Google::Apis::BooksV1::RequestAccess
command.query['cpksver'] = cpksver unless cpksver.nil?
@ -928,7 +928,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def sync_volume_licenses(source, nonce, cpksver, features: nil, include_non_comics_series: nil, locale: nil, show_preorders: nil, volume_ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'myconfig/syncVolumeLicenses', options)
command = make_simple_command(:post, 'myconfig/syncVolumeLicenses', options)
command.response_representation = Google::Apis::BooksV1::Volumes::Representation
command.response_class = Google::Apis::BooksV1::Volumes
command.query['cpksver'] = cpksver unless cpksver.nil?
@ -969,7 +969,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_user_settings(user_settings_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'myconfig/updateUserSettings', options)
command = make_simple_command(:post, 'myconfig/updateUserSettings', options)
command.request_representation = Google::Apis::BooksV1::UserSettings::Representation
command.request_object = user_settings_object
command.response_representation = Google::Apis::BooksV1::UserSettings::Representation
@ -1005,7 +1005,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_my_library_annotation(annotation_id, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'mylibrary/annotations/{annotationId}', options)
command = make_simple_command(:delete, 'mylibrary/annotations/{annotationId}', options)
command.params['annotationId'] = annotation_id unless annotation_id.nil?
command.query['source'] = source unless source.nil?
command.query['fields'] = fields unless fields.nil?
@ -1045,7 +1045,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_my_library_annotation(annotation_object = nil, annotation_id: nil, country: nil, show_only_summary_in_response: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'mylibrary/annotations', options)
command = make_simple_command(:post, 'mylibrary/annotations', options)
command.request_representation = Google::Apis::BooksV1::Annotation::Representation
command.request_object = annotation_object
command.response_representation = Google::Apis::BooksV1::Annotation::Representation
@ -1104,7 +1104,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_my_library_annotations(content_version: nil, layer_id: nil, layer_ids: nil, max_results: nil, page_token: nil, show_deleted: nil, source: nil, updated_max: nil, updated_min: nil, volume_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'mylibrary/annotations', options)
command = make_simple_command(:get, 'mylibrary/annotations', options)
command.response_representation = Google::Apis::BooksV1::Annotations::Representation
command.response_class = Google::Apis::BooksV1::Annotations
command.query['contentVersion'] = content_version unless content_version.nil?
@ -1148,7 +1148,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def summarize_my_library_annotation(layer_ids, volume_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'mylibrary/annotations/summary', options)
command = make_simple_command(:post, 'mylibrary/annotations/summary', options)
command.response_representation = Google::Apis::BooksV1::AnnotationsSummary::Representation
command.response_class = Google::Apis::BooksV1::AnnotationsSummary
command.query['layerIds'] = layer_ids unless layer_ids.nil?
@ -1185,7 +1185,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_my_library_annotation(annotation_id, annotation_object = nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'mylibrary/annotations/{annotationId}', options)
command = make_simple_command(:put, 'mylibrary/annotations/{annotationId}', options)
command.request_representation = Google::Apis::BooksV1::Annotation::Representation
command.request_object = annotation_object
command.response_representation = Google::Apis::BooksV1::Annotation::Representation
@ -1227,7 +1227,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def add_my_library_volume(shelf, volume_id, reason: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'mylibrary/bookshelves/{shelf}/addVolume', options)
command = make_simple_command(:post, 'mylibrary/bookshelves/{shelf}/addVolume', options)
command.params['shelf'] = shelf unless shelf.nil?
command.query['reason'] = reason unless reason.nil?
command.query['source'] = source unless source.nil?
@ -1263,7 +1263,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def clear_my_library_volumes(shelf, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'mylibrary/bookshelves/{shelf}/clearVolumes', options)
command = make_simple_command(:post, 'mylibrary/bookshelves/{shelf}/clearVolumes', options)
command.params['shelf'] = shelf unless shelf.nil?
command.query['source'] = source unless source.nil?
command.query['fields'] = fields unless fields.nil?
@ -1298,7 +1298,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_my_library_bookshelf(shelf, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'mylibrary/bookshelves/{shelf}', options)
command = make_simple_command(:get, 'mylibrary/bookshelves/{shelf}', options)
command.response_representation = Google::Apis::BooksV1::Bookshelf::Representation
command.response_class = Google::Apis::BooksV1::Bookshelf
command.params['shelf'] = shelf unless shelf.nil?
@ -1332,7 +1332,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_my_library_bookshelves(source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'mylibrary/bookshelves', options)
command = make_simple_command(:get, 'mylibrary/bookshelves', options)
command.response_representation = Google::Apis::BooksV1::Bookshelves::Representation
command.response_class = Google::Apis::BooksV1::Bookshelves
command.query['source'] = source unless source.nil?
@ -1372,7 +1372,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def move_my_library_volume(shelf, volume_id, volume_position, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'mylibrary/bookshelves/{shelf}/moveVolume', options)
command = make_simple_command(:post, 'mylibrary/bookshelves/{shelf}/moveVolume', options)
command.params['shelf'] = shelf unless shelf.nil?
command.query['source'] = source unless source.nil?
command.query['volumeId'] = volume_id unless volume_id.nil?
@ -1412,7 +1412,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def remove_my_library_volume(shelf, volume_id, reason: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'mylibrary/bookshelves/{shelf}/removeVolume', options)
command = make_simple_command(:post, 'mylibrary/bookshelves/{shelf}/removeVolume', options)
command.params['shelf'] = shelf unless shelf.nil?
command.query['reason'] = reason unless reason.nil?
command.query['source'] = source unless source.nil?
@ -1460,7 +1460,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_my_library_volumes(shelf, country: nil, max_results: nil, projection: nil, q: nil, show_preorders: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'mylibrary/bookshelves/{shelf}/volumes', options)
command = make_simple_command(:get, 'mylibrary/bookshelves/{shelf}/volumes', options)
command.response_representation = Google::Apis::BooksV1::Volumes::Representation
command.response_class = Google::Apis::BooksV1::Volumes
command.params['shelf'] = shelf unless shelf.nil?
@ -1504,7 +1504,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_my_library_reading_position(volume_id, content_version: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'mylibrary/readingpositions/{volumeId}', options)
command = make_simple_command(:get, 'mylibrary/readingpositions/{volumeId}', options)
command.response_representation = Google::Apis::BooksV1::ReadingPosition::Representation
command.response_class = Google::Apis::BooksV1::ReadingPosition
command.params['volumeId'] = volume_id unless volume_id.nil?
@ -1551,7 +1551,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_my_library_reading_position(volume_id, timestamp, position, action: nil, content_version: nil, device_cookie: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'mylibrary/readingpositions/{volumeId}/setPosition', options)
command = make_simple_command(:post, 'mylibrary/readingpositions/{volumeId}/setPosition', options)
command.params['volumeId'] = volume_id unless volume_id.nil?
command.query['action'] = action unless action.nil?
command.query['contentVersion'] = content_version unless content_version.nil?
@ -1593,7 +1593,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_notification(notification_id, locale: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'notification/get', options)
command = make_simple_command(:get, 'notification/get', options)
command.response_representation = Google::Apis::BooksV1::Notification::Representation
command.response_class = Google::Apis::BooksV1::Notification
command.query['locale'] = locale unless locale.nil?
@ -1628,7 +1628,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_onboarding_categories(locale: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'onboarding/listCategories', options)
command = make_simple_command(:get, 'onboarding/listCategories', options)
command.response_representation = Google::Apis::BooksV1::Category::Representation
command.response_class = Google::Apis::BooksV1::Category
command.query['locale'] = locale unless locale.nil?
@ -1670,7 +1670,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_onboarding_category_volumes(category_id: nil, locale: nil, max_allowed_maturity_rating: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'onboarding/listCategoryVolumes', options)
command = make_simple_command(:get, 'onboarding/listCategoryVolumes', options)
command.response_representation = Google::Apis::BooksV1::Volume2::Representation
command.response_class = Google::Apis::BooksV1::Volume2
command.query['categoryId'] = category_id unless category_id.nil?
@ -1713,7 +1713,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_personalizedstream(locale: nil, max_allowed_maturity_rating: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'personalizedstream/get', options)
command = make_simple_command(:get, 'personalizedstream/get', options)
command.response_representation = Google::Apis::BooksV1::Discoveryclusters::Representation
command.response_class = Google::Apis::BooksV1::Discoveryclusters
command.query['locale'] = locale unless locale.nil?
@ -1761,7 +1761,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def accept_promo_offer(android_id: nil, device: nil, manufacturer: nil, model: nil, offer_id: nil, product: nil, serial: nil, volume_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'promooffer/accept', options)
command = make_simple_command(:post, 'promooffer/accept', options)
command.query['androidId'] = android_id unless android_id.nil?
command.query['device'] = device unless device.nil?
command.query['manufacturer'] = manufacturer unless manufacturer.nil?
@ -1811,7 +1811,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def dismiss_promo_offer(android_id: nil, device: nil, manufacturer: nil, model: nil, offer_id: nil, product: nil, serial: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'promooffer/dismiss', options)
command = make_simple_command(:post, 'promooffer/dismiss', options)
command.query['androidId'] = android_id unless android_id.nil?
command.query['device'] = device unless device.nil?
command.query['manufacturer'] = manufacturer unless manufacturer.nil?
@ -1858,7 +1858,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_promo_offer(android_id: nil, device: nil, manufacturer: nil, model: nil, product: nil, serial: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'promooffer/get', options)
command = make_simple_command(:get, 'promooffer/get', options)
command.response_representation = Google::Apis::BooksV1::Offers::Representation
command.response_class = Google::Apis::BooksV1::Offers
command.query['androidId'] = android_id unless android_id.nil?
@ -1896,7 +1896,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_series(series_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'series/get', options)
command = make_simple_command(:get, 'series/get', options)
command.response_representation = Google::Apis::BooksV1::Series::Representation
command.response_class = Google::Apis::BooksV1::Series
command.query['series_id'] = series_id unless series_id.nil?
@ -1933,7 +1933,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_series_membership(series_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'series/membership/get', options)
command = make_simple_command(:get, 'series/membership/get', options)
command.response_representation = Google::Apis::BooksV1::SeriesMembership::Representation
command.response_class = Google::Apis::BooksV1::SeriesMembership
command.query['page_size'] = page_size unless page_size.nil?
@ -1979,7 +1979,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_volume(volume_id, country: nil, include_non_comics_series: nil, partner: nil, projection: nil, source: nil, user_library_consistent_read: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'volumes/{volumeId}', options)
command = make_simple_command(:get, 'volumes/{volumeId}', options)
command.response_representation = Google::Apis::BooksV1::Volume::Representation
command.response_class = Google::Apis::BooksV1::Volume
command.params['volumeId'] = volume_id unless volume_id.nil?
@ -2045,7 +2045,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_volumes(q, download: nil, filter: nil, lang_restrict: nil, library_restrict: nil, max_allowed_maturity_rating: nil, max_results: nil, order_by: nil, partner: nil, print_type: nil, projection: nil, show_preorders: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'volumes', options)
command = make_simple_command(:get, 'volumes', options)
command.response_representation = Google::Apis::BooksV1::Volumes::Representation
command.response_class = Google::Apis::BooksV1::Volumes
command.query['download'] = download unless download.nil?
@ -2101,7 +2101,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_associated_volumes(volume_id, association: nil, locale: nil, max_allowed_maturity_rating: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'volumes/{volumeId}/associated', options)
command = make_simple_command(:get, 'volumes/{volumeId}/associated', options)
command.response_representation = Google::Apis::BooksV1::Volumes::Representation
command.response_class = Google::Apis::BooksV1::Volumes
command.params['volumeId'] = volume_id unless volume_id.nil?
@ -2152,7 +2152,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_my_books(acquire_method: nil, country: nil, locale: nil, max_results: nil, processing_state: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'volumes/mybooks', options)
command = make_simple_command(:get, 'volumes/mybooks', options)
command.response_representation = Google::Apis::BooksV1::Volumes::Representation
command.response_class = Google::Apis::BooksV1::Volumes
command.query['acquireMethod'] = acquire_method unless acquire_method.nil?
@ -2197,7 +2197,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_recommended_volumes(locale: nil, max_allowed_maturity_rating: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'volumes/recommended', options)
command = make_simple_command(:get, 'volumes/recommended', options)
command.response_representation = Google::Apis::BooksV1::Volumes::Representation
command.response_class = Google::Apis::BooksV1::Volumes
command.query['locale'] = locale unless locale.nil?
@ -2239,7 +2239,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def rate_recommended_volume(rating, volume_id, locale: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'volumes/recommended/rate', options)
command = make_simple_command(:post, 'volumes/recommended/rate', options)
command.response_representation = Google::Apis::BooksV1::RateRecommendedVolumeResponse::Representation
command.response_class = Google::Apis::BooksV1::RateRecommendedVolumeResponse
command.query['locale'] = locale unless locale.nil?
@ -2287,7 +2287,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_user_uploaded_volumes(locale: nil, max_results: nil, processing_state: nil, source: nil, start_index: nil, volume_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'volumes/useruploaded', options)
command = make_simple_command(:get, 'volumes/useruploaded', options)
command.response_representation = Google::Apis::BooksV1::Volumes::Representation
command.response_class = Google::Apis::BooksV1::Volumes
command.query['locale'] = locale unless locale.nil?

View File

@ -78,7 +78,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_acl(calendar_id, rule_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'calendars/{calendarId}/acl/{ruleId}', options)
command = make_simple_command(:delete, 'calendars/{calendarId}/acl/{ruleId}', options)
command.params['calendarId'] = calendar_id unless calendar_id.nil?
command.params['ruleId'] = rule_id unless rule_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -114,7 +114,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_acl(calendar_id, rule_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'calendars/{calendarId}/acl/{ruleId}', options)
command = make_simple_command(:get, 'calendars/{calendarId}/acl/{ruleId}', options)
command.response_representation = Google::Apis::CalendarV3::AclRule::Representation
command.response_class = Google::Apis::CalendarV3::AclRule
command.params['calendarId'] = calendar_id unless calendar_id.nil?
@ -154,7 +154,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_acl(calendar_id, acl_rule_object = nil, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'calendars/{calendarId}/acl', options)
command = make_simple_command(:post, 'calendars/{calendarId}/acl', options)
command.request_representation = Google::Apis::CalendarV3::AclRule::Representation
command.request_object = acl_rule_object
command.response_representation = Google::Apis::CalendarV3::AclRule::Representation
@ -212,7 +212,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_acls(calendar_id, max_results: nil, page_token: nil, show_deleted: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'calendars/{calendarId}/acl', options)
command = make_simple_command(:get, 'calendars/{calendarId}/acl', options)
command.response_representation = Google::Apis::CalendarV3::Acl::Representation
command.response_class = Google::Apis::CalendarV3::Acl
command.params['calendarId'] = calendar_id unless calendar_id.nil?
@ -257,7 +257,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_acl(calendar_id, rule_id, acl_rule_object = nil, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'calendars/{calendarId}/acl/{ruleId}', options)
command = make_simple_command(:patch, 'calendars/{calendarId}/acl/{ruleId}', options)
command.request_representation = Google::Apis::CalendarV3::AclRule::Representation
command.request_object = acl_rule_object
command.response_representation = Google::Apis::CalendarV3::AclRule::Representation
@ -302,7 +302,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_acl(calendar_id, rule_id, acl_rule_object = nil, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'calendars/{calendarId}/acl/{ruleId}', options)
command = make_simple_command(:put, 'calendars/{calendarId}/acl/{ruleId}', options)
command.request_representation = Google::Apis::CalendarV3::AclRule::Representation
command.request_object = acl_rule_object
command.response_representation = Google::Apis::CalendarV3::AclRule::Representation
@ -362,7 +362,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def watch_acl(calendar_id, channel_object = nil, max_results: nil, page_token: nil, show_deleted: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'calendars/{calendarId}/acl/watch', options)
command = make_simple_command(:post, 'calendars/{calendarId}/acl/watch', options)
command.request_representation = Google::Apis::CalendarV3::Channel::Representation
command.request_object = channel_object
command.response_representation = Google::Apis::CalendarV3::Channel::Representation
@ -403,7 +403,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_calendar_list(calendar_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'users/me/calendarList/{calendarId}', options)
command = make_simple_command(:delete, 'users/me/calendarList/{calendarId}', options)
command.params['calendarId'] = calendar_id unless calendar_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -436,7 +436,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_calendar_list(calendar_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/me/calendarList/{calendarId}', options)
command = make_simple_command(:get, 'users/me/calendarList/{calendarId}', options)
command.response_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
command.response_class = Google::Apis::CalendarV3::CalendarListEntry
command.params['calendarId'] = calendar_id unless calendar_id.nil?
@ -473,7 +473,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_calendar_list(calendar_list_entry_object = nil, color_rgb_format: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'users/me/calendarList', options)
command = make_simple_command(:post, 'users/me/calendarList', options)
command.request_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
command.request_object = calendar_list_entry_object
command.response_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
@ -534,7 +534,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_calendar_lists(max_results: nil, min_access_role: nil, page_token: nil, show_deleted: nil, show_hidden: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/me/calendarList', options)
command = make_simple_command(:get, 'users/me/calendarList', options)
command.response_representation = Google::Apis::CalendarV3::CalendarList::Representation
command.response_class = Google::Apis::CalendarV3::CalendarList
command.query['maxResults'] = max_results unless max_results.nil?
@ -581,7 +581,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_calendar_list(calendar_id, calendar_list_entry_object = nil, color_rgb_format: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'users/me/calendarList/{calendarId}', options)
command = make_simple_command(:patch, 'users/me/calendarList/{calendarId}', options)
command.request_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
command.request_object = calendar_list_entry_object
command.response_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
@ -625,7 +625,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_calendar_list(calendar_id, calendar_list_entry_object = nil, color_rgb_format: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'users/me/calendarList/{calendarId}', options)
command = make_simple_command(:put, 'users/me/calendarList/{calendarId}', options)
command.request_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
command.request_object = calendar_list_entry_object
command.response_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
@ -688,7 +688,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def watch_calendar_list(channel_object = nil, max_results: nil, min_access_role: nil, page_token: nil, show_deleted: nil, show_hidden: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'users/me/calendarList/watch', options)
command = make_simple_command(:post, 'users/me/calendarList/watch', options)
command.request_representation = Google::Apis::CalendarV3::Channel::Representation
command.request_object = channel_object
command.response_representation = Google::Apis::CalendarV3::Channel::Representation
@ -731,7 +731,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def clear_calendar(calendar_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'calendars/{calendarId}/clear', options)
command = make_simple_command(:post, 'calendars/{calendarId}/clear', options)
command.params['calendarId'] = calendar_id unless calendar_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -765,7 +765,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_calendar(calendar_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'calendars/{calendarId}', options)
command = make_simple_command(:delete, 'calendars/{calendarId}', options)
command.params['calendarId'] = calendar_id unless calendar_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -798,7 +798,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_calendar(calendar_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'calendars/{calendarId}', options)
command = make_simple_command(:get, 'calendars/{calendarId}', options)
command.response_representation = Google::Apis::CalendarV3::Calendar::Representation
command.response_class = Google::Apis::CalendarV3::Calendar
command.params['calendarId'] = calendar_id unless calendar_id.nil?
@ -830,7 +830,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_calendar(calendar_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'calendars', options)
command = make_simple_command(:post, 'calendars', options)
command.request_representation = Google::Apis::CalendarV3::Calendar::Representation
command.request_object = calendar_object
command.response_representation = Google::Apis::CalendarV3::Calendar::Representation
@ -867,7 +867,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_calendar(calendar_id, calendar_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'calendars/{calendarId}', options)
command = make_simple_command(:patch, 'calendars/{calendarId}', options)
command.request_representation = Google::Apis::CalendarV3::Calendar::Representation
command.request_object = calendar_object
command.response_representation = Google::Apis::CalendarV3::Calendar::Representation
@ -905,7 +905,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_calendar(calendar_id, calendar_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'calendars/{calendarId}', options)
command = make_simple_command(:put, 'calendars/{calendarId}', options)
command.request_representation = Google::Apis::CalendarV3::Calendar::Representation
command.request_object = calendar_object
command.response_representation = Google::Apis::CalendarV3::Calendar::Representation
@ -939,7 +939,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def stop_channel(channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'channels/stop', options)
command = make_simple_command(:post, 'channels/stop', options)
command.request_representation = Google::Apis::CalendarV3::Channel::Representation
command.request_object = channel_object
command.query['fields'] = fields unless fields.nil?
@ -969,7 +969,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_color(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'colors', options)
command = make_simple_command(:get, 'colors', options)
command.response_representation = Google::Apis::CalendarV3::Colors::Representation
command.response_class = Google::Apis::CalendarV3::Colors
command.query['fields'] = fields unless fields.nil?
@ -1012,7 +1012,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_event(calendar_id, event_id, send_notifications: nil, send_updates: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'calendars/{calendarId}/events/{eventId}', options)
command = make_simple_command(:delete, 'calendars/{calendarId}/events/{eventId}', options)
command.params['calendarId'] = calendar_id unless calendar_id.nil?
command.params['eventId'] = event_id unless event_id.nil?
command.query['sendNotifications'] = send_notifications unless send_notifications.nil?
@ -1063,7 +1063,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_event(calendar_id, event_id, always_include_email: nil, max_attendees: nil, time_zone: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'calendars/{calendarId}/events/{eventId}', options)
command = make_simple_command(:get, 'calendars/{calendarId}/events/{eventId}', options)
command.response_representation = Google::Apis::CalendarV3::Event::Representation
command.response_class = Google::Apis::CalendarV3::Event
command.params['calendarId'] = calendar_id unless calendar_id.nil?
@ -1113,7 +1113,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def import_event(calendar_id, event_object = nil, conference_data_version: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'calendars/{calendarId}/events/import', options)
command = make_simple_command(:post, 'calendars/{calendarId}/events/import', options)
command.request_representation = Google::Apis::CalendarV3::Event::Representation
command.request_object = event_object
command.response_representation = Google::Apis::CalendarV3::Event::Representation
@ -1174,7 +1174,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_event(calendar_id, event_object = nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, send_updates: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'calendars/{calendarId}/events', options)
command = make_simple_command(:post, 'calendars/{calendarId}/events', options)
command.request_representation = Google::Apis::CalendarV3::Event::Representation
command.request_object = event_object
command.response_representation = Google::Apis::CalendarV3::Event::Representation
@ -1250,7 +1250,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_event_instances(calendar_id, event_id, always_include_email: nil, max_attendees: nil, max_results: nil, original_start: nil, page_token: nil, show_deleted: nil, time_max: nil, time_min: nil, time_zone: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'calendars/{calendarId}/events/{eventId}/instances', options)
command = make_simple_command(:get, 'calendars/{calendarId}/events/{eventId}/instances', options)
command.response_representation = Google::Apis::CalendarV3::Events::Representation
command.response_class = Google::Apis::CalendarV3::Events
command.params['calendarId'] = calendar_id unless calendar_id.nil?
@ -1385,7 +1385,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_events(calendar_id, always_include_email: nil, i_cal_uid: nil, max_attendees: nil, max_results: nil, order_by: nil, page_token: nil, private_extended_property: nil, q: nil, shared_extended_property: nil, show_deleted: nil, show_hidden_invitations: nil, single_events: nil, sync_token: nil, time_max: nil, time_min: nil, time_zone: nil, updated_min: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'calendars/{calendarId}/events', options)
command = make_simple_command(:get, 'calendars/{calendarId}/events', options)
command.response_representation = Google::Apis::CalendarV3::Events::Representation
command.response_class = Google::Apis::CalendarV3::Events
command.params['calendarId'] = calendar_id unless calendar_id.nil?
@ -1447,7 +1447,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def move_event(calendar_id, event_id, destination, send_notifications: nil, send_updates: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'calendars/{calendarId}/events/{eventId}/move', options)
command = make_simple_command(:post, 'calendars/{calendarId}/events/{eventId}/move', options)
command.response_representation = Google::Apis::CalendarV3::Event::Representation
command.response_class = Google::Apis::CalendarV3::Event
command.params['calendarId'] = calendar_id unless calendar_id.nil?
@ -1516,7 +1516,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_event(calendar_id, event_id, event_object = nil, always_include_email: nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, send_updates: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'calendars/{calendarId}/events/{eventId}', options)
command = make_simple_command(:patch, 'calendars/{calendarId}/events/{eventId}', options)
command.request_representation = Google::Apis::CalendarV3::Event::Representation
command.request_object = event_object
command.response_representation = Google::Apis::CalendarV3::Event::Representation
@ -1569,7 +1569,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def quick_add_event(calendar_id, text, send_notifications: nil, send_updates: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'calendars/{calendarId}/events/quickAdd', options)
command = make_simple_command(:post, 'calendars/{calendarId}/events/quickAdd', options)
command.response_representation = Google::Apis::CalendarV3::Event::Representation
command.response_class = Google::Apis::CalendarV3::Event
command.params['calendarId'] = calendar_id unless calendar_id.nil?
@ -1637,7 +1637,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_event(calendar_id, event_id, event_object = nil, always_include_email: nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, send_updates: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'calendars/{calendarId}/events/{eventId}', options)
command = make_simple_command(:put, 'calendars/{calendarId}/events/{eventId}', options)
command.request_representation = Google::Apis::CalendarV3::Event::Representation
command.request_object = event_object
command.response_representation = Google::Apis::CalendarV3::Event::Representation
@ -1772,7 +1772,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def watch_event(calendar_id, channel_object = nil, always_include_email: nil, i_cal_uid: nil, max_attendees: nil, max_results: nil, order_by: nil, page_token: nil, private_extended_property: nil, q: nil, shared_extended_property: nil, show_deleted: nil, show_hidden_invitations: nil, single_events: nil, sync_token: nil, time_max: nil, time_min: nil, time_zone: nil, updated_min: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'calendars/{calendarId}/events/watch', options)
command = make_simple_command(:post, 'calendars/{calendarId}/events/watch', options)
command.request_representation = Google::Apis::CalendarV3::Channel::Representation
command.request_object = channel_object
command.response_representation = Google::Apis::CalendarV3::Channel::Representation
@ -1823,7 +1823,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def query_freebusy(free_busy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'freeBusy', options)
command = make_simple_command(:post, 'freeBusy', options)
command.request_representation = Google::Apis::CalendarV3::FreeBusyRequest::Representation
command.request_object = free_busy_request_object
command.response_representation = Google::Apis::CalendarV3::FreeBusyResponse::Representation
@ -1857,7 +1857,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_setting(setting, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/me/settings/{setting}', options)
command = make_simple_command(:get, 'users/me/settings/{setting}', options)
command.response_representation = Google::Apis::CalendarV3::Setting::Representation
command.response_class = Google::Apis::CalendarV3::Setting
command.params['setting'] = setting unless setting.nil?
@ -1902,7 +1902,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_settings(max_results: nil, page_token: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'users/me/settings', options)
command = make_simple_command(:get, 'users/me/settings', options)
command.response_representation = Google::Apis::CalendarV3::Settings::Representation
command.response_class = Google::Apis::CalendarV3::Settings
command.query['maxResults'] = max_results unless max_results.nil?
@ -1950,7 +1950,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def watch_setting(channel_object = nil, max_results: nil, page_token: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'users/me/settings/watch', options)
command = make_simple_command(:post, 'users/me/settings/watch', options)
command.request_representation = Google::Apis::CalendarV3::Channel::Representation
command.request_object = channel_object
command.response_representation = Google::Apis::CalendarV3::Channel::Representation

View File

@ -69,7 +69,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_space(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::ChatV1::Space::Representation
command.response_class = Google::Apis::ChatV1::Space
command.params['name'] = name unless name.nil?
@ -103,7 +103,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_spaces(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/spaces', options)
command = make_simple_command(:get, 'v1/spaces', options)
command.response_representation = Google::Apis::ChatV1::ListSpacesResponse::Representation
command.response_class = Google::Apis::ChatV1::ListSpacesResponse
command.query['pageSize'] = page_size unless page_size.nil?
@ -136,7 +136,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_space_member(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::ChatV1::Membership::Representation
command.response_class = Google::Apis::ChatV1::Membership
command.params['name'] = name unless name.nil?
@ -174,7 +174,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_space_members(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/members', options)
command = make_simple_command(:get, 'v1/{+parent}/members', options)
command.response_representation = Google::Apis::ChatV1::ListMembershipsResponse::Representation
command.response_class = Google::Apis::ChatV1::ListMembershipsResponse
command.params['parent'] = parent unless parent.nil?
@ -218,7 +218,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_space_message(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/messages', options)
command = make_simple_command(:post, 'v1/{+parent}/messages', options)
command.request_representation = Google::Apis::ChatV1::Message::Representation
command.request_object = message_object
command.response_representation = Google::Apis::ChatV1::Message::Representation
@ -253,7 +253,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_space_message(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::ChatV1::Empty::Representation
command.response_class = Google::Apis::ChatV1::Empty
command.params['name'] = name unless name.nil?
@ -285,7 +285,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_space_message(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::ChatV1::Message::Representation
command.response_class = Google::Apis::ChatV1::Message
command.params['name'] = name unless name.nil?
@ -320,7 +320,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_space_message(name, message_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1/{+name}', options)
command = make_simple_command(:put, 'v1/{+name}', options)
command.request_representation = Google::Apis::ChatV1::Message::Representation
command.request_object = message_object
command.response_representation = Google::Apis::ChatV1::Message::Representation

View File

@ -79,7 +79,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_divisions(division_search_request_object = nil, query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'divisions', options)
command = make_simple_command(:get, 'divisions', options)
command.request_representation = Google::Apis::CivicinfoV2::DivisionSearchRequest::Representation
command.request_object = division_search_request_object
command.response_representation = Google::Apis::CivicinfoV2::SearchDivisionResponse::Representation
@ -113,7 +113,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def query_election(elections_query_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'elections', options)
command = make_simple_command(:get, 'elections', options)
command.request_representation = Google::Apis::CivicinfoV2::ElectionsQueryRequest::Representation
command.request_object = elections_query_request_object
command.response_representation = Google::Apis::CivicinfoV2::QueryElectionsResponse::Representation
@ -161,7 +161,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def query_voter_info(address, voter_info_request_object = nil, election_id: nil, official_only: nil, return_all_available_data: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'voterinfo', options)
command = make_simple_command(:get, 'voterinfo', options)
command.request_representation = Google::Apis::CivicinfoV2::VoterInfoRequest::Representation
command.request_object = voter_info_request_object
command.response_representation = Google::Apis::CivicinfoV2::VoterInfoResponse::Representation
@ -213,7 +213,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def representative_info_by_address(representative_info_request_object = nil, address: nil, include_offices: nil, levels: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'representatives', options)
command = make_simple_command(:get, 'representatives', options)
command.request_representation = Google::Apis::CivicinfoV2::RepresentativeInfoRequest::Representation
command.request_object = representative_info_request_object
command.response_representation = Google::Apis::CivicinfoV2::RepresentativeInfoResponse::Representation
@ -264,7 +264,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def representative_info_by_division(ocd_id, division_representative_info_request_object = nil, levels: nil, recursive: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'representatives/{ocdId}', options)
command = make_simple_command(:get, 'representatives/{ocdId}', options)
command.request_representation = Google::Apis::CivicinfoV2::DivisionRepresentativeInfoRequest::Representation
command.request_object = division_representative_info_request_object
command.response_representation = Google::Apis::CivicinfoV2::RepresentativeInfoData::Representation

View File

@ -78,7 +78,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_course(course_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/courses', options)
command = make_simple_command(:post, 'v1/courses', options)
command.request_representation = Google::Apis::ClassroomV1::Course::Representation
command.request_object = course_object
command.response_representation = Google::Apis::ClassroomV1::Course::Representation
@ -115,7 +115,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_course(id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/courses/{id}', options)
command = make_simple_command(:delete, 'v1/courses/{id}', options)
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
command.response_class = Google::Apis::ClassroomV1::Empty
command.params['id'] = id unless id.nil?
@ -151,7 +151,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_course(id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/courses/{id}', options)
command = make_simple_command(:get, 'v1/courses/{id}', options)
command.response_representation = Google::Apis::ClassroomV1::Course::Representation
command.response_class = Google::Apis::ClassroomV1::Course
command.params['id'] = id unless id.nil?
@ -211,7 +211,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_courses(course_states: nil, page_size: nil, page_token: nil, student_id: nil, teacher_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/courses', options)
command = make_simple_command(:get, 'v1/courses', options)
command.response_representation = Google::Apis::ClassroomV1::ListCoursesResponse::Representation
command.response_class = Google::Apis::ClassroomV1::ListCoursesResponse
command.query['courseStates'] = course_states unless course_states.nil?
@ -272,7 +272,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_course(id, course_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/courses/{id}', options)
command = make_simple_command(:patch, 'v1/courses/{id}', options)
command.request_representation = Google::Apis::ClassroomV1::Course::Representation
command.request_object = course_object
command.response_representation = Google::Apis::ClassroomV1::Course::Representation
@ -314,7 +314,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_course(id, course_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1/courses/{id}', options)
command = make_simple_command(:put, 'v1/courses/{id}', options)
command.request_representation = Google::Apis::ClassroomV1::Course::Representation
command.request_object = course_object
command.response_representation = Google::Apis::ClassroomV1::Course::Representation
@ -357,7 +357,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_course_alias(course_id, course_alias_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/courses/{courseId}/aliases', options)
command = make_simple_command(:post, 'v1/courses/{courseId}/aliases', options)
command.request_representation = Google::Apis::ClassroomV1::CourseAlias::Representation
command.request_object = course_alias_object
command.response_representation = Google::Apis::ClassroomV1::CourseAlias::Representation
@ -401,7 +401,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_course_alias(course_id, alias_, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/courses/{courseId}/aliases/{alias}', options)
command = make_simple_command(:delete, 'v1/courses/{courseId}/aliases/{alias}', options)
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
command.response_class = Google::Apis::ClassroomV1::Empty
command.params['courseId'] = course_id unless course_id.nil?
@ -449,7 +449,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_course_aliases(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/courses/{courseId}/aliases', options)
command = make_simple_command(:get, 'v1/courses/{courseId}/aliases', options)
command.response_representation = Google::Apis::ClassroomV1::ListCourseAliasesResponse::Representation
command.response_class = Google::Apis::ClassroomV1::ListCourseAliasesResponse
command.params['courseId'] = course_id unless course_id.nil?
@ -492,7 +492,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_course_announcement(course_id, announcement_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/courses/{courseId}/announcements', options)
command = make_simple_command(:post, 'v1/courses/{courseId}/announcements', options)
command.request_representation = Google::Apis::ClassroomV1::Announcement::Representation
command.request_object = announcement_object
command.response_representation = Google::Apis::ClassroomV1::Announcement::Representation
@ -539,7 +539,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_course_announcement(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/courses/{courseId}/announcements/{id}', options)
command = make_simple_command(:delete, 'v1/courses/{courseId}/announcements/{id}', options)
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
command.response_class = Google::Apis::ClassroomV1::Empty
command.params['courseId'] = course_id unless course_id.nil?
@ -579,7 +579,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_course_announcement(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/courses/{courseId}/announcements/{id}', options)
command = make_simple_command(:get, 'v1/courses/{courseId}/announcements/{id}', options)
command.response_representation = Google::Apis::ClassroomV1::Announcement::Representation
command.response_class = Google::Apis::ClassroomV1::Announcement
command.params['courseId'] = course_id unless course_id.nil?
@ -639,7 +639,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_course_announcements(course_id, announcement_states: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/courses/{courseId}/announcements', options)
command = make_simple_command(:get, 'v1/courses/{courseId}/announcements', options)
command.response_representation = Google::Apis::ClassroomV1::ListAnnouncementsResponse::Representation
command.response_class = Google::Apis::ClassroomV1::ListAnnouncementsResponse
command.params['courseId'] = course_id unless course_id.nil?
@ -685,7 +685,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def modify_course_announcement_assignees(course_id, id, modify_announcement_assignees_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/courses/{courseId}/announcements/{id}:modifyAssignees', options)
command = make_simple_command(:post, 'v1/courses/{courseId}/announcements/{id}:modifyAssignees', options)
command.request_representation = Google::Apis::ClassroomV1::ModifyAnnouncementAssigneesRequest::Representation
command.request_object = modify_announcement_assignees_request_object
command.response_representation = Google::Apis::ClassroomV1::Announcement::Representation
@ -742,7 +742,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_course_announcement(course_id, id, announcement_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/courses/{courseId}/announcements/{id}', options)
command = make_simple_command(:patch, 'v1/courses/{courseId}/announcements/{id}', options)
command.request_representation = Google::Apis::ClassroomV1::Announcement::Representation
command.request_object = announcement_object
command.response_representation = Google::Apis::ClassroomV1::Announcement::Representation
@ -793,7 +793,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_course_work(course_id, course_work_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork', options)
command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork', options)
command.request_representation = Google::Apis::ClassroomV1::CourseWork::Representation
command.request_object = course_work_object
command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation
@ -840,7 +840,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_course_course_work(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/courses/{courseId}/courseWork/{id}', options)
command = make_simple_command(:delete, 'v1/courses/{courseId}/courseWork/{id}', options)
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
command.response_class = Google::Apis::ClassroomV1::Empty
command.params['courseId'] = course_id unless course_id.nil?
@ -880,7 +880,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_course_work(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{id}', options)
command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{id}', options)
command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation
command.response_class = Google::Apis::ClassroomV1::CourseWork
command.params['courseId'] = course_id unless course_id.nil?
@ -941,7 +941,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_course_works(course_id, course_work_states: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork', options)
command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork', options)
command.response_representation = Google::Apis::ClassroomV1::ListCourseWorkResponse::Representation
command.response_class = Google::Apis::ClassroomV1::ListCourseWorkResponse
command.params['courseId'] = course_id unless course_id.nil?
@ -987,7 +987,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def modify_course_course_work_assignees(course_id, id, modify_course_work_assignees_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{id}:modifyAssignees', options)
command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{id}:modifyAssignees', options)
command.request_representation = Google::Apis::ClassroomV1::ModifyCourseWorkAssigneesRequest::Representation
command.request_object = modify_course_work_assignees_request_object
command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation
@ -1058,7 +1058,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_course_course_work(course_id, id, course_work_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/courses/{courseId}/courseWork/{id}', options)
command = make_simple_command(:patch, 'v1/courses/{courseId}/courseWork/{id}', options)
command.request_representation = Google::Apis::ClassroomV1::CourseWork::Representation
command.request_object = course_work_object
command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation
@ -1104,7 +1104,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_student_submission(course_id, course_work_id, id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}', options)
command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}', options)
command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation
command.response_class = Google::Apis::ClassroomV1::StudentSubmission
command.params['courseId'] = course_id unless course_id.nil?
@ -1177,7 +1177,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_student_submissions(course_id, course_work_id, late: nil, page_size: nil, page_token: nil, states: nil, user_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions', options)
command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions', options)
command.response_representation = Google::Apis::ClassroomV1::ListStudentSubmissionsResponse::Representation
command.response_class = Google::Apis::ClassroomV1::ListStudentSubmissionsResponse
command.params['courseId'] = course_id unless course_id.nil?
@ -1233,7 +1233,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def modify_student_submission_attachments(course_id, course_work_id, id, modify_attachments_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:modifyAttachments', options)
command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:modifyAttachments', options)
command.request_representation = Google::Apis::ClassroomV1::ModifyAttachmentsRequest::Representation
command.request_object = modify_attachments_request_object
command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation
@ -1294,7 +1294,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_student_submission(course_id, course_work_id, id, student_submission_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}', options)
command = make_simple_command(:patch, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}', options)
command.request_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation
command.request_object = student_submission_object
command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation
@ -1351,7 +1351,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def reclaim_student_submission(course_id, course_work_id, id, reclaim_student_submission_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim', options)
command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim', options)
command.request_representation = Google::Apis::ClassroomV1::ReclaimStudentSubmissionRequest::Representation
command.request_object = reclaim_student_submission_request_object
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
@ -1408,7 +1408,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def return_student_submission(course_id, course_work_id, id, return_student_submission_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return', options)
command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return', options)
command.request_representation = Google::Apis::ClassroomV1::ReturnStudentSubmissionRequest::Representation
command.request_object = return_student_submission_request_object
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
@ -1463,7 +1463,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def turn_in_student_submission(course_id, course_work_id, id, turn_in_student_submission_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn', options)
command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn', options)
command.request_representation = Google::Apis::ClassroomV1::TurnInStudentSubmissionRequest::Representation
command.request_object = turn_in_student_submission_request_object
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
@ -1516,7 +1516,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_course_student(course_id, student_object = nil, enrollment_code: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/courses/{courseId}/students', options)
command = make_simple_command(:post, 'v1/courses/{courseId}/students', options)
command.request_representation = Google::Apis::ClassroomV1::Student::Representation
command.request_object = student_object
command.response_representation = Google::Apis::ClassroomV1::Student::Representation
@ -1562,7 +1562,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_course_student(course_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/courses/{courseId}/students/{userId}', options)
command = make_simple_command(:delete, 'v1/courses/{courseId}/students/{userId}', options)
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
command.response_class = Google::Apis::ClassroomV1::Empty
command.params['courseId'] = course_id unless course_id.nil?
@ -1606,7 +1606,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_course_student(course_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/courses/{courseId}/students/{userId}', options)
command = make_simple_command(:get, 'v1/courses/{courseId}/students/{userId}', options)
command.response_representation = Google::Apis::ClassroomV1::Student::Representation
command.response_class = Google::Apis::ClassroomV1::Student
command.params['courseId'] = course_id unless course_id.nil?
@ -1653,7 +1653,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_course_students(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/courses/{courseId}/students', options)
command = make_simple_command(:get, 'v1/courses/{courseId}/students', options)
command.response_representation = Google::Apis::ClassroomV1::ListStudentsResponse::Representation
command.response_class = Google::Apis::ClassroomV1::ListStudentsResponse
command.params['courseId'] = course_id unless course_id.nil?
@ -1700,7 +1700,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_course_teacher(course_id, teacher_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/courses/{courseId}/teachers', options)
command = make_simple_command(:post, 'v1/courses/{courseId}/teachers', options)
command.request_representation = Google::Apis::ClassroomV1::Teacher::Representation
command.request_object = teacher_object
command.response_representation = Google::Apis::ClassroomV1::Teacher::Representation
@ -1747,7 +1747,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_course_teacher(course_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/courses/{courseId}/teachers/{userId}', options)
command = make_simple_command(:delete, 'v1/courses/{courseId}/teachers/{userId}', options)
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
command.response_class = Google::Apis::ClassroomV1::Empty
command.params['courseId'] = course_id unless course_id.nil?
@ -1791,7 +1791,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_course_teacher(course_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/courses/{courseId}/teachers/{userId}', options)
command = make_simple_command(:get, 'v1/courses/{courseId}/teachers/{userId}', options)
command.response_representation = Google::Apis::ClassroomV1::Teacher::Representation
command.response_class = Google::Apis::ClassroomV1::Teacher
command.params['courseId'] = course_id unless course_id.nil?
@ -1838,7 +1838,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_course_teachers(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/courses/{courseId}/teachers', options)
command = make_simple_command(:get, 'v1/courses/{courseId}/teachers', options)
command.response_representation = Google::Apis::ClassroomV1::ListTeachersResponse::Representation
command.response_class = Google::Apis::ClassroomV1::ListTeachersResponse
command.params['courseId'] = course_id unless course_id.nil?
@ -1879,7 +1879,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_course_topic(course_id, topic_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/courses/{courseId}/topics', options)
command = make_simple_command(:post, 'v1/courses/{courseId}/topics', options)
command.request_representation = Google::Apis::ClassroomV1::Topic::Representation
command.request_object = topic_object
command.response_representation = Google::Apis::ClassroomV1::Topic::Representation
@ -1921,7 +1921,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_course_topic(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/courses/{courseId}/topics/{id}', options)
command = make_simple_command(:delete, 'v1/courses/{courseId}/topics/{id}', options)
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
command.response_class = Google::Apis::ClassroomV1::Empty
command.params['courseId'] = course_id unless course_id.nil?
@ -1959,7 +1959,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_course_topic(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/courses/{courseId}/topics/{id}', options)
command = make_simple_command(:get, 'v1/courses/{courseId}/topics/{id}', options)
command.response_representation = Google::Apis::ClassroomV1::Topic::Representation
command.response_class = Google::Apis::ClassroomV1::Topic
command.params['courseId'] = course_id unless course_id.nil?
@ -2008,7 +2008,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_course_topics(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/courses/{courseId}/topics', options)
command = make_simple_command(:get, 'v1/courses/{courseId}/topics', options)
command.response_representation = Google::Apis::ClassroomV1::ListTopicResponse::Representation
command.response_class = Google::Apis::ClassroomV1::ListTopicResponse
command.params['courseId'] = course_id unless course_id.nil?
@ -2060,7 +2060,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_course_topic(course_id, id, topic_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/courses/{courseId}/topics/{id}', options)
command = make_simple_command(:patch, 'v1/courses/{courseId}/topics/{id}', options)
command.request_representation = Google::Apis::ClassroomV1::Topic::Representation
command.request_object = topic_object
command.response_representation = Google::Apis::ClassroomV1::Topic::Representation
@ -2105,7 +2105,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def accept_invitation(id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/invitations/{id}:accept', options)
command = make_simple_command(:post, 'v1/invitations/{id}:accept', options)
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
command.response_class = Google::Apis::ClassroomV1::Empty
command.params['id'] = id unless id.nil?
@ -2143,7 +2143,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_invitation(invitation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/invitations', options)
command = make_simple_command(:post, 'v1/invitations', options)
command.request_representation = Google::Apis::ClassroomV1::Invitation::Representation
command.request_object = invitation_object
command.response_representation = Google::Apis::ClassroomV1::Invitation::Representation
@ -2178,7 +2178,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_invitation(id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/invitations/{id}', options)
command = make_simple_command(:delete, 'v1/invitations/{id}', options)
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
command.response_class = Google::Apis::ClassroomV1::Empty
command.params['id'] = id unless id.nil?
@ -2212,7 +2212,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_invitation(id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/invitations/{id}', options)
command = make_simple_command(:get, 'v1/invitations/{id}', options)
command.response_representation = Google::Apis::ClassroomV1::Invitation::Representation
command.response_class = Google::Apis::ClassroomV1::Invitation
command.params['id'] = id unless id.nil?
@ -2264,7 +2264,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_invitations(course_id: nil, page_size: nil, page_token: nil, user_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/invitations', options)
command = make_simple_command(:get, 'v1/invitations', options)
command.response_representation = Google::Apis::ClassroomV1::ListInvitationsResponse::Representation
command.response_class = Google::Apis::ClassroomV1::ListInvitationsResponse
command.query['courseId'] = course_id unless course_id.nil?
@ -2321,7 +2321,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_registration(registration_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/registrations', options)
command = make_simple_command(:post, 'v1/registrations', options)
command.request_representation = Google::Apis::ClassroomV1::Registration::Representation
command.request_object = registration_object
command.response_representation = Google::Apis::ClassroomV1::Registration::Representation
@ -2353,7 +2353,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_registration(registration_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/registrations/{registrationId}', options)
command = make_simple_command(:delete, 'v1/registrations/{registrationId}', options)
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
command.response_class = Google::Apis::ClassroomV1::Empty
command.params['registrationId'] = registration_id unless registration_id.nil?
@ -2391,7 +2391,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_user_profile(user_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/userProfiles/{userId}', options)
command = make_simple_command(:get, 'v1/userProfiles/{userId}', options)
command.response_representation = Google::Apis::ClassroomV1::UserProfile::Representation
command.response_class = Google::Apis::ClassroomV1::UserProfile
command.params['userId'] = user_id unless user_id.nil?
@ -2447,7 +2447,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_user_profile_guardian_invitation(student_id, guardian_invitation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/userProfiles/{studentId}/guardianInvitations', options)
command = make_simple_command(:post, 'v1/userProfiles/{studentId}/guardianInvitations', options)
command.request_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation
command.request_object = guardian_invitation_object
command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation
@ -2492,7 +2492,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_user_profile_guardian_invitation(student_id, invitation_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}', options)
command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}', options)
command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation
command.response_class = Google::Apis::ClassroomV1::GuardianInvitation
command.params['studentId'] = student_id unless student_id.nil?
@ -2560,7 +2560,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_user_profile_guardian_invitations(student_id, invited_email_address: nil, page_size: nil, page_token: nil, states: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardianInvitations', options)
command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardianInvitations', options)
command.response_representation = Google::Apis::ClassroomV1::ListGuardianInvitationsResponse::Representation
command.response_class = Google::Apis::ClassroomV1::ListGuardianInvitationsResponse
command.params['studentId'] = student_id unless student_id.nil?
@ -2618,7 +2618,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_user_profile_guardian_invitation(student_id, invitation_id, guardian_invitation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}', options)
command = make_simple_command(:patch, 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}', options)
command.request_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation
command.request_object = guardian_invitation_object
command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation
@ -2671,7 +2671,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_user_profile_guardian(student_id, guardian_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/userProfiles/{studentId}/guardians/{guardianId}', options)
command = make_simple_command(:delete, 'v1/userProfiles/{studentId}/guardians/{guardianId}', options)
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
command.response_class = Google::Apis::ClassroomV1::Empty
command.params['studentId'] = student_id unless student_id.nil?
@ -2719,7 +2719,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_user_profile_guardian(student_id, guardian_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardians/{guardianId}', options)
command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardians/{guardianId}', options)
command.response_representation = Google::Apis::ClassroomV1::Guardian::Representation
command.response_class = Google::Apis::ClassroomV1::Guardian
command.params['studentId'] = student_id unless student_id.nil?
@ -2787,7 +2787,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_user_profile_guardians(student_id, invited_email_address: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardians', options)
command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardians', options)
command.response_representation = Google::Apis::ClassroomV1::ListGuardiansResponse::Representation
command.response_class = Google::Apis::ClassroomV1::ListGuardiansResponse
command.params['studentId'] = student_id unless student_id.nil?

View File

@ -70,7 +70,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudassetV1::Operation::Representation
command.response_class = Google::Apis::CloudassetV1::Operation
command.params['name'] = name unless name.nil?
@ -127,7 +127,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_get_assets_history(parent, asset_names: nil, content_type: nil, read_time_window_end_time: nil, read_time_window_start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}:batchGetAssetsHistory', options)
command = make_simple_command(:get, 'v1/{+parent}:batchGetAssetsHistory', options)
command.response_representation = Google::Apis::CloudassetV1::BatchGetAssetsHistoryResponse::Representation
command.response_class = Google::Apis::CloudassetV1::BatchGetAssetsHistoryResponse
command.params['parent'] = parent unless parent.nil?
@ -168,7 +168,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def export_assets(parent, export_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}:exportAssets', options)
command = make_simple_command(:post, 'v1/{+parent}:exportAssets', options)
command.request_representation = Google::Apis::CloudassetV1::ExportAssetsRequest::Representation
command.request_object = export_assets_request_object
command.response_representation = Google::Apis::CloudassetV1::Operation::Representation

View File

@ -75,7 +75,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def export_folder_assets(parent, export_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}:exportAssets', options)
command = make_simple_command(:post, 'v1beta1/{+parent}:exportAssets', options)
command.request_representation = Google::Apis::CloudassetV1beta1::ExportAssetsRequest::Representation
command.request_object = export_assets_request_object
command.response_representation = Google::Apis::CloudassetV1beta1::Operation::Representation
@ -109,7 +109,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_folder_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudassetV1beta1::Operation::Representation
command.response_class = Google::Apis::CloudassetV1beta1::Operation
command.params['name'] = name unless name.nil?
@ -163,7 +163,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_organization_get_assets_history(parent, asset_names: nil, content_type: nil, read_time_window_end_time: nil, read_time_window_start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}:batchGetAssetsHistory', options)
command = make_simple_command(:get, 'v1beta1/{+parent}:batchGetAssetsHistory', options)
command.response_representation = Google::Apis::CloudassetV1beta1::BatchGetAssetsHistoryResponse::Representation
command.response_class = Google::Apis::CloudassetV1beta1::BatchGetAssetsHistoryResponse
command.params['parent'] = parent unless parent.nil?
@ -204,7 +204,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def export_organization_assets(parent, export_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}:exportAssets', options)
command = make_simple_command(:post, 'v1beta1/{+parent}:exportAssets', options)
command.request_representation = Google::Apis::CloudassetV1beta1::ExportAssetsRequest::Representation
command.request_object = export_assets_request_object
command.response_representation = Google::Apis::CloudassetV1beta1::Operation::Representation
@ -238,7 +238,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_organization_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudassetV1beta1::Operation::Representation
command.response_class = Google::Apis::CloudassetV1beta1::Operation
command.params['name'] = name unless name.nil?
@ -292,7 +292,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_project_get_assets_history(parent, asset_names: nil, content_type: nil, read_time_window_end_time: nil, read_time_window_start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}:batchGetAssetsHistory', options)
command = make_simple_command(:get, 'v1beta1/{+parent}:batchGetAssetsHistory', options)
command.response_representation = Google::Apis::CloudassetV1beta1::BatchGetAssetsHistoryResponse::Representation
command.response_class = Google::Apis::CloudassetV1beta1::BatchGetAssetsHistoryResponse
command.params['parent'] = parent unless parent.nil?
@ -333,7 +333,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def export_project_assets(parent, export_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}:exportAssets', options)
command = make_simple_command(:post, 'v1beta1/{+parent}:exportAssets', options)
command.request_representation = Google::Apis::CloudassetV1beta1::ExportAssetsRequest::Representation
command.request_object = export_assets_request_object
command.response_representation = Google::Apis::CloudassetV1beta1::Operation::Representation
@ -367,7 +367,7 @@ module Google
# @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_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudassetV1beta1::Operation::Representation
command.response_class = Google::Apis::CloudassetV1beta1::Operation
command.params['name'] = name unless name.nil?

View File

@ -77,7 +77,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_billing_account(billing_account_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/billingAccounts', options)
command = make_simple_command(:post, 'v1/billingAccounts', options)
command.request_representation = Google::Apis::CloudbillingV1::BillingAccount::Representation
command.request_object = billing_account_object
command.response_representation = Google::Apis::CloudbillingV1::BillingAccount::Representation
@ -111,7 +111,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_billing_account(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudbillingV1::BillingAccount::Representation
command.response_class = Google::Apis::CloudbillingV1::BillingAccount
command.params['name'] = name unless name.nil?
@ -145,7 +145,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_billing_account_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
command.response_representation = Google::Apis::CloudbillingV1::Policy::Representation
command.response_class = Google::Apis::CloudbillingV1::Policy
command.params['resource'] = resource unless resource.nil?
@ -189,7 +189,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_billing_accounts(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/billingAccounts', options)
command = make_simple_command(:get, 'v1/billingAccounts', options)
command.response_representation = Google::Apis::CloudbillingV1::ListBillingAccountsResponse::Representation
command.response_class = Google::Apis::CloudbillingV1::ListBillingAccountsResponse
command.query['filter'] = filter unless filter.nil?
@ -230,7 +230,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_billing_account(name, billing_account_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::CloudbillingV1::BillingAccount::Representation
command.request_object = billing_account_object
command.response_representation = Google::Apis::CloudbillingV1::BillingAccount::Representation
@ -269,7 +269,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_billing_account_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::CloudbillingV1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::CloudbillingV1::Policy::Representation
@ -305,7 +305,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_billing_account_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::CloudbillingV1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::CloudbillingV1::TestIamPermissionsResponse::Representation
@ -348,7 +348,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_billing_account_projects(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}/projects', options)
command = make_simple_command(:get, 'v1/{+name}/projects', options)
command.response_representation = Google::Apis::CloudbillingV1::ListProjectBillingInfoResponse::Representation
command.response_class = Google::Apis::CloudbillingV1::ListProjectBillingInfoResponse
command.params['name'] = name unless name.nil?
@ -384,7 +384,7 @@ module Google
# @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_billing_info(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}/billingInfo', options)
command = make_simple_command(:get, 'v1/{+name}/billingInfo', options)
command.response_representation = Google::Apis::CloudbillingV1::ProjectBillingInfo::Representation
command.response_class = Google::Apis::CloudbillingV1::ProjectBillingInfo
command.params['name'] = name unless name.nil?
@ -442,7 +442,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_billing_info(name, project_billing_info_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1/{+name}/billingInfo', options)
command = make_simple_command(:put, 'v1/{+name}/billingInfo', options)
command.request_representation = Google::Apis::CloudbillingV1::ProjectBillingInfo::Representation
command.request_object = project_billing_info_object
command.response_representation = Google::Apis::CloudbillingV1::ProjectBillingInfo::Representation
@ -478,7 +478,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_services(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/services', options)
command = make_simple_command(:get, 'v1/services', options)
command.response_representation = Google::Apis::CloudbillingV1::ListServicesResponse::Representation
command.response_class = Google::Apis::CloudbillingV1::ListServicesResponse
command.query['pageSize'] = page_size unless page_size.nil?
@ -534,7 +534,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_service_skus(parent, currency_code: nil, end_time: nil, page_size: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/skus', options)
command = make_simple_command(:get, 'v1/{+parent}/skus', options)
command.response_representation = Google::Apis::CloudbillingV1::ListSkusResponse::Representation
command.response_class = Google::Apis::CloudbillingV1::ListSkusResponse
command.params['parent'] = parent unless parent.nil?

View File

@ -78,7 +78,7 @@ module Google
# @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, 'v1/{+name}:cancel', options)
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
command.request_representation = Google::Apis::CloudbuildV1::CancelOperationRequest::Representation
command.request_object = cancel_operation_request_object
command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation
@ -112,7 +112,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
command.response_class = Google::Apis::CloudbuildV1::Operation
command.params['name'] = name unless name.nil?
@ -156,7 +156,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudbuildV1::ListOperationsResponse::Representation
command.response_class = Google::Apis::CloudbuildV1::ListOperationsResponse
command.params['name'] = name unless name.nil?
@ -192,7 +192,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_build(project_id, id, cancel_build_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/builds/{id}:cancel', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/builds/{id}:cancel', options)
command.request_representation = Google::Apis::CloudbuildV1::CancelBuildRequest::Representation
command.request_object = cancel_build_request_object
command.response_representation = Google::Apis::CloudbuildV1::Build::Representation
@ -229,7 +229,7 @@ module Google
# @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_build(project_id, build_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/builds', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/builds', options)
command.request_representation = Google::Apis::CloudbuildV1::Build::Representation
command.request_object = build_object
command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
@ -265,7 +265,7 @@ module Google
# @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_build(project_id, id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects/{projectId}/builds/{id}', options)
command = make_simple_command(:get, 'v1/projects/{projectId}/builds/{id}', options)
command.response_representation = Google::Apis::CloudbuildV1::Build::Representation
command.response_class = Google::Apis::CloudbuildV1::Build
command.params['projectId'] = project_id unless project_id.nil?
@ -304,7 +304,7 @@ module Google
# @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_builds(project_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects/{projectId}/builds', options)
command = make_simple_command(:get, 'v1/projects/{projectId}/builds', options)
command.response_representation = Google::Apis::CloudbuildV1::ListBuildsResponse::Representation
command.response_class = Google::Apis::CloudbuildV1::ListBuildsResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -359,7 +359,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def retry_build(project_id, id, retry_build_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/builds/{id}:retry', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/builds/{id}:retry', options)
command.request_representation = Google::Apis::CloudbuildV1::RetryBuildRequest::Representation
command.request_object = retry_build_request_object
command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
@ -394,7 +394,7 @@ module Google
# @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_trigger(project_id, build_trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/triggers', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/triggers', options)
command.request_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
command.request_object = build_trigger_object
command.response_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
@ -429,7 +429,7 @@ module Google
# @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_trigger(project_id, trigger_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/projects/{projectId}/triggers/{triggerId}', options)
command = make_simple_command(:delete, 'v1/projects/{projectId}/triggers/{triggerId}', options)
command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation
command.response_class = Google::Apis::CloudbuildV1::Empty
command.params['projectId'] = project_id unless project_id.nil?
@ -463,7 +463,7 @@ module Google
# @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_trigger(project_id, trigger_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects/{projectId}/triggers/{triggerId}', options)
command = make_simple_command(:get, 'v1/projects/{projectId}/triggers/{triggerId}', options)
command.response_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
command.response_class = Google::Apis::CloudbuildV1::BuildTrigger
command.params['projectId'] = project_id unless project_id.nil?
@ -499,7 +499,7 @@ module Google
# @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_triggers(project_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects/{projectId}/triggers', options)
command = make_simple_command(:get, 'v1/projects/{projectId}/triggers', options)
command.response_representation = Google::Apis::CloudbuildV1::ListBuildTriggersResponse::Representation
command.response_class = Google::Apis::CloudbuildV1::ListBuildTriggersResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -535,7 +535,7 @@ module Google
# @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_trigger(project_id, trigger_id, build_trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/projects/{projectId}/triggers/{triggerId}', options)
command = make_simple_command(:patch, 'v1/projects/{projectId}/triggers/{triggerId}', options)
command.request_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
command.request_object = build_trigger_object
command.response_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
@ -571,7 +571,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def run_project_trigger(project_id, trigger_id, repo_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/triggers/{triggerId}:run', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/triggers/{triggerId}:run', options)
command.request_representation = Google::Apis::CloudbuildV1::RepoSource::Representation
command.request_object = repo_source_object
command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation

View File

@ -70,7 +70,7 @@ module Google
# @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_worker_pool(parent, worker_pool_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha1/{+parent}/workerPools', options)
command = make_simple_command(:post, 'v1alpha1/{+parent}/workerPools', options)
command.request_representation = Google::Apis::CloudbuildV1alpha1::WorkerPool::Representation
command.request_object = worker_pool_object
command.response_representation = Google::Apis::CloudbuildV1alpha1::WorkerPool::Representation
@ -104,7 +104,7 @@ module Google
# @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_worker_pool(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
command.response_representation = Google::Apis::CloudbuildV1alpha1::Empty::Representation
command.response_class = Google::Apis::CloudbuildV1alpha1::Empty
command.params['name'] = name unless name.nil?
@ -136,7 +136,7 @@ module Google
# @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_worker_pool(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
command.response_representation = Google::Apis::CloudbuildV1alpha1::WorkerPool::Representation
command.response_class = Google::Apis::CloudbuildV1alpha1::WorkerPool
command.params['name'] = name unless name.nil?
@ -167,7 +167,7 @@ module Google
# @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_worker_pools(parent, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha1/{+parent}/workerPools', options)
command = make_simple_command(:get, 'v1alpha1/{+parent}/workerPools', options)
command.response_representation = Google::Apis::CloudbuildV1alpha1::ListWorkerPoolsResponse::Representation
command.response_class = Google::Apis::CloudbuildV1alpha1::ListWorkerPoolsResponse
command.params['parent'] = parent unless parent.nil?
@ -200,7 +200,7 @@ module Google
# @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_worker_pool(name, worker_pool_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
command.request_representation = Google::Apis::CloudbuildV1alpha1::WorkerPool::Representation
command.request_object = worker_pool_object
command.response_representation = Google::Apis::CloudbuildV1alpha1::WorkerPool::Representation

View File

@ -75,7 +75,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def register_debuggee(register_debuggee_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/controller/debuggees/register', options)
command = make_simple_command(:post, 'v2/controller/debuggees/register', options)
command.request_representation = Google::Apis::ClouddebuggerV2::RegisterDebuggeeRequest::Representation
command.request_object = register_debuggee_request_object
command.response_representation = Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse::Representation
@ -127,7 +127,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_controller_debuggee_breakpoints(debuggee_id, success_on_timeout: nil, wait_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/controller/debuggees/{debuggeeId}/breakpoints', options)
command = make_simple_command(:get, 'v2/controller/debuggees/{debuggeeId}/breakpoints', options)
command.response_representation = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse::Representation
command.response_class = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
@ -168,7 +168,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_active_breakpoint(debuggee_id, id, update_active_breakpoint_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v2/controller/debuggees/{debuggeeId}/breakpoints/{id}', options)
command = make_simple_command(:put, 'v2/controller/debuggees/{debuggeeId}/breakpoints/{id}', options)
command.request_representation = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointRequest::Representation
command.request_object = update_active_breakpoint_request_object
command.response_representation = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse::Representation
@ -207,7 +207,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_debugger_debuggees(client_version: nil, include_inactive: nil, project: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/debugger/debuggees', options)
command = make_simple_command(:get, 'v2/debugger/debuggees', options)
command.response_representation = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse::Representation
command.response_class = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse
command.query['clientVersion'] = client_version unless client_version.nil?
@ -244,7 +244,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options)
command = make_simple_command(:delete, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options)
command.response_representation = Google::Apis::ClouddebuggerV2::Empty::Representation
command.response_class = Google::Apis::ClouddebuggerV2::Empty
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
@ -281,7 +281,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options)
command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options)
command.response_representation = Google::Apis::ClouddebuggerV2::GetBreakpointResponse::Representation
command.response_class = Google::Apis::ClouddebuggerV2::GetBreakpointResponse
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
@ -333,7 +333,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_debugger_debuggee_breakpoints(debuggee_id, action_value: nil, client_version: nil, include_all_users: nil, include_inactive: nil, strip_results: nil, wait_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints', options)
command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints', options)
command.response_representation = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse::Representation
command.response_class = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
@ -373,7 +373,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_debugger_debuggee_breakpoint(debuggee_id, breakpoint_object = nil, client_version: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/set', options)
command = make_simple_command(:post, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/set', options)
command.request_representation = Google::Apis::ClouddebuggerV2::Breakpoint::Representation
command.request_object = breakpoint_object
command.response_representation = Google::Apis::ClouddebuggerV2::SetBreakpointResponse::Representation

View File

@ -73,7 +73,7 @@ module Google
# @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_events(project_name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+projectName}/events', options)
command = make_simple_command(:delete, 'v1beta1/{+projectName}/events', options)
command.response_representation = Google::Apis::ClouderrorreportingV1beta1::DeleteEventsResponse::Representation
command.response_class = Google::Apis::ClouderrorreportingV1beta1::DeleteEventsResponse
command.params['projectName'] = project_name unless project_name.nil?
@ -127,7 +127,7 @@ module Google
# @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_events(project_name, group_id: nil, page_size: nil, page_token: nil, service_filter_resource_type: nil, service_filter_service: nil, service_filter_version: nil, time_range_period: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+projectName}/events', options)
command = make_simple_command(:get, 'v1beta1/{+projectName}/events', options)
command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse::Representation
command.response_class = Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse
command.params['projectName'] = project_name unless project_name.nil?
@ -176,7 +176,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def report_project_event(project_name, reported_error_event_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+projectName}/events:report', options)
command = make_simple_command(:post, 'v1beta1/{+projectName}/events:report', options)
command.request_representation = Google::Apis::ClouderrorreportingV1beta1::ReportedErrorEvent::Representation
command.request_object = reported_error_event_object
command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ReportErrorEventResponse::Representation
@ -247,7 +247,7 @@ module Google
# @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_group_stats(project_name, alignment: nil, alignment_time: nil, group_id: nil, order: nil, page_size: nil, page_token: nil, service_filter_resource_type: nil, service_filter_service: nil, service_filter_version: nil, time_range_period: nil, timed_count_duration: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+projectName}/groupStats', options)
command = make_simple_command(:get, 'v1beta1/{+projectName}/groupStats', options)
command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ListGroupStatsResponse::Representation
command.response_class = Google::Apis::ClouderrorreportingV1beta1::ListGroupStatsResponse
command.params['projectName'] = project_name unless project_name.nil?
@ -294,7 +294,7 @@ module Google
# @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_group(group_name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+groupName}', options)
command = make_simple_command(:get, 'v1beta1/{+groupName}', options)
command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation
command.response_class = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup
command.params['groupName'] = group_name unless group_name.nil?
@ -327,7 +327,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_group(name, error_group_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1beta1/{+name}', options)
command = make_simple_command(:put, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation
command.request_object = error_group_object
command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation

View File

@ -70,7 +70,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudfunctionsV1::Operation::Representation
command.response_class = Google::Apis::CloudfunctionsV1::Operation
command.params['name'] = name unless name.nil?
@ -117,7 +117,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/operations', options)
command = make_simple_command(:get, 'v1/operations', options)
command.response_representation = Google::Apis::CloudfunctionsV1::ListOperationsResponse::Representation
command.response_class = Google::Apis::CloudfunctionsV1::ListOperationsResponse
command.query['filter'] = filter unless filter.nil?
@ -156,7 +156,7 @@ module Google
# @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, 'v1/{+name}/locations', options)
command = make_simple_command(:get, 'v1/{+name}/locations', options)
command.response_representation = Google::Apis::CloudfunctionsV1::ListLocationsResponse::Representation
command.response_class = Google::Apis::CloudfunctionsV1::ListLocationsResponse
command.params['name'] = name unless name.nil?
@ -193,7 +193,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def call_function(name, call_function_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:call', options)
command = make_simple_command(:post, 'v1/{+name}:call', options)
command.request_representation = Google::Apis::CloudfunctionsV1::CallFunctionRequest::Representation
command.request_object = call_function_request_object
command.response_representation = Google::Apis::CloudfunctionsV1::CallFunctionResponse::Representation
@ -229,7 +229,7 @@ module Google
# @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_function(location, cloud_function_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+location}/functions', options)
command = make_simple_command(:post, 'v1/{+location}/functions', options)
command.request_representation = Google::Apis::CloudfunctionsV1::CloudFunction::Representation
command.request_object = cloud_function_object
command.response_representation = Google::Apis::CloudfunctionsV1::Operation::Representation
@ -263,7 +263,7 @@ module Google
# @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_function(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudfunctionsV1::Operation::Representation
command.response_class = Google::Apis::CloudfunctionsV1::Operation
command.params['name'] = name unless name.nil?
@ -299,7 +299,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def generate_function_download_url(name, generate_download_url_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:generateDownloadUrl', options)
command = make_simple_command(:post, 'v1/{+name}:generateDownloadUrl', options)
command.request_representation = Google::Apis::CloudfunctionsV1::GenerateDownloadUrlRequest::Representation
command.request_object = generate_download_url_request_object
command.response_representation = Google::Apis::CloudfunctionsV1::GenerateDownloadUrlResponse::Representation
@ -351,7 +351,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def generate_function_upload_url(parent, generate_upload_url_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/functions:generateUploadUrl', options)
command = make_simple_command(:post, 'v1/{+parent}/functions:generateUploadUrl', options)
command.request_representation = Google::Apis::CloudfunctionsV1::GenerateUploadUrlRequest::Representation
command.request_object = generate_upload_url_request_object
command.response_representation = Google::Apis::CloudfunctionsV1::GenerateUploadUrlResponse::Representation
@ -383,7 +383,7 @@ module Google
# @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_function(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudfunctionsV1::CloudFunction::Representation
command.response_class = Google::Apis::CloudfunctionsV1::CloudFunction
command.params['name'] = name unless name.nil?
@ -416,7 +416,7 @@ module Google
# @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_function_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
command.response_representation = Google::Apis::CloudfunctionsV1::Policy::Representation
command.response_class = Google::Apis::CloudfunctionsV1::Policy
command.params['resource'] = resource unless resource.nil?
@ -456,7 +456,7 @@ module Google
# @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_functions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/functions', options)
command = make_simple_command(:get, 'v1/{+parent}/functions', options)
command.response_representation = Google::Apis::CloudfunctionsV1::ListFunctionsResponse::Representation
command.response_class = Google::Apis::CloudfunctionsV1::ListFunctionsResponse
command.params['parent'] = parent unless parent.nil?
@ -492,7 +492,7 @@ module Google
# @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_function(name, cloud_function_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::CloudfunctionsV1::CloudFunction::Representation
command.request_object = cloud_function_object
command.response_representation = Google::Apis::CloudfunctionsV1::Operation::Representation
@ -528,7 +528,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_function_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::CloudfunctionsV1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::CloudfunctionsV1::Policy::Representation
@ -565,7 +565,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_function_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::CloudfunctionsV1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::CloudfunctionsV1::TestIamPermissionsResponse::Representation

View File

@ -70,7 +70,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta2/{+name}', options)
command = make_simple_command(:get, 'v1beta2/{+name}', options)
command.response_representation = Google::Apis::CloudfunctionsV1beta2::Operation::Representation
command.response_class = Google::Apis::CloudfunctionsV1beta2::Operation
command.params['name'] = name unless name.nil?
@ -117,7 +117,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta2/operations', options)
command = make_simple_command(:get, 'v1beta2/operations', options)
command.response_representation = Google::Apis::CloudfunctionsV1beta2::ListOperationsResponse::Representation
command.response_class = Google::Apis::CloudfunctionsV1beta2::ListOperationsResponse
command.query['filter'] = filter unless filter.nil?
@ -156,7 +156,7 @@ module Google
# @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, 'v1beta2/{+name}/locations', options)
command = make_simple_command(:get, 'v1beta2/{+name}/locations', options)
command.response_representation = Google::Apis::CloudfunctionsV1beta2::ListLocationsResponse::Representation
command.response_class = Google::Apis::CloudfunctionsV1beta2::ListLocationsResponse
command.params['name'] = name unless name.nil?
@ -193,7 +193,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def call_function(name, call_function_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta2/{+name}:call', options)
command = make_simple_command(:post, 'v1beta2/{+name}:call', options)
command.request_representation = Google::Apis::CloudfunctionsV1beta2::CallFunctionRequest::Representation
command.request_object = call_function_request_object
command.response_representation = Google::Apis::CloudfunctionsV1beta2::CallFunctionResponse::Representation
@ -229,7 +229,7 @@ module Google
# @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_function(location, cloud_function_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta2/{+location}/functions', options)
command = make_simple_command(:post, 'v1beta2/{+location}/functions', options)
command.request_representation = Google::Apis::CloudfunctionsV1beta2::CloudFunction::Representation
command.request_object = cloud_function_object
command.response_representation = Google::Apis::CloudfunctionsV1beta2::Operation::Representation
@ -263,7 +263,7 @@ module Google
# @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_function(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta2/{+name}', options)
command = make_simple_command(:delete, 'v1beta2/{+name}', options)
command.response_representation = Google::Apis::CloudfunctionsV1beta2::Operation::Representation
command.response_class = Google::Apis::CloudfunctionsV1beta2::Operation
command.params['name'] = name unless name.nil?
@ -299,7 +299,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def generate_function_download_url(name, generate_download_url_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta2/{+name}:generateDownloadUrl', options)
command = make_simple_command(:post, 'v1beta2/{+name}:generateDownloadUrl', options)
command.request_representation = Google::Apis::CloudfunctionsV1beta2::GenerateDownloadUrlRequest::Representation
command.request_object = generate_download_url_request_object
command.response_representation = Google::Apis::CloudfunctionsV1beta2::GenerateDownloadUrlResponse::Representation
@ -351,7 +351,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def generate_function_upload_url(parent, generate_upload_url_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta2/{+parent}/functions:generateUploadUrl', options)
command = make_simple_command(:post, 'v1beta2/{+parent}/functions:generateUploadUrl', options)
command.request_representation = Google::Apis::CloudfunctionsV1beta2::GenerateUploadUrlRequest::Representation
command.request_object = generate_upload_url_request_object
command.response_representation = Google::Apis::CloudfunctionsV1beta2::GenerateUploadUrlResponse::Representation
@ -383,7 +383,7 @@ module Google
# @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_function(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta2/{+name}', options)
command = make_simple_command(:get, 'v1beta2/{+name}', options)
command.response_representation = Google::Apis::CloudfunctionsV1beta2::CloudFunction::Representation
command.response_class = Google::Apis::CloudfunctionsV1beta2::CloudFunction
command.params['name'] = name unless name.nil?
@ -423,7 +423,7 @@ module Google
# @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_functions(location, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta2/{+location}/functions', options)
command = make_simple_command(:get, 'v1beta2/{+location}/functions', options)
command.response_representation = Google::Apis::CloudfunctionsV1beta2::ListFunctionsResponse::Representation
command.response_class = Google::Apis::CloudfunctionsV1beta2::ListFunctionsResponse
command.params['location'] = location unless location.nil?
@ -456,7 +456,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_location_function(name, cloud_function_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1beta2/{+name}', options)
command = make_simple_command(:put, 'v1beta2/{+name}', options)
command.request_representation = Google::Apis::CloudfunctionsV1beta2::CloudFunction::Representation
command.request_object = cloud_function_object
command.response_representation = Google::Apis::CloudfunctionsV1beta2::Operation::Representation

View File

@ -67,7 +67,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_group(group_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/groups', options)
command = make_simple_command(:post, 'v1/groups', options)
command.request_representation = Google::Apis::CloudidentityV1::Group::Representation
command.request_object = group_object
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
@ -100,7 +100,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_group(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
command.response_class = Google::Apis::CloudidentityV1::Operation
command.params['name'] = name unless name.nil?
@ -132,7 +132,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_group(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudidentityV1::Group::Representation
command.response_class = Google::Apis::CloudidentityV1::Group
command.params['name'] = name unless name.nil?
@ -170,7 +170,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_groups(page_size: nil, page_token: nil, parent: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/groups', options)
command = make_simple_command(:get, 'v1/groups', options)
command.response_representation = Google::Apis::CloudidentityV1::ListGroupsResponse::Representation
command.response_class = Google::Apis::CloudidentityV1::ListGroupsResponse
command.query['pageSize'] = page_size unless page_size.nil?
@ -212,7 +212,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def lookup_group(group_key_id: nil, group_key_namespace: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/groups:lookup', options)
command = make_simple_command(:get, 'v1/groups:lookup', options)
command.response_representation = Google::Apis::CloudidentityV1::LookupGroupNameResponse::Representation
command.response_class = Google::Apis::CloudidentityV1::LookupGroupNameResponse
command.query['groupKey.id'] = group_key_id unless group_key_id.nil?
@ -249,7 +249,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_group(name, group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::CloudidentityV1::Group::Representation
command.request_object = group_object
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
@ -292,7 +292,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_groups(page_size: nil, page_token: nil, query: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/groups:search', options)
command = make_simple_command(:get, 'v1/groups:search', options)
command.response_representation = Google::Apis::CloudidentityV1::SearchGroupsResponse::Representation
command.response_class = Google::Apis::CloudidentityV1::SearchGroupsResponse
command.query['pageSize'] = page_size unless page_size.nil?
@ -328,7 +328,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_group_membership(parent, membership_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/memberships', options)
command = make_simple_command(:post, 'v1/{+parent}/memberships', options)
command.request_representation = Google::Apis::CloudidentityV1::Membership::Representation
command.request_object = membership_object
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
@ -364,7 +364,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_group_membership(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
command.response_class = Google::Apis::CloudidentityV1::Operation
command.params['name'] = name unless name.nil?
@ -398,7 +398,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_group_membership(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudidentityV1::Membership::Representation
command.response_class = Google::Apis::CloudidentityV1::Membership
command.params['name'] = name unless name.nil?
@ -438,7 +438,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_group_memberships(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/memberships', options)
command = make_simple_command(:get, 'v1/{+parent}/memberships', options)
command.response_representation = Google::Apis::CloudidentityV1::ListMembershipsResponse::Representation
command.response_class = Google::Apis::CloudidentityV1::ListMembershipsResponse
command.params['parent'] = parent unless parent.nil?
@ -485,7 +485,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def lookup_group_membership(parent, member_key_id: nil, member_key_namespace: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/memberships:lookup', options)
command = make_simple_command(:get, 'v1/{+parent}/memberships:lookup', options)
command.response_representation = Google::Apis::CloudidentityV1::LookupMembershipNameResponse::Representation
command.response_class = Google::Apis::CloudidentityV1::LookupMembershipNameResponse
command.params['parent'] = parent unless parent.nil?

View File

@ -67,7 +67,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_group(group_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/groups', options)
command = make_simple_command(:post, 'v1beta1/groups', options)
command.request_representation = Google::Apis::CloudidentityV1beta1::Group::Representation
command.request_object = group_object
command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
@ -100,7 +100,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_group(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
command.response_class = Google::Apis::CloudidentityV1beta1::Operation
command.params['name'] = name unless name.nil?
@ -132,7 +132,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_group(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudidentityV1beta1::Group::Representation
command.response_class = Google::Apis::CloudidentityV1beta1::Group
command.params['name'] = name unless name.nil?
@ -171,7 +171,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def lookup_group(group_key_id: nil, group_key_namespace: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/groups:lookup', options)
command = make_simple_command(:get, 'v1beta1/groups:lookup', options)
command.response_representation = Google::Apis::CloudidentityV1beta1::LookupGroupNameResponse::Representation
command.response_class = Google::Apis::CloudidentityV1beta1::LookupGroupNameResponse
command.query['groupKey.id'] = group_key_id unless group_key_id.nil?
@ -208,7 +208,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_group(name, group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::CloudidentityV1beta1::Group::Representation
command.request_object = group_object
command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
@ -255,7 +255,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_groups(page_size: nil, page_token: nil, query: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/groups:search', options)
command = make_simple_command(:get, 'v1beta1/groups:search', options)
command.response_representation = Google::Apis::CloudidentityV1beta1::SearchGroupsResponse::Representation
command.response_class = Google::Apis::CloudidentityV1beta1::SearchGroupsResponse
command.query['pageSize'] = page_size unless page_size.nil?
@ -291,7 +291,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_group_membership(parent, membership_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}/memberships', options)
command = make_simple_command(:post, 'v1beta1/{+parent}/memberships', options)
command.request_representation = Google::Apis::CloudidentityV1beta1::Membership::Representation
command.request_object = membership_object
command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
@ -327,7 +327,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_group_membership(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
command.response_class = Google::Apis::CloudidentityV1beta1::Operation
command.params['name'] = name unless name.nil?
@ -361,7 +361,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_group_membership(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudidentityV1beta1::Membership::Representation
command.response_class = Google::Apis::CloudidentityV1beta1::Membership
command.params['name'] = name unless name.nil?
@ -401,7 +401,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_group_memberships(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/memberships', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/memberships', options)
command.response_representation = Google::Apis::CloudidentityV1beta1::ListMembershipsResponse::Representation
command.response_class = Google::Apis::CloudidentityV1beta1::ListMembershipsResponse
command.params['parent'] = parent unless parent.nil?
@ -448,7 +448,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def lookup_group_membership(parent, member_key_id: nil, member_key_namespace: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/memberships:lookup', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/memberships:lookup', options)
command.response_representation = Google::Apis::CloudidentityV1beta1::LookupMembershipNameResponse::Representation
command.response_class = Google::Apis::CloudidentityV1beta1::LookupMembershipNameResponse
command.params['parent'] = parent unless parent.nil?

View File

@ -71,7 +71,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def bind_registry_device_to_gateway(parent, bind_device_to_gateway_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}:bindDeviceToGateway', options)
command = make_simple_command(:post, 'v1/{+parent}:bindDeviceToGateway', options)
command.request_representation = Google::Apis::CloudiotV1::BindDeviceToGatewayRequest::Representation
command.request_object = bind_device_to_gateway_request_object
command.response_representation = Google::Apis::CloudiotV1::BindDeviceToGatewayResponse::Representation
@ -105,7 +105,7 @@ module Google
# @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_registry(parent, device_registry_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/registries', options)
command = make_simple_command(:post, 'v1/{+parent}/registries', options)
command.request_representation = Google::Apis::CloudiotV1::DeviceRegistry::Representation
command.request_object = device_registry_object
command.response_representation = Google::Apis::CloudiotV1::DeviceRegistry::Representation
@ -138,7 +138,7 @@ module Google
# @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_registry(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudiotV1::Empty::Representation
command.response_class = Google::Apis::CloudiotV1::Empty
command.params['name'] = name unless name.nil?
@ -169,7 +169,7 @@ module Google
# @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_registry(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudiotV1::DeviceRegistry::Representation
command.response_class = Google::Apis::CloudiotV1::DeviceRegistry
command.params['name'] = name unless name.nil?
@ -203,7 +203,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_registry_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::CloudiotV1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::CloudiotV1::Policy::Representation
@ -245,7 +245,7 @@ module Google
# @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_registries(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/registries', options)
command = make_simple_command(:get, 'v1/{+parent}/registries', options)
command.response_representation = Google::Apis::CloudiotV1::ListDeviceRegistriesResponse::Representation
command.response_class = Google::Apis::CloudiotV1::ListDeviceRegistriesResponse
command.params['parent'] = parent unless parent.nil?
@ -285,7 +285,7 @@ module Google
# @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_registry(name, device_registry_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::CloudiotV1::DeviceRegistry::Representation
command.request_object = device_registry_object
command.response_representation = Google::Apis::CloudiotV1::DeviceRegistry::Representation
@ -321,7 +321,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_registry_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::CloudiotV1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::CloudiotV1::Policy::Representation
@ -357,7 +357,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_registry_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::CloudiotV1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::CloudiotV1::TestIamPermissionsResponse::Representation
@ -391,7 +391,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def unbind_registry_device_from_gateway(parent, unbind_device_from_gateway_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}:unbindDeviceFromGateway', options)
command = make_simple_command(:post, 'v1/{+parent}:unbindDeviceFromGateway', options)
command.request_representation = Google::Apis::CloudiotV1::UnbindDeviceFromGatewayRequest::Representation
command.request_object = unbind_device_from_gateway_request_object
command.response_representation = Google::Apis::CloudiotV1::UnbindDeviceFromGatewayResponse::Representation
@ -426,7 +426,7 @@ module Google
# @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_registry_device(parent, device_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/devices', options)
command = make_simple_command(:post, 'v1/{+parent}/devices', options)
command.request_representation = Google::Apis::CloudiotV1::Device::Representation
command.request_object = device_object
command.response_representation = Google::Apis::CloudiotV1::Device::Representation
@ -460,7 +460,7 @@ module Google
# @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_registry_device(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudiotV1::Empty::Representation
command.response_class = Google::Apis::CloudiotV1::Empty
command.params['name'] = name unless name.nil?
@ -495,7 +495,7 @@ module Google
# @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_registry_device(name, field_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudiotV1::Device::Representation
command.response_class = Google::Apis::CloudiotV1::Device
command.params['name'] = name unless name.nil?
@ -560,7 +560,7 @@ module Google
# @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_registry_devices(parent, device_ids: nil, device_num_ids: nil, field_mask: nil, gateway_list_options_associations_device_id: nil, gateway_list_options_associations_gateway_id: nil, gateway_list_options_gateway_type: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
command.response_representation = Google::Apis::CloudiotV1::ListDevicesResponse::Representation
command.response_class = Google::Apis::CloudiotV1::ListDevicesResponse
command.params['parent'] = parent unless parent.nil?
@ -603,7 +603,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def modify_cloud_to_device_config(name, modify_cloud_to_device_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:modifyCloudToDeviceConfig', options)
command = make_simple_command(:post, 'v1/{+name}:modifyCloudToDeviceConfig', options)
command.request_representation = Google::Apis::CloudiotV1::ModifyCloudToDeviceConfigRequest::Representation
command.request_object = modify_cloud_to_device_config_request_object
command.response_representation = Google::Apis::CloudiotV1::DeviceConfig::Representation
@ -645,7 +645,7 @@ module Google
# @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_registry_device(name, device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::CloudiotV1::Device::Representation
command.request_object = device_object
command.response_representation = Google::Apis::CloudiotV1::Device::Representation
@ -693,7 +693,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def send_project_location_registry_device_command_to_device(name, send_command_to_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:sendCommandToDevice', options)
command = make_simple_command(:post, 'v1/{+name}:sendCommandToDevice', options)
command.request_representation = Google::Apis::CloudiotV1::SendCommandToDeviceRequest::Representation
command.request_object = send_command_to_device_request_object
command.response_representation = Google::Apis::CloudiotV1::SendCommandToDeviceResponse::Representation
@ -732,7 +732,7 @@ module Google
# @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_registry_device_config_versions(name, num_versions: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}/configVersions', options)
command = make_simple_command(:get, 'v1/{+name}/configVersions', options)
command.response_representation = Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse::Representation
command.response_class = Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse
command.params['name'] = name unless name.nil?
@ -770,7 +770,7 @@ module Google
# @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_registry_device_states(name, num_states: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}/states', options)
command = make_simple_command(:get, 'v1/{+name}/states', options)
command.response_representation = Google::Apis::CloudiotV1::ListDeviceStatesResponse::Representation
command.response_class = Google::Apis::CloudiotV1::ListDeviceStatesResponse
command.params['name'] = name unless name.nil?
@ -803,7 +803,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def bind_group_device_to_gateway(parent, bind_device_to_gateway_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}:bindDeviceToGateway', options)
command = make_simple_command(:post, 'v1/{+parent}:bindDeviceToGateway', options)
command.request_representation = Google::Apis::CloudiotV1::BindDeviceToGatewayRequest::Representation
command.request_object = bind_device_to_gateway_request_object
command.response_representation = Google::Apis::CloudiotV1::BindDeviceToGatewayResponse::Representation
@ -839,7 +839,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_group_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::CloudiotV1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::CloudiotV1::Policy::Representation
@ -874,7 +874,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_group_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::CloudiotV1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::CloudiotV1::Policy::Representation
@ -910,7 +910,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_group_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::CloudiotV1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::CloudiotV1::TestIamPermissionsResponse::Representation
@ -944,7 +944,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def unbind_group_device_from_gateway(parent, unbind_device_from_gateway_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}:unbindDeviceFromGateway', options)
command = make_simple_command(:post, 'v1/{+parent}:unbindDeviceFromGateway', options)
command.request_representation = Google::Apis::CloudiotV1::UnbindDeviceFromGatewayRequest::Representation
command.request_object = unbind_device_from_gateway_request_object
command.response_representation = Google::Apis::CloudiotV1::UnbindDeviceFromGatewayResponse::Representation
@ -981,7 +981,7 @@ module Google
# @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_registry_group_device(name, field_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudiotV1::Device::Representation
command.response_class = Google::Apis::CloudiotV1::Device
command.params['name'] = name unless name.nil?
@ -1046,7 +1046,7 @@ module Google
# @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_registry_group_devices(parent, device_ids: nil, device_num_ids: nil, field_mask: nil, gateway_list_options_associations_device_id: nil, gateway_list_options_associations_gateway_id: nil, gateway_list_options_gateway_type: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
command.response_representation = Google::Apis::CloudiotV1::ListDevicesResponse::Representation
command.response_class = Google::Apis::CloudiotV1::ListDevicesResponse
command.params['parent'] = parent unless parent.nil?
@ -1089,7 +1089,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def modify_project_location_registry_group_device_cloud_to_device_config(name, modify_cloud_to_device_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:modifyCloudToDeviceConfig', options)
command = make_simple_command(:post, 'v1/{+name}:modifyCloudToDeviceConfig', options)
command.request_representation = Google::Apis::CloudiotV1::ModifyCloudToDeviceConfigRequest::Representation
command.request_object = modify_cloud_to_device_config_request_object
command.response_representation = Google::Apis::CloudiotV1::DeviceConfig::Representation
@ -1131,7 +1131,7 @@ module Google
# @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_registry_group_device(name, device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::CloudiotV1::Device::Representation
command.request_object = device_object
command.response_representation = Google::Apis::CloudiotV1::Device::Representation
@ -1179,7 +1179,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def send_project_location_registry_group_device_command_to_device(name, send_command_to_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:sendCommandToDevice', options)
command = make_simple_command(:post, 'v1/{+name}:sendCommandToDevice', options)
command.request_representation = Google::Apis::CloudiotV1::SendCommandToDeviceRequest::Representation
command.request_object = send_command_to_device_request_object
command.response_representation = Google::Apis::CloudiotV1::SendCommandToDeviceResponse::Representation
@ -1218,7 +1218,7 @@ module Google
# @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_registry_group_device_config_versions(name, num_versions: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}/configVersions', options)
command = make_simple_command(:get, 'v1/{+name}/configVersions', options)
command.response_representation = Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse::Representation
command.response_class = Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse
command.params['name'] = name unless name.nil?
@ -1256,7 +1256,7 @@ module Google
# @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_registry_group_device_states(name, num_states: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}/states', options)
command = make_simple_command(:get, 'v1/{+name}/states', options)
command.response_representation = Google::Apis::CloudiotV1::ListDeviceStatesResponse::Representation
command.response_class = Google::Apis::CloudiotV1::ListDeviceStatesResponse
command.params['name'] = name unless name.nil?

View File

@ -69,7 +69,7 @@ module Google
# @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, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudkmsV1::Location::Representation
command.response_class = Google::Apis::CloudkmsV1::Location
command.params['name'] = name unless name.nil?
@ -105,7 +105,7 @@ module Google
# @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, 'v1/{+name}/locations', options)
command = make_simple_command(:get, 'v1/{+name}/locations', options)
command.response_representation = Google::Apis::CloudkmsV1::ListLocationsResponse::Representation
command.response_class = Google::Apis::CloudkmsV1::ListLocationsResponse
command.params['name'] = name unless name.nil?
@ -143,7 +143,7 @@ module Google
# @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_key_ring(parent, key_ring_object = nil, key_ring_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/keyRings', options)
command = make_simple_command(:post, 'v1/{+parent}/keyRings', options)
command.request_representation = Google::Apis::CloudkmsV1::KeyRing::Representation
command.request_object = key_ring_object
command.response_representation = Google::Apis::CloudkmsV1::KeyRing::Representation
@ -176,7 +176,7 @@ module Google
# @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_key_ring(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudkmsV1::KeyRing::Representation
command.response_class = Google::Apis::CloudkmsV1::KeyRing
command.params['name'] = name unless name.nil?
@ -209,7 +209,7 @@ module Google
# @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_key_ring_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation
command.response_class = Google::Apis::CloudkmsV1::Policy
command.params['resource'] = resource unless resource.nil?
@ -248,7 +248,7 @@ module Google
# @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_key_rings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/keyRings', options)
command = make_simple_command(:get, 'v1/{+parent}/keyRings', options)
command.response_representation = Google::Apis::CloudkmsV1::ListKeyRingsResponse::Representation
command.response_class = Google::Apis::CloudkmsV1::ListKeyRingsResponse
command.params['parent'] = parent unless parent.nil?
@ -283,7 +283,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_key_ring_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::CloudkmsV1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation
@ -322,7 +322,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_key_ring_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::CloudkmsV1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::CloudkmsV1::TestIamPermissionsResponse::Representation
@ -362,7 +362,7 @@ module Google
# @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_key_ring_crypto_key(parent, crypto_key_object = nil, crypto_key_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/cryptoKeys', options)
command = make_simple_command(:post, 'v1/{+parent}/cryptoKeys', options)
command.request_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation
command.request_object = crypto_key_object
command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation
@ -398,7 +398,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def decrypt_crypto_key(name, decrypt_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:decrypt', options)
command = make_simple_command(:post, 'v1/{+name}:decrypt', options)
command.request_representation = Google::Apis::CloudkmsV1::DecryptRequest::Representation
command.request_object = decrypt_request_object
command.response_representation = Google::Apis::CloudkmsV1::DecryptResponse::Representation
@ -436,7 +436,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def encrypt_crypto_key(name, encrypt_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:encrypt', options)
command = make_simple_command(:post, 'v1/{+name}:encrypt', options)
command.request_representation = Google::Apis::CloudkmsV1::EncryptRequest::Representation
command.request_object = encrypt_request_object
command.response_representation = Google::Apis::CloudkmsV1::EncryptResponse::Representation
@ -469,7 +469,7 @@ module Google
# @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_key_ring_crypto_key(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation
command.response_class = Google::Apis::CloudkmsV1::CryptoKey
command.params['name'] = name unless name.nil?
@ -502,7 +502,7 @@ module Google
# @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_key_ring_crypto_key_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation
command.response_class = Google::Apis::CloudkmsV1::Policy
command.params['resource'] = resource unless resource.nil?
@ -543,7 +543,7 @@ module Google
# @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_key_ring_crypto_keys(parent, page_size: nil, page_token: nil, version_view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/cryptoKeys', options)
command = make_simple_command(:get, 'v1/{+parent}/cryptoKeys', options)
command.response_representation = Google::Apis::CloudkmsV1::ListCryptoKeysResponse::Representation
command.response_class = Google::Apis::CloudkmsV1::ListCryptoKeysResponse
command.params['parent'] = parent unless parent.nil?
@ -580,7 +580,7 @@ module Google
# @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_key_ring_crypto_key(name, crypto_key_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation
command.request_object = crypto_key_object
command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation
@ -616,7 +616,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_crypto_key_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::CloudkmsV1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation
@ -655,7 +655,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_crypto_key_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::CloudkmsV1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::CloudkmsV1::TestIamPermissionsResponse::Representation
@ -689,7 +689,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_location_key_ring_crypto_key_primary_version(name, update_crypto_key_primary_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:updatePrimaryVersion', options)
command = make_simple_command(:post, 'v1/{+name}:updatePrimaryVersion', options)
command.request_representation = Google::Apis::CloudkmsV1::UpdateCryptoKeyPrimaryVersionRequest::Representation
command.request_object = update_crypto_key_primary_version_request_object
command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation
@ -725,7 +725,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def asymmetric_crypto_key_version_decrypt(name, asymmetric_decrypt_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:asymmetricDecrypt', options)
command = make_simple_command(:post, 'v1/{+name}:asymmetricDecrypt', options)
command.request_representation = Google::Apis::CloudkmsV1::AsymmetricDecryptRequest::Representation
command.request_object = asymmetric_decrypt_request_object
command.response_representation = Google::Apis::CloudkmsV1::AsymmetricDecryptResponse::Representation
@ -760,7 +760,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def asymmetric_crypto_key_version_sign(name, asymmetric_sign_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:asymmetricSign', options)
command = make_simple_command(:post, 'v1/{+name}:asymmetricSign', options)
command.request_representation = Google::Apis::CloudkmsV1::AsymmetricSignRequest::Representation
command.request_object = asymmetric_sign_request_object
command.response_representation = Google::Apis::CloudkmsV1::AsymmetricSignResponse::Representation
@ -797,7 +797,7 @@ module Google
# @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_key_ring_crypto_key_crypto_key_version(parent, crypto_key_version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/cryptoKeyVersions', options)
command = make_simple_command(:post, 'v1/{+parent}/cryptoKeyVersions', options)
command.request_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
command.request_object = crypto_key_version_object
command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
@ -839,7 +839,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def destroy_crypto_key_version(name, destroy_crypto_key_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:destroy', options)
command = make_simple_command(:post, 'v1/{+name}:destroy', options)
command.request_representation = Google::Apis::CloudkmsV1::DestroyCryptoKeyVersionRequest::Representation
command.request_object = destroy_crypto_key_version_request_object
command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
@ -871,7 +871,7 @@ module Google
# @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_key_ring_crypto_key_crypto_key_version(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion
command.params['name'] = name unless name.nil?
@ -905,7 +905,7 @@ module Google
# @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_key_ring_crypto_key_crypto_key_version_public_key(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}/publicKey', options)
command = make_simple_command(:get, 'v1/{+name}/publicKey', options)
command.response_representation = Google::Apis::CloudkmsV1::PublicKey::Representation
command.response_class = Google::Apis::CloudkmsV1::PublicKey
command.params['name'] = name unless name.nil?
@ -947,7 +947,7 @@ module Google
# @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_key_ring_crypto_key_crypto_key_versions(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/cryptoKeyVersions', options)
command = make_simple_command(:get, 'v1/{+parent}/cryptoKeyVersions', options)
command.response_representation = Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse::Representation
command.response_class = Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse
command.params['parent'] = parent unless parent.nil?
@ -989,7 +989,7 @@ module Google
# @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_key_ring_crypto_key_crypto_key_version(name, crypto_key_version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
command.request_object = crypto_key_version_object
command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
@ -1028,7 +1028,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def restore_crypto_key_version(name, restore_crypto_key_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:restore', options)
command = make_simple_command(:post, 'v1/{+name}:restore', options)
command.request_representation = Google::Apis::CloudkmsV1::RestoreCryptoKeyVersionRequest::Representation
command.request_object = restore_crypto_key_version_request_object
command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
@ -1063,7 +1063,7 @@ module Google
# @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_key_ring_import_job_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation
command.response_class = Google::Apis::CloudkmsV1::Policy
command.params['resource'] = resource unless resource.nil?
@ -1096,7 +1096,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_import_job_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::CloudkmsV1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation
@ -1135,7 +1135,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_import_job_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::CloudkmsV1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::CloudkmsV1::TestIamPermissionsResponse::Representation

View File

@ -82,7 +82,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_folder_catalogs(resource, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+resource}/catalogs:search', options)
command = make_simple_command(:get, 'v1beta1/{+resource}/catalogs:search', options)
command.response_representation = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse::Representation
command.response_class = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse
command.params['resource'] = resource unless resource.nil?
@ -130,7 +130,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_folder_products(resource, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+resource}/products:search', options)
command = make_simple_command(:get, 'v1beta1/{+resource}/products:search', options)
command.response_representation = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchProductsResponse::Representation
command.response_class = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchProductsResponse
command.params['resource'] = resource unless resource.nil?
@ -178,7 +178,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_folder_versions(resource, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+resource}/versions:search', options)
command = make_simple_command(:get, 'v1beta1/{+resource}/versions:search', options)
command.response_representation = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse::Representation
command.response_class = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse
command.params['resource'] = resource unless resource.nil?
@ -224,7 +224,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_organization_catalogs(resource, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+resource}/catalogs:search', options)
command = make_simple_command(:get, 'v1beta1/{+resource}/catalogs:search', options)
command.response_representation = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse::Representation
command.response_class = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse
command.params['resource'] = resource unless resource.nil?
@ -272,7 +272,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_organization_products(resource, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+resource}/products:search', options)
command = make_simple_command(:get, 'v1beta1/{+resource}/products:search', options)
command.response_representation = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchProductsResponse::Representation
command.response_class = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchProductsResponse
command.params['resource'] = resource unless resource.nil?
@ -320,7 +320,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_organization_versions(resource, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+resource}/versions:search', options)
command = make_simple_command(:get, 'v1beta1/{+resource}/versions:search', options)
command.response_representation = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse::Representation
command.response_class = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse
command.params['resource'] = resource unless resource.nil?
@ -366,7 +366,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_project_catalogs(resource, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+resource}/catalogs:search', options)
command = make_simple_command(:get, 'v1beta1/{+resource}/catalogs:search', options)
command.response_representation = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse::Representation
command.response_class = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse
command.params['resource'] = resource unless resource.nil?
@ -414,7 +414,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_project_products(resource, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+resource}/products:search', options)
command = make_simple_command(:get, 'v1beta1/{+resource}/products:search', options)
command.response_representation = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchProductsResponse::Representation
command.response_class = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchProductsResponse
command.params['resource'] = resource unless resource.nil?
@ -462,7 +462,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_project_versions(resource, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+resource}/versions:search', options)
command = make_simple_command(:get, 'v1beta1/{+resource}/versions:search', options)
command.response_representation = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse::Representation
command.response_class = Google::Apis::CloudprivatecatalogV1beta1::GoogleCloudPrivatecatalogV1beta1SearchVersionsResponse
command.params['resource'] = resource unless resource.nil?

View File

@ -68,7 +68,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_catalog(google_cloud_privatecatalogproducer_v1beta1_catalog_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/catalogs', options)
command = make_simple_command(:post, 'v1beta1/catalogs', options)
command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog::Representation
command.request_object = google_cloud_privatecatalogproducer_v1beta1_catalog_object
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation::Representation
@ -107,7 +107,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_catalog(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog::Representation
command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog
command.params['name'] = name unless name.nil?
@ -138,7 +138,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_catalog(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog::Representation
command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog
command.params['name'] = name unless name.nil?
@ -169,7 +169,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_catalog_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy::Representation
command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy
command.params['resource'] = resource unless resource.nil?
@ -206,7 +206,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_catalogs(page_size: nil, page_token: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/catalogs', options)
command = make_simple_command(:get, 'v1beta1/catalogs', options)
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse::Representation
command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse
command.query['pageSize'] = page_size unless page_size.nil?
@ -244,7 +244,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_catalog(name, google_cloud_privatecatalogproducer_v1beta1_catalog_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog::Representation
command.request_object = google_cloud_privatecatalogproducer_v1beta1_catalog_object
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog::Representation
@ -279,7 +279,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_catalog_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1SetIamPolicyRequest::Representation
command.request_object = google_iam_v1_set_iam_policy_request_object
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy::Representation
@ -313,7 +313,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_catalog_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1TestIamPermissionsRequest::Representation
command.request_object = google_iam_v1_test_iam_permissions_request_object
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation
@ -346,7 +346,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def undelete_catalog(name, google_cloud_privatecatalogproducer_v1beta1_undelete_catalog_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:undelete', options)
command = make_simple_command(:post, 'v1beta1/{+name}:undelete', options)
command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1UndeleteCatalogRequest::Representation
command.request_object = google_cloud_privatecatalogproducer_v1beta1_undelete_catalog_request_object
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog::Representation
@ -379,7 +379,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_catalog_association(parent, google_cloud_privatecatalogproducer_v1beta1_create_association_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}/associations', options)
command = make_simple_command(:post, 'v1beta1/{+parent}/associations', options)
command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest::Representation
command.request_object = google_cloud_privatecatalogproducer_v1beta1_create_association_request_object
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association::Representation
@ -411,7 +411,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_catalog_association(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty::Representation
command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty
command.params['name'] = name unless name.nil?
@ -441,7 +441,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_catalog_association(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association::Representation
command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association
command.params['name'] = name unless name.nil?
@ -477,7 +477,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_catalog_associations(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/associations', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/associations', options)
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse::Representation
command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse
command.params['parent'] = parent unless parent.nil?
@ -510,7 +510,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def copy_catalog_product(name, google_cloud_privatecatalogproducer_v1beta1_copy_product_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:copy', options)
command = make_simple_command(:post, 'v1beta1/{+name}:copy', options)
command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest::Representation
command.request_object = google_cloud_privatecatalogproducer_v1beta1_copy_product_request_object
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation::Representation
@ -543,7 +543,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_catalog_product(parent, google_cloud_privatecatalogproducer_v1beta1_product_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}/products', options)
command = make_simple_command(:post, 'v1beta1/{+parent}/products', options)
command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product::Representation
command.request_object = google_cloud_privatecatalogproducer_v1beta1_product_object
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product::Representation
@ -575,7 +575,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_catalog_product(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty::Representation
command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty
command.params['name'] = name unless name.nil?
@ -605,7 +605,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_catalog_product(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product::Representation
command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product
command.params['name'] = name unless name.nil?
@ -645,7 +645,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_catalog_products(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/products', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/products', options)
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse::Representation
command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse
command.params['parent'] = parent unless parent.nil?
@ -685,7 +685,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_catalog_product(name, google_cloud_privatecatalogproducer_v1beta1_product_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product::Representation
command.request_object = google_cloud_privatecatalogproducer_v1beta1_product_object
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product::Representation
@ -724,7 +724,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def upload_catalog_product_icon(product, google_cloud_privatecatalogproducer_v1beta1_upload_icon_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+product}/icons:upload', options)
command = make_simple_command(:post, 'v1beta1/{+product}/icons:upload', options)
command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest::Representation
command.request_object = google_cloud_privatecatalogproducer_v1beta1_upload_icon_request_object
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty::Representation
@ -757,7 +757,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_catalog_product_version(parent, google_cloud_privatecatalogproducer_v1beta1_version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}/versions', options)
command = make_simple_command(:post, 'v1beta1/{+parent}/versions', options)
command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version::Representation
command.request_object = google_cloud_privatecatalogproducer_v1beta1_version_object
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation::Representation
@ -789,7 +789,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_catalog_product_version(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty::Representation
command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty
command.params['name'] = name unless name.nil?
@ -819,7 +819,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_catalog_product_version(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version::Representation
command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version
command.params['name'] = name unless name.nil?
@ -856,7 +856,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_catalog_product_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/versions', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/versions', options)
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse::Representation
command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse
command.params['parent'] = parent unless parent.nil?
@ -895,7 +895,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_catalog_product_version(name, google_cloud_privatecatalogproducer_v1beta1_version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version::Representation
command.request_object = google_cloud_privatecatalogproducer_v1beta1_version_object
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version::Representation
@ -938,7 +938,7 @@ module Google
# @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, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
command.request_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningCancelOperationRequest::Representation
command.request_object = google_longrunning_cancel_operation_request_object
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty::Representation
@ -973,7 +973,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty::Representation
command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleProtobufEmpty
command.params['name'] = name unless name.nil?
@ -1005,7 +1005,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation::Representation
command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation
command.params['name'] = name unless name.nil?
@ -1049,7 +1049,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/operations', options)
command = make_simple_command(:get, 'v1beta1/operations', options)
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningListOperationsResponse::Representation
command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningListOperationsResponse
command.query['filter'] = filter unless filter.nil?

View File

@ -79,7 +79,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_profile(parent, create_profile_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+parent}/profiles', options)
command = make_simple_command(:post, 'v2/{+parent}/profiles', options)
command.request_representation = Google::Apis::CloudprofilerV2::CreateProfileRequest::Representation
command.request_object = create_profile_request_object
command.response_representation = Google::Apis::CloudprofilerV2::Profile::Representation
@ -114,7 +114,7 @@ module Google
# @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_profile_offline(parent, profile_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+parent}/profiles:createOffline', options)
command = make_simple_command(:post, 'v2/{+parent}/profiles:createOffline', options)
command.request_representation = Google::Apis::CloudprofilerV2::Profile::Representation
command.request_object = profile_object
command.response_representation = Google::Apis::CloudprofilerV2::Profile::Representation
@ -155,7 +155,7 @@ module Google
# @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_profile(name, profile_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v2/{+name}', options)
command = make_simple_command(:patch, 'v2/{+name}', options)
command.request_representation = Google::Apis::CloudprofilerV2::Profile::Representation
command.request_object = profile_object
command.response_representation = Google::Apis::CloudprofilerV2::Profile::Representation

View File

@ -70,7 +70,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def clear_folder_org_policy(resource, clear_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation
command.request_object = clear_org_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation
@ -107,7 +107,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_folder_effective_org_policy(resource, get_effective_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation
command.request_object = get_effective_org_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
@ -144,7 +144,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_folder_org_policy(resource, get_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation
command.request_object = get_org_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
@ -177,7 +177,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_folder_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options)
command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest::Representation
command.request_object = list_available_org_policy_constraints_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse::Representation
@ -210,7 +210,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_folder_org_policies(resource, list_org_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options)
command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation
command.request_object = list_org_policies_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation
@ -246,7 +246,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_folder_org_policy(resource, set_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation
command.request_object = set_org_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
@ -281,7 +281,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_lien(lien_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/liens', options)
command = make_simple_command(:post, 'v1/liens', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::Lien::Representation
command.request_object = lien_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::Lien::Representation
@ -315,7 +315,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_lien(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1::Empty
command.params['name'] = name unless name.nil?
@ -349,7 +349,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_lien(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudresourcemanagerV1::Lien::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1::Lien
command.params['name'] = name unless name.nil?
@ -387,7 +387,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_liens(page_size: nil, page_token: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/liens', options)
command = make_simple_command(:get, 'v1/liens', options)
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListLiensResponse::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1::ListLiensResponse
command.query['pageSize'] = page_size unless page_size.nil?
@ -421,7 +421,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudresourcemanagerV1::Operation::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1::Operation
command.params['name'] = name unless name.nil?
@ -452,7 +452,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def clear_organization_org_policy(resource, clear_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation
command.request_object = clear_org_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation
@ -486,7 +486,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_organization(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudresourcemanagerV1::Organization::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1::Organization
command.params['name'] = name unless name.nil?
@ -521,7 +521,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_organization_effective_org_policy(resource, get_effective_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation
command.request_object = get_effective_org_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
@ -559,7 +559,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_organization_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation
@ -596,7 +596,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_organization_org_policy(resource, get_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation
command.request_object = get_org_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
@ -629,7 +629,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_organization_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options)
command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest::Representation
command.request_object = list_available_org_policy_constraints_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse::Representation
@ -662,7 +662,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_organization_org_policies(resource, list_org_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options)
command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation
command.request_object = list_org_policies_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation
@ -698,7 +698,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_organizations(search_organizations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/organizations:search', options)
command = make_simple_command(:post, 'v1/organizations:search', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::SearchOrganizationsRequest::Representation
command.request_object = search_organizations_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::SearchOrganizationsResponse::Representation
@ -735,7 +735,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_organization_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation
@ -771,7 +771,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_organization_org_policy(resource, set_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation
command.request_object = set_org_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
@ -808,7 +808,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_organization_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse::Representation
@ -841,7 +841,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def clear_project_org_policy(resource, clear_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation
command.request_object = clear_org_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation
@ -886,7 +886,7 @@ module Google
# @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(project_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects', options)
command = make_simple_command(:post, 'v1/projects', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation
command.request_object = project_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::Operation::Representation
@ -934,7 +934,7 @@ module Google
# @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(project_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/projects/{projectId}', options)
command = make_simple_command(:delete, 'v1/projects/{projectId}', options)
command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1::Empty
command.params['projectId'] = project_id unless project_id.nil?
@ -967,7 +967,7 @@ module Google
# @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(project_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects/{projectId}', options)
command = make_simple_command(:get, 'v1/projects/{projectId}', options)
command.response_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1::Project
command.params['projectId'] = project_id unless project_id.nil?
@ -1001,7 +1001,7 @@ module Google
# @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_ancestry(project_id, get_ancestry_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}:getAncestry', options)
command = make_simple_command(:post, 'v1/projects/{projectId}:getAncestry', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetAncestryRequest::Representation
command.request_object = get_ancestry_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::GetAncestryResponse::Representation
@ -1038,7 +1038,7 @@ module Google
# @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_effective_org_policy(resource, get_effective_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation
command.request_object = get_effective_org_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
@ -1077,7 +1077,7 @@ module Google
# @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_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v1/projects/{resource}:getIamPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation
@ -1114,7 +1114,7 @@ module Google
# @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_org_policy(resource, get_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation
command.request_object = get_org_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
@ -1194,7 +1194,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_projects(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects', options)
command = make_simple_command(:get, 'v1/projects', options)
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListProjectsResponse::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1::ListProjectsResponse
command.query['filter'] = filter unless filter.nil?
@ -1227,7 +1227,7 @@ module Google
# @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_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options)
command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest::Representation
command.request_object = list_available_org_policy_constraints_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse::Representation
@ -1260,7 +1260,7 @@ module Google
# @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_org_policies(resource, list_org_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options)
command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation
command.request_object = list_org_policies_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation
@ -1327,7 +1327,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1/projects/{resource}:setIamPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation
@ -1363,7 +1363,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_org_policy(resource, set_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation
command.request_object = set_org_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
@ -1398,7 +1398,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_project_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1/projects/{resource}:testIamPermissions', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse::Representation
@ -1437,7 +1437,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def undelete_project(project_id, undelete_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}:undelete', options)
command = make_simple_command(:post, 'v1/projects/{projectId}:undelete', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::UndeleteProjectRequest::Representation
command.request_object = undelete_project_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation
@ -1473,7 +1473,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project(project_id, project_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1/projects/{projectId}', options)
command = make_simple_command(:put, 'v1/projects/{projectId}', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation
command.request_object = project_object
command.response_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation

View File

@ -74,7 +74,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_organization(name, organization_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Organization
command.params['name'] = name unless name.nil?
@ -109,7 +109,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_organization_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
@ -159,7 +159,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_organizations(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/organizations', options)
command = make_simple_command(:get, 'v1beta1/organizations', options)
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse
command.query['filter'] = filter unless filter.nil?
@ -195,7 +195,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_organization_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
@ -231,7 +231,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_organization_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse::Representation
@ -266,7 +266,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_organization(name, organization_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1beta1/{+name}', options)
command = make_simple_command(:put, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
command.request_object = organization_object
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
@ -310,7 +310,7 @@ module Google
# @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(project_object = nil, use_legacy_stack: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects', options)
command = make_simple_command(:post, 'v1beta1/projects', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
command.request_object = project_object
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
@ -360,7 +360,7 @@ module Google
# @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(project_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/projects/{projectId}', options)
command = make_simple_command(:delete, 'v1beta1/projects/{projectId}', options)
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Empty::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Empty
command.params['projectId'] = project_id unless project_id.nil?
@ -393,7 +393,7 @@ module Google
# @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(project_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/projects/{projectId}', options)
command = make_simple_command(:get, 'v1beta1/projects/{projectId}', options)
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project
command.params['projectId'] = project_id unless project_id.nil?
@ -427,7 +427,7 @@ module Google
# @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_ancestry(project_id, get_ancestry_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}:getAncestry', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}:getAncestry', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryRequest::Representation
command.request_object = get_ancestry_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse::Representation
@ -464,7 +464,7 @@ module Google
# @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_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v1beta1/projects/{resource}:getIamPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
@ -544,7 +544,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_projects(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/projects', options)
command = make_simple_command(:get, 'v1beta1/projects', options)
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::ListProjectsResponse::Representation
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::ListProjectsResponse
command.query['filter'] = filter unless filter.nil?
@ -606,7 +606,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1beta1/projects/{resource}:setIamPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
@ -640,7 +640,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_project_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1beta1/projects/{resource}:testIamPermissions', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse::Representation
@ -679,7 +679,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def undelete_project(project_id, undelete_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}:undelete', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}:undelete', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest::Representation
command.request_object = undelete_project_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Empty::Representation
@ -715,7 +715,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project(project_id, project_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1beta1/projects/{projectId}', options)
command = make_simple_command(:put, 'v1beta1/projects/{projectId}', options)
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
command.request_object = project_object
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation

View File

@ -93,7 +93,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_folder(folder_object = nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/folders', options)
command = make_simple_command(:post, 'v2/folders', options)
command.request_representation = Google::Apis::CloudresourcemanagerV2::Folder::Representation
command.request_object = folder_object
command.response_representation = Google::Apis::CloudresourcemanagerV2::Operation::Representation
@ -134,7 +134,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_folder(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2/{+name}', options)
command = make_simple_command(:delete, 'v2/{+name}', options)
command.response_representation = Google::Apis::CloudresourcemanagerV2::Folder::Representation
command.response_class = Google::Apis::CloudresourcemanagerV2::Folder
command.params['name'] = name unless name.nil?
@ -169,7 +169,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_folder(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}', options)
command = make_simple_command(:get, 'v2/{+name}', options)
command.response_representation = Google::Apis::CloudresourcemanagerV2::Folder::Representation
command.response_class = Google::Apis::CloudresourcemanagerV2::Folder
command.params['name'] = name unless name.nil?
@ -205,7 +205,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_folder_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV2::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV2::Policy::Representation
@ -258,7 +258,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_folders(page_size: nil, page_token: nil, parent: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/folders', options)
command = make_simple_command(:get, 'v2/folders', options)
command.response_representation = Google::Apis::CloudresourcemanagerV2::ListFoldersResponse::Representation
command.response_class = Google::Apis::CloudresourcemanagerV2::ListFoldersResponse
command.query['pageSize'] = page_size unless page_size.nil?
@ -309,7 +309,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def move_folder(name, move_folder_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+name}:move', options)
command = make_simple_command(:post, 'v2/{+name}:move', options)
command.request_representation = Google::Apis::CloudresourcemanagerV2::MoveFolderRequest::Representation
command.request_object = move_folder_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV2::Operation::Representation
@ -358,7 +358,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_folder(name, folder_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v2/{+name}', options)
command = make_simple_command(:patch, 'v2/{+name}', options)
command.request_representation = Google::Apis::CloudresourcemanagerV2::Folder::Representation
command.request_object = folder_object
command.response_representation = Google::Apis::CloudresourcemanagerV2::Folder::Representation
@ -394,7 +394,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_folders(search_folders_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/folders:search', options)
command = make_simple_command(:post, 'v2/folders:search', options)
command.request_representation = Google::Apis::CloudresourcemanagerV2::SearchFoldersRequest::Representation
command.request_object = search_folders_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV2::SearchFoldersResponse::Representation
@ -431,7 +431,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_folder_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV2::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV2::Policy::Representation
@ -468,7 +468,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_folder_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::CloudresourcemanagerV2::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV2::TestIamPermissionsResponse::Representation
@ -511,7 +511,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def undelete_folder(name, undelete_folder_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+name}:undelete', options)
command = make_simple_command(:post, 'v2/{+name}:undelete', options)
command.request_representation = Google::Apis::CloudresourcemanagerV2::UndeleteFolderRequest::Representation
command.request_object = undelete_folder_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV2::Folder::Representation
@ -545,7 +545,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudresourcemanagerV2::Operation::Representation
command.response_class = Google::Apis::CloudresourcemanagerV2::Operation
command.params['name'] = name unless name.nil?

View File

@ -93,7 +93,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_folder(folder_object = nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/folders', options)
command = make_simple_command(:post, 'v2/folders', options)
command.request_representation = Google::Apis::CloudresourcemanagerV2beta1::Folder::Representation
command.request_object = folder_object
command.response_representation = Google::Apis::CloudresourcemanagerV2beta1::Operation::Representation
@ -134,7 +134,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_folder(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2/{+name}', options)
command = make_simple_command(:delete, 'v2/{+name}', options)
command.response_representation = Google::Apis::CloudresourcemanagerV2beta1::Folder::Representation
command.response_class = Google::Apis::CloudresourcemanagerV2beta1::Folder
command.params['name'] = name unless name.nil?
@ -169,7 +169,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_folder(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}', options)
command = make_simple_command(:get, 'v2/{+name}', options)
command.response_representation = Google::Apis::CloudresourcemanagerV2beta1::Folder::Representation
command.response_class = Google::Apis::CloudresourcemanagerV2beta1::Folder
command.params['name'] = name unless name.nil?
@ -205,7 +205,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_folder_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV2beta1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV2beta1::Policy::Representation
@ -258,7 +258,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_folders(page_size: nil, page_token: nil, parent: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/folders', options)
command = make_simple_command(:get, 'v2/folders', options)
command.response_representation = Google::Apis::CloudresourcemanagerV2beta1::ListFoldersResponse::Representation
command.response_class = Google::Apis::CloudresourcemanagerV2beta1::ListFoldersResponse
command.query['pageSize'] = page_size unless page_size.nil?
@ -309,7 +309,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def move_folder(name, move_folder_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+name}:move', options)
command = make_simple_command(:post, 'v2/{+name}:move', options)
command.request_representation = Google::Apis::CloudresourcemanagerV2beta1::MoveFolderRequest::Representation
command.request_object = move_folder_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV2beta1::Operation::Representation
@ -358,7 +358,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_folder(name, folder_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v2/{+name}', options)
command = make_simple_command(:patch, 'v2/{+name}', options)
command.request_representation = Google::Apis::CloudresourcemanagerV2beta1::Folder::Representation
command.request_object = folder_object
command.response_representation = Google::Apis::CloudresourcemanagerV2beta1::Folder::Representation
@ -394,7 +394,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_folders(search_folders_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/folders:search', options)
command = make_simple_command(:post, 'v2/folders:search', options)
command.request_representation = Google::Apis::CloudresourcemanagerV2beta1::SearchFoldersRequest::Representation
command.request_object = search_folders_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV2beta1::SearchFoldersResponse::Representation
@ -431,7 +431,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_folder_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::CloudresourcemanagerV2beta1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV2beta1::Policy::Representation
@ -468,7 +468,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_folder_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::CloudresourcemanagerV2beta1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV2beta1::TestIamPermissionsResponse::Representation
@ -511,7 +511,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def undelete_folder(name, undelete_folder_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+name}:undelete', options)
command = make_simple_command(:post, 'v2/{+name}:undelete', options)
command.request_representation = Google::Apis::CloudresourcemanagerV2beta1::UndeleteFolderRequest::Representation
command.request_object = undelete_folder_request_object
command.response_representation = Google::Apis::CloudresourcemanagerV2beta1::Folder::Representation
@ -545,7 +545,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudresourcemanagerV2beta1::Operation::Representation
command.response_class = Google::Apis::CloudresourcemanagerV2beta1::Operation
command.params['name'] = name unless name.nil?

View File

@ -68,7 +68,7 @@ module Google
# @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, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudschedulerV1::Location::Representation
command.response_class = Google::Apis::CloudschedulerV1::Location
command.params['name'] = name unless name.nil?
@ -104,7 +104,7 @@ module Google
# @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, 'v1/{+name}/locations', options)
command = make_simple_command(:get, 'v1/{+name}/locations', options)
command.response_representation = Google::Apis::CloudschedulerV1::ListLocationsResponse::Representation
command.response_class = Google::Apis::CloudschedulerV1::ListLocationsResponse
command.params['name'] = name unless name.nil?
@ -140,7 +140,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_project_location_job(parent, job_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/jobs', options)
command = make_simple_command(:post, 'v1/{+parent}/jobs', options)
command.request_representation = Google::Apis::CloudschedulerV1::Job::Representation
command.request_object = job_object
command.response_representation = Google::Apis::CloudschedulerV1::Job::Representation
@ -174,7 +174,7 @@ module Google
# @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_job(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudschedulerV1::Empty::Representation
command.response_class = Google::Apis::CloudschedulerV1::Empty
command.params['name'] = name unless name.nil?
@ -206,7 +206,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_job(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudschedulerV1::Job::Representation
command.response_class = Google::Apis::CloudschedulerV1::Job
command.params['name'] = name unless name.nil?
@ -252,7 +252,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_location_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/jobs', options)
command = make_simple_command(:get, 'v1/{+parent}/jobs', options)
command.response_representation = Google::Apis::CloudschedulerV1::ListJobsResponse::Representation
command.response_class = Google::Apis::CloudschedulerV1::ListJobsResponse
command.params['parent'] = parent unless parent.nil?
@ -308,7 +308,7 @@ module Google
# @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_job(name, job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::CloudschedulerV1::Job::Representation
command.request_object = job_object
command.response_representation = Google::Apis::CloudschedulerV1::Job::Representation
@ -349,7 +349,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def pause_job(name, pause_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:pause', options)
command = make_simple_command(:post, 'v1/{+name}:pause', options)
command.request_representation = Google::Apis::CloudschedulerV1::PauseJobRequest::Representation
command.request_object = pause_job_request_object
command.response_representation = Google::Apis::CloudschedulerV1::Job::Representation
@ -388,7 +388,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def resume_job(name, resume_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:resume', options)
command = make_simple_command(:post, 'v1/{+name}:resume', options)
command.request_representation = Google::Apis::CloudschedulerV1::ResumeJobRequest::Representation
command.request_object = resume_job_request_object
command.response_representation = Google::Apis::CloudschedulerV1::Job::Representation
@ -425,7 +425,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def run_job(name, run_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:run', options)
command = make_simple_command(:post, 'v1/{+name}:run', options)
command.request_representation = Google::Apis::CloudschedulerV1::RunJobRequest::Representation
command.request_object = run_job_request_object
command.response_representation = Google::Apis::CloudschedulerV1::Job::Representation

View File

@ -68,7 +68,7 @@ module Google
# @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 = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudschedulerV1beta1::Location::Representation
command.response_class = Google::Apis::CloudschedulerV1beta1::Location
command.params['name'] = name unless name.nil?
@ -104,7 +104,7 @@ module Google
# @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 = make_simple_command(:get, 'v1beta1/{+name}/locations', options)
command.response_representation = Google::Apis::CloudschedulerV1beta1::ListLocationsResponse::Representation
command.response_class = Google::Apis::CloudschedulerV1beta1::ListLocationsResponse
command.params['name'] = name unless name.nil?
@ -140,7 +140,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_project_location_job(parent, job_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}/jobs', options)
command = make_simple_command(:post, 'v1beta1/{+parent}/jobs', options)
command.request_representation = Google::Apis::CloudschedulerV1beta1::Job::Representation
command.request_object = job_object
command.response_representation = Google::Apis::CloudschedulerV1beta1::Job::Representation
@ -174,7 +174,7 @@ module Google
# @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_job(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudschedulerV1beta1::Empty::Representation
command.response_class = Google::Apis::CloudschedulerV1beta1::Empty
command.params['name'] = name unless name.nil?
@ -206,7 +206,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_job(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudschedulerV1beta1::Job::Representation
command.response_class = Google::Apis::CloudschedulerV1beta1::Job
command.params['name'] = name unless name.nil?
@ -252,7 +252,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_location_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/jobs', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/jobs', options)
command.response_representation = Google::Apis::CloudschedulerV1beta1::ListJobsResponse::Representation
command.response_class = Google::Apis::CloudschedulerV1beta1::ListJobsResponse
command.params['parent'] = parent unless parent.nil?
@ -308,7 +308,7 @@ module Google
# @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_job(name, job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::CloudschedulerV1beta1::Job::Representation
command.request_object = job_object
command.response_representation = Google::Apis::CloudschedulerV1beta1::Job::Representation
@ -349,7 +349,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def pause_job(name, pause_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:pause', options)
command = make_simple_command(:post, 'v1beta1/{+name}:pause', options)
command.request_representation = Google::Apis::CloudschedulerV1beta1::PauseJobRequest::Representation
command.request_object = pause_job_request_object
command.response_representation = Google::Apis::CloudschedulerV1beta1::Job::Representation
@ -388,7 +388,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def resume_job(name, resume_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:resume', options)
command = make_simple_command(:post, 'v1beta1/{+name}:resume', options)
command.request_representation = Google::Apis::CloudschedulerV1beta1::ResumeJobRequest::Representation
command.request_object = resume_job_request_object
command.response_representation = Google::Apis::CloudschedulerV1beta1::Job::Representation
@ -425,7 +425,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def run_job(name, run_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:run', options)
command = make_simple_command(:post, 'v1beta1/{+name}:run', options)
command.request_representation = Google::Apis::CloudschedulerV1beta1::RunJobRequest::Representation
command.request_object = run_job_request_object
command.response_representation = Google::Apis::CloudschedulerV1beta1::Job::Representation

View File

@ -26,7 +26,7 @@ module Google
# @see https://gsuite.google.com/products/cloud-search/
module CloudsearchV1
VERSION = 'V1'
REVISION = '20190418'
REVISION = '20190503'
# Index and serve your organization's data with Cloud Search
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'

View File

@ -2584,7 +2584,7 @@ module Google
# 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`.
# `name` should be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -74,7 +74,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def check_debug_datasource_item_access(name, principal_object = nil, debug_options_enable_debugging: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/debug/{+name}:checkAccess', options)
command = make_simple_command(:post, 'v1/debug/{+name}:checkAccess', options)
command.request_representation = Google::Apis::CloudsearchV1::Principal::Representation
command.request_object = principal_object
command.response_representation = Google::Apis::CloudsearchV1::CheckAccessResponse::Representation
@ -110,7 +110,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_debug_datasource_item_by_view_url(name, search_items_by_view_url_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/debug/{+name}/items:searchByViewUrl', options)
command = make_simple_command(:post, 'v1/debug/{+name}/items:searchByViewUrl', options)
command.request_representation = Google::Apis::CloudsearchV1::SearchItemsByViewUrlRequest::Representation
command.request_object = search_items_by_view_url_request_object
command.response_representation = Google::Apis::CloudsearchV1::SearchItemsByViewUrlResponse::Representation
@ -151,7 +151,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_debug_datasource_item_unmappedids(parent, debug_options_enable_debugging: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/debug/{+parent}/unmappedids', options)
command = make_simple_command(:get, 'v1/debug/{+parent}/unmappedids', options)
command.response_representation = Google::Apis::CloudsearchV1::ListUnmappedIdentitiesResponse::Representation
command.response_class = Google::Apis::CloudsearchV1::ListUnmappedIdentitiesResponse
command.params['parent'] = parent unless parent.nil?
@ -195,7 +195,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_debug_identitysource_item_forunmappedidentity(parent, debug_options_enable_debugging: nil, group_resource_name: nil, page_size: nil, page_token: nil, user_resource_name: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/debug/{+parent}/items:forunmappedidentity', options)
command = make_simple_command(:get, 'v1/debug/{+parent}/items:forunmappedidentity', options)
command.response_representation = Google::Apis::CloudsearchV1::ListItemNamesForUnmappedIdentityResponse::Representation
command.response_class = Google::Apis::CloudsearchV1::ListItemNamesForUnmappedIdentityResponse
command.params['parent'] = parent unless parent.nil?
@ -241,7 +241,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_debug_identitysource_unmappedids(parent, debug_options_enable_debugging: nil, page_size: nil, page_token: nil, resolution_status_code: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/debug/{+parent}/unmappedids', options)
command = make_simple_command(:get, 'v1/debug/{+parent}/unmappedids', options)
command.response_representation = Google::Apis::CloudsearchV1::ListUnmappedIdentitiesResponse::Representation
command.response_class = Google::Apis::CloudsearchV1::ListUnmappedIdentitiesResponse
command.params['parent'] = parent unless parent.nil?
@ -279,7 +279,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_indexing_datasource_schema(name, debug_options_enable_debugging: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/indexing/{+name}/schema', options)
command = make_simple_command(:delete, 'v1/indexing/{+name}/schema', options)
command.response_representation = Google::Apis::CloudsearchV1::Operation::Representation
command.response_class = Google::Apis::CloudsearchV1::Operation
command.params['name'] = name unless name.nil?
@ -314,7 +314,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_indexing_datasource_schema(name, debug_options_enable_debugging: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/indexing/{+name}/schema', options)
command = make_simple_command(:get, 'v1/indexing/{+name}/schema', options)
command.response_representation = Google::Apis::CloudsearchV1::Schema::Representation
command.response_class = Google::Apis::CloudsearchV1::Schema
command.params['name'] = name unless name.nil?
@ -347,7 +347,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_datasource_schema(name, update_schema_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1/indexing/{+name}/schema', options)
command = make_simple_command(:put, 'v1/indexing/{+name}/schema', options)
command.request_representation = Google::Apis::CloudsearchV1::UpdateSchemaRequest::Representation
command.request_object = update_schema_request_object
command.response_representation = Google::Apis::CloudsearchV1::Operation::Representation
@ -399,7 +399,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_indexing_datasource_item(name, connector_name: nil, debug_options_enable_debugging: nil, mode: nil, version: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/indexing/{+name}', options)
command = make_simple_command(:delete, 'v1/indexing/{+name}', options)
command.response_representation = Google::Apis::CloudsearchV1::Operation::Representation
command.response_class = Google::Apis::CloudsearchV1::Operation
command.params['name'] = name unless name.nil?
@ -436,7 +436,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_queue_items(name, delete_queue_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/indexing/{+name}/items:deleteQueueItems', options)
command = make_simple_command(:post, 'v1/indexing/{+name}/items:deleteQueueItems', options)
command.request_representation = Google::Apis::CloudsearchV1::DeleteQueueItemsRequest::Representation
command.request_object = delete_queue_items_request_object
command.response_representation = Google::Apis::CloudsearchV1::Operation::Representation
@ -475,7 +475,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_indexing_datasource_item(name, connector_name: nil, debug_options_enable_debugging: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/indexing/{+name}', options)
command = make_simple_command(:get, 'v1/indexing/{+name}', options)
command.response_representation = Google::Apis::CloudsearchV1::Item::Representation
command.response_class = Google::Apis::CloudsearchV1::Item
command.params['name'] = name unless name.nil?
@ -515,7 +515,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def index_item(name, index_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/indexing/{+name}:index', options)
command = make_simple_command(:post, 'v1/indexing/{+name}:index', options)
command.request_representation = Google::Apis::CloudsearchV1::IndexItemRequest::Representation
command.request_object = index_item_request_object
command.response_representation = Google::Apis::CloudsearchV1::Operation::Representation
@ -569,7 +569,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_indexing_datasource_items(name, brief: nil, connector_name: nil, debug_options_enable_debugging: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/indexing/{+name}/items', options)
command = make_simple_command(:get, 'v1/indexing/{+name}/items', options)
command.response_representation = Google::Apis::CloudsearchV1::ListItemsResponse::Representation
command.response_class = Google::Apis::CloudsearchV1::ListItemsResponse
command.params['name'] = name unless name.nil?
@ -628,7 +628,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def poll_items(name, poll_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/indexing/{+name}/items:poll', options)
command = make_simple_command(:post, 'v1/indexing/{+name}/items:poll', options)
command.request_representation = Google::Apis::CloudsearchV1::PollItemsRequest::Representation
command.request_object = poll_items_request_object
command.response_representation = Google::Apis::CloudsearchV1::PollItemsResponse::Representation
@ -665,7 +665,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def push_item(name, push_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/indexing/{+name}:push', options)
command = make_simple_command(:post, 'v1/indexing/{+name}:push', options)
command.request_representation = Google::Apis::CloudsearchV1::PushItemRequest::Representation
command.request_object = push_item_request_object
command.response_representation = Google::Apis::CloudsearchV1::Item::Representation
@ -701,7 +701,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def unreserve_items(name, unreserve_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/indexing/{+name}/items:unreserve', options)
command = make_simple_command(:post, 'v1/indexing/{+name}/items:unreserve', options)
command.request_representation = Google::Apis::CloudsearchV1::UnreserveItemsRequest::Representation
command.request_object = unreserve_items_request_object
command.response_representation = Google::Apis::CloudsearchV1::Operation::Representation
@ -738,7 +738,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def upload_indexing_datasource_item(name, start_upload_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/indexing/{+name}:upload', options)
command = make_simple_command(:post, 'v1/indexing/{+name}:upload', options)
command.request_representation = Google::Apis::CloudsearchV1::StartUploadItemRequest::Representation
command.request_object = start_upload_item_request_object
command.response_representation = Google::Apis::CloudsearchV1::UploadItemRef::Representation
@ -788,7 +788,7 @@ module Google
# @raise [Google::Apis::AuthorizationError] Authorization is required
def upload_medium(resource_name, media_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:post, 'v1/media/{+resourceName}', options)
command = make_simple_command(:post, 'v1/media/{+resourceName}', options)
else
command = make_upload_command(:post, 'v1/media/{+resourceName}', options)
command.upload_source = upload_source
@ -827,7 +827,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudsearchV1::Operation::Representation
command.response_class = Google::Apis::CloudsearchV1::Operation
command.params['name'] = name unless name.nil?
@ -859,7 +859,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_query(search_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/query/search', options)
command = make_simple_command(:post, 'v1/query/search', options)
command.request_representation = Google::Apis::CloudsearchV1::SearchRequest::Representation
command.request_object = search_request_object
command.response_representation = Google::Apis::CloudsearchV1::SearchResponse::Representation
@ -889,7 +889,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def suggest_query(suggest_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/query/suggest', options)
command = make_simple_command(:post, 'v1/query/suggest', options)
command.request_representation = Google::Apis::CloudsearchV1::SuggestRequest::Representation
command.request_object = suggest_request_object
command.response_representation = Google::Apis::CloudsearchV1::SuggestResponse::Representation
@ -940,7 +940,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_query_sources(page_token: nil, request_options_debug_options_enable_debugging: nil, request_options_language_code: nil, request_options_search_application_id: nil, request_options_time_zone: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/query/sources', options)
command = make_simple_command(:get, 'v1/query/sources', options)
command.response_representation = Google::Apis::CloudsearchV1::ListQuerySourcesResponse::Representation
command.response_class = Google::Apis::CloudsearchV1::ListQuerySourcesResponse
command.query['pageToken'] = page_token unless page_token.nil?
@ -973,7 +973,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_setting_datasource(data_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/settings/datasources', options)
command = make_simple_command(:post, 'v1/settings/datasources', options)
command.request_representation = Google::Apis::CloudsearchV1::DataSource::Representation
command.request_object = data_source_object
command.response_representation = Google::Apis::CloudsearchV1::Operation::Representation
@ -1008,7 +1008,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_setting_datasource(name, debug_options_enable_debugging: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/settings/{+name}', options)
command = make_simple_command(:delete, 'v1/settings/{+name}', options)
command.response_representation = Google::Apis::CloudsearchV1::Operation::Representation
command.response_class = Google::Apis::CloudsearchV1::Operation
command.params['name'] = name unless name.nil?
@ -1043,7 +1043,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_setting_datasource(name, debug_options_enable_debugging: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/settings/{+name}', options)
command = make_simple_command(:get, 'v1/settings/{+name}', options)
command.response_representation = Google::Apis::CloudsearchV1::DataSource::Representation
command.response_class = Google::Apis::CloudsearchV1::DataSource
command.params['name'] = name unless name.nil?
@ -1081,7 +1081,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_setting_datasources(debug_options_enable_debugging: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/settings/datasources', options)
command = make_simple_command(:get, 'v1/settings/datasources', options)
command.response_representation = Google::Apis::CloudsearchV1::ListDataSourceResponse::Representation
command.response_class = Google::Apis::CloudsearchV1::ListDataSourceResponse
command.query['debugOptions.enableDebugging'] = debug_options_enable_debugging unless debug_options_enable_debugging.nil?
@ -1116,7 +1116,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_datasource_data_source(name, update_data_source_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1/settings/{+name}', options)
command = make_simple_command(:put, 'v1/settings/{+name}', options)
command.request_representation = Google::Apis::CloudsearchV1::UpdateDataSourceRequest::Representation
command.request_object = update_data_source_request_object
command.response_representation = Google::Apis::CloudsearchV1::Operation::Representation
@ -1147,7 +1147,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_setting_searchapplication(search_application_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/settings/searchapplications', options)
command = make_simple_command(:post, 'v1/settings/searchapplications', options)
command.request_representation = Google::Apis::CloudsearchV1::SearchApplication::Representation
command.request_object = search_application_object
command.response_representation = Google::Apis::CloudsearchV1::Operation::Representation
@ -1182,7 +1182,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_setting_searchapplication(name, debug_options_enable_debugging: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/settings/{+name}', options)
command = make_simple_command(:delete, 'v1/settings/{+name}', options)
command.response_representation = Google::Apis::CloudsearchV1::Operation::Representation
command.response_class = Google::Apis::CloudsearchV1::Operation
command.params['name'] = name unless name.nil?
@ -1217,7 +1217,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_setting_searchapplication(name, debug_options_enable_debugging: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/settings/{+name}', options)
command = make_simple_command(:get, 'v1/settings/{+name}', options)
command.response_representation = Google::Apis::CloudsearchV1::SearchApplication::Representation
command.response_class = Google::Apis::CloudsearchV1::SearchApplication
command.params['name'] = name unless name.nil?
@ -1254,7 +1254,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_setting_searchapplications(debug_options_enable_debugging: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/settings/searchapplications', options)
command = make_simple_command(:get, 'v1/settings/searchapplications', options)
command.response_representation = Google::Apis::CloudsearchV1::ListSearchApplicationsResponse::Representation
command.response_class = Google::Apis::CloudsearchV1::ListSearchApplicationsResponse
command.query['debugOptions.enableDebugging'] = debug_options_enable_debugging unless debug_options_enable_debugging.nil?
@ -1289,7 +1289,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def reset_searchapplication_search_application(name, reset_search_application_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/settings/{+name}:reset', options)
command = make_simple_command(:post, 'v1/settings/{+name}:reset', options)
command.request_representation = Google::Apis::CloudsearchV1::ResetSearchApplicationRequest::Representation
command.request_object = reset_search_application_request_object
command.response_representation = Google::Apis::CloudsearchV1::Operation::Representation
@ -1323,7 +1323,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_setting_searchapplication(name, search_application_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1/settings/{+name}', options)
command = make_simple_command(:put, 'v1/settings/{+name}', options)
command.request_representation = Google::Apis::CloudsearchV1::SearchApplication::Representation
command.request_object = search_application_object
command.response_representation = Google::Apis::CloudsearchV1::Operation::Representation
@ -1367,7 +1367,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_stat_index(from_date_day: nil, from_date_month: nil, from_date_year: nil, to_date_day: nil, to_date_month: nil, to_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/stats/index', options)
command = make_simple_command(:get, 'v1/stats/index', options)
command.response_representation = Google::Apis::CloudsearchV1::GetCustomerIndexStatsResponse::Representation
command.response_class = Google::Apis::CloudsearchV1::GetCustomerIndexStatsResponse
command.query['fromDate.day'] = from_date_day unless from_date_day.nil?
@ -1415,7 +1415,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_stat_index_datasource(name, from_date_day: nil, from_date_month: nil, from_date_year: nil, to_date_day: nil, to_date_month: nil, to_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/stats/index/{+name}', options)
command = make_simple_command(:get, 'v1/stats/index/{+name}', options)
command.response_representation = Google::Apis::CloudsearchV1::GetDataSourceIndexStatsResponse::Representation
command.response_class = Google::Apis::CloudsearchV1::GetDataSourceIndexStatsResponse
command.params['name'] = name unless name.nil?

View File

@ -79,7 +79,7 @@ module Google
# @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, 'v1/{+name}:cancel', options)
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
command.request_representation = Google::Apis::CloudshellV1::CancelOperationRequest::Representation
command.request_object = cancel_operation_request_object
command.response_representation = Google::Apis::CloudshellV1::Empty::Representation
@ -114,7 +114,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudshellV1::Empty::Representation
command.response_class = Google::Apis::CloudshellV1::Empty
command.params['name'] = name unless name.nil?
@ -146,7 +146,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudshellV1::Operation::Representation
command.response_class = Google::Apis::CloudshellV1::Operation
command.params['name'] = name unless name.nil?
@ -190,7 +190,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::CloudshellV1::ListOperationsResponse::Representation
command.response_class = Google::Apis::CloudshellV1::ListOperationsResponse
command.params['name'] = name unless name.nil?

View File

@ -75,7 +75,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def authorize_environment(name, authorize_environment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha1/{+name}:authorize', options)
command = make_simple_command(:post, 'v1alpha1/{+name}:authorize', options)
command.request_representation = Google::Apis::CloudshellV1alpha1::AuthorizeEnvironmentRequest::Representation
command.request_object = authorize_environment_request_object
command.response_representation = Google::Apis::CloudshellV1alpha1::Empty::Representation
@ -108,7 +108,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_user_environment(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
command.response_representation = Google::Apis::CloudshellV1alpha1::Environment::Representation
command.response_class = Google::Apis::CloudshellV1alpha1::Environment
command.params['name'] = name unless name.nil?
@ -143,7 +143,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_user_environment(name, environment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
command.request_representation = Google::Apis::CloudshellV1alpha1::Environment::Representation
command.request_object = environment_object
command.response_representation = Google::Apis::CloudshellV1alpha1::Environment::Representation
@ -184,7 +184,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def start_environment(name, start_environment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha1/{+name}:start', options)
command = make_simple_command(:post, 'v1alpha1/{+name}:start', options)
command.request_representation = Google::Apis::CloudshellV1alpha1::StartEnvironmentRequest::Representation
command.request_object = start_environment_request_object
command.response_representation = Google::Apis::CloudshellV1alpha1::Operation::Representation
@ -220,7 +220,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_public_key(parent, create_public_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha1/{+parent}/publicKeys', options)
command = make_simple_command(:post, 'v1alpha1/{+parent}/publicKeys', options)
command.request_representation = Google::Apis::CloudshellV1alpha1::CreatePublicKeyRequest::Representation
command.request_object = create_public_key_request_object
command.response_representation = Google::Apis::CloudshellV1alpha1::PublicKey::Representation
@ -254,7 +254,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_user_environment_public_key(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
command.response_representation = Google::Apis::CloudshellV1alpha1::Empty::Representation
command.response_class = Google::Apis::CloudshellV1alpha1::Empty
command.params['name'] = name unless name.nil?

View File

@ -68,7 +68,7 @@ module Google
# @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, 'v2/{+name}', options)
command = make_simple_command(:get, 'v2/{+name}', options)
command.response_representation = Google::Apis::CloudtasksV2::Location::Representation
command.response_class = Google::Apis::CloudtasksV2::Location
command.params['name'] = name unless name.nil?
@ -104,7 +104,7 @@ module Google
# @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, 'v2/{+name}/locations', options)
command = make_simple_command(:get, 'v2/{+name}/locations', options)
command.response_representation = Google::Apis::CloudtasksV2::ListLocationsResponse::Representation
command.response_class = Google::Apis::CloudtasksV2::ListLocationsResponse
command.params['name'] = name unless name.nil?
@ -153,7 +153,7 @@ module Google
# @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_queue(parent, queue_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+parent}/queues', options)
command = make_simple_command(:post, 'v2/{+parent}/queues', options)
command.request_representation = Google::Apis::CloudtasksV2::Queue::Representation
command.request_object = queue_object
command.response_representation = Google::Apis::CloudtasksV2::Queue::Representation
@ -196,7 +196,7 @@ module Google
# @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_queue(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2/{+name}', options)
command = make_simple_command(:delete, 'v2/{+name}', options)
command.response_representation = Google::Apis::CloudtasksV2::Empty::Representation
command.response_class = Google::Apis::CloudtasksV2::Empty
command.params['name'] = name unless name.nil?
@ -228,7 +228,7 @@ module Google
# @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_queue(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}', options)
command = make_simple_command(:get, 'v2/{+name}', options)
command.response_representation = Google::Apis::CloudtasksV2::Queue::Representation
command.response_class = Google::Apis::CloudtasksV2::Queue
command.params['name'] = name unless name.nil?
@ -266,7 +266,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_queue_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::CloudtasksV2::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::CloudtasksV2::Policy::Representation
@ -326,7 +326,7 @@ module Google
# @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_queues(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+parent}/queues', options)
command = make_simple_command(:get, 'v2/{+parent}/queues', options)
command.response_representation = Google::Apis::CloudtasksV2::ListQueuesResponse::Representation
command.response_class = Google::Apis::CloudtasksV2::ListQueuesResponse
command.params['parent'] = parent unless parent.nil?
@ -391,7 +391,7 @@ module Google
# @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_queue(name, queue_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v2/{+name}', options)
command = make_simple_command(:patch, 'v2/{+name}', options)
command.request_representation = Google::Apis::CloudtasksV2::Queue::Representation
command.request_object = queue_object
command.response_representation = Google::Apis::CloudtasksV2::Queue::Representation
@ -432,7 +432,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def pause_queue(name, pause_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+name}:pause', options)
command = make_simple_command(:post, 'v2/{+name}:pause', options)
command.request_representation = Google::Apis::CloudtasksV2::PauseQueueRequest::Representation
command.request_object = pause_queue_request_object
command.response_representation = Google::Apis::CloudtasksV2::Queue::Representation
@ -470,7 +470,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def purge_queue(name, purge_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+name}:purge', options)
command = make_simple_command(:post, 'v2/{+name}:purge', options)
command.request_representation = Google::Apis::CloudtasksV2::PurgeQueueRequest::Representation
command.request_object = purge_queue_request_object
command.response_representation = Google::Apis::CloudtasksV2::Queue::Representation
@ -515,7 +515,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def resume_queue(name, resume_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+name}:resume', options)
command = make_simple_command(:post, 'v2/{+name}:resume', options)
command.request_representation = Google::Apis::CloudtasksV2::ResumeQueueRequest::Representation
command.request_object = resume_queue_request_object
command.response_representation = Google::Apis::CloudtasksV2::Queue::Representation
@ -556,7 +556,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_queue_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::CloudtasksV2::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::CloudtasksV2::Policy::Representation
@ -595,7 +595,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_queue_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::CloudtasksV2::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::CloudtasksV2::TestIamPermissionsResponse::Representation
@ -634,7 +634,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_task(parent, create_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+parent}/tasks', options)
command = make_simple_command(:post, 'v2/{+parent}/tasks', options)
command.request_representation = Google::Apis::CloudtasksV2::CreateTaskRequest::Representation
command.request_object = create_task_request_object
command.response_representation = Google::Apis::CloudtasksV2::Task::Representation
@ -671,7 +671,7 @@ module Google
# @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_queue_task(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2/{+name}', options)
command = make_simple_command(:delete, 'v2/{+name}', options)
command.response_representation = Google::Apis::CloudtasksV2::Empty::Representation
command.response_class = Google::Apis::CloudtasksV2::Empty
command.params['name'] = name unless name.nil?
@ -714,7 +714,7 @@ module Google
# @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_queue_task(name, response_view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}', options)
command = make_simple_command(:get, 'v2/{+name}', options)
command.response_representation = Google::Apis::CloudtasksV2::Task::Representation
command.response_class = Google::Apis::CloudtasksV2::Task
command.params['name'] = name unless name.nil?
@ -779,7 +779,7 @@ module Google
# @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_queue_tasks(parent, page_size: nil, page_token: nil, response_view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+parent}/tasks', options)
command = make_simple_command(:get, 'v2/{+parent}/tasks', options)
command.response_representation = Google::Apis::CloudtasksV2::ListTasksResponse::Representation
command.response_class = Google::Apis::CloudtasksV2::ListTasksResponse
command.params['parent'] = parent unless parent.nil?
@ -833,7 +833,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def run_task(name, run_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+name}:run', options)
command = make_simple_command(:post, 'v2/{+name}:run', options)
command.request_representation = Google::Apis::CloudtasksV2::RunTaskRequest::Representation
command.request_object = run_task_request_object
command.response_representation = Google::Apis::CloudtasksV2::Task::Representation

View File

@ -68,7 +68,7 @@ module Google
# @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, 'v2beta2/{+name}', options)
command = make_simple_command(:get, 'v2beta2/{+name}', options)
command.response_representation = Google::Apis::CloudtasksV2beta2::Location::Representation
command.response_class = Google::Apis::CloudtasksV2beta2::Location
command.params['name'] = name unless name.nil?
@ -104,7 +104,7 @@ module Google
# @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, 'v2beta2/{+name}/locations', options)
command = make_simple_command(:get, 'v2beta2/{+name}/locations', options)
command.response_representation = Google::Apis::CloudtasksV2beta2::ListLocationsResponse::Representation
command.response_class = Google::Apis::CloudtasksV2beta2::ListLocationsResponse
command.params['name'] = name unless name.nil?
@ -153,7 +153,7 @@ module Google
# @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_queue(parent, queue_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta2/{+parent}/queues', options)
command = make_simple_command(:post, 'v2beta2/{+parent}/queues', options)
command.request_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
command.request_object = queue_object
command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
@ -196,7 +196,7 @@ module Google
# @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_queue(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2beta2/{+name}', options)
command = make_simple_command(:delete, 'v2beta2/{+name}', options)
command.response_representation = Google::Apis::CloudtasksV2beta2::Empty::Representation
command.response_class = Google::Apis::CloudtasksV2beta2::Empty
command.params['name'] = name unless name.nil?
@ -228,7 +228,7 @@ module Google
# @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_queue(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta2/{+name}', options)
command = make_simple_command(:get, 'v2beta2/{+name}', options)
command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
command.response_class = Google::Apis::CloudtasksV2beta2::Queue
command.params['name'] = name unless name.nil?
@ -266,7 +266,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_queue_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta2/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v2beta2/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::CloudtasksV2beta2::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::CloudtasksV2beta2::Policy::Representation
@ -326,7 +326,7 @@ module Google
# @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_queues(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta2/{+parent}/queues', options)
command = make_simple_command(:get, 'v2beta2/{+parent}/queues', options)
command.response_representation = Google::Apis::CloudtasksV2beta2::ListQueuesResponse::Representation
command.response_class = Google::Apis::CloudtasksV2beta2::ListQueuesResponse
command.params['parent'] = parent unless parent.nil?
@ -391,7 +391,7 @@ module Google
# @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_queue(name, queue_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v2beta2/{+name}', options)
command = make_simple_command(:patch, 'v2beta2/{+name}', options)
command.request_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
command.request_object = queue_object
command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
@ -432,7 +432,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def pause_queue(name, pause_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta2/{+name}:pause', options)
command = make_simple_command(:post, 'v2beta2/{+name}:pause', options)
command.request_representation = Google::Apis::CloudtasksV2beta2::PauseQueueRequest::Representation
command.request_object = pause_queue_request_object
command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
@ -470,7 +470,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def purge_queue(name, purge_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta2/{+name}:purge', options)
command = make_simple_command(:post, 'v2beta2/{+name}:purge', options)
command.request_representation = Google::Apis::CloudtasksV2beta2::PurgeQueueRequest::Representation
command.request_object = purge_queue_request_object
command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
@ -515,7 +515,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def resume_queue(name, resume_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta2/{+name}:resume', options)
command = make_simple_command(:post, 'v2beta2/{+name}:resume', options)
command.request_representation = Google::Apis::CloudtasksV2beta2::ResumeQueueRequest::Representation
command.request_object = resume_queue_request_object
command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
@ -556,7 +556,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_queue_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta2/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v2beta2/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::CloudtasksV2beta2::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::CloudtasksV2beta2::Policy::Representation
@ -595,7 +595,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_queue_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta2/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v2beta2/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::CloudtasksV2beta2::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::CloudtasksV2beta2::TestIamPermissionsResponse::Representation
@ -640,7 +640,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def acknowledge_task(name, acknowledge_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta2/{+name}:acknowledge', options)
command = make_simple_command(:post, 'v2beta2/{+name}:acknowledge', options)
command.request_representation = Google::Apis::CloudtasksV2beta2::AcknowledgeTaskRequest::Representation
command.request_object = acknowledge_task_request_object
command.response_representation = Google::Apis::CloudtasksV2beta2::Empty::Representation
@ -679,7 +679,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_task_lease(name, cancel_lease_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta2/{+name}:cancelLease', options)
command = make_simple_command(:post, 'v2beta2/{+name}:cancelLease', options)
command.request_representation = Google::Apis::CloudtasksV2beta2::CancelLeaseRequest::Representation
command.request_object = cancel_lease_request_object
command.response_representation = Google::Apis::CloudtasksV2beta2::Task::Representation
@ -719,7 +719,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_task(parent, create_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta2/{+parent}/tasks', options)
command = make_simple_command(:post, 'v2beta2/{+parent}/tasks', options)
command.request_representation = Google::Apis::CloudtasksV2beta2::CreateTaskRequest::Representation
command.request_object = create_task_request_object
command.response_representation = Google::Apis::CloudtasksV2beta2::Task::Representation
@ -756,7 +756,7 @@ module Google
# @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_queue_task(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2beta2/{+name}', options)
command = make_simple_command(:delete, 'v2beta2/{+name}', options)
command.response_representation = Google::Apis::CloudtasksV2beta2::Empty::Representation
command.response_class = Google::Apis::CloudtasksV2beta2::Empty
command.params['name'] = name unless name.nil?
@ -799,7 +799,7 @@ module Google
# @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_queue_task(name, response_view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta2/{+name}', options)
command = make_simple_command(:get, 'v2beta2/{+name}', options)
command.response_representation = Google::Apis::CloudtasksV2beta2::Task::Representation
command.response_class = Google::Apis::CloudtasksV2beta2::Task
command.params['name'] = name unless name.nil?
@ -851,7 +851,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def lease_tasks(parent, lease_tasks_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta2/{+parent}/tasks:lease', options)
command = make_simple_command(:post, 'v2beta2/{+parent}/tasks:lease', options)
command.request_representation = Google::Apis::CloudtasksV2beta2::LeaseTasksRequest::Representation
command.request_object = lease_tasks_request_object
command.response_representation = Google::Apis::CloudtasksV2beta2::LeaseTasksResponse::Representation
@ -917,7 +917,7 @@ module Google
# @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_queue_tasks(parent, page_size: nil, page_token: nil, response_view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta2/{+parent}/tasks', options)
command = make_simple_command(:get, 'v2beta2/{+parent}/tasks', options)
command.response_representation = Google::Apis::CloudtasksV2beta2::ListTasksResponse::Representation
command.response_class = Google::Apis::CloudtasksV2beta2::ListTasksResponse
command.params['parent'] = parent unless parent.nil?
@ -956,7 +956,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def renew_task_lease(name, renew_lease_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta2/{+name}:renewLease', options)
command = make_simple_command(:post, 'v2beta2/{+name}:renewLease', options)
command.request_representation = Google::Apis::CloudtasksV2beta2::RenewLeaseRequest::Representation
command.request_object = renew_lease_request_object
command.response_representation = Google::Apis::CloudtasksV2beta2::Task::Representation
@ -1011,7 +1011,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def run_task(name, run_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta2/{+name}:run', options)
command = make_simple_command(:post, 'v2beta2/{+name}:run', options)
command.request_representation = Google::Apis::CloudtasksV2beta2::RunTaskRequest::Representation
command.request_object = run_task_request_object
command.response_representation = Google::Apis::CloudtasksV2beta2::Task::Representation

View File

@ -68,7 +68,7 @@ module Google
# @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, 'v2beta3/{+name}', options)
command = make_simple_command(:get, 'v2beta3/{+name}', options)
command.response_representation = Google::Apis::CloudtasksV2beta3::Location::Representation
command.response_class = Google::Apis::CloudtasksV2beta3::Location
command.params['name'] = name unless name.nil?
@ -104,7 +104,7 @@ module Google
# @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, 'v2beta3/{+name}/locations', options)
command = make_simple_command(:get, 'v2beta3/{+name}/locations', options)
command.response_representation = Google::Apis::CloudtasksV2beta3::ListLocationsResponse::Representation
command.response_class = Google::Apis::CloudtasksV2beta3::ListLocationsResponse
command.params['name'] = name unless name.nil?
@ -153,7 +153,7 @@ module Google
# @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_queue(parent, queue_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta3/{+parent}/queues', options)
command = make_simple_command(:post, 'v2beta3/{+parent}/queues', options)
command.request_representation = Google::Apis::CloudtasksV2beta3::Queue::Representation
command.request_object = queue_object
command.response_representation = Google::Apis::CloudtasksV2beta3::Queue::Representation
@ -196,7 +196,7 @@ module Google
# @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_queue(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2beta3/{+name}', options)
command = make_simple_command(:delete, 'v2beta3/{+name}', options)
command.response_representation = Google::Apis::CloudtasksV2beta3::Empty::Representation
command.response_class = Google::Apis::CloudtasksV2beta3::Empty
command.params['name'] = name unless name.nil?
@ -228,7 +228,7 @@ module Google
# @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_queue(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta3/{+name}', options)
command = make_simple_command(:get, 'v2beta3/{+name}', options)
command.response_representation = Google::Apis::CloudtasksV2beta3::Queue::Representation
command.response_class = Google::Apis::CloudtasksV2beta3::Queue
command.params['name'] = name unless name.nil?
@ -266,7 +266,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_queue_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta3/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v2beta3/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::CloudtasksV2beta3::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::CloudtasksV2beta3::Policy::Representation
@ -326,7 +326,7 @@ module Google
# @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_queues(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta3/{+parent}/queues', options)
command = make_simple_command(:get, 'v2beta3/{+parent}/queues', options)
command.response_representation = Google::Apis::CloudtasksV2beta3::ListQueuesResponse::Representation
command.response_class = Google::Apis::CloudtasksV2beta3::ListQueuesResponse
command.params['parent'] = parent unless parent.nil?
@ -391,7 +391,7 @@ module Google
# @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_queue(name, queue_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v2beta3/{+name}', options)
command = make_simple_command(:patch, 'v2beta3/{+name}', options)
command.request_representation = Google::Apis::CloudtasksV2beta3::Queue::Representation
command.request_object = queue_object
command.response_representation = Google::Apis::CloudtasksV2beta3::Queue::Representation
@ -432,7 +432,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def pause_queue(name, pause_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta3/{+name}:pause', options)
command = make_simple_command(:post, 'v2beta3/{+name}:pause', options)
command.request_representation = Google::Apis::CloudtasksV2beta3::PauseQueueRequest::Representation
command.request_object = pause_queue_request_object
command.response_representation = Google::Apis::CloudtasksV2beta3::Queue::Representation
@ -470,7 +470,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def purge_queue(name, purge_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta3/{+name}:purge', options)
command = make_simple_command(:post, 'v2beta3/{+name}:purge', options)
command.request_representation = Google::Apis::CloudtasksV2beta3::PurgeQueueRequest::Representation
command.request_object = purge_queue_request_object
command.response_representation = Google::Apis::CloudtasksV2beta3::Queue::Representation
@ -515,7 +515,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def resume_queue(name, resume_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta3/{+name}:resume', options)
command = make_simple_command(:post, 'v2beta3/{+name}:resume', options)
command.request_representation = Google::Apis::CloudtasksV2beta3::ResumeQueueRequest::Representation
command.request_object = resume_queue_request_object
command.response_representation = Google::Apis::CloudtasksV2beta3::Queue::Representation
@ -556,7 +556,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_queue_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta3/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v2beta3/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::CloudtasksV2beta3::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::CloudtasksV2beta3::Policy::Representation
@ -595,7 +595,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_queue_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta3/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v2beta3/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::CloudtasksV2beta3::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::CloudtasksV2beta3::TestIamPermissionsResponse::Representation
@ -634,7 +634,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_task(parent, create_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta3/{+parent}/tasks', options)
command = make_simple_command(:post, 'v2beta3/{+parent}/tasks', options)
command.request_representation = Google::Apis::CloudtasksV2beta3::CreateTaskRequest::Representation
command.request_object = create_task_request_object
command.response_representation = Google::Apis::CloudtasksV2beta3::Task::Representation
@ -671,7 +671,7 @@ module Google
# @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_queue_task(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2beta3/{+name}', options)
command = make_simple_command(:delete, 'v2beta3/{+name}', options)
command.response_representation = Google::Apis::CloudtasksV2beta3::Empty::Representation
command.response_class = Google::Apis::CloudtasksV2beta3::Empty
command.params['name'] = name unless name.nil?
@ -714,7 +714,7 @@ module Google
# @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_queue_task(name, response_view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta3/{+name}', options)
command = make_simple_command(:get, 'v2beta3/{+name}', options)
command.response_representation = Google::Apis::CloudtasksV2beta3::Task::Representation
command.response_class = Google::Apis::CloudtasksV2beta3::Task
command.params['name'] = name unless name.nil?
@ -779,7 +779,7 @@ module Google
# @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_queue_tasks(parent, page_size: nil, page_token: nil, response_view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta3/{+parent}/tasks', options)
command = make_simple_command(:get, 'v2beta3/{+parent}/tasks', options)
command.response_representation = Google::Apis::CloudtasksV2beta3::ListTasksResponse::Representation
command.response_class = Google::Apis::CloudtasksV2beta3::ListTasksResponse
command.params['parent'] = parent unless parent.nil?
@ -833,7 +833,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def run_task(name, run_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta3/{+name}:run', options)
command = make_simple_command(:post, 'v2beta3/{+name}:run', options)
command.request_representation = Google::Apis::CloudtasksV2beta3::RunTaskRequest::Representation
command.request_object = run_task_request_object
command.response_representation = Google::Apis::CloudtasksV2beta3::Task::Representation

View File

@ -77,7 +77,7 @@ module Google
# @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_traces(project_id, traces_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/projects/{projectId}/traces', options)
command = make_simple_command(:patch, 'v1/projects/{projectId}/traces', options)
command.request_representation = Google::Apis::CloudtraceV1::Traces::Representation
command.request_object = traces_object
command.response_representation = Google::Apis::CloudtraceV1::Empty::Representation
@ -111,7 +111,7 @@ module Google
# @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_trace(project_id, trace_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects/{projectId}/traces/{traceId}', options)
command = make_simple_command(:get, 'v1/projects/{projectId}/traces/{traceId}', options)
command.response_representation = Google::Apis::CloudtraceV1::Trace::Representation
command.response_class = Google::Apis::CloudtraceV1::Trace
command.params['projectId'] = project_id unless project_id.nil?
@ -198,7 +198,7 @@ module Google
# @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_traces(project_id, end_time: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, start_time: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects/{projectId}/traces', options)
command = make_simple_command(:get, 'v1/projects/{projectId}/traces', options)
command.response_representation = Google::Apis::CloudtraceV1::ListTracesResponse::Representation
command.response_class = Google::Apis::CloudtraceV1::ListTracesResponse
command.params['projectId'] = project_id unless project_id.nil?

View File

@ -75,7 +75,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_trace_write_spans(name, batch_write_spans_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+name}/traces:batchWrite', options)
command = make_simple_command(:post, 'v2/{+name}/traces:batchWrite', options)
command.request_representation = Google::Apis::CloudtraceV2::BatchWriteSpansRequest::Representation
command.request_object = batch_write_spans_request_object
command.response_representation = Google::Apis::CloudtraceV2::Empty::Representation
@ -113,7 +113,7 @@ module Google
# @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_trace_span_span(name, span_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+name}', options)
command = make_simple_command(:post, 'v2/{+name}', options)
command.request_representation = Google::Apis::CloudtraceV2::Span::Representation
command.request_object = span_object
command.response_representation = Google::Apis::CloudtraceV2::Span::Representation

View File

@ -72,7 +72,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def analyze_comment(analyze_comment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha1/comments:analyze', options)
command = make_simple_command(:post, 'v1alpha1/comments:analyze', options)
command.request_representation = Google::Apis::CommentanalyzerV1alpha1::AnalyzeCommentRequest::Representation
command.request_object = analyze_comment_request_object
command.response_representation = Google::Apis::CommentanalyzerV1alpha1::AnalyzeCommentResponse::Representation
@ -102,7 +102,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def suggestscore_comment(suggest_comment_score_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha1/comments:suggestscore', options)
command = make_simple_command(:post, 'v1alpha1/comments:suggestscore', options)
command.request_representation = Google::Apis::CommentanalyzerV1alpha1::SuggestCommentScoreRequest::Representation
command.request_object = suggest_comment_score_request_object
command.response_representation = Google::Apis::CommentanalyzerV1alpha1::SuggestCommentScoreResponse::Representation

View File

@ -69,7 +69,7 @@ module Google
# @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_environment(parent, environment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/environments', options)
command = make_simple_command(:post, 'v1/{+parent}/environments', options)
command.request_representation = Google::Apis::ComposerV1::Environment::Representation
command.request_object = environment_object
command.response_representation = Google::Apis::ComposerV1::Operation::Representation
@ -102,7 +102,7 @@ module Google
# @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_environment(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::ComposerV1::Operation::Representation
command.response_class = Google::Apis::ComposerV1::Operation
command.params['name'] = name unless name.nil?
@ -133,7 +133,7 @@ module Google
# @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_environment(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::ComposerV1::Environment::Representation
command.response_class = Google::Apis::ComposerV1::Environment
command.params['name'] = name unless name.nil?
@ -168,7 +168,7 @@ module Google
# @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_environments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/environments', options)
command = make_simple_command(:get, 'v1/{+parent}/environments', options)
command.response_representation = Google::Apis::ComposerV1::ListEnvironmentsResponse::Representation
command.response_class = Google::Apis::ComposerV1::ListEnvironmentsResponse
command.params['parent'] = parent unless parent.nil?
@ -326,7 +326,7 @@ module Google
# @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_environment(name, environment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::ComposerV1::Environment::Representation
command.request_object = environment_object
command.response_representation = Google::Apis::ComposerV1::Operation::Representation
@ -364,7 +364,7 @@ module Google
# @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_image_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/imageVersions', options)
command = make_simple_command(:get, 'v1/{+parent}/imageVersions', options)
command.response_representation = Google::Apis::ComposerV1::ListImageVersionsResponse::Representation
command.response_class = Google::Apis::ComposerV1::ListImageVersionsResponse
command.params['parent'] = parent unless parent.nil?
@ -399,7 +399,7 @@ module Google
# @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, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::ComposerV1::Empty::Representation
command.response_class = Google::Apis::ComposerV1::Empty
command.params['name'] = name unless name.nil?
@ -431,7 +431,7 @@ module Google
# @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, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::ComposerV1::Operation::Representation
command.response_class = Google::Apis::ComposerV1::Operation
command.params['name'] = name unless name.nil?
@ -475,7 +475,7 @@ module Google
# @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, 'v1/{+name}/operations', options)
command = make_simple_command(:get, 'v1/{+name}/operations', options)
command.response_representation = Google::Apis::ComposerV1::ListOperationsResponse::Representation
command.response_class = Google::Apis::ComposerV1::ListOperationsResponse
command.params['name'] = name unless name.nil?

View File

@ -69,7 +69,7 @@ module Google
# @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_environment(parent, environment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}/environments', options)
command = make_simple_command(:post, 'v1beta1/{+parent}/environments', options)
command.request_representation = Google::Apis::ComposerV1beta1::Environment::Representation
command.request_object = environment_object
command.response_representation = Google::Apis::ComposerV1beta1::Operation::Representation
@ -102,7 +102,7 @@ module Google
# @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_environment(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::ComposerV1beta1::Operation::Representation
command.response_class = Google::Apis::ComposerV1beta1::Operation
command.params['name'] = name unless name.nil?
@ -133,7 +133,7 @@ module Google
# @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_environment(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::ComposerV1beta1::Environment::Representation
command.response_class = Google::Apis::ComposerV1beta1::Environment
command.params['name'] = name unless name.nil?
@ -168,7 +168,7 @@ module Google
# @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_environments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/environments', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/environments', options)
command.response_representation = Google::Apis::ComposerV1beta1::ListEnvironmentsResponse::Representation
command.response_class = Google::Apis::ComposerV1beta1::ListEnvironmentsResponse
command.params['parent'] = parent unless parent.nil?
@ -336,7 +336,7 @@ module Google
# @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_environment(name, environment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::ComposerV1beta1::Environment::Representation
command.request_object = environment_object
command.response_representation = Google::Apis::ComposerV1beta1::Operation::Representation
@ -374,7 +374,7 @@ module Google
# @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_image_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/imageVersions', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/imageVersions', options)
command.response_representation = Google::Apis::ComposerV1beta1::ListImageVersionsResponse::Representation
command.response_class = Google::Apis::ComposerV1beta1::ListImageVersionsResponse
command.params['parent'] = parent unless parent.nil?
@ -409,7 +409,7 @@ module Google
# @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 = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::ComposerV1beta1::Empty::Representation
command.response_class = Google::Apis::ComposerV1beta1::Empty
command.params['name'] = name unless name.nil?
@ -441,7 +441,7 @@ module Google
# @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 = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::ComposerV1beta1::Operation::Representation
command.response_class = Google::Apis::ComposerV1beta1::Operation
command.params['name'] = name unless name.nil?
@ -485,7 +485,7 @@ module Google
# @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 = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
command.response_representation = Google::Apis::ComposerV1beta1::ListOperationsResponse::Representation
command.response_class = Google::Apis::ComposerV1beta1::ListOperationsResponse
command.params['name'] = name unless name.nil?

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -83,7 +83,7 @@ module Google
# @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_aggregated_usable_subnetworks(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/aggregated/usableSubnetworks', options)
command = make_simple_command(:get, 'v1/{+parent}/aggregated/usableSubnetworks', options)
command.response_representation = Google::Apis::ContainerV1::ListUsableSubnetworksResponse::Representation
command.response_class = Google::Apis::ContainerV1::ListUsableSubnetworksResponse
command.params['parent'] = parent unless parent.nil?
@ -125,7 +125,7 @@ module Google
# @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_server_config(name, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}/serverConfig', options)
command = make_simple_command(:get, 'v1/{+name}/serverConfig', options)
command.response_representation = Google::Apis::ContainerV1::ServerConfig::Representation
command.response_class = Google::Apis::ContainerV1::ServerConfig
command.params['name'] = name unless name.nil?
@ -159,7 +159,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def complete_project_location_cluster_ip_rotation(name, complete_ip_rotation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:completeIpRotation', options)
command = make_simple_command(:post, 'v1/{+name}:completeIpRotation', options)
command.request_representation = Google::Apis::ContainerV1::CompleteIpRotationRequest::Representation
command.request_object = complete_ip_rotation_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -202,7 +202,7 @@ module Google
# @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_cluster(parent, create_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/clusters', options)
command = make_simple_command(:post, 'v1/{+parent}/clusters', options)
command.request_representation = Google::Apis::ContainerV1::CreateClusterRequest::Representation
command.request_object = create_cluster_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -253,7 +253,7 @@ module Google
# @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_cluster(name, cluster_id: nil, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
command.response_class = Google::Apis::ContainerV1::Operation
command.params['name'] = name unless name.nil?
@ -299,7 +299,7 @@ module Google
# @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_cluster(name, cluster_id: nil, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::ContainerV1::Cluster::Representation
command.response_class = Google::Apis::ContainerV1::Cluster
command.params['name'] = name unless name.nil?
@ -336,7 +336,7 @@ module Google
# @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_cluster_jwks(parent, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/jwks', options)
command = make_simple_command(:get, 'v1/{+parent}/jwks', options)
command.response_representation = Google::Apis::ContainerV1::GetJsonWebKeysResponse::Representation
command.response_class = Google::Apis::ContainerV1::GetJsonWebKeysResponse
command.params['parent'] = parent unless parent.nil?
@ -378,7 +378,7 @@ module Google
# @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_clusters(parent, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/clusters', options)
command = make_simple_command(:get, 'v1/{+parent}/clusters', options)
command.response_representation = Google::Apis::ContainerV1::ListClustersResponse::Representation
command.response_class = Google::Apis::ContainerV1::ListClustersResponse
command.params['parent'] = parent unless parent.nil?
@ -412,7 +412,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_cluster_addons_config(name, set_addons_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:setAddons', options)
command = make_simple_command(:post, 'v1/{+name}:setAddons', options)
command.request_representation = Google::Apis::ContainerV1::SetAddonsConfigRequest::Representation
command.request_object = set_addons_config_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -446,7 +446,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_cluster_legacy_abac(name, set_legacy_abac_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:setLegacyAbac', options)
command = make_simple_command(:post, 'v1/{+name}:setLegacyAbac', options)
command.request_representation = Google::Apis::ContainerV1::SetLegacyAbacRequest::Representation
command.request_object = set_legacy_abac_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -480,7 +480,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_cluster_locations(name, set_locations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:setLocations', options)
command = make_simple_command(:post, 'v1/{+name}:setLocations', options)
command.request_representation = Google::Apis::ContainerV1::SetLocationsRequest::Representation
command.request_object = set_locations_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -514,7 +514,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_cluster_logging_service(name, set_logging_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:setLogging', options)
command = make_simple_command(:post, 'v1/{+name}:setLogging', options)
command.request_representation = Google::Apis::ContainerV1::SetLoggingServiceRequest::Representation
command.request_object = set_logging_service_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -549,7 +549,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_location_cluster_maintenance_policy(name, set_maintenance_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:setMaintenancePolicy', options)
command = make_simple_command(:post, 'v1/{+name}:setMaintenancePolicy', options)
command.request_representation = Google::Apis::ContainerV1::SetMaintenancePolicyRequest::Representation
command.request_object = set_maintenance_policy_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -585,7 +585,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_location_cluster_master_auth(name, set_master_auth_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:setMasterAuth', options)
command = make_simple_command(:post, 'v1/{+name}:setMasterAuth', options)
command.request_representation = Google::Apis::ContainerV1::SetMasterAuthRequest::Representation
command.request_object = set_master_auth_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -619,7 +619,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_cluster_monitoring_service(name, set_monitoring_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:setMonitoring', options)
command = make_simple_command(:post, 'v1/{+name}:setMonitoring', options)
command.request_representation = Google::Apis::ContainerV1::SetMonitoringServiceRequest::Representation
command.request_object = set_monitoring_service_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -653,7 +653,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_location_cluster_network_policy(name, set_network_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:setNetworkPolicy', options)
command = make_simple_command(:post, 'v1/{+name}:setNetworkPolicy', options)
command.request_representation = Google::Apis::ContainerV1::SetNetworkPolicyRequest::Representation
command.request_object = set_network_policy_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -687,7 +687,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_location_cluster_resource_labels(name, set_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:setResourceLabels', options)
command = make_simple_command(:post, 'v1/{+name}:setResourceLabels', options)
command.request_representation = Google::Apis::ContainerV1::SetLabelsRequest::Representation
command.request_object = set_labels_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -721,7 +721,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def start_project_location_cluster_ip_rotation(name, start_ip_rotation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:startIpRotation', options)
command = make_simple_command(:post, 'v1/{+name}:startIpRotation', options)
command.request_representation = Google::Apis::ContainerV1::StartIpRotationRequest::Representation
command.request_object = start_ip_rotation_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -755,7 +755,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_location_cluster(name, update_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1/{+name}', options)
command = make_simple_command(:put, 'v1/{+name}', options)
command.request_representation = Google::Apis::ContainerV1::UpdateClusterRequest::Representation
command.request_object = update_cluster_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -789,7 +789,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_cluster_master(name, update_master_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:updateMaster', options)
command = make_simple_command(:post, 'v1/{+name}:updateMaster', options)
command.request_representation = Google::Apis::ContainerV1::UpdateMasterRequest::Representation
command.request_object = update_master_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -824,7 +824,7 @@ module Google
# @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_cluster_node_pool(parent, create_node_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/nodePools', options)
command = make_simple_command(:post, 'v1/{+parent}/nodePools', options)
command.request_representation = Google::Apis::ContainerV1::CreateNodePoolRequest::Representation
command.request_object = create_node_pool_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -873,7 +873,7 @@ module Google
# @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_cluster_node_pool(name, cluster_id: nil, node_pool_id: nil, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
command.response_class = Google::Apis::ContainerV1::Operation
command.params['name'] = name unless name.nil?
@ -924,7 +924,7 @@ module Google
# @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_cluster_node_pool(name, cluster_id: nil, node_pool_id: nil, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::ContainerV1::NodePool::Representation
command.response_class = Google::Apis::ContainerV1::NodePool
command.params['name'] = name unless name.nil?
@ -971,7 +971,7 @@ module Google
# @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_cluster_node_pools(parent, cluster_id: nil, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/nodePools', options)
command = make_simple_command(:get, 'v1/{+parent}/nodePools', options)
command.response_representation = Google::Apis::ContainerV1::ListNodePoolsResponse::Representation
command.response_class = Google::Apis::ContainerV1::ListNodePoolsResponse
command.params['parent'] = parent unless parent.nil?
@ -1008,7 +1008,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def rollback_project_location_cluster_node_pool(name, rollback_node_pool_upgrade_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:rollback', options)
command = make_simple_command(:post, 'v1/{+name}:rollback', options)
command.request_representation = Google::Apis::ContainerV1::RollbackNodePoolUpgradeRequest::Representation
command.request_object = rollback_node_pool_upgrade_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -1043,7 +1043,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_location_cluster_node_pool_autoscaling(name, set_node_pool_autoscaling_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:setAutoscaling', options)
command = make_simple_command(:post, 'v1/{+name}:setAutoscaling', options)
command.request_representation = Google::Apis::ContainerV1::SetNodePoolAutoscalingRequest::Representation
command.request_object = set_node_pool_autoscaling_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -1078,7 +1078,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_location_cluster_node_pool_management(name, set_node_pool_management_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:setManagement', options)
command = make_simple_command(:post, 'v1/{+name}:setManagement', options)
command.request_representation = Google::Apis::ContainerV1::SetNodePoolManagementRequest::Representation
command.request_object = set_node_pool_management_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -1113,7 +1113,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_location_cluster_node_pool_size(name, set_node_pool_size_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:setSize', options)
command = make_simple_command(:post, 'v1/{+name}:setSize', options)
command.request_representation = Google::Apis::ContainerV1::SetNodePoolSizeRequest::Representation
command.request_object = set_node_pool_size_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -1148,7 +1148,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_location_cluster_node_pool(name, update_node_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1/{+name}', options)
command = make_simple_command(:put, 'v1/{+name}', options)
command.request_representation = Google::Apis::ContainerV1::UpdateNodePoolRequest::Representation
command.request_object = update_node_pool_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -1187,7 +1187,7 @@ module Google
# @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_cluster_well_known_openid_configuration(parent, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/.well-known/openid-configuration', options)
command = make_simple_command(:get, 'v1/{+parent}/.well-known/openid-configuration', options)
command.response_representation = Google::Apis::ContainerV1::GetOpenIdConfigResponse::Representation
command.response_class = Google::Apis::ContainerV1::GetOpenIdConfigResponse
command.params['parent'] = parent unless parent.nil?
@ -1219,7 +1219,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_project_location_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
command.request_representation = Google::Apis::ContainerV1::CancelOperationRequest::Representation
command.request_object = cancel_operation_request_object
command.response_representation = Google::Apis::ContainerV1::Empty::Representation
@ -1264,7 +1264,7 @@ module Google
# @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, operation_id: nil, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
command.response_class = Google::Apis::ContainerV1::Operation
command.params['name'] = name unless name.nil?
@ -1307,7 +1307,7 @@ module Google
# @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(parent, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/operations', options)
command = make_simple_command(:get, 'v1/{+parent}/operations', options)
command.response_representation = Google::Apis::ContainerV1::ListOperationsResponse::Representation
command.response_class = Google::Apis::ContainerV1::ListOperationsResponse
command.params['parent'] = parent unless parent.nil?
@ -1348,7 +1348,7 @@ module Google
# @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_zone_serverconfig(project_id, zone, name: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/serverconfig', options)
command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/serverconfig', options)
command.response_representation = Google::Apis::ContainerV1::ServerConfig::Representation
command.response_class = Google::Apis::ContainerV1::ServerConfig
command.params['projectId'] = project_id unless project_id.nil?
@ -1391,7 +1391,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def addons_project_zone_cluster(project_id, zone, cluster_id, set_addons_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons', options)
command.request_representation = Google::Apis::ContainerV1::SetAddonsConfigRequest::Representation
command.request_object = set_addons_config_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -1436,7 +1436,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def complete_cluster_ip_rotation(project_id, zone, cluster_id, complete_ip_rotation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation', options)
command.request_representation = Google::Apis::ContainerV1::CompleteIpRotationRequest::Representation
command.request_object = complete_ip_rotation_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -1487,7 +1487,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_cluster(project_id, zone, create_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters', options)
command.request_representation = Google::Apis::ContainerV1::CreateClusterRequest::Representation
command.request_object = create_cluster_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -1539,7 +1539,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_zone_cluster(project_id, zone, cluster_id, name: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', options)
command = make_simple_command(:delete, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', options)
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
command.response_class = Google::Apis::ContainerV1::Operation
command.params['projectId'] = project_id unless project_id.nil?
@ -1585,7 +1585,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_zone_cluster(project_id, zone, cluster_id, name: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', options)
command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', options)
command.response_representation = Google::Apis::ContainerV1::Cluster::Representation
command.response_class = Google::Apis::ContainerV1::Cluster
command.params['projectId'] = project_id unless project_id.nil?
@ -1629,7 +1629,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def legacy_project_zone_cluster_abac(project_id, zone, cluster_id, set_legacy_abac_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac', options)
command.request_representation = Google::Apis::ContainerV1::SetLegacyAbacRequest::Representation
command.request_object = set_legacy_abac_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -1675,7 +1675,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_zone_clusters(project_id, zone, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/clusters', options)
command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/clusters', options)
command.response_representation = Google::Apis::ContainerV1::ListClustersResponse::Representation
command.response_class = Google::Apis::ContainerV1::ListClustersResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -1718,7 +1718,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def locations_project_zone_cluster(project_id, zone, cluster_id, set_locations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations', options)
command.request_representation = Google::Apis::ContainerV1::SetLocationsRequest::Representation
command.request_object = set_locations_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -1763,7 +1763,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def logging_project_zone_cluster(project_id, zone, cluster_id, set_logging_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging', options)
command.request_representation = Google::Apis::ContainerV1::SetLoggingServiceRequest::Representation
command.request_object = set_logging_service_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -1808,7 +1808,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def master_project_zone_cluster(project_id, zone, cluster_id, update_master_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master', options)
command.request_representation = Google::Apis::ContainerV1::UpdateMasterRequest::Representation
command.request_object = update_master_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -1853,7 +1853,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def monitoring_project_zone_cluster(project_id, zone, cluster_id, set_monitoring_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring', options)
command.request_representation = Google::Apis::ContainerV1::SetMonitoringServiceRequest::Representation
command.request_object = set_monitoring_service_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -1898,7 +1898,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def resource_project_zone_cluster_labels(project_id, zone, cluster_id, set_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels', options)
command.request_representation = Google::Apis::ContainerV1::SetLabelsRequest::Representation
command.request_object = set_labels_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -1940,7 +1940,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_cluster_maintenance_policy(project_id, zone, cluster_id, set_maintenance_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy', options)
command.request_representation = Google::Apis::ContainerV1::SetMaintenancePolicyRequest::Representation
command.request_object = set_maintenance_policy_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -1987,7 +1987,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_cluster_master_auth(project_id, zone, cluster_id, set_master_auth_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth', options)
command.request_representation = Google::Apis::ContainerV1::SetMasterAuthRequest::Representation
command.request_object = set_master_auth_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -2032,7 +2032,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_cluster_network_policy(project_id, zone, cluster_id, set_network_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setNetworkPolicy', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setNetworkPolicy', options)
command.request_representation = Google::Apis::ContainerV1::SetNetworkPolicyRequest::Representation
command.request_object = set_network_policy_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -2077,7 +2077,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def start_cluster_ip_rotation(project_id, zone, cluster_id, start_ip_rotation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:startIpRotation', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:startIpRotation', options)
command.request_representation = Google::Apis::ContainerV1::StartIpRotationRequest::Representation
command.request_object = start_ip_rotation_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -2122,7 +2122,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_cluster(project_id, zone, cluster_id, update_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', options)
command = make_simple_command(:put, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', options)
command.request_representation = Google::Apis::ContainerV1::UpdateClusterRequest::Representation
command.request_object = update_cluster_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -2170,7 +2170,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def autoscaling_project_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, set_node_pool_autoscaling_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling', options)
command.request_representation = Google::Apis::ContainerV1::SetNodePoolAutoscalingRequest::Representation
command.request_object = set_node_pool_autoscaling_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -2216,7 +2216,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_node_pool(project_id, zone, cluster_id, create_node_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools', options)
command.request_representation = Google::Apis::ContainerV1::CreateNodePoolRequest::Representation
command.request_object = create_node_pool_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -2267,7 +2267,7 @@ module Google
# @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_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, name: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}', options)
command = make_simple_command(:delete, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}', options)
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
command.response_class = Google::Apis::ContainerV1::Operation
command.params['projectId'] = project_id unless project_id.nil?
@ -2318,7 +2318,7 @@ module Google
# @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_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, name: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}', options)
command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}', options)
command.response_representation = Google::Apis::ContainerV1::NodePool::Representation
command.response_class = Google::Apis::ContainerV1::NodePool
command.params['projectId'] = project_id unless project_id.nil?
@ -2365,7 +2365,7 @@ module Google
# @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_zone_cluster_node_pools(project_id, zone, cluster_id, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools', options)
command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools', options)
command.response_representation = Google::Apis::ContainerV1::ListNodePoolsResponse::Representation
command.response_class = Google::Apis::ContainerV1::ListNodePoolsResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -2413,7 +2413,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def rollback_node_pool_upgrade(project_id, zone, cluster_id, node_pool_id, rollback_node_pool_upgrade_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback', options)
command.request_representation = Google::Apis::ContainerV1::RollbackNodePoolUpgradeRequest::Representation
command.request_object = rollback_node_pool_upgrade_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -2462,7 +2462,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_zone_cluster_node_pool_management(project_id, zone, cluster_id, node_pool_id, set_node_pool_management_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement', options)
command.request_representation = Google::Apis::ContainerV1::SetNodePoolManagementRequest::Representation
command.request_object = set_node_pool_management_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -2511,7 +2511,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_zone_cluster_node_pool_size(project_id, zone, cluster_id, node_pool_id, set_node_pool_size_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize', options)
command.request_representation = Google::Apis::ContainerV1::SetNodePoolSizeRequest::Representation
command.request_object = set_node_pool_size_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -2560,7 +2560,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_node_pool(project_id, zone, cluster_id, node_pool_id, update_node_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update', options)
command.request_representation = Google::Apis::ContainerV1::UpdateNodePoolRequest::Representation
command.request_object = update_node_pool_request_object
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
@ -2605,7 +2605,7 @@ module Google
# @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(project_id, zone, operation_id, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel', options)
command.request_representation = Google::Apis::ContainerV1::CancelOperationRequest::Representation
command.request_object = cancel_operation_request_object
command.response_representation = Google::Apis::ContainerV1::Empty::Representation
@ -2652,7 +2652,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_zone_operation(project_id, zone, operation_id, name: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/operations/{operationId}', options)
command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/operations/{operationId}', options)
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
command.response_class = Google::Apis::ContainerV1::Operation
command.params['projectId'] = project_id unless project_id.nil?
@ -2695,7 +2695,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_zone_operations(project_id, zone, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/operations', options)
command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/operations', options)
command.response_representation = Google::Apis::ContainerV1::ListOperationsResponse::Representation
command.response_class = Google::Apis::ContainerV1::ListOperationsResponse
command.params['projectId'] = project_id unless project_id.nil?

View File

@ -83,7 +83,7 @@ module Google
# @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_aggregated_usable_subnetworks(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/aggregated/usableSubnetworks', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/aggregated/usableSubnetworks', options)
command.response_representation = Google::Apis::ContainerV1beta1::ListUsableSubnetworksResponse::Representation
command.response_class = Google::Apis::ContainerV1beta1::ListUsableSubnetworksResponse
command.params['parent'] = parent unless parent.nil?
@ -125,7 +125,7 @@ module Google
# @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_server_config(name, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}/serverConfig', options)
command = make_simple_command(:get, 'v1beta1/{+name}/serverConfig', options)
command.response_representation = Google::Apis::ContainerV1beta1::ServerConfig::Representation
command.response_class = Google::Apis::ContainerV1beta1::ServerConfig
command.params['name'] = name unless name.nil?
@ -158,7 +158,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_locations(parent, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/locations', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/locations', options)
command.response_representation = Google::Apis::ContainerV1beta1::ListLocationsResponse::Representation
command.response_class = Google::Apis::ContainerV1beta1::ListLocationsResponse
command.params['parent'] = parent unless parent.nil?
@ -190,7 +190,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def complete_project_location_cluster_ip_rotation(name, complete_ip_rotation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:completeIpRotation', options)
command = make_simple_command(:post, 'v1beta1/{+name}:completeIpRotation', options)
command.request_representation = Google::Apis::ContainerV1beta1::CompleteIpRotationRequest::Representation
command.request_object = complete_ip_rotation_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -233,7 +233,7 @@ module Google
# @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_cluster(parent, create_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}/clusters', options)
command = make_simple_command(:post, 'v1beta1/{+parent}/clusters', options)
command.request_representation = Google::Apis::ContainerV1beta1::CreateClusterRequest::Representation
command.request_object = create_cluster_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -284,7 +284,7 @@ module Google
# @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_cluster(name, cluster_id: nil, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
command.response_class = Google::Apis::ContainerV1beta1::Operation
command.params['name'] = name unless name.nil?
@ -330,7 +330,7 @@ module Google
# @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_cluster(name, cluster_id: nil, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::ContainerV1beta1::Cluster::Representation
command.response_class = Google::Apis::ContainerV1beta1::Cluster
command.params['name'] = name unless name.nil?
@ -367,7 +367,7 @@ module Google
# @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_cluster_jwks(parent, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/jwks', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/jwks', options)
command.response_representation = Google::Apis::ContainerV1beta1::GetJsonWebKeysResponse::Representation
command.response_class = Google::Apis::ContainerV1beta1::GetJsonWebKeysResponse
command.params['parent'] = parent unless parent.nil?
@ -409,7 +409,7 @@ module Google
# @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_clusters(parent, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/clusters', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/clusters', options)
command.response_representation = Google::Apis::ContainerV1beta1::ListClustersResponse::Representation
command.response_class = Google::Apis::ContainerV1beta1::ListClustersResponse
command.params['parent'] = parent unless parent.nil?
@ -443,7 +443,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_cluster_addons_config(name, set_addons_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:setAddons', options)
command = make_simple_command(:post, 'v1beta1/{+name}:setAddons', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetAddonsConfigRequest::Representation
command.request_object = set_addons_config_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -477,7 +477,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_cluster_legacy_abac(name, set_legacy_abac_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:setLegacyAbac', options)
command = make_simple_command(:post, 'v1beta1/{+name}:setLegacyAbac', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetLegacyAbacRequest::Representation
command.request_object = set_legacy_abac_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -511,7 +511,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_cluster_locations(name, set_locations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:setLocations', options)
command = make_simple_command(:post, 'v1beta1/{+name}:setLocations', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetLocationsRequest::Representation
command.request_object = set_locations_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -545,7 +545,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_cluster_logging_service(name, set_logging_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:setLogging', options)
command = make_simple_command(:post, 'v1beta1/{+name}:setLogging', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetLoggingServiceRequest::Representation
command.request_object = set_logging_service_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -580,7 +580,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_location_cluster_maintenance_policy(name, set_maintenance_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:setMaintenancePolicy', options)
command = make_simple_command(:post, 'v1beta1/{+name}:setMaintenancePolicy', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetMaintenancePolicyRequest::Representation
command.request_object = set_maintenance_policy_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -616,7 +616,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_location_cluster_master_auth(name, set_master_auth_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:setMasterAuth', options)
command = make_simple_command(:post, 'v1beta1/{+name}:setMasterAuth', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetMasterAuthRequest::Representation
command.request_object = set_master_auth_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -650,7 +650,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_cluster_monitoring_service(name, set_monitoring_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:setMonitoring', options)
command = make_simple_command(:post, 'v1beta1/{+name}:setMonitoring', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetMonitoringServiceRequest::Representation
command.request_object = set_monitoring_service_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -684,7 +684,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_location_cluster_network_policy(name, set_network_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:setNetworkPolicy', options)
command = make_simple_command(:post, 'v1beta1/{+name}:setNetworkPolicy', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetNetworkPolicyRequest::Representation
command.request_object = set_network_policy_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -718,7 +718,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_location_cluster_resource_labels(name, set_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:setResourceLabels', options)
command = make_simple_command(:post, 'v1beta1/{+name}:setResourceLabels', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetLabelsRequest::Representation
command.request_object = set_labels_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -752,7 +752,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def start_project_location_cluster_ip_rotation(name, start_ip_rotation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:startIpRotation', options)
command = make_simple_command(:post, 'v1beta1/{+name}:startIpRotation', options)
command.request_representation = Google::Apis::ContainerV1beta1::StartIpRotationRequest::Representation
command.request_object = start_ip_rotation_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -786,7 +786,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_location_cluster(name, update_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1beta1/{+name}', options)
command = make_simple_command(:put, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::ContainerV1beta1::UpdateClusterRequest::Representation
command.request_object = update_cluster_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -820,7 +820,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_cluster_master(name, update_master_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:updateMaster', options)
command = make_simple_command(:post, 'v1beta1/{+name}:updateMaster', options)
command.request_representation = Google::Apis::ContainerV1beta1::UpdateMasterRequest::Representation
command.request_object = update_master_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -855,7 +855,7 @@ module Google
# @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_cluster_node_pool(parent, create_node_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}/nodePools', options)
command = make_simple_command(:post, 'v1beta1/{+parent}/nodePools', options)
command.request_representation = Google::Apis::ContainerV1beta1::CreateNodePoolRequest::Representation
command.request_object = create_node_pool_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -904,7 +904,7 @@ module Google
# @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_cluster_node_pool(name, cluster_id: nil, node_pool_id: nil, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
command.response_class = Google::Apis::ContainerV1beta1::Operation
command.params['name'] = name unless name.nil?
@ -955,7 +955,7 @@ module Google
# @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_cluster_node_pool(name, cluster_id: nil, node_pool_id: nil, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::ContainerV1beta1::NodePool::Representation
command.response_class = Google::Apis::ContainerV1beta1::NodePool
command.params['name'] = name unless name.nil?
@ -1002,7 +1002,7 @@ module Google
# @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_cluster_node_pools(parent, cluster_id: nil, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/nodePools', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/nodePools', options)
command.response_representation = Google::Apis::ContainerV1beta1::ListNodePoolsResponse::Representation
command.response_class = Google::Apis::ContainerV1beta1::ListNodePoolsResponse
command.params['parent'] = parent unless parent.nil?
@ -1039,7 +1039,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def rollback_project_location_cluster_node_pool(name, rollback_node_pool_upgrade_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:rollback', options)
command = make_simple_command(:post, 'v1beta1/{+name}:rollback', options)
command.request_representation = Google::Apis::ContainerV1beta1::RollbackNodePoolUpgradeRequest::Representation
command.request_object = rollback_node_pool_upgrade_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -1074,7 +1074,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_location_cluster_node_pool_autoscaling(name, set_node_pool_autoscaling_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:setAutoscaling', options)
command = make_simple_command(:post, 'v1beta1/{+name}:setAutoscaling', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetNodePoolAutoscalingRequest::Representation
command.request_object = set_node_pool_autoscaling_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -1109,7 +1109,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_location_cluster_node_pool_management(name, set_node_pool_management_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:setManagement', options)
command = make_simple_command(:post, 'v1beta1/{+name}:setManagement', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetNodePoolManagementRequest::Representation
command.request_object = set_node_pool_management_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -1144,7 +1144,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_location_cluster_node_pool_size(name, set_node_pool_size_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:setSize', options)
command = make_simple_command(:post, 'v1beta1/{+name}:setSize', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetNodePoolSizeRequest::Representation
command.request_object = set_node_pool_size_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -1179,7 +1179,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_location_cluster_node_pool(name, update_node_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1beta1/{+name}', options)
command = make_simple_command(:put, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::ContainerV1beta1::UpdateNodePoolRequest::Representation
command.request_object = update_node_pool_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -1218,7 +1218,7 @@ module Google
# @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_cluster_well_known_openid_configuration(parent, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/.well-known/openid-configuration', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/.well-known/openid-configuration', options)
command.response_representation = Google::Apis::ContainerV1beta1::GetOpenIdConfigResponse::Representation
command.response_class = Google::Apis::ContainerV1beta1::GetOpenIdConfigResponse
command.params['parent'] = parent unless parent.nil?
@ -1250,7 +1250,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_project_location_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 = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
command.request_representation = Google::Apis::ContainerV1beta1::CancelOperationRequest::Representation
command.request_object = cancel_operation_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Empty::Representation
@ -1295,7 +1295,7 @@ module Google
# @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, operation_id: nil, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
command.response_class = Google::Apis::ContainerV1beta1::Operation
command.params['name'] = name unless name.nil?
@ -1338,7 +1338,7 @@ module Google
# @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(parent, project_id: nil, zone: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/operations', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/operations', options)
command.response_representation = Google::Apis::ContainerV1beta1::ListOperationsResponse::Representation
command.response_class = Google::Apis::ContainerV1beta1::ListOperationsResponse
command.params['parent'] = parent unless parent.nil?
@ -1379,7 +1379,7 @@ module Google
# @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_zone_serverconfig(project_id, zone, name: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/projects/{projectId}/zones/{zone}/serverconfig', options)
command = make_simple_command(:get, 'v1beta1/projects/{projectId}/zones/{zone}/serverconfig', options)
command.response_representation = Google::Apis::ContainerV1beta1::ServerConfig::Representation
command.response_class = Google::Apis::ContainerV1beta1::ServerConfig
command.params['projectId'] = project_id unless project_id.nil?
@ -1422,7 +1422,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def addons_project_zone_cluster(project_id, zone, cluster_id, set_addons_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetAddonsConfigRequest::Representation
command.request_object = set_addons_config_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -1467,7 +1467,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def complete_project_zone_cluster_ip_rotation(project_id, zone, cluster_id, complete_ip_rotation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation', options)
command.request_representation = Google::Apis::ContainerV1beta1::CompleteIpRotationRequest::Representation
command.request_object = complete_ip_rotation_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -1518,7 +1518,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_cluster(project_id, zone, create_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters', options)
command.request_representation = Google::Apis::ContainerV1beta1::CreateClusterRequest::Representation
command.request_object = create_cluster_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -1570,7 +1570,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_zone_cluster(project_id, zone, cluster_id, name: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', options)
command = make_simple_command(:delete, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', options)
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
command.response_class = Google::Apis::ContainerV1beta1::Operation
command.params['projectId'] = project_id unless project_id.nil?
@ -1616,7 +1616,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_zone_cluster(project_id, zone, cluster_id, name: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', options)
command = make_simple_command(:get, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', options)
command.response_representation = Google::Apis::ContainerV1beta1::Cluster::Representation
command.response_class = Google::Apis::ContainerV1beta1::Cluster
command.params['projectId'] = project_id unless project_id.nil?
@ -1660,7 +1660,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def legacy_project_zone_cluster_abac(project_id, zone, cluster_id, set_legacy_abac_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetLegacyAbacRequest::Representation
command.request_object = set_legacy_abac_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -1706,7 +1706,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_zone_clusters(project_id, zone, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/projects/{projectId}/zones/{zone}/clusters', options)
command = make_simple_command(:get, 'v1beta1/projects/{projectId}/zones/{zone}/clusters', options)
command.response_representation = Google::Apis::ContainerV1beta1::ListClustersResponse::Representation
command.response_class = Google::Apis::ContainerV1beta1::ListClustersResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -1749,7 +1749,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def locations_project_zone_cluster(project_id, zone, cluster_id, set_locations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetLocationsRequest::Representation
command.request_object = set_locations_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -1794,7 +1794,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def logging_project_zone_cluster(project_id, zone, cluster_id, set_logging_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetLoggingServiceRequest::Representation
command.request_object = set_logging_service_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -1839,7 +1839,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def master_project_zone_cluster(project_id, zone, cluster_id, update_master_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master', options)
command.request_representation = Google::Apis::ContainerV1beta1::UpdateMasterRequest::Representation
command.request_object = update_master_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -1884,7 +1884,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def monitoring_project_zone_cluster(project_id, zone, cluster_id, set_monitoring_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetMonitoringServiceRequest::Representation
command.request_object = set_monitoring_service_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -1929,7 +1929,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def resource_project_zone_cluster_labels(project_id, zone, cluster_id, set_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetLabelsRequest::Representation
command.request_object = set_labels_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -1971,7 +1971,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_zone_cluster_maintenance_policy(project_id, zone, cluster_id, set_maintenance_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetMaintenancePolicyRequest::Representation
command.request_object = set_maintenance_policy_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -2018,7 +2018,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_zone_cluster_master_auth(project_id, zone, cluster_id, set_master_auth_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetMasterAuthRequest::Representation
command.request_object = set_master_auth_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -2063,7 +2063,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_zone_cluster_network_policy(project_id, zone, cluster_id, set_network_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setNetworkPolicy', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setNetworkPolicy', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetNetworkPolicyRequest::Representation
command.request_object = set_network_policy_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -2108,7 +2108,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def start_project_zone_cluster_ip_rotation(project_id, zone, cluster_id, start_ip_rotation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:startIpRotation', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:startIpRotation', options)
command.request_representation = Google::Apis::ContainerV1beta1::StartIpRotationRequest::Representation
command.request_object = start_ip_rotation_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -2153,7 +2153,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_zone_cluster(project_id, zone, cluster_id, update_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', options)
command = make_simple_command(:put, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', options)
command.request_representation = Google::Apis::ContainerV1beta1::UpdateClusterRequest::Representation
command.request_object = update_cluster_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -2201,7 +2201,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def autoscaling_project_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, set_node_pool_autoscaling_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetNodePoolAutoscalingRequest::Representation
command.request_object = set_node_pool_autoscaling_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -2247,7 +2247,7 @@ module Google
# @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_zone_cluster_node_pool(project_id, zone, cluster_id, create_node_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools', options)
command.request_representation = Google::Apis::ContainerV1beta1::CreateNodePoolRequest::Representation
command.request_object = create_node_pool_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -2298,7 +2298,7 @@ module Google
# @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_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, name: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}', options)
command = make_simple_command(:delete, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}', options)
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
command.response_class = Google::Apis::ContainerV1beta1::Operation
command.params['projectId'] = project_id unless project_id.nil?
@ -2349,7 +2349,7 @@ module Google
# @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_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, name: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}', options)
command = make_simple_command(:get, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}', options)
command.response_representation = Google::Apis::ContainerV1beta1::NodePool::Representation
command.response_class = Google::Apis::ContainerV1beta1::NodePool
command.params['projectId'] = project_id unless project_id.nil?
@ -2396,7 +2396,7 @@ module Google
# @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_zone_cluster_node_pools(project_id, zone, cluster_id, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools', options)
command = make_simple_command(:get, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools', options)
command.response_representation = Google::Apis::ContainerV1beta1::ListNodePoolsResponse::Representation
command.response_class = Google::Apis::ContainerV1beta1::ListNodePoolsResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -2444,7 +2444,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def rollback_project_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, rollback_node_pool_upgrade_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback', options)
command.request_representation = Google::Apis::ContainerV1beta1::RollbackNodePoolUpgradeRequest::Representation
command.request_object = rollback_node_pool_upgrade_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -2493,7 +2493,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_zone_cluster_node_pool_management(project_id, zone, cluster_id, node_pool_id, set_node_pool_management_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetNodePoolManagementRequest::Representation
command.request_object = set_node_pool_management_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -2542,7 +2542,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_zone_cluster_node_pool_size(project_id, zone, cluster_id, node_pool_id, set_node_pool_size_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetNodePoolSizeRequest::Representation
command.request_object = set_node_pool_size_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -2591,7 +2591,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, update_node_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update', options)
command.request_representation = Google::Apis::ContainerV1beta1::UpdateNodePoolRequest::Representation
command.request_object = update_node_pool_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
@ -2636,7 +2636,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_project_zone_operation(project_id, zone, operation_id, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel', options)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel', options)
command.request_representation = Google::Apis::ContainerV1beta1::CancelOperationRequest::Representation
command.request_object = cancel_operation_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Empty::Representation
@ -2683,7 +2683,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_zone_operation(project_id, zone, operation_id, name: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/projects/{projectId}/zones/{zone}/operations/{operationId}', options)
command = make_simple_command(:get, 'v1beta1/projects/{projectId}/zones/{zone}/operations/{operationId}', options)
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
command.response_class = Google::Apis::ContainerV1beta1::Operation
command.params['projectId'] = project_id unless project_id.nil?
@ -2726,7 +2726,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_zone_operations(project_id, zone, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/projects/{projectId}/zones/{zone}/operations', options)
command = make_simple_command(:get, 'v1beta1/projects/{projectId}/zones/{zone}/operations', options)
command.response_representation = Google::Apis::ContainerV1beta1::ListOperationsResponse::Representation
command.response_class = Google::Apis::ContainerV1beta1::ListOperationsResponse
command.params['projectId'] = project_id unless project_id.nil?

View File

@ -77,7 +77,7 @@ module Google
# @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_note(parent, note_object = nil, name: nil, note_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha1/{+parent}/notes', options)
command = make_simple_command(:post, 'v1alpha1/{+parent}/notes', options)
command.request_representation = Google::Apis::ContaineranalysisV1alpha1::Note::Representation
command.request_object = note_object
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Note::Representation
@ -112,7 +112,7 @@ module Google
# @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_note(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Empty::Representation
command.response_class = Google::Apis::ContaineranalysisV1alpha1::Empty
command.params['name'] = name unless name.nil?
@ -143,7 +143,7 @@ module Google
# @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_note(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Note::Representation
command.response_class = Google::Apis::ContaineranalysisV1alpha1::Note
command.params['name'] = name unless name.nil?
@ -185,7 +185,7 @@ module Google
# @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_note_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha1/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v1alpha1/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::ContaineranalysisV1alpha1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Policy::Representation
@ -227,7 +227,7 @@ module Google
# @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_notes(parent, filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha1/{+parent}/notes', options)
command = make_simple_command(:get, 'v1alpha1/{+parent}/notes', options)
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::ListNotesResponse::Representation
command.response_class = Google::Apis::ContaineranalysisV1alpha1::ListNotesResponse
command.params['parent'] = parent unless parent.nil?
@ -265,7 +265,7 @@ module Google
# @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_note(name, note_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
command.request_representation = Google::Apis::ContaineranalysisV1alpha1::Note::Representation
command.request_object = note_object
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Note::Representation
@ -311,7 +311,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_note_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::ContaineranalysisV1alpha1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Policy::Representation
@ -352,7 +352,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_project_note_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::ContaineranalysisV1alpha1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::TestIamPermissionsResponse::Representation
@ -393,7 +393,7 @@ module Google
# @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_note_occurrences(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha1/{+name}/occurrences', options)
command = make_simple_command(:get, 'v1alpha1/{+name}/occurrences', options)
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::ListNoteOccurrencesResponse::Representation
command.response_class = Google::Apis::ContaineranalysisV1alpha1::ListNoteOccurrencesResponse
command.params['name'] = name unless name.nil?
@ -431,7 +431,7 @@ module Google
# @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_occurrence(parent, occurrence_object = nil, name: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha1/{+parent}/occurrences', options)
command = make_simple_command(:post, 'v1alpha1/{+parent}/occurrences', options)
command.request_representation = Google::Apis::ContaineranalysisV1alpha1::Occurrence::Representation
command.request_object = occurrence_object
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Occurrence::Representation
@ -466,7 +466,7 @@ module Google
# @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_occurrence(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Empty::Representation
command.response_class = Google::Apis::ContaineranalysisV1alpha1::Empty
command.params['name'] = name unless name.nil?
@ -497,7 +497,7 @@ module Google
# @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_occurrence(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Occurrence::Representation
command.response_class = Google::Apis::ContaineranalysisV1alpha1::Occurrence
command.params['name'] = name unless name.nil?
@ -539,7 +539,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_occurrence_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha1/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v1alpha1/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::ContaineranalysisV1alpha1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Policy::Representation
@ -572,7 +572,7 @@ module Google
# @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_occurrence_notes(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha1/{+name}/notes', options)
command = make_simple_command(:get, 'v1alpha1/{+name}/notes', options)
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Note::Representation
command.response_class = Google::Apis::ContaineranalysisV1alpha1::Note
command.params['name'] = name unless name.nil?
@ -604,7 +604,7 @@ module Google
# @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_occurrence_vulnerability_summary(parent, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha1/{+parent}/occurrences:vulnerabilitySummary', options)
command = make_simple_command(:get, 'v1alpha1/{+parent}/occurrences:vulnerabilitySummary', options)
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::GetVulnzOccurrencesSummaryResponse::Representation
command.response_class = Google::Apis::ContaineranalysisV1alpha1::GetVulnzOccurrencesSummaryResponse
command.params['parent'] = parent unless parent.nil?
@ -647,7 +647,7 @@ module Google
# @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_occurrences(parent, filter: nil, kind: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha1/{+parent}/occurrences', options)
command = make_simple_command(:get, 'v1alpha1/{+parent}/occurrences', options)
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::ListOccurrencesResponse::Representation
command.response_class = Google::Apis::ContaineranalysisV1alpha1::ListOccurrencesResponse
command.params['parent'] = parent unless parent.nil?
@ -686,7 +686,7 @@ module Google
# @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_occurrence(name, occurrence_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
command.request_representation = Google::Apis::ContaineranalysisV1alpha1::Occurrence::Representation
command.request_object = occurrence_object
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Occurrence::Representation
@ -732,7 +732,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_occurrence_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::ContaineranalysisV1alpha1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Policy::Representation
@ -773,7 +773,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_occurrence_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::ContaineranalysisV1alpha1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::TestIamPermissionsResponse::Representation
@ -806,7 +806,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_operation(parent, create_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha1/{+parent}/operations', options)
command = make_simple_command(:post, 'v1alpha1/{+parent}/operations', options)
command.request_representation = Google::Apis::ContaineranalysisV1alpha1::CreateOperationRequest::Representation
command.request_object = create_operation_request_object
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Operation::Representation
@ -842,7 +842,7 @@ module Google
# @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_operation(name, update_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
command.request_representation = Google::Apis::ContaineranalysisV1alpha1::UpdateOperationRequest::Representation
command.request_object = update_operation_request_object
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Operation::Representation
@ -875,7 +875,7 @@ module Google
# @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_scan_config(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::ScanConfig::Representation
command.response_class = Google::Apis::ContaineranalysisV1alpha1::ScanConfig
command.params['name'] = name unless name.nil?
@ -911,7 +911,7 @@ module Google
# @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_scan_configs(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha1/{+parent}/scanConfigs', options)
command = make_simple_command(:get, 'v1alpha1/{+parent}/scanConfigs', options)
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::ListScanConfigsResponse::Representation
command.response_class = Google::Apis::ContaineranalysisV1alpha1::ListScanConfigsResponse
command.params['parent'] = parent unless parent.nil?
@ -948,7 +948,7 @@ module Google
# @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_scan_config(name, scan_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
command.request_representation = Google::Apis::ContaineranalysisV1alpha1::ScanConfig::Representation
command.request_object = scan_config_object
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::ScanConfig::Representation
@ -989,7 +989,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_provider_note(name, note_object = nil, note_id: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha1/{+name}/notes', options)
command = make_simple_command(:post, 'v1alpha1/{+name}/notes', options)
command.request_representation = Google::Apis::ContaineranalysisV1alpha1::Note::Representation
command.request_object = note_object
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Note::Representation
@ -1024,7 +1024,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_provider_note(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Empty::Representation
command.response_class = Google::Apis::ContaineranalysisV1alpha1::Empty
command.params['name'] = name unless name.nil?
@ -1055,7 +1055,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_provider_note(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Note::Representation
command.response_class = Google::Apis::ContaineranalysisV1alpha1::Note
command.params['name'] = name unless name.nil?
@ -1097,7 +1097,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_provider_note_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha1/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v1alpha1/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::ContaineranalysisV1alpha1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Policy::Representation
@ -1139,7 +1139,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_provider_notes(name, filter: nil, page_size: nil, page_token: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha1/{+name}/notes', options)
command = make_simple_command(:get, 'v1alpha1/{+name}/notes', options)
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::ListNotesResponse::Representation
command.response_class = Google::Apis::ContaineranalysisV1alpha1::ListNotesResponse
command.params['name'] = name unless name.nil?
@ -1177,7 +1177,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_provider_note(name, note_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
command.request_representation = Google::Apis::ContaineranalysisV1alpha1::Note::Representation
command.request_object = note_object
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Note::Representation
@ -1223,7 +1223,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_provider_note_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::ContaineranalysisV1alpha1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::Policy::Representation
@ -1264,7 +1264,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_provider_note_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::ContaineranalysisV1alpha1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::TestIamPermissionsResponse::Representation
@ -1305,7 +1305,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_provider_note_occurrences(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha1/{+name}/occurrences', options)
command = make_simple_command(:get, 'v1alpha1/{+name}/occurrences', options)
command.response_representation = Google::Apis::ContaineranalysisV1alpha1::ListNoteOccurrencesResponse::Representation
command.response_class = Google::Apis::ContaineranalysisV1alpha1::ListNoteOccurrencesResponse
command.params['name'] = name unless name.nil?

View File

@ -71,7 +71,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_create_notes(parent, batch_create_notes_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}/notes:batchCreate', options)
command = make_simple_command(:post, 'v1beta1/{+parent}/notes:batchCreate', options)
command.request_representation = Google::Apis::ContaineranalysisV1beta1::BatchCreateNotesRequest::Representation
command.request_object = batch_create_notes_request_object
command.response_representation = Google::Apis::ContaineranalysisV1beta1::BatchCreateNotesResponse::Representation
@ -107,7 +107,7 @@ module Google
# @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_note(parent, note_object = nil, note_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}/notes', options)
command = make_simple_command(:post, 'v1beta1/{+parent}/notes', options)
command.request_representation = Google::Apis::ContaineranalysisV1beta1::Note::Representation
command.request_object = note_object
command.response_representation = Google::Apis::ContaineranalysisV1beta1::Note::Representation
@ -141,7 +141,7 @@ module Google
# @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_note(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::ContaineranalysisV1beta1::Empty::Representation
command.response_class = Google::Apis::ContaineranalysisV1beta1::Empty
command.params['name'] = name unless name.nil?
@ -172,7 +172,7 @@ module Google
# @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_note(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::ContaineranalysisV1beta1::Note::Representation
command.response_class = Google::Apis::ContaineranalysisV1beta1::Note
command.params['name'] = name unless name.nil?
@ -210,7 +210,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_note_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::ContaineranalysisV1beta1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::ContaineranalysisV1beta1::Policy::Representation
@ -250,7 +250,7 @@ module Google
# @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_notes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/notes', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/notes', options)
command.response_representation = Google::Apis::ContaineranalysisV1beta1::ListNotesResponse::Representation
command.response_class = Google::Apis::ContaineranalysisV1beta1::ListNotesResponse
command.params['parent'] = parent unless parent.nil?
@ -287,7 +287,7 @@ module Google
# @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_note(name, note_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::ContaineranalysisV1beta1::Note::Representation
command.request_object = note_object
command.response_representation = Google::Apis::ContaineranalysisV1beta1::Note::Representation
@ -328,7 +328,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_note_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::ContaineranalysisV1beta1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::ContaineranalysisV1beta1::Policy::Representation
@ -367,7 +367,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_note_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::ContaineranalysisV1beta1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::ContaineranalysisV1beta1::TestIamPermissionsResponse::Representation
@ -408,7 +408,7 @@ module Google
# @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_note_occurrences(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}/occurrences', options)
command = make_simple_command(:get, 'v1beta1/{+name}/occurrences', options)
command.response_representation = Google::Apis::ContaineranalysisV1beta1::ListNoteOccurrencesResponse::Representation
command.response_class = Google::Apis::ContaineranalysisV1beta1::ListNoteOccurrencesResponse
command.params['name'] = name unless name.nil?
@ -443,7 +443,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_create_occurrences(parent, batch_create_occurrences_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}/occurrences:batchCreate', options)
command = make_simple_command(:post, 'v1beta1/{+parent}/occurrences:batchCreate', options)
command.request_representation = Google::Apis::ContaineranalysisV1beta1::BatchCreateOccurrencesRequest::Representation
command.request_object = batch_create_occurrences_request_object
command.response_representation = Google::Apis::ContaineranalysisV1beta1::BatchCreateOccurrencesResponse::Representation
@ -477,7 +477,7 @@ module Google
# @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_occurrence(parent, occurrence_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}/occurrences', options)
command = make_simple_command(:post, 'v1beta1/{+parent}/occurrences', options)
command.request_representation = Google::Apis::ContaineranalysisV1beta1::Occurrence::Representation
command.request_object = occurrence_object
command.response_representation = Google::Apis::ContaineranalysisV1beta1::Occurrence::Representation
@ -512,7 +512,7 @@ module Google
# @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_occurrence(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::ContaineranalysisV1beta1::Empty::Representation
command.response_class = Google::Apis::ContaineranalysisV1beta1::Empty
command.params['name'] = name unless name.nil?
@ -543,7 +543,7 @@ module Google
# @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_occurrence(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::ContaineranalysisV1beta1::Occurrence::Representation
command.response_class = Google::Apis::ContaineranalysisV1beta1::Occurrence
command.params['name'] = name unless name.nil?
@ -581,7 +581,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_occurrence_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::ContaineranalysisV1beta1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::ContaineranalysisV1beta1::Policy::Representation
@ -615,7 +615,7 @@ module Google
# @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_occurrence_notes(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}/notes', options)
command = make_simple_command(:get, 'v1beta1/{+name}/notes', options)
command.response_representation = Google::Apis::ContaineranalysisV1beta1::Note::Representation
command.response_class = Google::Apis::ContaineranalysisV1beta1::Note
command.params['name'] = name unless name.nil?
@ -648,7 +648,7 @@ module Google
# @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_occurrence_vulnerability_summary(parent, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/occurrences:vulnerabilitySummary', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/occurrences:vulnerabilitySummary', options)
command.response_representation = Google::Apis::ContaineranalysisV1beta1::VulnerabilityOccurrencesSummary::Representation
command.response_class = Google::Apis::ContaineranalysisV1beta1::VulnerabilityOccurrencesSummary
command.params['parent'] = parent unless parent.nil?
@ -687,7 +687,7 @@ module Google
# @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_occurrences(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/occurrences', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/occurrences', options)
command.response_representation = Google::Apis::ContaineranalysisV1beta1::ListOccurrencesResponse::Representation
command.response_class = Google::Apis::ContaineranalysisV1beta1::ListOccurrencesResponse
command.params['parent'] = parent unless parent.nil?
@ -724,7 +724,7 @@ module Google
# @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_occurrence(name, occurrence_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::ContaineranalysisV1beta1::Occurrence::Representation
command.request_object = occurrence_object
command.response_representation = Google::Apis::ContaineranalysisV1beta1::Occurrence::Representation
@ -765,7 +765,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_occurrence_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::ContaineranalysisV1beta1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::ContaineranalysisV1beta1::Policy::Representation
@ -804,7 +804,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_occurrence_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::ContaineranalysisV1beta1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::ContaineranalysisV1beta1::TestIamPermissionsResponse::Representation
@ -837,7 +837,7 @@ module Google
# @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_scan_config(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::ContaineranalysisV1beta1::ScanConfig::Representation
command.response_class = Google::Apis::ContaineranalysisV1beta1::ScanConfig
command.params['name'] = name unless name.nil?
@ -874,7 +874,7 @@ module Google
# @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_scan_configs(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/scanConfigs', options)
command = make_simple_command(:get, 'v1beta1/{+parent}/scanConfigs', options)
command.response_representation = Google::Apis::ContaineranalysisV1beta1::ListScanConfigsResponse::Representation
command.response_class = Google::Apis::ContaineranalysisV1beta1::ListScanConfigsResponse
command.params['parent'] = parent unless parent.nil?
@ -909,7 +909,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_scan_config(name, scan_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1beta1/{+name}', options)
command = make_simple_command(:put, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::ContaineranalysisV1beta1::ScanConfig::Representation
command.request_object = scan_config_object
command.response_representation = Google::Apis::ContaineranalysisV1beta1::ScanConfig::Representation

View File

@ -73,7 +73,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account_authinfo(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/authinfo', options)
command = make_simple_command(:get, 'accounts/authinfo', options)
command.response_representation = Google::Apis::ContentV2::AccountsAuthInfoResponse::Representation
command.response_class = Google::Apis::ContentV2::AccountsAuthInfoResponse
command.query['fields'] = fields unless fields.nil?
@ -113,7 +113,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def claimwebsite_account(merchant_id, account_id, overwrite: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/claimwebsite', options)
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/claimwebsite', options)
command.response_representation = Google::Apis::ContentV2::AccountsClaimWebsiteResponse::Representation
command.response_class = Google::Apis::ContentV2::AccountsClaimWebsiteResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -151,7 +151,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_account(batch_accounts_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'accounts/batch', options)
command = make_simple_command(:post, 'accounts/batch', options)
command.request_representation = Google::Apis::ContentV2::BatchAccountsRequest::Representation
command.request_object = batch_accounts_request_object
command.response_representation = Google::Apis::ContentV2::BatchAccountsResponse::Representation
@ -194,7 +194,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_account(merchant_id, account_id, dry_run: nil, force: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{merchantId}/accounts/{accountId}', options)
command = make_simple_command(:delete, '{merchantId}/accounts/{accountId}', options)
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.params['accountId'] = account_id unless account_id.nil?
command.query['dryRun'] = dry_run unless dry_run.nil?
@ -232,7 +232,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/accounts/{accountId}', options)
command = make_simple_command(:get, '{merchantId}/accounts/{accountId}', options)
command.response_representation = Google::Apis::ContentV2::Account::Representation
command.response_class = Google::Apis::ContentV2::Account
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -270,7 +270,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_account(merchant_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/accounts', options)
command = make_simple_command(:post, '{merchantId}/accounts', options)
command.request_representation = Google::Apis::ContentV2::Account::Representation
command.request_object = account_object
command.response_representation = Google::Apis::ContentV2::Account::Representation
@ -312,7 +312,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/link', options)
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/link', options)
command.request_representation = Google::Apis::ContentV2::AccountsLinkRequest::Representation
command.request_object = accounts_link_request_object
command.response_representation = Google::Apis::ContentV2::AccountsLinkResponse::Representation
@ -352,7 +352,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_accounts(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/accounts', options)
command = make_simple_command(:get, '{merchantId}/accounts', options)
command.response_representation = Google::Apis::ContentV2::ListAccountsResponse::Representation
command.response_class = Google::Apis::ContentV2::ListAccountsResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -395,7 +395,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_account(merchant_id, account_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{merchantId}/accounts/{accountId}', options)
command = make_simple_command(:patch, '{merchantId}/accounts/{accountId}', options)
command.request_representation = Google::Apis::ContentV2::Account::Representation
command.request_object = account_object
command.response_representation = Google::Apis::ContentV2::Account::Representation
@ -440,7 +440,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_account(merchant_id, account_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{merchantId}/accounts/{accountId}', options)
command = make_simple_command(:put, '{merchantId}/accounts/{accountId}', options)
command.request_representation = Google::Apis::ContentV2::Account::Representation
command.request_object = account_object
command.response_representation = Google::Apis::ContentV2::Account::Representation
@ -476,7 +476,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_account_status(batch_account_statuses_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'accountstatuses/batch', options)
command = make_simple_command(:post, 'accountstatuses/batch', options)
command.request_representation = Google::Apis::ContentV2::BatchAccountStatusesRequest::Representation
command.request_object = batch_account_statuses_request_object
command.response_representation = Google::Apis::ContentV2::BatchAccountStatusesResponse::Representation
@ -518,7 +518,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account_status(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/accountstatuses/{accountId}', options)
command = make_simple_command(:get, '{merchantId}/accountstatuses/{accountId}', options)
command.response_representation = Google::Apis::ContentV2::AccountStatus::Representation
command.response_class = Google::Apis::ContentV2::AccountStatus
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -561,7 +561,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_statuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/accountstatuses', options)
command = make_simple_command(:get, '{merchantId}/accountstatuses', options)
command.response_representation = Google::Apis::ContentV2::ListAccountStatusesResponse::Representation
command.response_class = Google::Apis::ContentV2::ListAccountStatusesResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -599,7 +599,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_account_tax(batch_account_tax_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'accounttax/batch', options)
command = make_simple_command(:post, 'accounttax/batch', options)
command.request_representation = Google::Apis::ContentV2::BatchAccountTaxRequest::Representation
command.request_object = batch_account_tax_request_object
command.response_representation = Google::Apis::ContentV2::BatchAccountTaxResponse::Representation
@ -638,7 +638,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account_tax(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/accounttax/{accountId}', options)
command = make_simple_command(:get, '{merchantId}/accounttax/{accountId}', options)
command.response_representation = Google::Apis::ContentV2::AccountTax::Representation
command.response_class = Google::Apis::ContentV2::AccountTax
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -676,7 +676,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_taxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/accounttax', options)
command = make_simple_command(:get, '{merchantId}/accounttax', options)
command.response_representation = Google::Apis::ContentV2::ListAccountTaxResponse::Representation
command.response_class = Google::Apis::ContentV2::ListAccountTaxResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -719,7 +719,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_account_tax(merchant_id, account_id, account_tax_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{merchantId}/accounttax/{accountId}', options)
command = make_simple_command(:patch, '{merchantId}/accounttax/{accountId}', options)
command.request_representation = Google::Apis::ContentV2::AccountTax::Representation
command.request_object = account_tax_object
command.response_representation = Google::Apis::ContentV2::AccountTax::Representation
@ -764,7 +764,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_account_tax(merchant_id, account_id, account_tax_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{merchantId}/accounttax/{accountId}', options)
command = make_simple_command(:put, '{merchantId}/accounttax/{accountId}', options)
command.request_representation = Google::Apis::ContentV2::AccountTax::Representation
command.request_object = account_tax_object
command.response_representation = Google::Apis::ContentV2::AccountTax::Representation
@ -804,7 +804,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_datafeed(batch_datafeeds_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'datafeeds/batch', options)
command = make_simple_command(:post, 'datafeeds/batch', options)
command.request_representation = Google::Apis::ContentV2::BatchDatafeedsRequest::Representation
command.request_object = batch_datafeeds_request_object
command.response_representation = Google::Apis::ContentV2::BatchDatafeedsResponse::Representation
@ -845,7 +845,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{merchantId}/datafeeds/{datafeedId}', options)
command = make_simple_command(:delete, '{merchantId}/datafeeds/{datafeedId}', options)
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
command.query['dryRun'] = dry_run unless dry_run.nil?
@ -884,7 +884,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def fetchnow_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
command = make_simple_command(:post, '{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
command.response_representation = Google::Apis::ContentV2::DatafeedsFetchNowResponse::Representation
command.response_class = Google::Apis::ContentV2::DatafeedsFetchNowResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -922,7 +922,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/datafeeds/{datafeedId}', options)
command = make_simple_command(:get, '{merchantId}/datafeeds/{datafeedId}', options)
command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
command.response_class = Google::Apis::ContentV2::Datafeed
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -961,7 +961,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_datafeed(merchant_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/datafeeds', options)
command = make_simple_command(:post, '{merchantId}/datafeeds', options)
command.request_representation = Google::Apis::ContentV2::Datafeed::Representation
command.request_object = datafeed_object
command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
@ -1002,7 +1002,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/datafeeds', options)
command = make_simple_command(:get, '{merchantId}/datafeeds', options)
command.response_representation = Google::Apis::ContentV2::ListDatafeedsResponse::Representation
command.response_class = Google::Apis::ContentV2::ListDatafeedsResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1045,7 +1045,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_datafeed(merchant_id, datafeed_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{merchantId}/datafeeds/{datafeedId}', options)
command = make_simple_command(:patch, '{merchantId}/datafeeds/{datafeedId}', options)
command.request_representation = Google::Apis::ContentV2::Datafeed::Representation
command.request_object = datafeed_object
command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
@ -1089,7 +1089,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{merchantId}/datafeeds/{datafeedId}', options)
command = make_simple_command(:put, '{merchantId}/datafeeds/{datafeedId}', options)
command.request_representation = Google::Apis::ContentV2::Datafeed::Representation
command.request_object = datafeed_object
command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
@ -1125,7 +1125,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_datafeed_status(batch_datafeed_statuses_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'datafeedstatuses/batch', options)
command = make_simple_command(:post, 'datafeedstatuses/batch', options)
command.request_representation = Google::Apis::ContentV2::BatchDatafeedStatusesRequest::Representation
command.request_object = batch_datafeed_statuses_request_object
command.response_representation = Google::Apis::ContentV2::BatchDatafeedStatusesResponse::Representation
@ -1172,7 +1172,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_datafeed_status(merchant_id, datafeed_id, country: nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/datafeedstatuses/{datafeedId}', options)
command = make_simple_command(:get, '{merchantId}/datafeedstatuses/{datafeedId}', options)
command.response_representation = Google::Apis::ContentV2::DatafeedStatus::Representation
command.response_class = Google::Apis::ContentV2::DatafeedStatus
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1213,7 +1213,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_datafeed_statuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/datafeedstatuses', options)
command = make_simple_command(:get, '{merchantId}/datafeedstatuses', options)
command.response_representation = Google::Apis::ContentV2::ListDatafeedStatusesResponse::Representation
command.response_class = Google::Apis::ContentV2::ListDatafeedStatusesResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1251,7 +1251,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_inventory(batch_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'inventory/batch', options)
command = make_simple_command(:post, 'inventory/batch', options)
command.request_representation = Google::Apis::ContentV2::BatchInventoryRequest::Representation
command.request_object = batch_inventory_request_object
command.response_representation = Google::Apis::ContentV2::BatchInventoryResponse::Representation
@ -1296,7 +1296,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_inventory(merchant_id, store_code, product_id, set_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/inventory/{storeCode}/products/{productId}', options)
command = make_simple_command(:post, '{merchantId}/inventory/{storeCode}/products/{productId}', options)
command.request_representation = Google::Apis::ContentV2::SetInventoryRequest::Representation
command.request_object = set_inventory_request_object
command.response_representation = Google::Apis::ContentV2::SetInventoryResponse::Representation
@ -1337,7 +1337,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def custombatch_liasetting(liasettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'liasettings/batch', options)
command = make_simple_command(:post, 'liasettings/batch', options)
command.request_representation = Google::Apis::ContentV2::LiasettingsCustomBatchRequest::Representation
command.request_object = liasettings_custom_batch_request_object
command.response_representation = Google::Apis::ContentV2::LiasettingsCustomBatchResponse::Representation
@ -1376,7 +1376,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', options)
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', options)
command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
command.response_class = Google::Apis::ContentV2::LiaSettings
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1415,7 +1415,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
command.response_representation = Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse::Representation
command.response_class = Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1453,7 +1453,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/liasettings', options)
command = make_simple_command(:get, '{merchantId}/liasettings', options)
command.response_representation = Google::Apis::ContentV2::LiasettingsListResponse::Representation
command.response_class = Google::Apis::ContentV2::LiasettingsListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1487,7 +1487,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def listposdataproviders_liasetting(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'liasettings/posdataproviders', options)
command = make_simple_command(:get, 'liasettings/posdataproviders', options)
command.response_representation = Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse::Representation
command.response_class = Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse
command.query['fields'] = fields unless fields.nil?
@ -1527,7 +1527,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_liasetting(merchant_id, account_id, lia_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{merchantId}/liasettings/{accountId}', options)
command = make_simple_command(:patch, '{merchantId}/liasettings/{accountId}', options)
command.request_representation = Google::Apis::ContentV2::LiaSettings::Representation
command.request_object = lia_settings_object
command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
@ -1570,7 +1570,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
command.response_representation = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse::Representation
command.response_class = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1612,7 +1612,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
command.response_representation = Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse::Representation
command.response_class = Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1660,7 +1660,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def setinventoryverificationcontact_liasetting(merchant_id, account_id, contact_email, contact_name, country, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
command.response_representation = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse::Representation
command.response_class = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1709,7 +1709,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def setposdataprovider_liasetting(merchant_id, account_id, country, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', options)
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', options)
command.response_representation = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse::Representation
command.response_class = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1754,7 +1754,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_liasetting(merchant_id, account_id, lia_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', options)
command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', options)
command.request_representation = Google::Apis::ContentV2::LiaSettings::Representation
command.request_object = lia_settings_object
command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
@ -1796,7 +1796,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def createchargeinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_charge_invoice_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
command.request_representation = Google::Apis::ContentV2::OrderinvoicesCreateChargeInvoiceRequest::Representation
command.request_object = orderinvoices_create_charge_invoice_request_object
command.response_representation = Google::Apis::ContentV2::OrderinvoicesCreateChargeInvoiceResponse::Representation
@ -1839,7 +1839,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def createrefundinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_refund_invoice_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
command.request_representation = Google::Apis::ContentV2::OrderinvoicesCreateRefundInvoiceRequest::Representation
command.request_object = orderinvoices_create_refund_invoice_request_object
command.response_representation = Google::Apis::ContentV2::OrderinvoicesCreateRefundInvoiceResponse::Representation
@ -1879,7 +1879,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def notifyauthapproved_orderpayment(merchant_id, order_id, orderpayments_notify_auth_approved_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyAuthApproved', options)
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyAuthApproved', options)
command.request_representation = Google::Apis::ContentV2::OrderpaymentsNotifyAuthApprovedRequest::Representation
command.request_object = orderpayments_notify_auth_approved_request_object
command.response_representation = Google::Apis::ContentV2::OrderpaymentsNotifyAuthApprovedResponse::Representation
@ -1919,7 +1919,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def notifyauthdeclined_orderpayment(merchant_id, order_id, orderpayments_notify_auth_declined_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyAuthDeclined', options)
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyAuthDeclined', options)
command.request_representation = Google::Apis::ContentV2::OrderpaymentsNotifyAuthDeclinedRequest::Representation
command.request_object = orderpayments_notify_auth_declined_request_object
command.response_representation = Google::Apis::ContentV2::OrderpaymentsNotifyAuthDeclinedResponse::Representation
@ -1959,7 +1959,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def notifycharge_orderpayment(merchant_id, order_id, orderpayments_notify_charge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyCharge', options)
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyCharge', options)
command.request_representation = Google::Apis::ContentV2::OrderpaymentsNotifyChargeRequest::Representation
command.request_object = orderpayments_notify_charge_request_object
command.response_representation = Google::Apis::ContentV2::OrderpaymentsNotifyChargeResponse::Representation
@ -1999,7 +1999,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def notifyrefund_orderpayment(merchant_id, order_id, orderpayments_notify_refund_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyRefund', options)
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyRefund', options)
command.request_representation = Google::Apis::ContentV2::OrderpaymentsNotifyRefundRequest::Representation
command.request_object = orderpayments_notify_refund_request_object
command.response_representation = Google::Apis::ContentV2::OrderpaymentsNotifyRefundResponse::Representation
@ -2045,7 +2045,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def listdisbursements_orderreport(merchant_id, disbursement_start_date, disbursement_end_date: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements', options)
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements', options)
command.response_representation = Google::Apis::ContentV2::OrderreportsListDisbursementsResponse::Representation
command.response_class = Google::Apis::ContentV2::OrderreportsListDisbursementsResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -2095,7 +2095,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def listtransactions_orderreport(merchant_id, disbursement_id, transaction_start_date, max_results: nil, page_token: nil, transaction_end_date: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
command.response_representation = Google::Apis::ContentV2::OrderreportsListTransactionsResponse::Representation
command.response_class = Google::Apis::ContentV2::OrderreportsListTransactionsResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -2136,7 +2136,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options)
command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options)
command.response_representation = Google::Apis::ContentV2::MerchantOrderReturn::Representation
command.response_class = Google::Apis::ContentV2::MerchantOrderReturn
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -2185,7 +2185,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_orderreturns(merchant_id, created_end_date: nil, created_start_date: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/orderreturns', options)
command = make_simple_command(:get, '{merchantId}/orderreturns', options)
command.response_representation = Google::Apis::ContentV2::OrderreturnsListResponse::Representation
command.response_class = Google::Apis::ContentV2::OrderreturnsListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -2227,7 +2227,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/acknowledge', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/acknowledge', options)
command.request_representation = Google::Apis::ContentV2::OrdersAcknowledgeRequest::Representation
command.request_object = orders_acknowledge_request_object
command.response_representation = Google::Apis::ContentV2::OrdersAcknowledgeResponse::Representation
@ -2267,7 +2267,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def advance_test_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/advance', options)
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/advance', options)
command.response_representation = Google::Apis::ContentV2::OrdersAdvanceTestOrderResponse::Representation
command.response_class = Google::Apis::ContentV2::OrdersAdvanceTestOrderResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -2305,7 +2305,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancel', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancel', options)
command.request_representation = Google::Apis::ContentV2::OrdersCancelRequest::Representation
command.request_object = orders_cancel_request_object
command.response_representation = Google::Apis::ContentV2::OrdersCancelResponse::Representation
@ -2345,7 +2345,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_order_line_item(merchant_id, order_id, orders_cancel_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancelLineItem', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancelLineItem', options)
command.request_representation = Google::Apis::ContentV2::OrdersCancelLineItemRequest::Representation
command.request_object = orders_cancel_line_item_request_object
command.response_representation = Google::Apis::ContentV2::OrdersCancelLineItemResponse::Representation
@ -2385,7 +2385,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options)
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options)
command.request_representation = Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerRequest::Representation
command.request_object = orders_cancel_test_order_by_customer_request_object
command.response_representation = Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerResponse::Representation
@ -2423,7 +2423,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_test_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/testorders', options)
command = make_simple_command(:post, '{merchantId}/testorders', options)
command.request_representation = Google::Apis::ContentV2::OrdersCreateTestOrderRequest::Representation
command.request_object = orders_create_test_order_request_object
command.response_representation = Google::Apis::ContentV2::OrdersCreateTestOrderResponse::Representation
@ -2462,7 +2462,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def createtestreturn_order(merchant_id, order_id, orders_create_test_return_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/testreturn', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/testreturn', options)
command.request_representation = Google::Apis::ContentV2::OrdersCreateTestReturnRequest::Representation
command.request_object = orders_create_test_return_request_object
command.response_representation = Google::Apis::ContentV2::OrdersCreateTestReturnResponse::Representation
@ -2497,7 +2497,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def custom_order_batch(orders_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'orders/batch', options)
command = make_simple_command(:post, 'orders/batch', options)
command.request_representation = Google::Apis::ContentV2::OrdersCustomBatchRequest::Representation
command.request_object = orders_custom_batch_request_object
command.response_representation = Google::Apis::ContentV2::OrdersCustomBatchResponse::Representation
@ -2534,7 +2534,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/orders/{orderId}', options)
command = make_simple_command(:get, '{merchantId}/orders/{orderId}', options)
command.response_representation = Google::Apis::ContentV2::Order::Representation
command.response_class = Google::Apis::ContentV2::Order
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -2571,7 +2571,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_order_by_merchant_order_id(merchant_id, merchant_order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
command = make_simple_command(:get, '{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
command.response_representation = Google::Apis::ContentV2::OrdersGetByMerchantOrderIdResponse::Representation
command.response_class = Google::Apis::ContentV2::OrdersGetByMerchantOrderIdResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -2611,7 +2611,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_test_order_template(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/testordertemplates/{templateName}', options)
command = make_simple_command(:get, '{merchantId}/testordertemplates/{templateName}', options)
command.response_representation = Google::Apis::ContentV2::OrdersGetTestOrderTemplateResponse::Representation
command.response_class = Google::Apis::ContentV2::OrdersGetTestOrderTemplateResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -2657,7 +2657,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def instorerefundlineitem_order(merchant_id, order_id, orders_in_store_refund_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
command.request_representation = Google::Apis::ContentV2::OrdersInStoreRefundLineItemRequest::Representation
command.request_object = orders_in_store_refund_line_item_request_object
command.response_representation = Google::Apis::ContentV2::OrdersInStoreRefundLineItemResponse::Representation
@ -2725,7 +2725,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_orders(merchant_id, acknowledged: nil, max_results: nil, order_by: nil, page_token: nil, placed_date_end: nil, placed_date_start: nil, statuses: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/orders', options)
command = make_simple_command(:get, '{merchantId}/orders', options)
command.response_representation = Google::Apis::ContentV2::OrdersListResponse::Representation
command.response_class = Google::Apis::ContentV2::OrdersListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -2769,7 +2769,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def refund_order(merchant_id, order_id, orders_refund_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/refund', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/refund', options)
command.request_representation = Google::Apis::ContentV2::OrdersRefundRequest::Representation
command.request_object = orders_refund_request_object
command.response_representation = Google::Apis::ContentV2::OrdersRefundResponse::Representation
@ -2809,7 +2809,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def rejectreturnlineitem_order(merchant_id, order_id, orders_reject_return_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
command.request_representation = Google::Apis::ContentV2::OrdersRejectReturnLineItemRequest::Representation
command.request_object = orders_reject_return_line_item_request_object
command.response_representation = Google::Apis::ContentV2::OrdersRejectReturnLineItemResponse::Representation
@ -2849,7 +2849,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def return_order_line_item(merchant_id, order_id, orders_return_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnLineItem', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnLineItem', options)
command.request_representation = Google::Apis::ContentV2::OrdersReturnLineItemRequest::Representation
command.request_object = orders_return_line_item_request_object
command.response_representation = Google::Apis::ContentV2::OrdersReturnLineItemResponse::Representation
@ -2890,7 +2890,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def returnrefundlineitem_order(merchant_id, order_id, orders_return_refund_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnRefundLineItem', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnRefundLineItem', options)
command.request_representation = Google::Apis::ContentV2::OrdersReturnRefundLineItemRequest::Representation
command.request_object = orders_return_refund_line_item_request_object
command.response_representation = Google::Apis::ContentV2::OrdersReturnRefundLineItemResponse::Representation
@ -2934,7 +2934,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def setlineitemmetadata_order(merchant_id, order_id, orders_set_line_item_metadata_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/setLineItemMetadata', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/setLineItemMetadata', options)
command.request_representation = Google::Apis::ContentV2::OrdersSetLineItemMetadataRequest::Representation
command.request_object = orders_set_line_item_metadata_request_object
command.response_representation = Google::Apis::ContentV2::OrdersSetLineItemMetadataResponse::Representation
@ -2974,7 +2974,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def shiplineitems_order(merchant_id, order_id, orders_ship_line_items_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/shipLineItems', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/shipLineItems', options)
command.request_representation = Google::Apis::ContentV2::OrdersShipLineItemsRequest::Representation
command.request_object = orders_ship_line_items_request_object
command.response_representation = Google::Apis::ContentV2::OrdersShipLineItemsResponse::Representation
@ -3014,7 +3014,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def updatelineitemshippingdetails_order(merchant_id, order_id, orders_update_line_item_shipping_details_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
command.request_representation = Google::Apis::ContentV2::OrdersUpdateLineItemShippingDetailsRequest::Representation
command.request_object = orders_update_line_item_shipping_details_request_object
command.response_representation = Google::Apis::ContentV2::OrdersUpdateLineItemShippingDetailsResponse::Representation
@ -3054,7 +3054,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_merchant_order_id(merchant_id, order_id, orders_update_merchant_order_id_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
command.request_representation = Google::Apis::ContentV2::OrdersUpdateMerchantOrderIdRequest::Representation
command.request_object = orders_update_merchant_order_id_request_object
command.response_representation = Google::Apis::ContentV2::OrdersUpdateMerchantOrderIdResponse::Representation
@ -3094,7 +3094,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_order_shipment(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateShipment', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateShipment', options)
command.request_representation = Google::Apis::ContentV2::OrdersUpdateShipmentRequest::Representation
command.request_object = orders_update_shipment_request_object
command.response_representation = Google::Apis::ContentV2::OrdersUpdateShipmentResponse::Representation
@ -3132,7 +3132,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def custombatch_po(pos_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'pos/batch', options)
command = make_simple_command(:post, 'pos/batch', options)
command.request_representation = Google::Apis::ContentV2::PosCustomBatchRequest::Representation
command.request_object = pos_custom_batch_request_object
command.response_representation = Google::Apis::ContentV2::PosCustomBatchResponse::Representation
@ -3174,7 +3174,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_po(merchant_id, target_merchant_id, store_code, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
command.params['storeCode'] = store_code unless store_code.nil?
@ -3212,7 +3212,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
command.response_representation = Google::Apis::ContentV2::PosStore::Representation
command.response_class = Google::Apis::ContentV2::PosStore
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -3253,7 +3253,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', options)
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', options)
command.request_representation = Google::Apis::ContentV2::PosStore::Representation
command.request_object = pos_store_object
command.response_representation = Google::Apis::ContentV2::PosStore::Representation
@ -3296,7 +3296,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', options)
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', options)
command.request_representation = Google::Apis::ContentV2::PosInventoryRequest::Representation
command.request_object = pos_inventory_request_object
command.response_representation = Google::Apis::ContentV2::PosInventoryResponse::Representation
@ -3335,7 +3335,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', options)
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', options)
command.response_representation = Google::Apis::ContentV2::PosListResponse::Representation
command.response_class = Google::Apis::ContentV2::PosListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -3375,7 +3375,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', options)
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', options)
command.request_representation = Google::Apis::ContentV2::PosSaleRequest::Representation
command.request_object = pos_sale_request_object
command.response_representation = Google::Apis::ContentV2::PosSaleResponse::Representation
@ -3414,7 +3414,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_product(batch_products_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'products/batch', options)
command = make_simple_command(:post, 'products/batch', options)
command.request_representation = Google::Apis::ContentV2::BatchProductsRequest::Representation
command.request_object = batch_products_request_object
command.response_representation = Google::Apis::ContentV2::BatchProductsResponse::Representation
@ -3455,7 +3455,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_product(merchant_id, product_id, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{merchantId}/products/{productId}', options)
command = make_simple_command(:delete, '{merchantId}/products/{productId}', options)
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.params['productId'] = product_id unless product_id.nil?
command.query['dryRun'] = dry_run unless dry_run.nil?
@ -3491,7 +3491,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_product(merchant_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/products/{productId}', options)
command = make_simple_command(:get, '{merchantId}/products/{productId}', options)
command.response_representation = Google::Apis::ContentV2::Product::Representation
command.response_class = Google::Apis::ContentV2::Product
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -3532,7 +3532,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_product(merchant_id, product_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/products', options)
command = make_simple_command(:post, '{merchantId}/products', options)
command.request_representation = Google::Apis::ContentV2::Product::Representation
command.request_object = product_object
command.response_representation = Google::Apis::ContentV2::Product::Representation
@ -3576,7 +3576,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_products(merchant_id, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/products', options)
command = make_simple_command(:get, '{merchantId}/products', options)
command.response_representation = Google::Apis::ContentV2::ListProductsResponse::Representation
command.response_class = Google::Apis::ContentV2::ListProductsResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -3614,7 +3614,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_product_status(batch_product_statuses_request_object = nil, include_attributes: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'productstatuses/batch', options)
command = make_simple_command(:post, 'productstatuses/batch', options)
command.request_representation = Google::Apis::ContentV2::BatchProductStatusesRequest::Representation
command.request_object = batch_product_statuses_request_object
command.response_representation = Google::Apis::ContentV2::BatchProductStatusesResponse::Representation
@ -3658,7 +3658,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_product_status(merchant_id, product_id, destinations: nil, include_attributes: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', options)
command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', options)
command.response_representation = Google::Apis::ContentV2::ProductStatus::Representation
command.response_class = Google::Apis::ContentV2::ProductStatus
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -3709,7 +3709,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_product_statuses(merchant_id, destinations: nil, include_attributes: nil, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/productstatuses', options)
command = make_simple_command(:get, '{merchantId}/productstatuses', options)
command.response_representation = Google::Apis::ContentV2::ListProductStatusesResponse::Representation
command.response_class = Google::Apis::ContentV2::ListProductStatusesResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -3750,7 +3750,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'shippingsettings/batch', options)
command = make_simple_command(:post, 'shippingsettings/batch', options)
command.request_representation = Google::Apis::ContentV2::ShippingsettingsCustomBatchRequest::Representation
command.request_object = shippingsettings_custom_batch_request_object
command.response_representation = Google::Apis::ContentV2::ShippingsettingsCustomBatchResponse::Representation
@ -3789,7 +3789,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/shippingsettings/{accountId}', options)
command = make_simple_command(:get, '{merchantId}/shippingsettings/{accountId}', options)
command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation
command.response_class = Google::Apis::ContentV2::ShippingSettings
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -3823,7 +3823,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/supportedCarriers', options)
command = make_simple_command(:get, '{merchantId}/supportedCarriers', options)
command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse::Representation
command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -3856,7 +3856,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/supportedHolidays', options)
command = make_simple_command(:get, '{merchantId}/supportedHolidays', options)
command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse::Representation
command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -3895,7 +3895,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/shippingsettings', options)
command = make_simple_command(:get, '{merchantId}/shippingsettings', options)
command.response_representation = Google::Apis::ContentV2::ShippingsettingsListResponse::Representation
command.response_class = Google::Apis::ContentV2::ShippingsettingsListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -3939,7 +3939,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{merchantId}/shippingsettings/{accountId}', options)
command = make_simple_command(:patch, '{merchantId}/shippingsettings/{accountId}', options)
command.request_representation = Google::Apis::ContentV2::ShippingSettings::Representation
command.request_object = shipping_settings_object
command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation
@ -3984,7 +3984,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{merchantId}/shippingsettings/{accountId}', options)
command = make_simple_command(:put, '{merchantId}/shippingsettings/{accountId}', options)
command.request_representation = Google::Apis::ContentV2::ShippingSettings::Representation
command.request_object = shipping_settings_object
command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation

View File

@ -73,7 +73,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def authinfo_account(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'accounts/authinfo', options)
command = make_simple_command(:get, 'accounts/authinfo', options)
command.response_representation = Google::Apis::ContentV2_1::AccountsAuthInfoResponse::Representation
command.response_class = Google::Apis::ContentV2_1::AccountsAuthInfoResponse
command.query['fields'] = fields unless fields.nil?
@ -113,7 +113,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def claimwebsite_account(merchant_id, account_id, overwrite: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/claimwebsite', options)
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/claimwebsite', options)
command.response_representation = Google::Apis::ContentV2_1::AccountsClaimWebsiteResponse::Representation
command.response_class = Google::Apis::ContentV2_1::AccountsClaimWebsiteResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -148,7 +148,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def custombatch_account(accounts_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'accounts/batch', options)
command = make_simple_command(:post, 'accounts/batch', options)
command.request_representation = Google::Apis::ContentV2_1::AccountsCustomBatchRequest::Representation
command.request_object = accounts_custom_batch_request_object
command.response_representation = Google::Apis::ContentV2_1::AccountsCustomBatchResponse::Representation
@ -187,7 +187,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_account(merchant_id, account_id, force: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{merchantId}/accounts/{accountId}', options)
command = make_simple_command(:delete, '{merchantId}/accounts/{accountId}', options)
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.params['accountId'] = account_id unless account_id.nil?
command.query['force'] = force unless force.nil?
@ -224,7 +224,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/accounts/{accountId}', options)
command = make_simple_command(:get, '{merchantId}/accounts/{accountId}', options)
command.response_representation = Google::Apis::ContentV2_1::Account::Representation
command.response_class = Google::Apis::ContentV2_1::Account
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -259,7 +259,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_account(merchant_id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/accounts', options)
command = make_simple_command(:post, '{merchantId}/accounts', options)
command.request_representation = Google::Apis::ContentV2_1::Account::Representation
command.request_object = account_object
command.response_representation = Google::Apis::ContentV2_1::Account::Representation
@ -300,7 +300,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/link', options)
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/link', options)
command.request_representation = Google::Apis::ContentV2_1::AccountsLinkRequest::Representation
command.request_object = accounts_link_request_object
command.response_representation = Google::Apis::ContentV2_1::AccountsLinkResponse::Representation
@ -340,7 +340,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_accounts(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/accounts', options)
command = make_simple_command(:get, '{merchantId}/accounts', options)
command.response_representation = Google::Apis::ContentV2_1::AccountsListResponse::Representation
command.response_class = Google::Apis::ContentV2_1::AccountsListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -380,7 +380,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_account(merchant_id, account_id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{merchantId}/accounts/{accountId}', options)
command = make_simple_command(:put, '{merchantId}/accounts/{accountId}', options)
command.request_representation = Google::Apis::ContentV2_1::Account::Representation
command.request_object = account_object
command.response_representation = Google::Apis::ContentV2_1::Account::Representation
@ -415,7 +415,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def custombatch_accountstatus(accountstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'accountstatuses/batch', options)
command = make_simple_command(:post, 'accountstatuses/batch', options)
command.request_representation = Google::Apis::ContentV2_1::AccountstatusesCustomBatchRequest::Representation
command.request_object = accountstatuses_custom_batch_request_object
command.response_representation = Google::Apis::ContentV2_1::AccountstatusesCustomBatchResponse::Representation
@ -457,7 +457,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_accountstatus(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/accountstatuses/{accountId}', options)
command = make_simple_command(:get, '{merchantId}/accountstatuses/{accountId}', options)
command.response_representation = Google::Apis::ContentV2_1::AccountStatus::Representation
command.response_class = Google::Apis::ContentV2_1::AccountStatus
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -500,7 +500,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_accountstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/accountstatuses', options)
command = make_simple_command(:get, '{merchantId}/accountstatuses', options)
command.response_representation = Google::Apis::ContentV2_1::AccountstatusesListResponse::Representation
command.response_class = Google::Apis::ContentV2_1::AccountstatusesListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -535,7 +535,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def custombatch_accounttax(accounttax_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'accounttax/batch', options)
command = make_simple_command(:post, 'accounttax/batch', options)
command.request_representation = Google::Apis::ContentV2_1::AccounttaxCustomBatchRequest::Representation
command.request_object = accounttax_custom_batch_request_object
command.response_representation = Google::Apis::ContentV2_1::AccounttaxCustomBatchResponse::Representation
@ -573,7 +573,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_accounttax(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/accounttax/{accountId}', options)
command = make_simple_command(:get, '{merchantId}/accounttax/{accountId}', options)
command.response_representation = Google::Apis::ContentV2_1::AccountTax::Representation
command.response_class = Google::Apis::ContentV2_1::AccountTax
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -611,7 +611,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_accounttaxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/accounttax', options)
command = make_simple_command(:get, '{merchantId}/accounttax', options)
command.response_representation = Google::Apis::ContentV2_1::AccounttaxListResponse::Representation
command.response_class = Google::Apis::ContentV2_1::AccounttaxListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -651,7 +651,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_accounttax(merchant_id, account_id, account_tax_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{merchantId}/accounttax/{accountId}', options)
command = make_simple_command(:put, '{merchantId}/accounttax/{accountId}', options)
command.request_representation = Google::Apis::ContentV2_1::AccountTax::Representation
command.request_object = account_tax_object
command.response_representation = Google::Apis::ContentV2_1::AccountTax::Representation
@ -687,7 +687,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def custombatch_datafeed(datafeeds_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'datafeeds/batch', options)
command = make_simple_command(:post, 'datafeeds/batch', options)
command.request_representation = Google::Apis::ContentV2_1::DatafeedsCustomBatchRequest::Representation
command.request_object = datafeeds_custom_batch_request_object
command.response_representation = Google::Apis::ContentV2_1::DatafeedsCustomBatchResponse::Representation
@ -724,7 +724,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{merchantId}/datafeeds/{datafeedId}', options)
command = make_simple_command(:delete, '{merchantId}/datafeeds/{datafeedId}', options)
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -759,7 +759,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def fetchnow_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
command = make_simple_command(:post, '{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
command.response_representation = Google::Apis::ContentV2_1::DatafeedsFetchNowResponse::Representation
command.response_class = Google::Apis::ContentV2_1::DatafeedsFetchNowResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -796,7 +796,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/datafeeds/{datafeedId}', options)
command = make_simple_command(:get, '{merchantId}/datafeeds/{datafeedId}', options)
command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
command.response_class = Google::Apis::ContentV2_1::Datafeed
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -832,7 +832,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_datafeed(merchant_id, datafeed_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/datafeeds', options)
command = make_simple_command(:post, '{merchantId}/datafeeds', options)
command.request_representation = Google::Apis::ContentV2_1::Datafeed::Representation
command.request_object = datafeed_object
command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
@ -872,7 +872,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/datafeeds', options)
command = make_simple_command(:get, '{merchantId}/datafeeds', options)
command.response_representation = Google::Apis::ContentV2_1::DatafeedsListResponse::Representation
command.response_class = Google::Apis::ContentV2_1::DatafeedsListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -911,7 +911,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{merchantId}/datafeeds/{datafeedId}', options)
command = make_simple_command(:put, '{merchantId}/datafeeds/{datafeedId}', options)
command.request_representation = Google::Apis::ContentV2_1::Datafeed::Representation
command.request_object = datafeed_object
command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
@ -946,7 +946,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def custombatch_datafeedstatus(datafeedstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'datafeedstatuses/batch', options)
command = make_simple_command(:post, 'datafeedstatuses/batch', options)
command.request_representation = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchRequest::Representation
command.request_object = datafeedstatuses_custom_batch_request_object
command.response_representation = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchResponse::Representation
@ -993,7 +993,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_datafeedstatus(merchant_id, datafeed_id, country: nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/datafeedstatuses/{datafeedId}', options)
command = make_simple_command(:get, '{merchantId}/datafeedstatuses/{datafeedId}', options)
command.response_representation = Google::Apis::ContentV2_1::DatafeedStatus::Representation
command.response_class = Google::Apis::ContentV2_1::DatafeedStatus
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1034,7 +1034,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_datafeedstatuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/datafeedstatuses', options)
command = make_simple_command(:get, '{merchantId}/datafeedstatuses', options)
command.response_representation = Google::Apis::ContentV2_1::DatafeedstatusesListResponse::Representation
command.response_class = Google::Apis::ContentV2_1::DatafeedstatusesListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1069,7 +1069,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def custombatch_liasetting(liasettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'liasettings/batch', options)
command = make_simple_command(:post, 'liasettings/batch', options)
command.request_representation = Google::Apis::ContentV2_1::LiasettingsCustomBatchRequest::Representation
command.request_object = liasettings_custom_batch_request_object
command.response_representation = Google::Apis::ContentV2_1::LiasettingsCustomBatchResponse::Representation
@ -1107,7 +1107,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', options)
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', options)
command.response_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
command.response_class = Google::Apis::ContentV2_1::LiaSettings
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1146,7 +1146,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
command.response_representation = Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse::Representation
command.response_class = Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1184,7 +1184,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/liasettings', options)
command = make_simple_command(:get, '{merchantId}/liasettings', options)
command.response_representation = Google::Apis::ContentV2_1::LiasettingsListResponse::Representation
command.response_class = Google::Apis::ContentV2_1::LiasettingsListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1218,7 +1218,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def listposdataproviders_liasetting(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'liasettings/posdataproviders', options)
command = make_simple_command(:get, 'liasettings/posdataproviders', options)
command.response_representation = Google::Apis::ContentV2_1::LiasettingsListPosDataProvidersResponse::Representation
command.response_class = Google::Apis::ContentV2_1::LiasettingsListPosDataProvidersResponse
command.query['fields'] = fields unless fields.nil?
@ -1256,7 +1256,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
command.response_representation = Google::Apis::ContentV2_1::LiasettingsRequestGmbAccessResponse::Representation
command.response_class = Google::Apis::ContentV2_1::LiasettingsRequestGmbAccessResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1298,7 +1298,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
command.response_representation = Google::Apis::ContentV2_1::LiasettingsRequestInventoryVerificationResponse::Representation
command.response_class = Google::Apis::ContentV2_1::LiasettingsRequestInventoryVerificationResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1346,7 +1346,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def setinventoryverificationcontact_liasetting(merchant_id, account_id, contact_email, contact_name, country, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
command.response_representation = Google::Apis::ContentV2_1::LiasettingsSetInventoryVerificationContactResponse::Representation
command.response_class = Google::Apis::ContentV2_1::LiasettingsSetInventoryVerificationContactResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1395,7 +1395,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def setposdataprovider_liasetting(merchant_id, account_id, country, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', options)
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', options)
command.response_representation = Google::Apis::ContentV2_1::LiasettingsSetPosDataProviderResponse::Representation
command.response_class = Google::Apis::ContentV2_1::LiasettingsSetPosDataProviderResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1437,7 +1437,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_liasetting(merchant_id, account_id, lia_settings_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', options)
command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', options)
command.request_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
command.request_object = lia_settings_object
command.response_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
@ -1478,7 +1478,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def createchargeinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_charge_invoice_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
command.request_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateChargeInvoiceRequest::Representation
command.request_object = orderinvoices_create_charge_invoice_request_object
command.response_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateChargeInvoiceResponse::Representation
@ -1521,7 +1521,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def createrefundinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_refund_invoice_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
command.request_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateRefundInvoiceRequest::Representation
command.request_object = orderinvoices_create_refund_invoice_request_object
command.response_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateRefundInvoiceResponse::Representation
@ -1567,7 +1567,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def listdisbursements_orderreport(merchant_id, disbursement_start_date, disbursement_end_date: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements', options)
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements', options)
command.response_representation = Google::Apis::ContentV2_1::OrderreportsListDisbursementsResponse::Representation
command.response_class = Google::Apis::ContentV2_1::OrderreportsListDisbursementsResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1617,7 +1617,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def listtransactions_orderreport(merchant_id, disbursement_id, transaction_start_date, max_results: nil, page_token: nil, transaction_end_date: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
command.response_representation = Google::Apis::ContentV2_1::OrderreportsListTransactionsResponse::Representation
command.response_class = Google::Apis::ContentV2_1::OrderreportsListTransactionsResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1658,7 +1658,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options)
command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options)
command.response_representation = Google::Apis::ContentV2_1::MerchantOrderReturn::Representation
command.response_class = Google::Apis::ContentV2_1::MerchantOrderReturn
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1707,7 +1707,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_orderreturns(merchant_id, created_end_date: nil, created_start_date: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/orderreturns', options)
command = make_simple_command(:get, '{merchantId}/orderreturns', options)
command.response_representation = Google::Apis::ContentV2_1::OrderreturnsListResponse::Representation
command.response_class = Google::Apis::ContentV2_1::OrderreturnsListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1749,7 +1749,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/acknowledge', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/acknowledge', options)
command.request_representation = Google::Apis::ContentV2_1::OrdersAcknowledgeRequest::Representation
command.request_object = orders_acknowledge_request_object
command.response_representation = Google::Apis::ContentV2_1::OrdersAcknowledgeResponse::Representation
@ -1789,7 +1789,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def advancetestorder_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/advance', options)
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/advance', options)
command.response_representation = Google::Apis::ContentV2_1::OrdersAdvanceTestOrderResponse::Representation
command.response_class = Google::Apis::ContentV2_1::OrdersAdvanceTestOrderResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -1827,7 +1827,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancel', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancel', options)
command.request_representation = Google::Apis::ContentV2_1::OrdersCancelRequest::Representation
command.request_object = orders_cancel_request_object
command.response_representation = Google::Apis::ContentV2_1::OrdersCancelResponse::Representation
@ -1867,7 +1867,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancellineitem_order(merchant_id, order_id, orders_cancel_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancelLineItem', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancelLineItem', options)
command.request_representation = Google::Apis::ContentV2_1::OrdersCancelLineItemRequest::Representation
command.request_object = orders_cancel_line_item_request_object
command.response_representation = Google::Apis::ContentV2_1::OrdersCancelLineItemResponse::Representation
@ -1907,7 +1907,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options)
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options)
command.request_representation = Google::Apis::ContentV2_1::OrdersCancelTestOrderByCustomerRequest::Representation
command.request_object = orders_cancel_test_order_by_customer_request_object
command.response_representation = Google::Apis::ContentV2_1::OrdersCancelTestOrderByCustomerResponse::Representation
@ -1945,7 +1945,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def createtestorder_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/testorders', options)
command = make_simple_command(:post, '{merchantId}/testorders', options)
command.request_representation = Google::Apis::ContentV2_1::OrdersCreateTestOrderRequest::Representation
command.request_object = orders_create_test_order_request_object
command.response_representation = Google::Apis::ContentV2_1::OrdersCreateTestOrderResponse::Representation
@ -1984,7 +1984,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def createtestreturn_order(merchant_id, order_id, orders_create_test_return_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/testreturn', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/testreturn', options)
command.request_representation = Google::Apis::ContentV2_1::OrdersCreateTestReturnRequest::Representation
command.request_object = orders_create_test_return_request_object
command.response_representation = Google::Apis::ContentV2_1::OrdersCreateTestReturnResponse::Representation
@ -2023,7 +2023,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/orders/{orderId}', options)
command = make_simple_command(:get, '{merchantId}/orders/{orderId}', options)
command.response_representation = Google::Apis::ContentV2_1::Order::Representation
command.response_class = Google::Apis::ContentV2_1::Order
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -2060,7 +2060,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def getbymerchantorderid_order(merchant_id, merchant_order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
command = make_simple_command(:get, '{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
command.response_representation = Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse::Representation
command.response_class = Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -2100,7 +2100,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def gettestordertemplate_order(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/testordertemplates/{templateName}', options)
command = make_simple_command(:get, '{merchantId}/testordertemplates/{templateName}', options)
command.response_representation = Google::Apis::ContentV2_1::OrdersGetTestOrderTemplateResponse::Representation
command.response_class = Google::Apis::ContentV2_1::OrdersGetTestOrderTemplateResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -2146,7 +2146,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def instorerefundlineitem_order(merchant_id, order_id, orders_in_store_refund_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
command.request_representation = Google::Apis::ContentV2_1::OrdersInStoreRefundLineItemRequest::Representation
command.request_object = orders_in_store_refund_line_item_request_object
command.response_representation = Google::Apis::ContentV2_1::OrdersInStoreRefundLineItemResponse::Representation
@ -2214,7 +2214,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_orders(merchant_id, acknowledged: nil, max_results: nil, order_by: nil, page_token: nil, placed_date_end: nil, placed_date_start: nil, statuses: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/orders', options)
command = make_simple_command(:get, '{merchantId}/orders', options)
command.response_representation = Google::Apis::ContentV2_1::OrdersListResponse::Representation
command.response_class = Google::Apis::ContentV2_1::OrdersListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -2258,7 +2258,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def rejectreturnlineitem_order(merchant_id, order_id, orders_reject_return_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
command.request_representation = Google::Apis::ContentV2_1::OrdersRejectReturnLineItemRequest::Representation
command.request_object = orders_reject_return_line_item_request_object
command.response_representation = Google::Apis::ContentV2_1::OrdersRejectReturnLineItemResponse::Representation
@ -2299,7 +2299,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def returnrefundlineitem_order(merchant_id, order_id, orders_return_refund_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnRefundLineItem', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnRefundLineItem', options)
command.request_representation = Google::Apis::ContentV2_1::OrdersReturnRefundLineItemRequest::Representation
command.request_object = orders_return_refund_line_item_request_object
command.response_representation = Google::Apis::ContentV2_1::OrdersReturnRefundLineItemResponse::Representation
@ -2343,7 +2343,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def setlineitemmetadata_order(merchant_id, order_id, orders_set_line_item_metadata_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/setLineItemMetadata', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/setLineItemMetadata', options)
command.request_representation = Google::Apis::ContentV2_1::OrdersSetLineItemMetadataRequest::Representation
command.request_object = orders_set_line_item_metadata_request_object
command.response_representation = Google::Apis::ContentV2_1::OrdersSetLineItemMetadataResponse::Representation
@ -2383,7 +2383,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def shiplineitems_order(merchant_id, order_id, orders_ship_line_items_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/shipLineItems', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/shipLineItems', options)
command.request_representation = Google::Apis::ContentV2_1::OrdersShipLineItemsRequest::Representation
command.request_object = orders_ship_line_items_request_object
command.response_representation = Google::Apis::ContentV2_1::OrdersShipLineItemsResponse::Representation
@ -2423,7 +2423,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def updatelineitemshippingdetails_order(merchant_id, order_id, orders_update_line_item_shipping_details_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateLineItemShippingDetailsRequest::Representation
command.request_object = orders_update_line_item_shipping_details_request_object
command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateLineItemShippingDetailsResponse::Representation
@ -2463,7 +2463,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def updatemerchantorderid_order(merchant_id, order_id, orders_update_merchant_order_id_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateMerchantOrderIdRequest::Representation
command.request_object = orders_update_merchant_order_id_request_object
command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateMerchantOrderIdResponse::Representation
@ -2503,7 +2503,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def updateshipment_order(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateShipment', options)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateShipment', options)
command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateShipmentRequest::Representation
command.request_object = orders_update_shipment_request_object
command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateShipmentResponse::Representation
@ -2538,7 +2538,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def custombatch_po(pos_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'pos/batch', options)
command = make_simple_command(:post, 'pos/batch', options)
command.request_representation = Google::Apis::ContentV2_1::PosCustomBatchRequest::Representation
command.request_object = pos_custom_batch_request_object
command.response_representation = Google::Apis::ContentV2_1::PosCustomBatchResponse::Representation
@ -2576,7 +2576,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
command.params['storeCode'] = store_code unless store_code.nil?
@ -2613,7 +2613,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
command.response_representation = Google::Apis::ContentV2_1::PosStore::Representation
command.response_class = Google::Apis::ContentV2_1::PosStore
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -2651,7 +2651,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', options)
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', options)
command.request_representation = Google::Apis::ContentV2_1::PosStore::Representation
command.request_object = pos_store_object
command.response_representation = Google::Apis::ContentV2_1::PosStore::Representation
@ -2690,7 +2690,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', options)
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', options)
command.request_representation = Google::Apis::ContentV2_1::PosInventoryRequest::Representation
command.request_object = pos_inventory_request_object
command.response_representation = Google::Apis::ContentV2_1::PosInventoryResponse::Representation
@ -2728,7 +2728,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', options)
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', options)
command.response_representation = Google::Apis::ContentV2_1::PosListResponse::Representation
command.response_class = Google::Apis::ContentV2_1::PosListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -2765,7 +2765,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', options)
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', options)
command.request_representation = Google::Apis::ContentV2_1::PosSaleRequest::Representation
command.request_object = pos_sale_request_object
command.response_representation = Google::Apis::ContentV2_1::PosSaleResponse::Representation
@ -2800,7 +2800,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def custombatch_product(products_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'products/batch', options)
command = make_simple_command(:post, 'products/batch', options)
command.request_representation = Google::Apis::ContentV2_1::ProductsCustomBatchRequest::Representation
command.request_object = products_custom_batch_request_object
command.response_representation = Google::Apis::ContentV2_1::ProductsCustomBatchResponse::Representation
@ -2837,7 +2837,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_product(merchant_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{merchantId}/products/{productId}', options)
command = make_simple_command(:delete, '{merchantId}/products/{productId}', options)
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.params['productId'] = product_id unless product_id.nil?
command.query['fields'] = fields unless fields.nil?
@ -2872,7 +2872,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_product(merchant_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/products/{productId}', options)
command = make_simple_command(:get, '{merchantId}/products/{productId}', options)
command.response_representation = Google::Apis::ContentV2_1::Product::Representation
command.response_class = Google::Apis::ContentV2_1::Product
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -2910,7 +2910,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_product(merchant_id, product_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/products', options)
command = make_simple_command(:post, '{merchantId}/products', options)
command.request_representation = Google::Apis::ContentV2_1::Product::Representation
command.request_object = product_object
command.response_representation = Google::Apis::ContentV2_1::Product::Representation
@ -2950,7 +2950,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_products(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/products', options)
command = make_simple_command(:get, '{merchantId}/products', options)
command.response_representation = Google::Apis::ContentV2_1::ProductsListResponse::Representation
command.response_class = Google::Apis::ContentV2_1::ProductsListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -2984,7 +2984,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def custombatch_productstatus(productstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'productstatuses/batch', options)
command = make_simple_command(:post, 'productstatuses/batch', options)
command.request_representation = Google::Apis::ContentV2_1::ProductstatusesCustomBatchRequest::Representation
command.request_object = productstatuses_custom_batch_request_object
command.response_representation = Google::Apis::ContentV2_1::ProductstatusesCustomBatchResponse::Representation
@ -3024,7 +3024,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_productstatus(merchant_id, product_id, destinations: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', options)
command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', options)
command.response_representation = Google::Apis::ContentV2_1::ProductStatus::Representation
command.response_class = Google::Apis::ContentV2_1::ProductStatus
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -3068,7 +3068,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_productstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/productstatuses', options)
command = make_simple_command(:get, '{merchantId}/productstatuses', options)
command.response_representation = Google::Apis::ContentV2_1::ProductstatusesListResponse::Representation
command.response_class = Google::Apis::ContentV2_1::ProductstatusesListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -3104,7 +3104,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def custombatch_regionalinventory(regionalinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'regionalinventory/batch', options)
command = make_simple_command(:post, 'regionalinventory/batch', options)
command.request_representation = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchRequest::Representation
command.request_object = regionalinventory_custom_batch_request_object
command.response_representation = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponse::Representation
@ -3144,7 +3144,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_regionalinventory(merchant_id, product_id, regional_inventory_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/products/{productId}/regionalinventory', options)
command = make_simple_command(:post, '{merchantId}/products/{productId}/regionalinventory', options)
command.request_representation = Google::Apis::ContentV2_1::RegionalInventory::Representation
command.request_object = regional_inventory_object
command.response_representation = Google::Apis::ContentV2_1::RegionalInventory::Representation
@ -3180,7 +3180,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'shippingsettings/batch', options)
command = make_simple_command(:post, 'shippingsettings/batch', options)
command.request_representation = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchRequest::Representation
command.request_object = shippingsettings_custom_batch_request_object
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchResponse::Representation
@ -3218,7 +3218,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/shippingsettings/{accountId}', options)
command = make_simple_command(:get, '{merchantId}/shippingsettings/{accountId}', options)
command.response_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
command.response_class = Google::Apis::ContentV2_1::ShippingSettings
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -3252,7 +3252,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/supportedCarriers', options)
command = make_simple_command(:get, '{merchantId}/supportedCarriers', options)
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedCarriersResponse::Representation
command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedCarriersResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -3285,7 +3285,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/supportedHolidays', options)
command = make_simple_command(:get, '{merchantId}/supportedHolidays', options)
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse::Representation
command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -3324,7 +3324,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/shippingsettings', options)
command = make_simple_command(:get, '{merchantId}/shippingsettings', options)
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsListResponse::Representation
command.response_class = Google::Apis::ContentV2_1::ShippingsettingsListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
@ -3364,7 +3364,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{merchantId}/shippingsettings/{accountId}', options)
command = make_simple_command(:put, '{merchantId}/shippingsettings/{accountId}', options)
command.request_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
command.request_object = shipping_settings_object
command.response_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation

View File

@ -148,7 +148,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_cses(q, c2coff: nil, cr: nil, cx: nil, date_restrict: nil, exact_terms: nil, exclude_terms: nil, file_type: nil, filter: nil, gl: nil, googlehost: nil, high_range: nil, hl: nil, hq: nil, img_color_type: nil, img_dominant_color: nil, img_size: nil, img_type: nil, link_site: nil, low_range: nil, lr: nil, num: nil, or_terms: nil, related_site: nil, rights: nil, safe: nil, search_type: nil, site_search: nil, site_search_filter: nil, sort: nil, start: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'v1', options)
command = make_simple_command(:get, 'v1', options)
command.response_representation = Google::Apis::CustomsearchV1::Search::Representation
command.response_class = Google::Apis::CustomsearchV1::Search
command.query['c2coff'] = c2coff unless c2coff.nil?
@ -286,7 +286,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_cse_siterestricts(q, c2coff: nil, cr: nil, cx: nil, date_restrict: nil, exact_terms: nil, exclude_terms: nil, file_type: nil, filter: nil, gl: nil, googlehost: nil, high_range: nil, hl: nil, hq: nil, img_color_type: nil, img_dominant_color: nil, img_size: nil, img_type: nil, link_site: nil, low_range: nil, lr: nil, num: nil, or_terms: nil, related_site: nil, rights: nil, safe: nil, search_type: nil, site_search: nil, site_search_filter: nil, sort: nil, start: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/siterestrict', options)
command = make_simple_command(:get, 'v1/siterestrict', options)
command.response_representation = Google::Apis::CustomsearchV1::Search::Representation
command.response_class = Google::Apis::CustomsearchV1::Search
command.query['c2coff'] = c2coff unless c2coff.nil?

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataflow
module DataflowV1b3
VERSION = 'V1b3'
REVISION = '20190419'
REVISION = '20190503'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -3713,6 +3713,11 @@ module Google
# @return [String]
attr_accessor :source_job_id
# State of the snapshot.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
# The time after which this snapshot will be automatically deleted.
# Corresponds to the JSON property `ttl`
# @return [String]
@ -3728,6 +3733,7 @@ module Google
@id = args[:id] if args.key?(:id)
@project_id = args[:project_id] if args.key?(:project_id)
@source_job_id = args[:source_job_id] if args.key?(:source_job_id)
@state = args[:state] if args.key?(:state)
@ttl = args[:ttl] if args.key?(:ttl)
end
end
@ -5359,6 +5365,11 @@ module Google
class WorkerHealthReport
include Google::Apis::Core::Hashable
# A message describing any unusual health reports.
# Corresponds to the JSON property `msg`
# @return [String]
attr_accessor :msg
# The pods running on the worker. See:
# http://kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_pod
# This field is used by the worker to send the status of the indvidual
@ -5374,7 +5385,15 @@ module Google
# @return [String]
attr_accessor :report_interval
# Whether the VM is healthy.
# Whether the VM is in a permanently broken state.
# Broken VMs should be abandoned or deleted ASAP to avoid assigning or
# completing any work.
# Corresponds to the JSON property `vmIsBroken`
# @return [Boolean]
attr_accessor :vm_is_broken
alias_method :vm_is_broken?, :vm_is_broken
# Whether the VM is currently healthy.
# Corresponds to the JSON property `vmIsHealthy`
# @return [Boolean]
attr_accessor :vm_is_healthy
@ -5391,8 +5410,10 @@ module Google
# Update properties of this object
def update!(**args)
@msg = args[:msg] if args.key?(:msg)
@pods = args[:pods] if args.key?(:pods)
@report_interval = args[:report_interval] if args.key?(:report_interval)
@vm_is_broken = args[:vm_is_broken] if args.key?(:vm_is_broken)
@vm_is_healthy = args[:vm_is_healthy] if args.key?(:vm_is_healthy)
@vm_startup_time = args[:vm_startup_time] if args.key?(:vm_startup_time)
end

View File

@ -1864,6 +1864,7 @@ module Google
property :id, as: 'id'
property :project_id, as: 'projectId'
property :source_job_id, as: 'sourceJobId'
property :state, as: 'state'
property :ttl, as: 'ttl'
end
end
@ -2301,8 +2302,10 @@ module Google
class WorkerHealthReport
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :msg, as: 'msg'
collection :pods, as: 'pods'
property :report_interval, as: 'reportInterval'
property :vm_is_broken, as: 'vmIsBroken'
property :vm_is_healthy, as: 'vmIsHealthy'
property :vm_startup_time, as: 'vmStartupTime'
end

View File

@ -72,7 +72,7 @@ module Google
# @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_snapshots(project_id, location: nil, snapshot_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1b3/projects/{projectId}/snapshots', options)
command = make_simple_command(:delete, 'v1b3/projects/{projectId}/snapshots', options)
command.response_representation = Google::Apis::DataflowV1b3::DeleteSnapshotResponse::Representation
command.response_class = Google::Apis::DataflowV1b3::DeleteSnapshotResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -105,7 +105,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def worker_project_messages(project_id, send_worker_messages_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/WorkerMessages', options)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/WorkerMessages', options)
command.request_representation = Google::Apis::DataflowV1b3::SendWorkerMessagesRequest::Representation
command.request_object = send_worker_messages_request_object
command.response_representation = Google::Apis::DataflowV1b3::SendWorkerMessagesResponse::Representation
@ -152,7 +152,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def aggregated_project_job(project_id, filter: nil, location: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs:aggregated', options)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs:aggregated', options)
command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation
command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -201,7 +201,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_project_job(project_id, job_object = nil, location: nil, replace_job_id: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs', options)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs', options)
command.request_representation = Google::Apis::DataflowV1b3::Job::Representation
command.request_object = job_object
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
@ -249,7 +249,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_job(project_id, job_id, location: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}', options)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}', options)
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
command.response_class = Google::Apis::DataflowV1b3::Job
command.params['projectId'] = project_id unless project_id.nil?
@ -296,7 +296,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_job_metrics(project_id, job_id, location: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/metrics', options)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/metrics', options)
command.response_representation = Google::Apis::DataflowV1b3::JobMetrics::Representation
command.response_class = Google::Apis::DataflowV1b3::JobMetrics
command.params['projectId'] = project_id unless project_id.nil?
@ -350,7 +350,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_jobs(project_id, filter: nil, location: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs', options)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs', options)
command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation
command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -388,7 +388,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def snapshot_project_job(project_id, job_id, snapshot_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}:snapshot', options)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}:snapshot', options)
command.request_representation = Google::Apis::DataflowV1b3::SnapshotJobRequest::Representation
command.request_object = snapshot_job_request_object
command.response_representation = Google::Apis::DataflowV1b3::Snapshot::Representation
@ -433,7 +433,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_job(project_id, job_id, job_object = nil, location: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1b3/projects/{projectId}/jobs/{jobId}', options)
command = make_simple_command(:put, 'v1b3/projects/{projectId}/jobs/{jobId}', options)
command.request_representation = Google::Apis::DataflowV1b3::Job::Representation
command.request_object = job_object
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
@ -470,7 +470,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_job_debug_config(project_id, job_id, get_debug_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig', options)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig', options)
command.request_representation = Google::Apis::DataflowV1b3::GetDebugConfigRequest::Representation
command.request_object = get_debug_config_request_object
command.response_representation = Google::Apis::DataflowV1b3::GetDebugConfigResponse::Representation
@ -506,7 +506,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def send_project_job_debug_capture(project_id, job_id, send_debug_capture_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture', options)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture', options)
command.request_representation = Google::Apis::DataflowV1b3::SendDebugCaptureRequest::Representation
command.request_object = send_debug_capture_request_object
command.response_representation = Google::Apis::DataflowV1b3::SendDebugCaptureResponse::Representation
@ -566,7 +566,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_job_messages(project_id, job_id, end_time: nil, location: nil, minimum_importance: nil, page_size: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/messages', options)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/messages', options)
command.response_representation = Google::Apis::DataflowV1b3::ListJobMessagesResponse::Representation
command.response_class = Google::Apis::DataflowV1b3::ListJobMessagesResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -606,7 +606,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def lease_project_work_item(project_id, job_id, lease_work_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease', options)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease', options)
command.request_representation = Google::Apis::DataflowV1b3::LeaseWorkItemRequest::Representation
command.request_object = lease_work_item_request_object
command.response_representation = Google::Apis::DataflowV1b3::LeaseWorkItemResponse::Representation
@ -642,7 +642,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def report_project_job_work_item_status(project_id, job_id, report_work_item_status_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus', options)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus', options)
command.request_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest::Representation
command.request_object = report_work_item_status_request_object
command.response_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse::Representation
@ -680,7 +680,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def worker_project_location_messages(project_id, location, send_worker_messages_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/WorkerMessages', options)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/WorkerMessages', options)
command.request_representation = Google::Apis::DataflowV1b3::SendWorkerMessagesRequest::Representation
command.request_object = send_worker_messages_request_object
command.response_representation = Google::Apis::DataflowV1b3::SendWorkerMessagesResponse::Representation
@ -727,7 +727,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_project_location_job(project_id, location, job_object = nil, replace_job_id: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs', options)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs', options)
command.request_representation = Google::Apis::DataflowV1b3::Job::Representation
command.request_object = job_object
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
@ -775,7 +775,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_job(project_id, location, job_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', options)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', options)
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
command.response_class = Google::Apis::DataflowV1b3::Job
command.params['projectId'] = project_id unless project_id.nil?
@ -822,7 +822,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_job_metrics(project_id, location, job_id, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics', options)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics', options)
command.response_representation = Google::Apis::DataflowV1b3::JobMetrics::Representation
command.response_class = Google::Apis::DataflowV1b3::JobMetrics
command.params['projectId'] = project_id unless project_id.nil?
@ -876,7 +876,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_location_jobs(project_id, location, filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs', options)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs', options)
command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation
command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -916,7 +916,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def snapshot_project_location_job(project_id, location, job_id, snapshot_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}:snapshot', options)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}:snapshot', options)
command.request_representation = Google::Apis::DataflowV1b3::SnapshotJobRequest::Representation
command.request_object = snapshot_job_request_object
command.response_representation = Google::Apis::DataflowV1b3::Snapshot::Representation
@ -962,7 +962,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_location_job(project_id, location, job_id, job_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', options)
command = make_simple_command(:put, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', options)
command.request_representation = Google::Apis::DataflowV1b3::Job::Representation
command.request_object = job_object
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
@ -1003,7 +1003,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_job_debug_config(project_id, location, job_id, get_debug_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getConfig', options)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getConfig', options)
command.request_representation = Google::Apis::DataflowV1b3::GetDebugConfigRequest::Representation
command.request_object = get_debug_config_request_object
command.response_representation = Google::Apis::DataflowV1b3::GetDebugConfigResponse::Representation
@ -1044,7 +1044,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def send_project_location_job_debug_capture(project_id, location, job_id, send_debug_capture_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/sendCapture', options)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/sendCapture', options)
command.request_representation = Google::Apis::DataflowV1b3::SendDebugCaptureRequest::Representation
command.request_object = send_debug_capture_request_object
command.response_representation = Google::Apis::DataflowV1b3::SendDebugCaptureResponse::Representation
@ -1105,7 +1105,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_location_job_messages(project_id, location, job_id, end_time: nil, minimum_importance: nil, page_size: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages', options)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages', options)
command.response_representation = Google::Apis::DataflowV1b3::ListJobMessagesResponse::Representation
command.response_class = Google::Apis::DataflowV1b3::ListJobMessagesResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -1149,7 +1149,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def lease_project_location_work_item(project_id, location, job_id, lease_work_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease', options)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease', options)
command.request_representation = Google::Apis::DataflowV1b3::LeaseWorkItemRequest::Representation
command.request_object = lease_work_item_request_object
command.response_representation = Google::Apis::DataflowV1b3::LeaseWorkItemResponse::Representation
@ -1190,7 +1190,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def report_project_location_job_work_item_status(project_id, location, job_id, report_work_item_status_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus', options)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus', options)
command.request_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest::Representation
command.request_object = report_work_item_status_request_object
command.response_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse::Representation
@ -1228,7 +1228,7 @@ module Google
# @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_snapshot(project_id, location, snapshot_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}', options)
command = make_simple_command(:delete, 'v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}', options)
command.response_representation = Google::Apis::DataflowV1b3::DeleteSnapshotResponse::Representation
command.response_class = Google::Apis::DataflowV1b3::DeleteSnapshotResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -1264,7 +1264,7 @@ module Google
# @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_snapshot(project_id, location, snapshot_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}', options)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}', options)
command.response_representation = Google::Apis::DataflowV1b3::Snapshot::Representation
command.response_class = Google::Apis::DataflowV1b3::Snapshot
command.params['projectId'] = project_id unless project_id.nil?
@ -1298,7 +1298,7 @@ module Google
# @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_snapshots(project_id, location, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/snapshots', options)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/snapshots', options)
command.response_representation = Google::Apis::DataflowV1b3::ListSnapshotsResponse::Representation
command.response_class = Google::Apis::DataflowV1b3::ListSnapshotsResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -1338,7 +1338,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def validate_project_location_sql(project_id, location, query: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/sql:validate', options)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/sql:validate', options)
command.response_representation = Google::Apis::DataflowV1b3::ValidateResponse::Representation
command.response_class = Google::Apis::DataflowV1b3::ValidateResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -1375,7 +1375,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_job_from_template_with_location(project_id, location, create_job_from_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/templates', options)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/templates', options)
command.request_representation = Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest::Representation
command.request_object = create_job_from_template_request_object
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
@ -1418,7 +1418,7 @@ module Google
# @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_template(project_id, location, gcs_path: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/templates:get', options)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/templates:get', options)
command.response_representation = Google::Apis::DataflowV1b3::GetTemplateResponse::Representation
command.response_class = Google::Apis::DataflowV1b3::GetTemplateResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -1469,7 +1469,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def launch_project_location_template(project_id, location, launch_template_parameters_object = nil, dynamic_template_gcs_path: nil, dynamic_template_staging_location: nil, gcs_path: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/templates:launch', options)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/templates:launch', options)
command.request_representation = Google::Apis::DataflowV1b3::LaunchTemplateParameters::Representation
command.request_object = launch_template_parameters_object
command.response_representation = Google::Apis::DataflowV1b3::LaunchTemplateResponse::Representation
@ -1510,7 +1510,7 @@ module Google
# @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_snapshot(project_id, snapshot_id, location: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/snapshots/{snapshotId}', options)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/snapshots/{snapshotId}', options)
command.response_representation = Google::Apis::DataflowV1b3::Snapshot::Representation
command.response_class = Google::Apis::DataflowV1b3::Snapshot
command.params['projectId'] = project_id unless project_id.nil?
@ -1544,7 +1544,7 @@ module Google
# @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_snapshots(project_id, location: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/snapshots', options)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/snapshots', options)
command.response_representation = Google::Apis::DataflowV1b3::ListSnapshotsResponse::Representation
command.response_class = Google::Apis::DataflowV1b3::ListSnapshotsResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -1576,7 +1576,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_job_from_template(project_id, create_job_from_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/templates', options)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/templates', options)
command.request_representation = Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest::Representation
command.request_object = create_job_from_template_request_object
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
@ -1618,7 +1618,7 @@ module Google
# @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_template(project_id, gcs_path: nil, location: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/templates:get', options)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/templates:get', options)
command.response_representation = Google::Apis::DataflowV1b3::GetTemplateResponse::Representation
command.response_class = Google::Apis::DataflowV1b3::GetTemplateResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -1669,7 +1669,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def launch_project_template(project_id, launch_template_parameters_object = nil, dynamic_template_gcs_path: nil, dynamic_template_staging_location: nil, gcs_path: nil, location: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/templates:launch', options)
command = make_simple_command(:post, 'v1b3/projects/{projectId}/templates:launch', options)
command.request_representation = Google::Apis::DataflowV1b3::LaunchTemplateParameters::Representation
command.request_object = launch_template_parameters_object
command.response_representation = Google::Apis::DataflowV1b3::LaunchTemplateResponse::Representation

View File

@ -77,7 +77,7 @@ module Google
# @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 = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::DatafusionV1beta1::Location::Representation
command.response_class = Google::Apis::DatafusionV1beta1::Location
command.params['name'] = name unless name.nil?
@ -113,7 +113,7 @@ module Google
# @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 = make_simple_command(:get, 'v1beta1/{+name}/locations', options)
command.response_representation = Google::Apis::DatafusionV1beta1::ListLocationsResponse::Representation
command.response_class = Google::Apis::DatafusionV1beta1::ListLocationsResponse
command.params['name'] = name unless name.nil?
@ -150,7 +150,7 @@ module Google
# @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 = make_simple_command(:post, 'v1beta1/{+parent}/instances', options)
command.request_representation = Google::Apis::DatafusionV1beta1::Instance::Representation
command.request_object = instance_object
command.response_representation = Google::Apis::DatafusionV1beta1::Operation::Representation
@ -184,7 +184,7 @@ module Google
# @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 = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::DatafusionV1beta1::Operation::Representation
command.response_class = Google::Apis::DatafusionV1beta1::Operation
command.params['name'] = name unless name.nil?
@ -215,7 +215,7 @@ module Google
# @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 = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::DatafusionV1beta1::Instance::Representation
command.response_class = Google::Apis::DatafusionV1beta1::Instance
command.params['name'] = name unless name.nil?
@ -248,7 +248,7 @@ module Google
# @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_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
command.response_representation = Google::Apis::DatafusionV1beta1::Policy::Representation
command.response_class = Google::Apis::DatafusionV1beta1::Policy
command.params['resource'] = resource unless resource.nil?
@ -290,7 +290,7 @@ module Google
# @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 = make_simple_command(:get, 'v1beta1/{+parent}/instances', options)
command.response_representation = Google::Apis::DatafusionV1beta1::ListInstancesResponse::Representation
command.response_class = Google::Apis::DatafusionV1beta1::ListInstancesResponse
command.params['parent'] = parent unless parent.nil?
@ -333,7 +333,7 @@ module Google
# @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 = make_simple_command(:patch, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::DatafusionV1beta1::Instance::Representation
command.request_object = instance_object
command.response_representation = Google::Apis::DatafusionV1beta1::Operation::Representation
@ -369,7 +369,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def restart_instance(name, restart_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:restart', options)
command = make_simple_command(:post, 'v1beta1/{+name}:restart', options)
command.request_representation = Google::Apis::DatafusionV1beta1::RestartInstanceRequest::Representation
command.request_object = restart_instance_request_object
command.response_representation = Google::Apis::DatafusionV1beta1::Operation::Representation
@ -404,7 +404,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_instance_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::DatafusionV1beta1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::DatafusionV1beta1::Policy::Representation
@ -443,7 +443,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_instance_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::DatafusionV1beta1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::DatafusionV1beta1::TestIamPermissionsResponse::Representation
@ -480,7 +480,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def upgrade_instance(name, upgrade_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:upgrade', options)
command = make_simple_command(:post, 'v1beta1/{+name}:upgrade', options)
command.request_representation = Google::Apis::DatafusionV1beta1::UpgradeInstanceRequest::Representation
command.request_object = upgrade_instance_request_object
command.response_representation = Google::Apis::DatafusionV1beta1::Operation::Representation
@ -522,7 +522,7 @@ module Google
# @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 = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
command.request_representation = Google::Apis::DatafusionV1beta1::CancelOperationRequest::Representation
command.request_object = cancel_operation_request_object
command.response_representation = Google::Apis::DatafusionV1beta1::Empty::Representation
@ -557,7 +557,7 @@ module Google
# @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 = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::DatafusionV1beta1::Empty::Representation
command.response_class = Google::Apis::DatafusionV1beta1::Empty
command.params['name'] = name unless name.nil?
@ -589,7 +589,7 @@ module Google
# @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 = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::DatafusionV1beta1::Operation::Representation
command.response_class = Google::Apis::DatafusionV1beta1::Operation
command.params['name'] = name unless name.nil?
@ -633,7 +633,7 @@ module Google
# @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 = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
command.response_representation = Google::Apis::DatafusionV1beta1::ListOperationsResponse::Representation
command.response_class = Google::Apis::DatafusionV1beta1::ListOperationsResponse
command.params['name'] = name unless name.nil?

View File

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

View File

@ -47,6 +47,114 @@ module Google
@batch_path = 'batch'
end
# Gets the access control policy for a resource. Returns an empty policy if the
# resource exists and does not have a policy set.
# @param [String] resource
# REQUIRED: The resource for which the policy is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::DataprocV1::GetIamPolicyRequest] get_iam_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DataprocV1::Policy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DataprocV1::Policy]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_autoscaling_policy_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::DataprocV1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
command.response_class = Google::Apis::DataprocV1::Policy
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Sets the access control policy on the specified resource. Replaces any
# existing policy.
# @param [String] resource
# REQUIRED: The resource for which the policy is being specified. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::DataprocV1::SetIamPolicyRequest] set_iam_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DataprocV1::Policy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DataprocV1::Policy]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_location_autoscaling_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::DataprocV1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
command.response_class = Google::Apis::DataprocV1::Policy
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified resource. If the
# resource does not exist, this will return an empty set of permissions, not a
# NOT_FOUND error.Note: This operation is designed to be used for building
# permission-aware UIs and command-line tools, not for authorization checking.
# This operation may "fail open" without warning.
# @param [String] resource
# REQUIRED: The resource for which the policy detail is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::DataprocV1::TestIamPermissionsRequest] test_iam_permissions_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DataprocV1::TestIamPermissionsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DataprocV1::TestIamPermissionsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_project_location_autoscaling_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::DataprocV1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::DataprocV1::TestIamPermissionsResponse::Representation
command.response_class = Google::Apis::DataprocV1::TestIamPermissionsResponse
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates new workflow template.
# @param [String] parent
# Required. The "resource name" of the region, as described in https://cloud.
@ -71,7 +179,7 @@ module Google
# @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_workflow_template(parent, workflow_template_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/workflowTemplates', options)
command = make_simple_command(:post, 'v1/{+parent}/workflowTemplates', options)
command.request_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
command.request_object = workflow_template_object
command.response_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
@ -108,7 +216,7 @@ module Google
# @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_workflow_template(name, version: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::DataprocV1::Empty::Representation
command.response_class = Google::Apis::DataprocV1::Empty
command.params['name'] = name unless name.nil?
@ -146,7 +254,7 @@ module Google
# @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_workflow_template(name, version: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
command.response_class = Google::Apis::DataprocV1::WorkflowTemplate
command.params['name'] = name unless name.nil?
@ -180,7 +288,7 @@ module Google
# @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_workflow_template_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::DataprocV1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
@ -221,7 +329,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def instantiate_project_location_workflow_template(name, instantiate_workflow_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:instantiate', options)
command = make_simple_command(:post, 'v1/{+name}:instantiate', options)
command.request_representation = Google::Apis::DataprocV1::InstantiateWorkflowTemplateRequest::Representation
command.request_object = instantiate_workflow_template_request_object
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
@ -270,7 +378,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def instantiate_project_location_workflow_template_inline(parent, workflow_template_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/workflowTemplates:instantiateInline', options)
command = make_simple_command(:post, 'v1/{+parent}/workflowTemplates:instantiateInline', options)
command.request_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
command.request_object = workflow_template_object
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
@ -310,7 +418,7 @@ module Google
# @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_workflow_templates(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/workflowTemplates', options)
command = make_simple_command(:get, 'v1/{+parent}/workflowTemplates', options)
command.response_representation = Google::Apis::DataprocV1::ListWorkflowTemplatesResponse::Representation
command.response_class = Google::Apis::DataprocV1::ListWorkflowTemplatesResponse
command.params['parent'] = parent unless parent.nil?
@ -345,7 +453,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_location_workflow_template_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::DataprocV1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
@ -383,7 +491,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_project_location_workflow_template_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::DataprocV1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::DataprocV1::TestIamPermissionsResponse::Representation
@ -419,7 +527,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_location_workflow_template(name, workflow_template_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1/{+name}', options)
command = make_simple_command(:put, 'v1/{+name}', options)
command.request_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
command.request_object = workflow_template_object
command.response_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
@ -430,6 +538,114 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the access control policy for a resource. Returns an empty policy if the
# resource exists and does not have a policy set.
# @param [String] resource
# REQUIRED: The resource for which the policy is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::DataprocV1::GetIamPolicyRequest] get_iam_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DataprocV1::Policy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DataprocV1::Policy]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_region_autoscaling_policy_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::DataprocV1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
command.response_class = Google::Apis::DataprocV1::Policy
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Sets the access control policy on the specified resource. Replaces any
# existing policy.
# @param [String] resource
# REQUIRED: The resource for which the policy is being specified. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::DataprocV1::SetIamPolicyRequest] set_iam_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DataprocV1::Policy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DataprocV1::Policy]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_region_autoscaling_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::DataprocV1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
command.response_class = Google::Apis::DataprocV1::Policy
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified resource. If the
# resource does not exist, this will return an empty set of permissions, not a
# NOT_FOUND error.Note: This operation is designed to be used for building
# permission-aware UIs and command-line tools, not for authorization checking.
# This operation may "fail open" without warning.
# @param [String] resource
# REQUIRED: The resource for which the policy detail is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::DataprocV1::TestIamPermissionsRequest] test_iam_permissions_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DataprocV1::TestIamPermissionsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DataprocV1::TestIamPermissionsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_project_region_autoscaling_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::DataprocV1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::DataprocV1::TestIamPermissionsResponse::Representation
command.response_class = Google::Apis::DataprocV1::TestIamPermissionsResponse
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates a cluster in a project.
# @param [String] project_id
# Required. The ID of the Google Cloud Platform project that the cluster belongs
@ -463,7 +679,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_cluster(project_id, region, cluster_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/clusters', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/clusters', options)
command.request_representation = Google::Apis::DataprocV1::Cluster::Representation
command.request_object = cluster_object
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
@ -513,7 +729,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_cluster(project_id, region, cluster_name, cluster_uuid: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
command.response_class = Google::Apis::DataprocV1::Operation
command.params['projectId'] = project_id unless project_id.nil?
@ -554,7 +770,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def diagnose_cluster(project_id, region, cluster_name, diagnose_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose', options)
command.request_representation = Google::Apis::DataprocV1::DiagnoseClusterRequest::Representation
command.request_object = diagnose_cluster_request_object
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
@ -593,7 +809,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_cluster(project_id, region, cluster_name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
command.response_representation = Google::Apis::DataprocV1::Cluster::Representation
command.response_class = Google::Apis::DataprocV1::Cluster
command.params['projectId'] = project_id unless project_id.nil?
@ -628,7 +844,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_cluster_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::DataprocV1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
@ -679,7 +895,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_clusters(project_id, region, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/clusters', options)
command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/clusters', options)
command.response_representation = Google::Apis::DataprocV1::ListClustersResponse::Representation
command.response_class = Google::Apis::DataprocV1::ListClustersResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -762,7 +978,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_cluster(project_id, region, cluster_name, cluster_object = nil, graceful_decommission_timeout: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
command = make_simple_command(:patch, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
command.request_representation = Google::Apis::DataprocV1::Cluster::Representation
command.request_object = cluster_object
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
@ -802,7 +1018,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_cluster_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::DataprocV1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
@ -840,7 +1056,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_cluster_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::DataprocV1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::DataprocV1::TestIamPermissionsResponse::Representation
@ -878,7 +1094,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_job(project_id, region, job_id, cancel_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel', options)
command.request_representation = Google::Apis::DataprocV1::CancelJobRequest::Representation
command.request_object = cancel_job_request_object
command.response_representation = Google::Apis::DataprocV1::Job::Representation
@ -917,7 +1133,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
command.response_representation = Google::Apis::DataprocV1::Empty::Representation
command.response_class = Google::Apis::DataprocV1::Empty
command.params['projectId'] = project_id unless project_id.nil?
@ -953,7 +1169,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
command.response_representation = Google::Apis::DataprocV1::Job::Representation
command.response_class = Google::Apis::DataprocV1::Job
command.params['projectId'] = project_id unless project_id.nil?
@ -988,7 +1204,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_job_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::DataprocV1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
@ -1041,7 +1257,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_jobs(project_id, region, cluster_name: nil, filter: nil, job_state_matcher: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/jobs', options)
command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/jobs', options)
command.response_representation = Google::Apis::DataprocV1::ListJobsResponse::Representation
command.response_class = Google::Apis::DataprocV1::ListJobsResponse
command.params['projectId'] = project_id unless project_id.nil?
@ -1088,7 +1304,7 @@ module Google
# @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_region_job(project_id, region, job_id, job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
command = make_simple_command(:patch, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
command.request_representation = Google::Apis::DataprocV1::Job::Representation
command.request_object = job_object
command.response_representation = Google::Apis::DataprocV1::Job::Representation
@ -1126,7 +1342,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_job_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::DataprocV1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
@ -1161,7 +1377,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def submit_job(project_id, region, submit_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/jobs:submit', options)
command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/jobs:submit', options)
command.request_representation = Google::Apis::DataprocV1::SubmitJobRequest::Representation
command.request_object = submit_job_request_object
command.response_representation = Google::Apis::DataprocV1::Job::Representation
@ -1200,7 +1416,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_job_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::DataprocV1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::DataprocV1::TestIamPermissionsResponse::Representation
@ -1239,7 +1455,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
command.response_representation = Google::Apis::DataprocV1::Empty::Representation
command.response_class = Google::Apis::DataprocV1::Empty
command.params['name'] = name unless name.nil?
@ -1272,7 +1488,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::DataprocV1::Empty::Representation
command.response_class = Google::Apis::DataprocV1::Empty
command.params['name'] = name unless name.nil?
@ -1303,7 +1519,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
command.response_class = Google::Apis::DataprocV1::Operation
command.params['name'] = name unless name.nil?
@ -1336,7 +1552,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_operation_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::DataprocV1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
@ -1381,7 +1597,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::DataprocV1::ListOperationsResponse::Representation
command.response_class = Google::Apis::DataprocV1::ListOperationsResponse
command.params['name'] = name unless name.nil?
@ -1417,7 +1633,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_operation_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::DataprocV1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
@ -1455,7 +1671,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_operation_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::DataprocV1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::DataprocV1::TestIamPermissionsResponse::Representation
@ -1490,7 +1706,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_project_region_workflow_template(parent, workflow_template_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/workflowTemplates', options)
command = make_simple_command(:post, 'v1/{+parent}/workflowTemplates', options)
command.request_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
command.request_object = workflow_template_object
command.response_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
@ -1527,7 +1743,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_project_region_workflow_template(name, version: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::DataprocV1::Empty::Representation
command.response_class = Google::Apis::DataprocV1::Empty
command.params['name'] = name unless name.nil?
@ -1565,7 +1781,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_region_workflow_template(name, version: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
command.response_class = Google::Apis::DataprocV1::WorkflowTemplate
command.params['name'] = name unless name.nil?
@ -1599,7 +1815,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_region_workflow_template_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
command.request_representation = Google::Apis::DataprocV1::GetIamPolicyRequest::Representation
command.request_object = get_iam_policy_request_object
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
@ -1640,7 +1856,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def instantiate_project_region_workflow_template(name, instantiate_workflow_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:instantiate', options)
command = make_simple_command(:post, 'v1/{+name}:instantiate', options)
command.request_representation = Google::Apis::DataprocV1::InstantiateWorkflowTemplateRequest::Representation
command.request_object = instantiate_workflow_template_request_object
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
@ -1689,7 +1905,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def instantiate_project_region_workflow_template_inline(parent, workflow_template_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/workflowTemplates:instantiateInline', options)
command = make_simple_command(:post, 'v1/{+parent}/workflowTemplates:instantiateInline', options)
command.request_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
command.request_object = workflow_template_object
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
@ -1729,7 +1945,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_region_workflow_templates(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/workflowTemplates', options)
command = make_simple_command(:get, 'v1/{+parent}/workflowTemplates', options)
command.response_representation = Google::Apis::DataprocV1::ListWorkflowTemplatesResponse::Representation
command.response_class = Google::Apis::DataprocV1::ListWorkflowTemplatesResponse
command.params['parent'] = parent unless parent.nil?
@ -1764,7 +1980,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def set_project_region_workflow_template_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::DataprocV1::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::DataprocV1::Policy::Representation
@ -1802,7 +2018,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def test_project_region_workflow_template_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
command.request_representation = Google::Apis::DataprocV1::TestIamPermissionsRequest::Representation
command.request_object = test_iam_permissions_request_object
command.response_representation = Google::Apis::DataprocV1::TestIamPermissionsResponse::Representation
@ -1838,7 +2054,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_region_workflow_template(name, workflow_template_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1/{+name}', options)
command = make_simple_command(:put, 'v1/{+name}', options)
command.request_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation
command.request_object = workflow_template_object
command.response_representation = Google::Apis::DataprocV1::WorkflowTemplate::Representation

View File

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

Some files were not shown because too many files have changed in this diff Show More