1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147 |
- syntax = "proto3";
- package google.cloud.domains.v1beta1;
- import "google/api/annotations.proto";
- import "google/api/client.proto";
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/longrunning/operations.proto";
- import "google/protobuf/field_mask.proto";
- import "google/protobuf/timestamp.proto";
- import "google/type/money.proto";
- import "google/type/postal_address.proto";
- option go_package = "google.golang.org/genproto/googleapis/cloud/domains/v1beta1;domains";
- option java_multiple_files = true;
- option java_outer_classname = "DomainsProto";
- option java_package = "com.google.cloud.domains.v1beta1";
- service Domains {
- option (google.api.default_host) = "domains.googleapis.com";
- option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
-
-
-
-
-
- rpc SearchDomains(SearchDomainsRequest) returns (SearchDomainsResponse) {
- option (google.api.http) = {
- get: "/v1beta1/{location=projects/*/locations/*}/registrations:searchDomains"
- };
- option (google.api.method_signature) = "location,query";
- }
-
-
- rpc RetrieveRegisterParameters(RetrieveRegisterParametersRequest) returns (RetrieveRegisterParametersResponse) {
- option (google.api.http) = {
- get: "/v1beta1/{location=projects/*/locations/*}/registrations:retrieveRegisterParameters"
- };
- option (google.api.method_signature) = "location,domain_name";
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
- rpc RegisterDomain(RegisterDomainRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1beta1/{parent=projects/*/locations/*}/registrations:register"
- body: "*"
- };
- option (google.api.method_signature) = "parent,registration,yearly_price";
- option (google.longrunning.operation_info) = {
- response_type: "Registration"
- metadata_type: "OperationMetadata"
- };
- }
-
-
-
-
-
-
- rpc RetrieveTransferParameters(RetrieveTransferParametersRequest) returns (RetrieveTransferParametersResponse) {
- option (google.api.http) = {
- get: "/v1beta1/{location=projects/*/locations/*}/registrations:retrieveTransferParameters"
- };
- option (google.api.method_signature) = "location,domain_name";
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- rpc TransferDomain(TransferDomainRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1beta1/{parent=projects/*/locations/*}/registrations:transfer"
- body: "*"
- };
- option (google.api.method_signature) = "parent,registration,yearly_price,authorization_code";
- option (google.longrunning.operation_info) = {
- response_type: "Registration"
- metadata_type: "OperationMetadata"
- };
- }
-
- rpc ListRegistrations(ListRegistrationsRequest) returns (ListRegistrationsResponse) {
- option (google.api.http) = {
- get: "/v1beta1/{parent=projects/*/locations/*}/registrations"
- };
- option (google.api.method_signature) = "parent";
- }
-
- rpc GetRegistration(GetRegistrationRequest) returns (Registration) {
- option (google.api.http) = {
- get: "/v1beta1/{name=projects/*/locations/*/registrations/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
-
-
-
-
-
- rpc UpdateRegistration(UpdateRegistrationRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- patch: "/v1beta1/{registration.name=projects/*/locations/*/registrations/*}"
- body: "registration"
- };
- option (google.api.method_signature) = "registration,update_mask";
- option (google.longrunning.operation_info) = {
- response_type: "Registration"
- metadata_type: "OperationMetadata"
- };
- }
-
- rpc ConfigureManagementSettings(ConfigureManagementSettingsRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1beta1/{registration=projects/*/locations/*/registrations/*}:configureManagementSettings"
- body: "*"
- };
- option (google.api.method_signature) = "registration,management_settings,update_mask";
- option (google.longrunning.operation_info) = {
- response_type: "Registration"
- metadata_type: "OperationMetadata"
- };
- }
-
- rpc ConfigureDnsSettings(ConfigureDnsSettingsRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1beta1/{registration=projects/*/locations/*/registrations/*}:configureDnsSettings"
- body: "*"
- };
- option (google.api.method_signature) = "registration,dns_settings,update_mask";
- option (google.longrunning.operation_info) = {
- response_type: "Registration"
- metadata_type: "OperationMetadata"
- };
- }
-
-
- rpc ConfigureContactSettings(ConfigureContactSettingsRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1beta1/{registration=projects/*/locations/*/registrations/*}:configureContactSettings"
- body: "*"
- };
- option (google.api.method_signature) = "registration,contact_settings,update_mask";
- option (google.longrunning.operation_info) = {
- response_type: "Registration"
- metadata_type: "OperationMetadata"
- };
- }
-
-
-
-
-
-
-
-
-
- rpc ExportRegistration(ExportRegistrationRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1beta1/{name=projects/*/locations/*/registrations/*}:export"
- body: "*"
- };
- option (google.api.method_signature) = "name";
- option (google.longrunning.operation_info) = {
- response_type: "Registration"
- metadata_type: "OperationMetadata"
- };
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- rpc DeleteRegistration(DeleteRegistrationRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- delete: "/v1beta1/{name=projects/*/locations/*/registrations/*}"
- };
- option (google.api.method_signature) = "name";
- option (google.longrunning.operation_info) = {
- response_type: "google.protobuf.Empty"
- metadata_type: "OperationMetadata"
- };
- }
-
-
-
-
-
- rpc RetrieveAuthorizationCode(RetrieveAuthorizationCodeRequest) returns (AuthorizationCode) {
- option (google.api.http) = {
- get: "/v1beta1/{registration=projects/*/locations/*/registrations/*}:retrieveAuthorizationCode"
- };
- option (google.api.method_signature) = "registration";
- }
-
-
-
-
- rpc ResetAuthorizationCode(ResetAuthorizationCodeRequest) returns (AuthorizationCode) {
- option (google.api.http) = {
- post: "/v1beta1/{registration=projects/*/locations/*/registrations/*}:resetAuthorizationCode"
- body: "*"
- };
- option (google.api.method_signature) = "registration";
- }
- }
- message Registration {
- option (google.api.resource) = {
- type: "domains.googleapis.com/Registration"
- pattern: "projects/{project}/locations/{location}/registrations/{registration}"
- };
-
- enum State {
-
- STATE_UNSPECIFIED = 0;
-
- REGISTRATION_PENDING = 1;
-
-
- REGISTRATION_FAILED = 2;
-
- TRANSFER_PENDING = 3;
-
-
-
- TRANSFER_FAILED = 4;
-
-
- ACTIVE = 6;
-
-
- SUSPENDED = 7;
-
-
-
-
-
- EXPORTED = 8;
- }
-
- enum Issue {
-
- ISSUE_UNSPECIFIED = 0;
-
- CONTACT_SUPPORT = 1;
-
-
-
-
-
-
-
-
- UNVERIFIED_EMAIL = 2;
- }
-
-
- string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- string domain_name = 2 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.field_behavior) = IMMUTABLE
- ];
-
- google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp expire_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- State state = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- repeated Issue issues = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- map<string, string> labels = 9;
-
-
-
-
- ManagementSettings management_settings = 10;
-
-
-
- DnsSettings dns_settings = 11;
-
-
-
- ContactSettings contact_settings = 12 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
-
-
-
- ContactSettings pending_contact_settings = 13 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- repeated ContactPrivacy supported_privacy = 14 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
- message ManagementSettings {
-
- enum RenewalMethod {
-
- RENEWAL_METHOD_UNSPECIFIED = 0;
-
-
-
-
- AUTOMATIC_RENEWAL = 1;
-
-
-
-
-
-
- MANUAL_RENEWAL = 2;
- }
-
- RenewalMethod renewal_method = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- TransferLockState transfer_lock_state = 4;
- }
- message DnsSettings {
-
- message CustomDns {
-
-
-
- repeated string name_servers = 1 [(google.api.field_behavior) = REQUIRED];
-
-
-
- repeated DsRecord ds_records = 2;
- }
-
-
-
-
- message GoogleDomainsDns {
-
-
-
-
- repeated string name_servers = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- DsState ds_state = 2 [(google.api.field_behavior) = REQUIRED];
-
-
-
- repeated DsRecord ds_records = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
-
-
-
- message DsRecord {
-
-
- enum Algorithm {
-
- ALGORITHM_UNSPECIFIED = 0;
-
- RSAMD5 = 1;
-
- DH = 2;
-
- DSA = 3;
-
- ECC = 4;
-
- RSASHA1 = 5;
-
- DSANSEC3SHA1 = 6;
-
- RSASHA1NSEC3SHA1 = 7;
-
- RSASHA256 = 8;
-
- RSASHA512 = 10;
-
- ECCGOST = 12;
-
- ECDSAP256SHA256 = 13;
-
- ECDSAP384SHA384 = 14;
-
- ED25519 = 15;
-
- ED448 = 16;
-
- INDIRECT = 252;
-
- PRIVATEDNS = 253;
-
- PRIVATEOID = 254;
- }
-
-
- enum DigestType {
-
- DIGEST_TYPE_UNSPECIFIED = 0;
-
- SHA1 = 1;
-
- SHA256 = 2;
-
- GOST3411 = 3;
-
- SHA384 = 4;
- }
-
- int32 key_tag = 1;
-
- Algorithm algorithm = 2;
-
- DigestType digest_type = 3;
-
- string digest = 4;
- }
-
-
-
-
-
-
- message GlueRecord {
-
- string host_name = 1 [(google.api.field_behavior) = REQUIRED];
-
-
-
- repeated string ipv4_addresses = 2;
-
-
-
- repeated string ipv6_addresses = 3;
- }
-
- enum DsState {
-
- DS_STATE_UNSPECIFIED = 0;
-
-
- DS_RECORDS_UNPUBLISHED = 1;
-
-
-
-
- DS_RECORDS_PUBLISHED = 2;
- }
-
- oneof dns_provider {
-
- CustomDns custom_dns = 1;
-
-
- GoogleDomainsDns google_domains_dns = 2;
- }
-
- repeated GlueRecord glue_records = 4;
- }
- message ContactSettings {
-
- message Contact {
-
- google.type.PostalAddress postal_address = 1 [(google.api.field_behavior) = REQUIRED];
-
- string email = 2 [(google.api.field_behavior) = REQUIRED];
-
-
- string phone_number = 3 [(google.api.field_behavior) = REQUIRED];
-
-
- string fax_number = 4;
- }
-
- ContactPrivacy privacy = 1 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
-
-
-
-
- Contact registrant_contact = 2 [(google.api.field_behavior) = REQUIRED];
-
- Contact admin_contact = 3 [(google.api.field_behavior) = REQUIRED];
-
- Contact technical_contact = 4 [(google.api.field_behavior) = REQUIRED];
- }
- message SearchDomainsRequest {
-
- string query = 1 [(google.api.field_behavior) = REQUIRED];
-
- string location = 2 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "locations.googleapis.com/Location"
- }
- ];
- }
- message SearchDomainsResponse {
-
- repeated RegisterParameters register_parameters = 1;
- }
- message RetrieveRegisterParametersRequest {
-
- string domain_name = 1 [(google.api.field_behavior) = REQUIRED];
-
- string location = 2 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "locations.googleapis.com/Location"
- }
- ];
- }
- message RetrieveRegisterParametersResponse {
-
- RegisterParameters register_parameters = 1;
- }
- message RegisterDomainRequest {
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "locations.googleapis.com/Location"
- }
- ];
-
- Registration registration = 2 [(google.api.field_behavior) = REQUIRED];
-
-
- repeated DomainNotice domain_notices = 3;
-
-
-
- repeated ContactNotice contact_notices = 4;
-
-
-
- google.type.Money yearly_price = 5 [(google.api.field_behavior) = REQUIRED];
-
-
-
- bool validate_only = 6;
- }
- message RetrieveTransferParametersRequest {
-
- string domain_name = 1 [(google.api.field_behavior) = REQUIRED];
-
- string location = 2 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "locations.googleapis.com/Location"
- }
- ];
- }
- message RetrieveTransferParametersResponse {
-
- TransferParameters transfer_parameters = 1;
- }
- message TransferDomainRequest {
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "locations.googleapis.com/Location"
- }
- ];
-
-
-
-
-
-
-
- Registration registration = 2 [(google.api.field_behavior) = REQUIRED];
-
-
-
- repeated ContactNotice contact_notices = 3;
-
-
-
- google.type.Money yearly_price = 4 [(google.api.field_behavior) = REQUIRED];
-
-
- AuthorizationCode authorization_code = 5;
-
- bool validate_only = 6;
- }
- message ListRegistrationsRequest {
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "locations.googleapis.com/Location"
- }
- ];
-
- int32 page_size = 2;
-
-
- string page_token = 3;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- string filter = 4;
- }
- message ListRegistrationsResponse {
-
- repeated Registration registrations = 1;
-
-
- string next_page_token = 2;
- }
- message GetRegistrationRequest {
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "domains.googleapis.com/Registration"
- }
- ];
- }
- message UpdateRegistrationRequest {
-
- Registration registration = 1;
-
-
-
- google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED];
- }
- message ConfigureManagementSettingsRequest {
-
-
- string registration = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "domains.googleapis.com/Registration"
- }
- ];
-
- ManagementSettings management_settings = 2;
-
-
-
- google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = REQUIRED];
- }
- message ConfigureDnsSettingsRequest {
-
-
- string registration = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "domains.googleapis.com/Registration"
- }
- ];
-
- DnsSettings dns_settings = 2;
-
-
-
-
-
-
-
-
-
- google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = REQUIRED];
-
- bool validate_only = 4;
- }
- message ConfigureContactSettingsRequest {
-
-
- string registration = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "domains.googleapis.com/Registration"
- }
- ];
-
- ContactSettings contact_settings = 2;
-
-
-
- google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = REQUIRED];
-
-
- repeated ContactNotice contact_notices = 4;
-
- bool validate_only = 5;
- }
- message ExportRegistrationRequest {
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "domains.googleapis.com/Registration"
- }
- ];
- }
- message DeleteRegistrationRequest {
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "domains.googleapis.com/Registration"
- }
- ];
- }
- message RetrieveAuthorizationCodeRequest {
-
-
- string registration = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "domains.googleapis.com/Registration"
- }
- ];
- }
- message ResetAuthorizationCodeRequest {
-
-
- string registration = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "domains.googleapis.com/Registration"
- }
- ];
- }
- message RegisterParameters {
-
- enum Availability {
-
- AVAILABILITY_UNSPECIFIED = 0;
-
- AVAILABLE = 1;
-
-
- UNAVAILABLE = 2;
-
-
- UNSUPPORTED = 3;
-
-
- UNKNOWN = 4;
- }
-
- string domain_name = 1;
-
-
-
- Availability availability = 2;
-
- repeated ContactPrivacy supported_privacy = 3;
-
- repeated DomainNotice domain_notices = 4;
-
- google.type.Money yearly_price = 5;
- }
- message TransferParameters {
-
- string domain_name = 1;
-
- string current_registrar = 2;
-
- repeated string name_servers = 3;
-
-
-
- TransferLockState transfer_lock_state = 4;
-
- repeated ContactPrivacy supported_privacy = 5;
-
- google.type.Money yearly_price = 6;
- }
- message AuthorizationCode {
-
-
- string code = 1;
- }
- message OperationMetadata {
-
- google.protobuf.Timestamp create_time = 1;
-
- google.protobuf.Timestamp end_time = 2;
-
- string target = 3;
-
- string verb = 4;
-
- string status_detail = 5;
-
- string api_version = 6;
- }
- enum ContactPrivacy {
-
- CONTACT_PRIVACY_UNSPECIFIED = 0;
-
-
-
-
- PUBLIC_CONTACT_DATA = 1;
-
-
-
-
- PRIVATE_CONTACT_DATA = 2;
-
-
-
-
- REDACTED_CONTACT_DATA = 3;
- }
- enum DomainNotice {
-
- DOMAIN_NOTICE_UNSPECIFIED = 0;
-
-
-
-
-
- HSTS_PRELOADED = 1;
- }
- enum ContactNotice {
-
- CONTACT_NOTICE_UNSPECIFIED = 0;
-
-
- PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT = 1;
- }
- enum TransferLockState {
-
- TRANSFER_LOCK_STATE_UNSPECIFIED = 0;
-
- UNLOCKED = 1;
-
- LOCKED = 2;
- }
|