UNPKG

@google-cloud/bigquery-reservation

Version:
946 lines 149 kB
{ "nested": { "google": { "nested": { "cloud": { "nested": { "bigquery": { "nested": { "reservation": { "nested": { "v1": { "options": { "csharp_namespace": "Google.Cloud.BigQuery.Reservation.V1", "go_package": "cloud.google.com/go/bigquery/reservation/apiv1/reservationpb;reservationpb", "java_multiple_files": true, "java_outer_classname": "ReservationProto", "java_package": "com.google.cloud.bigquery.reservation.v1", "php_namespace": "Google\\Cloud\\BigQuery\\Reservation\\V1" }, "nested": { "ReservationService": { "options": { "(google.api.default_host)": "bigqueryreservation.googleapis.com", "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/cloud-platform" }, "methods": { "CreateReservation": { "requestType": "CreateReservationRequest", "responseType": "Reservation", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*}/reservations", "(google.api.http).body": "reservation", "(google.api.method_signature)": "parent,reservation,reservation_id" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*}/reservations", "body": "reservation" } }, { "(google.api.method_signature)": "parent,reservation,reservation_id" } ] }, "ListReservations": { "requestType": "ListReservationsRequest", "responseType": "ListReservationsResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*}/reservations", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*}/reservations" } }, { "(google.api.method_signature)": "parent" } ] }, "GetReservation": { "requestType": "GetReservationRequest", "responseType": "Reservation", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/reservations/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/reservations/*}" } }, { "(google.api.method_signature)": "name" } ] }, "DeleteReservation": { "requestType": "DeleteReservationRequest", "responseType": "google.protobuf.Empty", "options": { "(google.api.http).delete": "/v1/{name=projects/*/locations/*/reservations/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1/{name=projects/*/locations/*/reservations/*}" } }, { "(google.api.method_signature)": "name" } ] }, "UpdateReservation": { "requestType": "UpdateReservationRequest", "responseType": "Reservation", "options": { "(google.api.http).patch": "/v1/{reservation.name=projects/*/locations/*/reservations/*}", "(google.api.http).body": "reservation", "(google.api.method_signature)": "reservation,update_mask" }, "parsedOptions": [ { "(google.api.http)": { "patch": "/v1/{reservation.name=projects/*/locations/*/reservations/*}", "body": "reservation" } }, { "(google.api.method_signature)": "reservation,update_mask" } ] }, "FailoverReservation": { "requestType": "FailoverReservationRequest", "responseType": "Reservation", "options": { "(google.api.http).post": "/v1/{name=projects/*/locations/*/reservations/*}:failoverReservation", "(google.api.http).body": "*" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{name=projects/*/locations/*/reservations/*}:failoverReservation", "body": "*" } } ] }, "CreateCapacityCommitment": { "requestType": "CreateCapacityCommitmentRequest", "responseType": "CapacityCommitment", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*}/capacityCommitments", "(google.api.http).body": "capacity_commitment", "(google.api.method_signature)": "parent,capacity_commitment" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*}/capacityCommitments", "body": "capacity_commitment" } }, { "(google.api.method_signature)": "parent,capacity_commitment" } ] }, "ListCapacityCommitments": { "requestType": "ListCapacityCommitmentsRequest", "responseType": "ListCapacityCommitmentsResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*}/capacityCommitments", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*}/capacityCommitments" } }, { "(google.api.method_signature)": "parent" } ] }, "GetCapacityCommitment": { "requestType": "GetCapacityCommitmentRequest", "responseType": "CapacityCommitment", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/capacityCommitments/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/capacityCommitments/*}" } }, { "(google.api.method_signature)": "name" } ] }, "DeleteCapacityCommitment": { "requestType": "DeleteCapacityCommitmentRequest", "responseType": "google.protobuf.Empty", "options": { "(google.api.http).delete": "/v1/{name=projects/*/locations/*/capacityCommitments/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1/{name=projects/*/locations/*/capacityCommitments/*}" } }, { "(google.api.method_signature)": "name" } ] }, "UpdateCapacityCommitment": { "requestType": "UpdateCapacityCommitmentRequest", "responseType": "CapacityCommitment", "options": { "(google.api.http).patch": "/v1/{capacity_commitment.name=projects/*/locations/*/capacityCommitments/*}", "(google.api.http).body": "capacity_commitment", "(google.api.method_signature)": "capacity_commitment,update_mask" }, "parsedOptions": [ { "(google.api.http)": { "patch": "/v1/{capacity_commitment.name=projects/*/locations/*/capacityCommitments/*}", "body": "capacity_commitment" } }, { "(google.api.method_signature)": "capacity_commitment,update_mask" } ] }, "SplitCapacityCommitment": { "requestType": "SplitCapacityCommitmentRequest", "responseType": "SplitCapacityCommitmentResponse", "options": { "(google.api.http).post": "/v1/{name=projects/*/locations/*/capacityCommitments/*}:split", "(google.api.http).body": "*", "(google.api.method_signature)": "name,slot_count" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{name=projects/*/locations/*/capacityCommitments/*}:split", "body": "*" } }, { "(google.api.method_signature)": "name,slot_count" } ] }, "MergeCapacityCommitments": { "requestType": "MergeCapacityCommitmentsRequest", "responseType": "CapacityCommitment", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*}/capacityCommitments:merge", "(google.api.http).body": "*", "(google.api.method_signature)": "parent,capacity_commitment_ids" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*}/capacityCommitments:merge", "body": "*" } }, { "(google.api.method_signature)": "parent,capacity_commitment_ids" } ] }, "CreateAssignment": { "requestType": "CreateAssignmentRequest", "responseType": "Assignment", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*/reservations/*}/assignments", "(google.api.http).body": "assignment", "(google.api.method_signature)": "parent,assignment" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*/reservations/*}/assignments", "body": "assignment" } }, { "(google.api.method_signature)": "parent,assignment" } ] }, "ListAssignments": { "requestType": "ListAssignmentsRequest", "responseType": "ListAssignmentsResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*/reservations/*}/assignments", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*/reservations/*}/assignments" } }, { "(google.api.method_signature)": "parent" } ] }, "DeleteAssignment": { "requestType": "DeleteAssignmentRequest", "responseType": "google.protobuf.Empty", "options": { "(google.api.http).delete": "/v1/{name=projects/*/locations/*/reservations/*/assignments/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1/{name=projects/*/locations/*/reservations/*/assignments/*}" } }, { "(google.api.method_signature)": "name" } ] }, "SearchAssignments": { "requestType": "SearchAssignmentsRequest", "responseType": "SearchAssignmentsResponse", "options": { "deprecated": true, "(google.api.http).get": "/v1/{parent=projects/*/locations/*}:searchAssignments", "(google.api.method_signature)": "parent,query" }, "parsedOptions": [ { "deprecated": true }, { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*}:searchAssignments" } }, { "(google.api.method_signature)": "parent,query" } ] }, "SearchAllAssignments": { "requestType": "SearchAllAssignmentsRequest", "responseType": "SearchAllAssignmentsResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*}:searchAllAssignments", "(google.api.method_signature)": "parent,query" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*}:searchAllAssignments" } }, { "(google.api.method_signature)": "parent,query" } ] }, "MoveAssignment": { "requestType": "MoveAssignmentRequest", "responseType": "Assignment", "options": { "(google.api.http).post": "/v1/{name=projects/*/locations/*/reservations/*/assignments/*}:move", "(google.api.http).body": "*", "(google.api.method_signature)": "name,destination_id" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{name=projects/*/locations/*/reservations/*/assignments/*}:move", "body": "*" } }, { "(google.api.method_signature)": "name,destination_id" } ] }, "UpdateAssignment": { "requestType": "UpdateAssignmentRequest", "responseType": "Assignment", "options": { "(google.api.http).patch": "/v1/{assignment.name=projects/*/locations/*/reservations/*/assignments/*}", "(google.api.http).body": "assignment", "(google.api.method_signature)": "assignment,update_mask" }, "parsedOptions": [ { "(google.api.http)": { "patch": "/v1/{assignment.name=projects/*/locations/*/reservations/*/assignments/*}", "body": "assignment" } }, { "(google.api.method_signature)": "assignment,update_mask" } ] }, "GetBiReservation": { "requestType": "GetBiReservationRequest", "responseType": "BiReservation", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/biReservation}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/biReservation}" } }, { "(google.api.method_signature)": "name" } ] }, "UpdateBiReservation": { "requestType": "UpdateBiReservationRequest", "responseType": "BiReservation", "options": { "(google.api.http).patch": "/v1/{bi_reservation.name=projects/*/locations/*/biReservation}", "(google.api.http).body": "bi_reservation", "(google.api.method_signature)": "bi_reservation,update_mask" }, "parsedOptions": [ { "(google.api.http)": { "patch": "/v1/{bi_reservation.name=projects/*/locations/*/biReservation}", "body": "bi_reservation" } }, { "(google.api.method_signature)": "bi_reservation,update_mask" } ] }, "GetIamPolicy": { "requestType": "google.iam.v1.GetIamPolicyRequest", "responseType": "google.iam.v1.Policy", "options": { "(google.api.http).get": "/v1/{resource=projects/*/locations/*/reservations/*}:getIamPolicy", "(google.api.http).additional_bindings.get": "/v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:getIamPolicy", "(google.api.method_signature)": "resource" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{resource=projects/*/locations/*/reservations/*}:getIamPolicy", "additional_bindings": { "get": "/v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:getIamPolicy" } } }, { "(google.api.method_signature)": "resource" } ] }, "SetIamPolicy": { "requestType": "google.iam.v1.SetIamPolicyRequest", "responseType": "google.iam.v1.Policy", "options": { "(google.api.http).post": "/v1/{resource=projects/*/locations/*/reservations/*}:setIamPolicy", "(google.api.http).body": "*", "(google.api.http).additional_bindings.post": "/v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:setIamPolicy", "(google.api.http).additional_bindings.body": "*", "(google.api.method_signature)": "resource,policy" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{resource=projects/*/locations/*/reservations/*}:setIamPolicy", "body": "*", "additional_bindings": { "post": "/v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:setIamPolicy", "body": "*" } } }, { "(google.api.method_signature)": "resource,policy" } ] }, "TestIamPermissions": { "requestType": "google.iam.v1.TestIamPermissionsRequest", "responseType": "google.iam.v1.TestIamPermissionsResponse", "options": { "(google.api.http).post": "/v1/{resource=projects/*/locations/*/reservations/*}:testIamPermissions", "(google.api.http).body": "*", "(google.api.http).additional_bindings.post": "/v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:testIamPermissions", "(google.api.http).additional_bindings.body": "*" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{resource=projects/*/locations/*/reservations/*}:testIamPermissions", "body": "*", "additional_bindings": { "post": "/v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:testIamPermissions", "body": "*" } } } ] }, "CreateReservationGroup": { "requestType": "CreateReservationGroupRequest", "responseType": "ReservationGroup", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*}/reservationGroups", "(google.api.http).body": "reservation_group" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*}/reservationGroups", "body": "reservation_group" } } ] }, "GetReservationGroup": { "requestType": "GetReservationGroupRequest", "responseType": "ReservationGroup", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/reservationGroups/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/reservationGroups/*}" } }, { "(google.api.method_signature)": "name" } ] }, "DeleteReservationGroup": { "requestType": "DeleteReservationGroupRequest", "responseType": "google.protobuf.Empty", "options": { "(google.api.http).delete": "/v1/{name=projects/*/locations/*/reservationGroups/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1/{name=projects/*/locations/*/reservationGroups/*}" } }, { "(google.api.method_signature)": "name" } ] }, "ListReservationGroups": { "requestType": "ListReservationGroupsRequest", "responseType": "ListReservationGroupsResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*}/reservationGroups", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*}/reservationGroups" } }, { "(google.api.method_signature)": "parent" } ] } } }, "Reservation": { "options": { "(google.api.resource).type": "bigqueryreservation.googleapis.com/Reservation", "(google.api.resource).pattern": "projects/{project}/locations/{location}/reservations/{reservation}" }, "oneofs": { "_maxSlots": { "oneof": [ "maxSlots" ] } }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "IDENTIFIER" } }, "slotCapacity": { "type": "int64", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "ignoreIdleSlots": { "type": "bool", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "autoscale": { "type": "Autoscale", "id": 7, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "concurrency": { "type": "int64", "id": 16, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "creationTime": { "type": "google.protobuf.Timestamp", "id": 8, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "updateTime": { "type": "google.protobuf.Timestamp", "id": 9, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "multiRegionAuxiliary": { "type": "bool", "id": 14, "options": { "deprecated": true } }, "edition": { "type": "Edition", "id": 17, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "primaryLocation": { "type": "string", "id": 18, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY", "(google.api.resource_reference).type": "locations.googleapis.com/Location" } }, "secondaryLocation": { "type": "string", "id": 19, "options": { "(google.api.field_behavior)": "OPTIONAL", "(google.api.resource_reference).type": "locations.googleapis.com/Location" } }, "originalPrimaryLocation": { "type": "string", "id": 20, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY", "(google.api.resource_reference).type": "locations.googleapis.com/Location" } }, "maxSlots": { "type": "int64", "id": 21, "options": { "(google.api.field_behavior)": "OPTIONAL", "proto3_optional": true } }, "scalingMode": { "type": "ScalingMode", "id": 22, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "labels": { "keyType": "string", "type": "string", "id": 23, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "reservationGroup": { "type": "string", "id": 25, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "replicationStatus": { "type": "ReplicationStatus", "id": 24, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "schedulingPolicy": { "type": "SchedulingPolicy", "id": 27, "options": { "(google.api.field_behavior)": "OPTIONAL" } } }, "nested": { "Autoscale": { "fields": { "currentSlots": { "type": "int64", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "maxSlots": { "type": "int64", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "ScalingMode": { "values": { "SCALING_MODE_UNSPECIFIED": 0, "AUTOSCALE_ONLY": 1, "IDLE_SLOTS_ONLY": 2, "ALL_SLOTS": 3 } }, "ReplicationStatus": { "fields": { "error": { "type": "google.rpc.Status", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "lastErrorTime": { "type": "google.protobuf.Timestamp", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "lastReplicationTime": { "type": "google.protobuf.Timestamp", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "softFailoverStartTime": { "type": "google.protobuf.Timestamp", "id": 4, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } } } }, "SchedulingPolicy": { "oneofs": { "_concurrency": { "oneof": [ "concurrency" ] }, "_maxSlots": { "oneof": [ "maxSlots" ] } }, "fields": { "concurrency": { "type": "int64", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL", "proto3_optional": true } }, "maxSlots": { "type": "int64", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL", "proto3_optional": true } } } }, "ReservationGroup": { "options": { "(google.api.resource).type": "bigqueryreservation.googleapis.com/ReservationGroup", "(google.api.resource).pattern": "projects/{project}/locations/{location}/reservationGroups/{reservation_group}", "(google.api.resource).plural": "reservationGroups", "(google.api.resource).singular": "reservationGroup" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "IDENTIFIER" } } } }, "CapacityCommitment": { "options": { "(google.api.resource).type": "bigqueryreservation.googleapis.com/CapacityCommitment", "(google.api.resource).pattern": "projects/{project}/locations/{location}/capacityCommitments/{capacity_commitment}" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "slotCount": { "type": "int64", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "plan": { "type": "CommitmentPlan", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "state": { "type": "State", "id": 4, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "commitmentStartTime": { "type": "google.protobuf.Timestamp", "id": 9, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "commitmentEndTime": { "type": "google.protobuf.Timestamp", "id": 5, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "failureStatus": { "type": "google.rpc.Status", "id": 7, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "renewalPlan": { "type": "CommitmentPlan", "id": 8, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "multiRegionAuxiliary": { "type": "bool", "id": 10, "options": { "deprecated": true } }, "edition": { "type": "Edition", "id": 12, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "isFlatRate": { "type": "bool", "id": 14, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } }, "nested": { "CommitmentPlan": { "valuesOptions": { "FLEX_FLAT_RATE": { "deprecated": true }, "TRIAL": { "deprecated": true }, "MONTHLY_FLAT_RATE": { "deprecated": true }, "ANNUAL_FLAT_RATE": { "deprecated": true } }, "values": { "COMMITMENT_PLAN_UNSPECIFIED": 0, "FLEX": 3, "FLEX_FLAT_RATE": 7, "TRIAL"