diff --git a/google-cloud-error_reporting-v1beta1/lib/google/devtools/clouderrorreporting/v1beta1/common_pb.rb b/google-cloud-error_reporting-v1beta1/lib/google/devtools/clouderrorreporting/v1beta1/common_pb.rb index bb3c8f43b639..9ce7c56655ba 100644 --- a/google-cloud-error_reporting-v1beta1/lib/google/devtools/clouderrorreporting/v1beta1/common_pb.rb +++ b/google-cloud-error_reporting-v1beta1/lib/google/devtools/clouderrorreporting/v1beta1/common_pb.rb @@ -10,30 +10,8 @@ descriptor_data = "\n8google/devtools/clouderrorreporting/v1beta1/common.proto\x12+google.devtools.clouderrorreporting.v1beta1\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb2\x02\n\nErrorGroup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08group_id\x18\x02 \x01(\t\x12S\n\x0ftracking_issues\x18\x03 \x03(\x0b\x32:.google.devtools.clouderrorreporting.v1beta1.TrackingIssue\x12X\n\x11resolution_status\x18\x05 \x01(\x0e\x32=.google.devtools.clouderrorreporting.v1beta1.ResolutionStatus:U\xea\x41R\n-clouderrorreporting.googleapis.com/ErrorGroup\x12!projects/{project}/groups/{group}\"\x1c\n\rTrackingIssue\x12\x0b\n\x03url\x18\x01 \x01(\t\"\xef\x01\n\nErrorEvent\x12.\n\nevent_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12T\n\x0fservice_context\x18\x02 \x01(\x0b\x32;.google.devtools.clouderrorreporting.v1beta1.ServiceContext\x12\x0f\n\x07message\x18\x03 \x01(\t\x12J\n\x07\x63ontext\x18\x05 \x01(\x0b\x32\x39.google.devtools.clouderrorreporting.v1beta1.ErrorContext\"I\n\x0eServiceContext\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\x12\x15\n\rresource_type\x18\x04 \x01(\t\"\xc9\x01\n\x0c\x45rrorContext\x12U\n\x0chttp_request\x18\x01 \x01(\x0b\x32?.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext\x12\x0c\n\x04user\x18\x02 \x01(\t\x12T\n\x0freport_location\x18\x03 \x01(\x0b\x32;.google.devtools.clouderrorreporting.v1beta1.SourceLocation\"\x88\x01\n\x12HttpRequestContext\x12\x0e\n\x06method\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\x12\n\nuser_agent\x18\x03 \x01(\t\x12\x10\n\x08referrer\x18\x04 \x01(\t\x12\x1c\n\x14response_status_code\x18\x05 \x01(\x05\x12\x11\n\tremote_ip\x18\x06 \x01(\t\"O\n\x0eSourceLocation\x12\x11\n\tfile_path\x18\x01 \x01(\t\x12\x13\n\x0bline_number\x18\x02 \x01(\x05\x12\x15\n\rfunction_name\x18\x04 \x01(\t*j\n\x10ResolutionStatus\x12!\n\x1dRESOLUTION_STATUS_UNSPECIFIED\x10\x00\x12\x08\n\x04OPEN\x10\x01\x12\x10\n\x0c\x41\x43KNOWLEDGED\x10\x02\x12\x0c\n\x08RESOLVED\x10\x03\x12\t\n\x05MUTED\x10\x04\x42\x89\x02\n/com.google.devtools.clouderrorreporting.v1beta1B\x0b\x43ommonProtoP\x01ZOcloud.google.com/go/errorreporting/apiv1beta1/errorreportingpb;errorreportingpb\xf8\x01\x01\xaa\x02#Google.Cloud.ErrorReporting.V1Beta1\xca\x02#Google\\Cloud\\ErrorReporting\\V1beta1\xea\x02&Google::Cloud::ErrorReporting::V1beta1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-error_reporting-v1beta1/lib/google/devtools/clouderrorreporting/v1beta1/error_group_service_pb.rb b/google-cloud-error_reporting-v1beta1/lib/google/devtools/clouderrorreporting/v1beta1/error_group_service_pb.rb index 238a3725b0fb..7a65ddd73326 100644 --- a/google-cloud-error_reporting-v1beta1/lib/google/devtools/clouderrorreporting/v1beta1/error_group_service_pb.rb +++ b/google-cloud-error_reporting-v1beta1/lib/google/devtools/clouderrorreporting/v1beta1/error_group_service_pb.rb @@ -13,30 +13,8 @@ descriptor_data = "\nEgoogle/devtools/clouderrorreporting/v1beta1/error_group_service.proto\x12+google.devtools.clouderrorreporting.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x38google/devtools/clouderrorreporting/v1beta1/common.proto\"\\\n\x0fGetGroupRequest\x12I\n\ngroup_name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-clouderrorreporting.googleapis.com/ErrorGroup\"a\n\x12UpdateGroupRequest\x12K\n\x05group\x18\x01 \x01(\x0b\x32\x37.google.devtools.clouderrorreporting.v1beta1.ErrorGroupB\x03\xe0\x41\x02\x32\xf5\x04\n\x11\x45rrorGroupService\x12\xfa\x01\n\x08GetGroup\x12<.google.devtools.clouderrorreporting.v1beta1.GetGroupRequest\x1a\x37.google.devtools.clouderrorreporting.v1beta1.ErrorGroup\"w\xda\x41\ngroup_name\x82\xd3\xe4\x93\x02\x64\x12)/v1beta1/{group_name=projects/*/groups/*}Z7\x12\x35/v1beta1/{group_name=projects/*/locations/*/groups/*}\x12\x8a\x02\n\x0bUpdateGroup\x12?.google.devtools.clouderrorreporting.v1beta1.UpdateGroupRequest\x1a\x37.google.devtools.clouderrorreporting.v1beta1.ErrorGroup\"\x80\x01\xda\x41\x05group\x82\xd3\xe4\x93\x02r\x1a)/v1beta1/{group.name=projects/*/groups/*}:\x05groupZ>\x1a\x35/v1beta1/{group.name=projects/*/locations/*/groups/*}:\x05group\x1aV\xca\x41\"clouderrorreporting.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x94\x02\n/com.google.devtools.clouderrorreporting.v1beta1B\x16\x45rrorGroupServiceProtoP\x01ZOcloud.google.com/go/errorreporting/apiv1beta1/errorreportingpb;errorreportingpb\xf8\x01\x01\xaa\x02#Google.Cloud.ErrorReporting.V1Beta1\xca\x02#Google\\Cloud\\ErrorReporting\\V1beta1\xea\x02&Google::Cloud::ErrorReporting::V1beta1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.devtools.clouderrorreporting.v1beta1.ErrorGroup", "google/devtools/clouderrorreporting/v1beta1/common.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-error_reporting-v1beta1/lib/google/devtools/clouderrorreporting/v1beta1/error_stats_service_pb.rb b/google-cloud-error_reporting-v1beta1/lib/google/devtools/clouderrorreporting/v1beta1/error_stats_service_pb.rb index 41e155c3e710..a1ca23e396a3 100644 --- a/google-cloud-error_reporting-v1beta1/lib/google/devtools/clouderrorreporting/v1beta1/error_stats_service_pb.rb +++ b/google-cloud-error_reporting-v1beta1/lib/google/devtools/clouderrorreporting/v1beta1/error_stats_service_pb.rb @@ -15,32 +15,8 @@ descriptor_data = "\nEgoogle/devtools/clouderrorreporting/v1beta1/error_stats_service.proto\x12+google.devtools.clouderrorreporting.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x38google/devtools/clouderrorreporting/v1beta1/common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x83\x05\n\x15ListGroupStatsRequest\x12I\n\x0cproject_name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x15\n\x08group_id\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12^\n\x0eservice_filter\x18\x03 \x01(\x0b\x32\x41.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilterB\x03\xe0\x41\x01\x12T\n\ntime_range\x18\x05 \x01(\x0b\x32;.google.devtools.clouderrorreporting.v1beta1.QueryTimeRangeB\x03\xe0\x41\x01\x12<\n\x14timed_count_duration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12X\n\talignment\x18\x07 \x01(\x0e\x32@.google.devtools.clouderrorreporting.v1beta1.TimedCountAlignmentB\x03\xe0\x41\x01\x12\x37\n\x0e\x61lignment_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12P\n\x05order\x18\t \x01(\x0e\x32<.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrderB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x0b \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x0c \x01(\tB\x03\xe0\x41\x01\"\xc0\x01\n\x16ListGroupStatsResponse\x12W\n\x11\x65rror_group_stats\x18\x01 \x03(\x0b\x32<.google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x34\n\x10time_range_begin\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x86\x04\n\x0f\x45rrorGroupStats\x12\x46\n\x05group\x18\x01 \x01(\x0b\x32\x37.google.devtools.clouderrorreporting.v1beta1.ErrorGroup\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\x12\x1c\n\x14\x61\x66\x66\x65\x63ted_users_count\x18\x03 \x01(\x03\x12M\n\x0ctimed_counts\x18\x04 \x03(\x0b\x32\x37.google.devtools.clouderrorreporting.v1beta1.TimedCount\x12\x33\n\x0f\x66irst_seen_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0elast_seen_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12V\n\x11\x61\x66\x66\x65\x63ted_services\x18\x07 \x03(\x0b\x32;.google.devtools.clouderrorreporting.v1beta1.ServiceContext\x12\x1d\n\x15num_affected_services\x18\x08 \x01(\x05\x12O\n\x0erepresentative\x18\t \x01(\x0b\x32\x37.google.devtools.clouderrorreporting.v1beta1.ErrorEvent\"y\n\nTimedCount\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xdc\x02\n\x11ListEventsRequest\x12I\n\x0cproject_name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x15\n\x08group_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12^\n\x0eservice_filter\x18\x03 \x01(\x0b\x32\x41.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilterB\x03\xe0\x41\x01\x12T\n\ntime_range\x18\x04 \x01(\x0b\x32;.google.devtools.clouderrorreporting.v1beta1.QueryTimeRangeB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x07 \x01(\tB\x03\xe0\x41\x01\"\xb2\x01\n\x12ListEventsResponse\x12M\n\x0c\x65rror_events\x18\x01 \x03(\x0b\x32\x37.google.devtools.clouderrorreporting.v1beta1.ErrorEvent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x34\n\x10time_range_begin\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xe7\x01\n\x0eQueryTimeRange\x12R\n\x06period\x18\x01 \x01(\x0e\x32\x42.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period\"\x80\x01\n\x06Period\x12\x16\n\x12PERIOD_UNSPECIFIED\x10\x00\x12\x11\n\rPERIOD_1_HOUR\x10\x01\x12\x12\n\x0ePERIOD_6_HOURS\x10\x02\x12\x10\n\x0cPERIOD_1_DAY\x10\x03\x12\x11\n\rPERIOD_1_WEEK\x10\x04\x12\x12\n\x0ePERIOD_30_DAYS\x10\x05\"^\n\x14ServiceContextFilter\x12\x14\n\x07service\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rresource_type\x18\x04 \x01(\tB\x03\xe0\x41\x01\"`\n\x13\x44\x65leteEventsRequest\x12I\n\x0cproject_name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\"\x16\n\x14\x44\x65leteEventsResponse*u\n\x13TimedCountAlignment\x12%\n!ERROR_COUNT_ALIGNMENT_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x41LIGNMENT_EQUAL_ROUNDED\x10\x01\x12\x1a\n\x16\x41LIGNMENT_EQUAL_AT_END\x10\x02*}\n\x0f\x45rrorGroupOrder\x12\x1b\n\x17GROUP_ORDER_UNSPECIFIED\x10\x00\x12\x0e\n\nCOUNT_DESC\x10\x01\x12\x12\n\x0eLAST_SEEN_DESC\x10\x02\x12\x10\n\x0c\x43REATED_DESC\x10\x03\x12\x17\n\x13\x41\x46\x46\x45\x43TED_USERS_DESC\x10\x04\x32\xbc\x07\n\x11\x45rrorStatsService\x12\xa8\x02\n\x0eListGroupStats\x12\x42.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest\x1a\x43.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse\"\x8c\x01\xda\x41\x17project_name,time_range\x82\xd3\xe4\x93\x02l\x12-/v1beta1/{project_name=projects/*}/groupStatsZ;\x12\x39/v1beta1/{project_name=projects/*/locations/*}/groupStats\x12\x92\x02\n\nListEvents\x12>.google.devtools.clouderrorreporting.v1beta1.ListEventsRequest\x1a?.google.devtools.clouderrorreporting.v1beta1.ListEventsResponse\"\x82\x01\xda\x41\x15project_name,group_id\x82\xd3\xe4\x93\x02\x64\x12)/v1beta1/{project_name=projects/*}/eventsZ7\x12\x35/v1beta1/{project_name=projects/*/locations/*}/events\x12\x8e\x02\n\x0c\x44\x65leteEvents\x12@.google.devtools.clouderrorreporting.v1beta1.DeleteEventsRequest\x1a\x41.google.devtools.clouderrorreporting.v1beta1.DeleteEventsResponse\"y\xda\x41\x0cproject_name\x82\xd3\xe4\x93\x02\x64*)/v1beta1/{project_name=projects/*}/eventsZ7*5/v1beta1/{project_name=projects/*/locations/*}/events\x1aV\xca\x41\"clouderrorreporting.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x94\x02\n/com.google.devtools.clouderrorreporting.v1beta1B\x16\x45rrorStatsServiceProtoP\x01ZOcloud.google.com/go/errorreporting/apiv1beta1/errorreportingpb;errorreportingpb\xf8\x01\x01\xaa\x02#Google.Cloud.ErrorReporting.V1Beta1\xca\x02#Google\\Cloud\\ErrorReporting\\V1beta1\xea\x02&Google::Cloud::ErrorReporting::V1beta1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Duration", "google/protobuf/duration.proto"], - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.devtools.clouderrorreporting.v1beta1.ErrorGroup", "google/devtools/clouderrorreporting/v1beta1/common.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-error_reporting-v1beta1/lib/google/devtools/clouderrorreporting/v1beta1/report_errors_service_pb.rb b/google-cloud-error_reporting-v1beta1/lib/google/devtools/clouderrorreporting/v1beta1/report_errors_service_pb.rb index 954e0f7ef700..ac4022b4c648 100644 --- a/google-cloud-error_reporting-v1beta1/lib/google/devtools/clouderrorreporting/v1beta1/report_errors_service_pb.rb +++ b/google-cloud-error_reporting-v1beta1/lib/google/devtools/clouderrorreporting/v1beta1/report_errors_service_pb.rb @@ -14,31 +14,8 @@ descriptor_data = "\nGgoogle/devtools/clouderrorreporting/v1beta1/report_errors_service.proto\x12+google.devtools.clouderrorreporting.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x38google/devtools/clouderrorreporting/v1beta1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb9\x01\n\x17ReportErrorEventRequest\x12I\n\x0cproject_name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12S\n\x05\x65vent\x18\x02 \x01(\x0b\x32?.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEventB\x03\xe0\x41\x02\"\x1a\n\x18ReportErrorEventResponse\"\x8b\x02\n\x12ReportedErrorEvent\x12\x33\n\nevent_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12Y\n\x0fservice_context\x18\x02 \x01(\x0b\x32;.google.devtools.clouderrorreporting.v1beta1.ServiceContextB\x03\xe0\x41\x02\x12\x14\n\x07message\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12O\n\x07\x63ontext\x18\x04 \x01(\x0b\x32\x39.google.devtools.clouderrorreporting.v1beta1.ErrorContextB\x03\xe0\x41\x01\x32\xe5\x02\n\x13ReportErrorsService\x12\xf5\x01\n\x10ReportErrorEvent\x12\x44.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventRequest\x1a\x45.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventResponse\"T\xda\x41\x12project_name,event\x82\xd3\xe4\x93\x02\x39\"0/v1beta1/{project_name=projects/*}/events:report:\x05\x65vent\x1aV\xca\x41\"clouderrorreporting.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x96\x02\n/com.google.devtools.clouderrorreporting.v1beta1B\x18ReportErrorsServiceProtoP\x01ZOcloud.google.com/go/errorreporting/apiv1beta1/errorreportingpb;errorreportingpb\xf8\x01\x01\xaa\x02#Google.Cloud.ErrorReporting.V1Beta1\xca\x02#Google\\Cloud\\ErrorReporting\\V1beta1\xea\x02&Google::Cloud::ErrorReporting::V1beta1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.devtools.clouderrorreporting.v1beta1.ServiceContext", "google/devtools/clouderrorreporting/v1beta1/common.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-essential_contacts-v1/lib/google/cloud/essentialcontacts/v1/enums_pb.rb b/google-cloud-essential_contacts-v1/lib/google/cloud/essentialcontacts/v1/enums_pb.rb index bd7d1c158d1e..2770aa32c206 100644 --- a/google-cloud-essential_contacts-v1/lib/google/cloud/essentialcontacts/v1/enums_pb.rb +++ b/google-cloud-essential_contacts-v1/lib/google/cloud/essentialcontacts/v1/enums_pb.rb @@ -7,29 +7,8 @@ descriptor_data = "\n-google/cloud/essentialcontacts/v1/enums.proto\x12!google.cloud.essentialcontacts.v1*\xb9\x01\n\x14NotificationCategory\x12%\n!NOTIFICATION_CATEGORY_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41LL\x10\x02\x12\x0e\n\nSUSPENSION\x10\x03\x12\x0c\n\x08SECURITY\x10\x05\x12\r\n\tTECHNICAL\x10\x06\x12\x0b\n\x07\x42ILLING\x10\x07\x12\t\n\x05LEGAL\x10\x08\x12\x13\n\x0fPRODUCT_UPDATES\x10\t\x12\x17\n\x13TECHNICAL_INCIDENTS\x10\n*K\n\x0fValidationState\x12 \n\x1cVALIDATION_STATE_UNSPECIFIED\x10\x00\x12\t\n\x05VALID\x10\x01\x12\x0b\n\x07INVALID\x10\x02\x42\xf9\x01\n%com.google.cloud.essentialcontacts.v1B\nEnumsProtoP\x01ZScloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb;essentialcontactspb\xaa\x02!Google.Cloud.EssentialContacts.V1\xca\x02!Google\\Cloud\\EssentialContacts\\V1\xea\x02$Google::Cloud::EssentialContacts::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-essential_contacts-v1/lib/google/cloud/essentialcontacts/v1/service_pb.rb b/google-cloud-essential_contacts-v1/lib/google/cloud/essentialcontacts/v1/service_pb.rb index 59de45b3928f..c304503d0f61 100644 --- a/google-cloud-essential_contacts-v1/lib/google/cloud/essentialcontacts/v1/service_pb.rb +++ b/google-cloud-essential_contacts-v1/lib/google/cloud/essentialcontacts/v1/service_pb.rb @@ -16,31 +16,8 @@ descriptor_data = "\n/google/cloud/essentialcontacts/v1/service.proto\x12!google.cloud.essentialcontacts.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/essentialcontacts/v1/enums.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xea\x03\n\x07\x43ontact\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05\x65mail\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12i\n#notification_category_subscriptions\x18\x03 \x03(\x0e\x32\x37.google.cloud.essentialcontacts.v1.NotificationCategoryB\x03\xe0\x41\x02\x12\x19\n\x0clanguage_tag\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12Q\n\x10validation_state\x18\x08 \x01(\x0e\x32\x32.google.cloud.essentialcontacts.v1.ValidationStateB\x03\xe0\x41\x03\x12\x31\n\rvalidate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\xab\x01\xea\x41\xa7\x01\n(essentialcontacts.googleapis.com/Contact\x12%projects/{project}/contacts/{contact}\x12#folders/{folder}/contacts/{contact}\x12/organizations/{organization}/contacts/{contact}\"\x88\x01\n\x13ListContactsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(essentialcontacts.googleapis.com/Contact\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"m\n\x14ListContactsResponse\x12<\n\x08\x63ontacts\x18\x01 \x03(\x0b\x32*.google.cloud.essentialcontacts.v1.Contact\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x11GetContactRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(essentialcontacts.googleapis.com/Contact\"V\n\x14\x44\x65leteContactRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(essentialcontacts.googleapis.com/Contact\"\x9a\x01\n\x14\x43reateContactRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(essentialcontacts.googleapis.com/Contact\x12@\n\x07\x63ontact\x18\x02 \x01(\x0b\x32*.google.cloud.essentialcontacts.v1.ContactB\x03\xe0\x41\x02\"\x8e\x01\n\x14UpdateContactRequest\x12@\n\x07\x63ontact\x18\x02 \x01(\x0b\x32*.google.cloud.essentialcontacts.v1.ContactB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\xe5\x01\n\x16\x43omputeContactsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(essentialcontacts.googleapis.com/Contact\x12X\n\x17notification_categories\x18\x06 \x03(\x0e\x32\x37.google.cloud.essentialcontacts.v1.NotificationCategory\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"p\n\x17\x43omputeContactsResponse\x12<\n\x08\x63ontacts\x18\x01 \x03(\x0b\x32*.google.cloud.essentialcontacts.v1.Contact\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xfd\x01\n\x16SendTestMessageRequest\x12\x42\n\x08\x63ontacts\x18\x01 \x03(\tB0\xe0\x41\x02\xfa\x41*\n(essentialcontacts.googleapis.com/Contact\x12\x42\n\x08resource\x18\x02 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(essentialcontacts.googleapis.com/Contact\x12[\n\x15notification_category\x18\x03 \x01(\x0e\x32\x37.google.cloud.essentialcontacts.v1.NotificationCategoryB\x03\xe0\x41\x02\x32\xcb\x0f\n\x18\x45ssentialContactsService\x12\x98\x02\n\rCreateContact\x12\x37.google.cloud.essentialcontacts.v1.CreateContactRequest\x1a*.google.cloud.essentialcontacts.v1.Contact\"\xa1\x01\xda\x41\x0eparent,contact\x82\xd3\xe4\x93\x02\x89\x01\" /v1/{parent=projects/*}/contacts:\x07\x63ontactZ*\"\x1f/v1/{parent=folders/*}/contacts:\x07\x63ontactZ0\"%/v1/{parent=organizations/*}/contacts:\x07\x63ontact\x12\xb5\x02\n\rUpdateContact\x12\x37.google.cloud.essentialcontacts.v1.UpdateContactRequest\x1a*.google.cloud.essentialcontacts.v1.Contact\"\xbe\x01\xda\x41\x13\x63ontact,update_mask\x82\xd3\xe4\x93\x02\xa1\x01\x32(/v1/{contact.name=projects/*/contacts/*}:\x07\x63ontactZ22\'/v1/{contact.name=folders/*/contacts/*}:\x07\x63ontactZ82-/v1/{contact.name=organizations/*/contacts/*}:\x07\x63ontact\x12\xfe\x01\n\x0cListContacts\x12\x36.google.cloud.essentialcontacts.v1.ListContactsRequest\x1a\x37.google.cloud.essentialcontacts.v1.ListContactsResponse\"}\xda\x41\x06parent\x82\xd3\xe4\x93\x02n\x12 /v1/{parent=projects/*}/contactsZ!\x12\x1f/v1/{parent=folders/*}/contactsZ\'\x12%/v1/{parent=organizations/*}/contacts\x12\xeb\x01\n\nGetContact\x12\x34.google.cloud.essentialcontacts.v1.GetContactRequest\x1a*.google.cloud.essentialcontacts.v1.Contact\"{\xda\x41\x04name\x82\xd3\xe4\x93\x02n\x12 /v1/{name=projects/*/contacts/*}Z!\x12\x1f/v1/{name=folders/*/contacts/*}Z\'\x12%/v1/{name=organizations/*/contacts/*}\x12\xdd\x01\n\rDeleteContact\x12\x37.google.cloud.essentialcontacts.v1.DeleteContactRequest\x1a\x16.google.protobuf.Empty\"{\xda\x41\x04name\x82\xd3\xe4\x93\x02n* /v1/{name=projects/*/contacts/*}Z!*\x1f/v1/{name=folders/*/contacts/*}Z\'*%/v1/{name=organizations/*/contacts/*}\x12\x98\x02\n\x0f\x43omputeContacts\x12\x39.google.cloud.essentialcontacts.v1.ComputeContactsRequest\x1a:.google.cloud.essentialcontacts.v1.ComputeContactsResponse\"\x8d\x01\x82\xd3\xe4\x93\x02\x86\x01\x12(/v1/{parent=projects/*}/contacts:computeZ)\x12\'/v1/{parent=folders/*}/contacts:computeZ/\x12-/v1/{parent=organizations/*}/contacts:compute\x12\x9b\x02\n\x0fSendTestMessage\x12\x39.google.cloud.essentialcontacts.v1.SendTestMessageRequest\x1a\x16.google.protobuf.Empty\"\xb4\x01\x82\xd3\xe4\x93\x02\xad\x01\"2/v1/{resource=projects/*}/contacts:sendTestMessage:\x01*Z6\"1/v1/{resource=folders/*}/contacts:sendTestMessage:\x01*Z<\"7/v1/{resource=organizations/*}/contacts:sendTestMessage:\x01*\x1aT\xca\x41 essentialcontacts.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xed\x01\n%com.google.cloud.essentialcontacts.v1P\x01ZScloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb;essentialcontactspb\xaa\x02!Google.Cloud.EssentialContacts.V1\xca\x02!Google\\Cloud\\EssentialContacts\\V1\xea\x02$Google::Cloud::EssentialContacts::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-eventarc-publishing-v1/.repo-metadata.json b/google-cloud-eventarc-publishing-v1/.repo-metadata.json index a40e18e91236..52c9adbef51c 100644 --- a/google-cloud-eventarc-publishing-v1/.repo-metadata.json +++ b/google-cloud-eventarc-publishing-v1/.repo-metadata.json @@ -11,7 +11,7 @@ "release_level": "stable", "repo": "googleapis/google-cloud-ruby", "requires_billing": true, - "ruby-cloud-description": "Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management — you can optimize productivity and costs while building a modern, event-driven solution. Note that google-cloud-eventarc-publishing-v1 is a version-specific client library. For most uses, we recommend installing the main client library google-cloud-eventarc-publishing instead. See the readme for more details.", + "ruby-cloud-description": "Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management ??? you can optimize productivity and costs while building a modern, event-driven solution. Note that google-cloud-eventarc-publishing-v1 is a version-specific client library. For most uses, we recommend installing the main client library google-cloud-eventarc-publishing instead. See the readme for more details.", "ruby-cloud-env-prefix": "EVENTARC", "ruby-cloud-product-url": "https://cloud.google.com/eventarc/", "library_type": "GAPIC_AUTO" diff --git a/google-cloud-eventarc-publishing-v1/README.md b/google-cloud-eventarc-publishing-v1/README.md index 4f3113c01616..f8f968cdca9c 100644 --- a/google-cloud-eventarc-publishing-v1/README.md +++ b/google-cloud-eventarc-publishing-v1/README.md @@ -2,7 +2,7 @@ Processes events generated by an event provider and delivers them to a subscriber. -Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management — you can optimize productivity and costs while building a modern, event-driven solution. +Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management ??? you can optimize productivity and costs while building a modern, event-driven solution. https://github.com/googleapis/google-cloud-ruby diff --git a/google-cloud-eventarc-publishing-v1/google-cloud-eventarc-publishing-v1.gemspec b/google-cloud-eventarc-publishing-v1/google-cloud-eventarc-publishing-v1.gemspec index 8e3d1d7363d7..1a6d4daff32a 100644 --- a/google-cloud-eventarc-publishing-v1/google-cloud-eventarc-publishing-v1.gemspec +++ b/google-cloud-eventarc-publishing-v1/google-cloud-eventarc-publishing-v1.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |gem| gem.authors = ["Google LLC"] gem.email = "googleapis-packages@google.com" - gem.description = "Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management — you can optimize productivity and costs while building a modern, event-driven solution. Note that google-cloud-eventarc-publishing-v1 is a version-specific client library. For most uses, we recommend installing the main client library google-cloud-eventarc-publishing instead. See the readme for more details." + gem.description = "Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management ??? you can optimize productivity and costs while building a modern, event-driven solution. Note that google-cloud-eventarc-publishing-v1 is a version-specific client library. For most uses, we recommend installing the main client library google-cloud-eventarc-publishing instead. See the readme for more details." gem.summary = "Processes events generated by an event provider and delivers them to a subscriber." gem.homepage = "https://github.com/googleapis/google-cloud-ruby" gem.license = "Apache-2.0" diff --git a/google-cloud-eventarc-publishing-v1/lib/google/cloud/eventarc/publishing/v1/cloud_event_pb.rb b/google-cloud-eventarc-publishing-v1/lib/google/cloud/eventarc/publishing/v1/cloud_event_pb.rb index 4b2b22ac2147..ccac539e0337 100644 --- a/google-cloud-eventarc-publishing-v1/lib/google/cloud/eventarc/publishing/v1/cloud_event_pb.rb +++ b/google-cloud-eventarc-publishing-v1/lib/google/cloud/eventarc/publishing/v1/cloud_event_pb.rb @@ -11,31 +11,8 @@ descriptor_data = "\n5google/cloud/eventarc/publishing/v1/cloud_event.proto\x12#google.cloud.eventarc.publishing.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfc\x04\n\nCloudEvent\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06source\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cspec_version\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04type\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12X\n\nattributes\x18\x05 \x03(\x0b\x32?.google.cloud.eventarc.publishing.v1.CloudEvent.AttributesEntryB\x03\xe0\x41\x01\x12\x1a\n\x0b\x62inary_data\x18\x06 \x01(\x0c\x42\x03\xe0\x41\x01H\x00\x12\x18\n\ttext_data\x18\x07 \x01(\tB\x03\xe0\x41\x01H\x00\x12/\n\nproto_data\x18\x08 \x01(\x0b\x32\x14.google.protobuf.AnyB\x03\xe0\x41\x01H\x00\x1a\xd3\x01\n\x18\x43loudEventAttributeValue\x12\x14\n\nce_boolean\x18\x01 \x01(\x08H\x00\x12\x14\n\nce_integer\x18\x02 \x01(\x05H\x00\x12\x13\n\tce_string\x18\x03 \x01(\tH\x00\x12\x12\n\x08\x63\x65_bytes\x18\x04 \x01(\x0cH\x00\x12\x10\n\x06\x63\x65_uri\x18\x05 \x01(\tH\x00\x12\x14\n\nce_uri_ref\x18\x06 \x01(\tH\x00\x12\x32\n\x0c\x63\x65_timestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x42\x06\n\x04\x61ttr\x1a{\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12W\n\x05value\x18\x02 \x01(\x0b\x32H.google.cloud.eventarc.publishing.v1.CloudEvent.CloudEventAttributeValue:\x02\x38\x01\x42\x06\n\x04\x64\x61taB\xfb\x01\n\'com.google.cloud.eventarc.publishing.v1B\x0f\x43loudEventProtoP\x01ZGcloud.google.com/go/eventarc/publishing/apiv1/publishingpb;publishingpb\xaa\x02#Google.Cloud.Eventarc.Publishing.V1\xca\x02#Google\\Cloud\\Eventarc\\Publishing\\V1\xea\x02\'Google::Cloud::Eventarc::Publishing::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Any", "google/protobuf/any.proto"], - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-eventarc-publishing-v1/lib/google/cloud/eventarc/publishing/v1/publisher_pb.rb b/google-cloud-eventarc-publishing-v1/lib/google/cloud/eventarc/publishing/v1/publisher_pb.rb index 624ebfd71e45..67dc5b810e11 100644 --- a/google-cloud-eventarc-publishing-v1/lib/google/cloud/eventarc/publishing/v1/publisher_pb.rb +++ b/google-cloud-eventarc-publishing-v1/lib/google/cloud/eventarc/publishing/v1/publisher_pb.rb @@ -14,31 +14,8 @@ descriptor_data = "\n3google/cloud/eventarc/publishing/v1/publisher.proto\x12#google.cloud.eventarc.publishing.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x35google/cloud/eventarc/publishing/v1/cloud_event.proto\x1a\x19google/protobuf/any.proto\"~\n%PublishChannelConnectionEventsRequest\x12\x1a\n\x12\x63hannel_connection\x18\x01 \x01(\t\x12$\n\x06\x65vents\x18\x02 \x03(\x0b\x32\x14.google.protobuf.Any\x12\x13\n\x0btext_events\x18\x03 \x03(\t\"(\n&PublishChannelConnectionEventsResponse\"b\n\x14PublishEventsRequest\x12\x0f\n\x07\x63hannel\x18\x01 \x01(\t\x12$\n\x06\x65vents\x18\x02 \x03(\x0b\x32\x14.google.protobuf.Any\x12\x13\n\x0btext_events\x18\x03 \x03(\t\"\x17\n\x15PublishEventsResponse\"\xae\x01\n\x0ePublishRequest\x12\x18\n\x0bmessage_bus\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12H\n\rproto_message\x18\x02 \x01(\x0b\x32/.google.cloud.eventarc.publishing.v1.CloudEventH\x00\x12\x16\n\x0cjson_message\x18\x03 \x01(\tH\x00\x12\x16\n\x0c\x61vro_message\x18\x04 \x01(\x0cH\x00\x42\x08\n\x06\x66ormat\"\x11\n\x0fPublishResponse2\x93\x06\n\tPublisher\x12\x98\x02\n\x1ePublishChannelConnectionEvents\x12J.google.cloud.eventarc.publishing.v1.PublishChannelConnectionEventsRequest\x1aK.google.cloud.eventarc.publishing.v1.PublishChannelConnectionEventsResponse\"]\x82\xd3\xe4\x93\x02W\"R/v1/{channel_connection=projects/*/locations/*/channelConnections/*}:publishEvents:\x01*\x12\xd0\x01\n\rPublishEvents\x12\x39.google.cloud.eventarc.publishing.v1.PublishEventsRequest\x1a:.google.cloud.eventarc.publishing.v1.PublishEventsResponse\"H\x82\xd3\xe4\x93\x02\x42\"=/v1/{channel=projects/*/locations/*/channels/*}:publishEvents:\x01*\x12\xc0\x01\n\x07Publish\x12\x33.google.cloud.eventarc.publishing.v1.PublishRequest\x1a\x34.google.cloud.eventarc.publishing.v1.PublishResponse\"J\x82\xd3\xe4\x93\x02\x44\"?/v1/{message_bus=projects/*/locations/*/messageBuses/*}:publish:\x01*\x1aU\xca\x41!eventarcpublishing.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xfa\x01\n\'com.google.cloud.eventarc.publishing.v1B\x0ePublisherProtoP\x01ZGcloud.google.com/go/eventarc/publishing/apiv1/publishingpb;publishingpb\xaa\x02#Google.Cloud.Eventarc.Publishing.V1\xca\x02#Google\\Cloud\\Eventarc\\Publishing\\V1\xea\x02\'Google::Cloud::Eventarc::Publishing::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Any", "google/protobuf/any.proto"], - ["google.cloud.eventarc.publishing.v1.CloudEvent", "google/cloud/eventarc/publishing/v1/cloud_event.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-eventarc-publishing/.repo-metadata.json b/google-cloud-eventarc-publishing/.repo-metadata.json index 25e976d05eda..a186eaa7610f 100644 --- a/google-cloud-eventarc-publishing/.repo-metadata.json +++ b/google-cloud-eventarc-publishing/.repo-metadata.json @@ -11,7 +11,7 @@ "release_level": "stable", "repo": "googleapis/google-cloud-ruby", "requires_billing": true, - "ruby-cloud-description": "Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management — you can optimize productivity and costs while building a modern, event-driven solution.", + "ruby-cloud-description": "Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management ??? you can optimize productivity and costs while building a modern, event-driven solution.", "ruby-cloud-env-prefix": "EVENTARC", "ruby-cloud-product-url": "https://cloud.google.com/eventarc/", "library_type": "GAPIC_MANUAL" diff --git a/google-cloud-eventarc-publishing/README.md b/google-cloud-eventarc-publishing/README.md index 799c323688b8..10a56bcf483e 100644 --- a/google-cloud-eventarc-publishing/README.md +++ b/google-cloud-eventarc-publishing/README.md @@ -2,7 +2,7 @@ API Client library for the Eventarc Publishing API -Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management — you can optimize productivity and costs while building a modern, event-driven solution. +Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management ??? you can optimize productivity and costs while building a modern, event-driven solution. Actual client classes for the various versions of this API are defined in _versioned_ client gems, with names of the form `google-cloud-eventarc-publishing-v*`. diff --git a/google-cloud-eventarc-publishing/google-cloud-eventarc-publishing.gemspec b/google-cloud-eventarc-publishing/google-cloud-eventarc-publishing.gemspec index 8bb1beb85efe..ec2d15df291d 100644 --- a/google-cloud-eventarc-publishing/google-cloud-eventarc-publishing.gemspec +++ b/google-cloud-eventarc-publishing/google-cloud-eventarc-publishing.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |gem| gem.authors = ["Google LLC"] gem.email = "googleapis-packages@google.com" - gem.description = "Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management — you can optimize productivity and costs while building a modern, event-driven solution." + gem.description = "Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management ??? you can optimize productivity and costs while building a modern, event-driven solution." gem.summary = "API Client library for the Eventarc Publishing API" gem.homepage = "https://github.com/googleapis/google-cloud-ruby" gem.license = "Apache-2.0" diff --git a/google-cloud-eventarc-v1/.repo-metadata.json b/google-cloud-eventarc-v1/.repo-metadata.json index 51a08e355729..4708cbdb2563 100644 --- a/google-cloud-eventarc-v1/.repo-metadata.json +++ b/google-cloud-eventarc-v1/.repo-metadata.json @@ -11,7 +11,7 @@ "release_level": "stable", "repo": "googleapis/google-cloud-ruby", "requires_billing": true, - "ruby-cloud-description": "Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management — you can optimize productivity and costs while building a modern, event-driven solution. Note that google-cloud-eventarc-v1 is a version-specific client library. For most uses, we recommend installing the main client library google-cloud-eventarc instead. See the readme for more details.", + "ruby-cloud-description": "Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management ??? you can optimize productivity and costs while building a modern, event-driven solution. Note that google-cloud-eventarc-v1 is a version-specific client library. For most uses, we recommend installing the main client library google-cloud-eventarc instead. See the readme for more details.", "ruby-cloud-env-prefix": "EVENTARC", "ruby-cloud-product-url": "https://cloud.google.com/eventarc/", "library_type": "GAPIC_AUTO" diff --git a/google-cloud-eventarc-v1/README.md b/google-cloud-eventarc-v1/README.md index 7f75e675cf2c..5e304609a5d4 100644 --- a/google-cloud-eventarc-v1/README.md +++ b/google-cloud-eventarc-v1/README.md @@ -2,7 +2,7 @@ Build event-driven applications on Google Cloud Platform. -Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management — you can optimize productivity and costs while building a modern, event-driven solution. +Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management ??? you can optimize productivity and costs while building a modern, event-driven solution. https://github.com/googleapis/google-cloud-ruby diff --git a/google-cloud-eventarc-v1/google-cloud-eventarc-v1.gemspec b/google-cloud-eventarc-v1/google-cloud-eventarc-v1.gemspec index 88e91d7a851a..f6aaabcddd63 100644 --- a/google-cloud-eventarc-v1/google-cloud-eventarc-v1.gemspec +++ b/google-cloud-eventarc-v1/google-cloud-eventarc-v1.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |gem| gem.authors = ["Google LLC"] gem.email = "googleapis-packages@google.com" - gem.description = "Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management — you can optimize productivity and costs while building a modern, event-driven solution. Note that google-cloud-eventarc-v1 is a version-specific client library. For most uses, we recommend installing the main client library google-cloud-eventarc instead. See the readme for more details." + gem.description = "Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management ??? you can optimize productivity and costs while building a modern, event-driven solution. Note that google-cloud-eventarc-v1 is a version-specific client library. For most uses, we recommend installing the main client library google-cloud-eventarc instead. See the readme for more details." gem.summary = "Build event-driven applications on Google Cloud Platform." gem.homepage = "https://github.com/googleapis/google-cloud-ruby" gem.license = "Apache-2.0" diff --git a/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/channel_connection_pb.rb b/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/channel_connection_pb.rb index 3ba7d0551de8..7c37578b3f1d 100644 --- a/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/channel_connection_pb.rb +++ b/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/channel_connection_pb.rb @@ -11,30 +11,8 @@ descriptor_data = "\n1google/cloud/eventarc/v1/channel_connection.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa4\x04\n\x11\x43hannelConnection\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x38\n\x07\x63hannel\x18\x05 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x65ventarc.googleapis.com/Channel\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1d\n\x10\x61\x63tivation_token\x18\x08 \x01(\tB\x03\xe0\x41\x04\x12L\n\x06labels\x18\t \x03(\x0b\x32\x37.google.cloud.eventarc.v1.ChannelConnection.LabelsEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xa7\x01\xea\x41\xa3\x01\n)eventarc.googleapis.com/ChannelConnection\x12Oprojects/{project}/locations/{location}/channelConnections/{channel_connection}*\x12\x63hannelConnections2\x11\x63hannelConnectionB\xc6\x01\n\x1c\x63om.google.cloud.eventarc.v1B\x16\x43hannelConnectionProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/channel_pb.rb b/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/channel_pb.rb index 1f27d9bc928e..631f5a5d9d0a 100644 --- a/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/channel_pb.rb +++ b/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/channel_pb.rb @@ -11,30 +11,8 @@ descriptor_data = "\n&google/cloud/eventarc/v1/channel.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc1\x05\n\x07\x43hannel\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x10\n\x08provider\x18\x07 \x01(\t\x12\x1b\n\x0cpubsub_topic\x18\x08 \x01(\tB\x03\xe0\x41\x03H\x00\x12;\n\x05state\x18\t \x01(\x0e\x32\'.google.cloud.eventarc.v1.Channel.StateB\x03\xe0\x41\x03\x12\x1d\n\x10\x61\x63tivation_token\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x42\n\x0f\x63rypto_key_name\x18\x0b \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x1a\n\rsatisfies_pzs\x18\x0c \x01(\x08\x42\x03\xe0\x41\x03\x12\x42\n\x06labels\x18\r \x03(\x0b\x32-.google.cloud.eventarc.v1.Channel.LabelsEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08INACTIVE\x10\x03:s\xea\x41p\n\x1f\x65ventarc.googleapis.com/Channel\x12:projects/{project}/locations/{location}/channels/{channel}*\x08\x63hannels2\x07\x63hannelB\x0b\n\ttransportB\xbc\x01\n\x1c\x63om.google.cloud.eventarc.v1B\x0c\x43hannelProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/discovery_pb.rb b/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/discovery_pb.rb index 8392d17fa96e..2eeacc8985ae 100644 --- a/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/discovery_pb.rb +++ b/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/discovery_pb.rb @@ -10,29 +10,8 @@ descriptor_data = "\n(google/cloud/eventarc/v1/discovery.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xf1\x01\n\x08Provider\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12=\n\x0b\x65vent_types\x18\x03 \x03(\x0b\x32#.google.cloud.eventarc.v1.EventTypeB\x03\xe0\x41\x03:x\xea\x41u\n eventarc.googleapis.com/Provider\x12\n\x0bmessage_bus\x18\x02 \x01(\x0b\x32$.google.cloud.eventarc.v1.MessageBusB\x03\xe0\x41\x02\x12\x1b\n\x0emessage_bus_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xc7\x01\n\x17UpdateMessageBusRequest\x12>\n\x0bmessage_bus\x18\x01 \x01(\x0b\x32$.google.cloud.eventarc.v1.MessageBusB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x9e\x01\n\x17\x44\x65leteMessageBusRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"eventarc.googleapis.com/MessageBus\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"P\n\x14GetEnrollmentRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"eventarc.googleapis.com/Enrollment\"\xb1\x01\n\x16ListEnrollmentsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"eventarc.googleapis.com/Enrollment\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x82\x01\n\x17ListEnrollmentsResponse\x12\x39\n\x0b\x65nrollments\x18\x01 \x03(\x0b\x32$.google.cloud.eventarc.v1.Enrollment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xcc\x01\n\x17\x43reateEnrollmentRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"eventarc.googleapis.com/Enrollment\x12=\n\nenrollment\x18\x02 \x01(\x0b\x32$.google.cloud.eventarc.v1.EnrollmentB\x03\xe0\x41\x02\x12\x1a\n\renrollment_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xc6\x01\n\x17UpdateEnrollmentRequest\x12=\n\nenrollment\x18\x01 \x01(\x0b\x32$.google.cloud.eventarc.v1.EnrollmentB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x9e\x01\n\x17\x44\x65leteEnrollmentRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"eventarc.googleapis.com/Enrollment\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"L\n\x12GetPipelineRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n eventarc.googleapis.com/Pipeline\"\xad\x01\n\x14ListPipelinesRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 eventarc.googleapis.com/Pipeline\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\"|\n\x15ListPipelinesResponse\x12\x35\n\tpipelines\x18\x01 \x03(\x0b\x32\".google.cloud.eventarc.v1.Pipeline\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xc2\x01\n\x15\x43reatePipelineRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 eventarc.googleapis.com/Pipeline\x12\x39\n\x08pipeline\x18\x02 \x01(\x0b\x32\".google.cloud.eventarc.v1.PipelineB\x03\xe0\x41\x02\x12\x18\n\x0bpipeline_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xc0\x01\n\x15UpdatePipelineRequest\x12\x39\n\x08pipeline\x18\x01 \x01(\x0b\x32\".google.cloud.eventarc.v1.PipelineB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x9a\x01\n\x15\x44\x65letePipelineRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n eventarc.googleapis.com/Pipeline\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"Z\n\x19GetGoogleApiSourceRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'eventarc.googleapis.com/GoogleApiSource\"\xbb\x01\n\x1bListGoogleApiSourcesRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'eventarc.googleapis.com/GoogleApiSource\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x93\x01\n\x1cListGoogleApiSourcesResponse\x12\x45\n\x12google_api_sources\x18\x01 \x03(\x0b\x32).google.cloud.eventarc.v1.GoogleApiSource\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xe9\x01\n\x1c\x43reateGoogleApiSourceRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'eventarc.googleapis.com/GoogleApiSource\x12I\n\x11google_api_source\x18\x02 \x01(\x0b\x32).google.cloud.eventarc.v1.GoogleApiSourceB\x03\xe0\x41\x02\x12!\n\x14google_api_source_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xd7\x01\n\x1cUpdateGoogleApiSourceRequest\x12I\n\x11google_api_source\x18\x01 \x01(\x0b\x32).google.cloud.eventarc.v1.GoogleApiSourceB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xa8\x01\n\x1c\x44\x65leteGoogleApiSourceRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'eventarc.googleapis.com/GoogleApiSource\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xf5@\n\x08\x45ventarc\x12\x99\x01\n\nGetTrigger\x12+.google.cloud.eventarc.v1.GetTriggerRequest\x1a!.google.cloud.eventarc.v1.Trigger\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/triggers/*}\x12\xac\x01\n\x0cListTriggers\x12-.google.cloud.eventarc.v1.ListTriggersRequest\x1a..google.cloud.eventarc.v1.ListTriggersResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/triggers\x12\xd8\x01\n\rCreateTrigger\x12..google.cloud.eventarc.v1.CreateTriggerRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x1c\n\x07Trigger\x12\x11OperationMetadata\xda\x41\x19parent,trigger,trigger_id\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/triggers:\x07trigger\x12\xe9\x01\n\rUpdateTrigger\x12..google.cloud.eventarc.v1.UpdateTriggerRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\xca\x41\x1c\n\x07Trigger\x12\x11OperationMetadata\xda\x41!trigger,update_mask,allow_missing\x82\xd3\xe4\x93\x02?24/v1/{trigger.name=projects/*/locations/*/triggers/*}:\x07trigger\x12\xc8\x01\n\rDeleteTrigger\x12..google.cloud.eventarc.v1.DeleteTriggerRequest\x1a\x1d.google.longrunning.Operation\"h\xca\x41\x1c\n\x07Trigger\x12\x11OperationMetadata\xda\x41\x12name,allow_missing\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/triggers/*}\x12\x99\x01\n\nGetChannel\x12+.google.cloud.eventarc.v1.GetChannelRequest\x1a!.google.cloud.eventarc.v1.Channel\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/channels/*}\x12\xac\x01\n\x0cListChannels\x12-.google.cloud.eventarc.v1.ListChannelsRequest\x1a..google.cloud.eventarc.v1.ListChannelsResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/channels\x12\xd8\x01\n\rCreateChannel\x12..google.cloud.eventarc.v1.CreateChannelRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x1c\n\x07\x43hannel\x12\x11OperationMetadata\xda\x41\x19parent,channel,channel_id\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/channels:\x07\x63hannel\x12\xda\x01\n\rUpdateChannel\x12..google.cloud.eventarc.v1.UpdateChannelRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41\x1c\n\x07\x43hannel\x12\x11OperationMetadata\xda\x41\x13\x63hannel,update_mask\x82\xd3\xe4\x93\x02?24/v1/{channel.name=projects/*/locations/*/channels/*}:\x07\x63hannel\x12\xba\x01\n\rDeleteChannel\x12..google.cloud.eventarc.v1.DeleteChannelRequest\x1a\x1d.google.longrunning.Operation\"Z\xca\x41\x1c\n\x07\x43hannel\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/channels/*}\x12\x9d\x01\n\x0bGetProvider\x12,.google.cloud.eventarc.v1.GetProviderRequest\x1a\".google.cloud.eventarc.v1.Provider\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/providers/*}\x12\xb0\x01\n\rListProviders\x12..google.cloud.eventarc.v1.ListProvidersRequest\x1a/.google.cloud.eventarc.v1.ListProvidersResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/providers\x12\xc1\x01\n\x14GetChannelConnection\x12\x35.google.cloud.eventarc.v1.GetChannelConnectionRequest\x1a+.google.cloud.eventarc.v1.ChannelConnection\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/channelConnections/*}\x12\xd4\x01\n\x16ListChannelConnections\x12\x37.google.cloud.eventarc.v1.ListChannelConnectionsRequest\x1a\x38.google.cloud.eventarc.v1.ListChannelConnectionsResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/*}/channelConnections\x12\xa2\x02\n\x17\x43reateChannelConnection\x12\x38.google.cloud.eventarc.v1.CreateChannelConnectionRequest\x1a\x1d.google.longrunning.Operation\"\xad\x01\xca\x41&\n\x11\x43hannelConnection\x12\x11OperationMetadata\xda\x41/parent,channel_connection,channel_connection_id\x82\xd3\xe4\x93\x02L\"6/v1/{parent=projects/*/locations/*}/channelConnections:\x12\x63hannel_connection\x12\xe2\x01\n\x17\x44\x65leteChannelConnection\x12\x38.google.cloud.eventarc.v1.DeleteChannelConnectionRequest\x1a\x1d.google.longrunning.Operation\"n\xca\x41&\n\x11\x43hannelConnection\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38*6/v1/{name=projects/*/locations/*/channelConnections/*}\x12\xc6\x01\n\x16GetGoogleChannelConfig\x12\x37.google.cloud.eventarc.v1.GetGoogleChannelConfigRequest\x1a-.google.cloud.eventarc.v1.GoogleChannelConfig\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/googleChannelConfig}\x12\x97\x02\n\x19UpdateGoogleChannelConfig\x12:.google.cloud.eventarc.v1.UpdateGoogleChannelConfigRequest\x1a-.google.cloud.eventarc.v1.GoogleChannelConfig\"\x8e\x01\xda\x41!google_channel_config,update_mask\x82\xd3\xe4\x93\x02\x64\x32K/v1/{google_channel_config.name=projects/*/locations/*/googleChannelConfig}:\x15google_channel_config\x12\xa6\x01\n\rGetMessageBus\x12..google.cloud.eventarc.v1.GetMessageBusRequest\x1a$.google.cloud.eventarc.v1.MessageBus\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/messageBuses/*}\x12\xbc\x01\n\x10ListMessageBuses\x12\x31.google.cloud.eventarc.v1.ListMessageBusesRequest\x1a\x32.google.cloud.eventarc.v1.ListMessageBusesResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/messageBuses\x12\xe9\x01\n\x19ListMessageBusEnrollments\x12:.google.cloud.eventarc.v1.ListMessageBusEnrollmentsRequest\x1a;.google.cloud.eventarc.v1.ListMessageBusEnrollmentsResponse\"S\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{parent=projects/*/locations/*/messageBuses/*}:listEnrollments\x12\xf2\x01\n\x10\x43reateMessageBus\x12\x31.google.cloud.eventarc.v1.CreateMessageBusRequest\x1a\x1d.google.longrunning.Operation\"\x8b\x01\xca\x41\x1f\n\nMessageBus\x12\x11OperationMetadata\xda\x41!parent,message_bus,message_bus_id\x82\xd3\xe4\x93\x02?\"0/v1/{parent=projects/*/locations/*}/messageBuses:\x0bmessage_bus\x12\xf4\x01\n\x10UpdateMessageBus\x12\x31.google.cloud.eventarc.v1.UpdateMessageBusRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\xca\x41\x1f\n\nMessageBus\x12\x11OperationMetadata\xda\x41\x17message_bus,update_mask\x82\xd3\xe4\x93\x02K2\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/enrollments/*}\x12\xb8\x01\n\x0fListEnrollments\x12\x30.google.cloud.eventarc.v1.ListEnrollmentsRequest\x1a\x31.google.cloud.eventarc.v1.ListEnrollmentsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/enrollments\x12\xee\x01\n\x10\x43reateEnrollment\x12\x31.google.cloud.eventarc.v1.CreateEnrollmentRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41\x1f\n\nEnrollment\x12\x11OperationMetadata\xda\x41\x1fparent,enrollment,enrollment_id\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/enrollments:\nenrollment\x12\xf0\x01\n\x10UpdateEnrollment\x12\x31.google.cloud.eventarc.v1.UpdateEnrollmentRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41\x1f\n\nEnrollment\x12\x11OperationMetadata\xda\x41\x16\x65nrollment,update_mask\x82\xd3\xe4\x93\x02H2:/v1/{enrollment.name=projects/*/locations/*/enrollments/*}:\nenrollment\x12\xcb\x01\n\x10\x44\x65leteEnrollment\x12\x31.google.cloud.eventarc.v1.DeleteEnrollmentRequest\x1a\x1d.google.longrunning.Operation\"e\xca\x41\x1f\n\nEnrollment\x12\x11OperationMetadata\xda\x41\tname,etag\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/enrollments/*}\x12\x9d\x01\n\x0bGetPipeline\x12,.google.cloud.eventarc.v1.GetPipelineRequest\x1a\".google.cloud.eventarc.v1.Pipeline\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/pipelines/*}\x12\xb0\x01\n\rListPipelines\x12..google.cloud.eventarc.v1.ListPipelinesRequest\x1a/.google.cloud.eventarc.v1.ListPipelinesResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/pipelines\x12\xdf\x01\n\x0e\x43reatePipeline\x12/.google.cloud.eventarc.v1.CreatePipelineRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x1d\n\x08Pipeline\x12\x11OperationMetadata\xda\x41\x1bparent,pipeline,pipeline_id\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/pipelines:\x08pipeline\x12\xe1\x01\n\x0eUpdatePipeline\x12/.google.cloud.eventarc.v1.UpdatePipelineRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x1d\n\x08Pipeline\x12\x11OperationMetadata\xda\x41\x14pipeline,update_mask\x82\xd3\xe4\x93\x02\x42\x32\x36/v1/{pipeline.name=projects/*/locations/*/pipelines/*}:\x08pipeline\x12\xc3\x01\n\x0e\x44\x65letePipeline\x12/.google.cloud.eventarc.v1.DeletePipelineRequest\x1a\x1d.google.longrunning.Operation\"a\xca\x41\x1d\n\x08Pipeline\x12\x11OperationMetadata\xda\x41\tname,etag\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/pipelines/*}\x12\xb9\x01\n\x12GetGoogleApiSource\x12\x33.google.cloud.eventarc.v1.GetGoogleApiSourceRequest\x1a).google.cloud.eventarc.v1.GoogleApiSource\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=projects/*/locations/*/googleApiSources/*}\x12\xcc\x01\n\x14ListGoogleApiSources\x12\x35.google.cloud.eventarc.v1.ListGoogleApiSourcesRequest\x1a\x36.google.cloud.eventarc.v1.ListGoogleApiSourcesResponse\"E\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{parent=projects/*/locations/*}/googleApiSources\x12\x97\x02\n\x15\x43reateGoogleApiSource\x12\x36.google.cloud.eventarc.v1.CreateGoogleApiSourceRequest\x1a\x1d.google.longrunning.Operation\"\xa6\x01\xca\x41$\n\x0fGoogleApiSource\x12\x11OperationMetadata\xda\x41-parent,google_api_source,google_api_source_id\x82\xd3\xe4\x93\x02I\"4/v1/{parent=projects/*/locations/*}/googleApiSources:\x11google_api_source\x12\x99\x02\n\x15UpdateGoogleApiSource\x12\x36.google.cloud.eventarc.v1.UpdateGoogleApiSourceRequest\x1a\x1d.google.longrunning.Operation\"\xa8\x01\xca\x41$\n\x0fGoogleApiSource\x12\x11OperationMetadata\xda\x41\x1dgoogle_api_source,update_mask\x82\xd3\xe4\x93\x02[2F/v1/{google_api_source.name=projects/*/locations/*/googleApiSources/*}:\x11google_api_source\x12\xdf\x01\n\x15\x44\x65leteGoogleApiSource\x12\x36.google.cloud.eventarc.v1.DeleteGoogleApiSourceRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41$\n\x0fGoogleApiSource\x12\x11OperationMetadata\xda\x41\tname,etag\x82\xd3\xe4\x93\x02\x36*4/v1/{name=projects/*/locations/*/googleApiSources/*}\x1aK\xca\x41\x17\x65ventarc.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xbd\x01\n\x1c\x63om.google.cloud.eventarc.v1B\rEventarcProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.cloud.eventarc.v1.Trigger", "google/cloud/eventarc/v1/trigger.proto"], - ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], - ["google.cloud.eventarc.v1.Channel", "google/cloud/eventarc/v1/channel.proto"], - ["google.cloud.eventarc.v1.Provider", "google/cloud/eventarc/v1/discovery.proto"], - ["google.cloud.eventarc.v1.ChannelConnection", "google/cloud/eventarc/v1/channel_connection.proto"], - ["google.cloud.eventarc.v1.GoogleChannelConfig", "google/cloud/eventarc/v1/google_channel_config.proto"], - ["google.cloud.eventarc.v1.MessageBus", "google/cloud/eventarc/v1/message_bus.proto"], - ["google.cloud.eventarc.v1.Enrollment", "google/cloud/eventarc/v1/enrollment.proto"], - ["google.cloud.eventarc.v1.Pipeline", "google/cloud/eventarc/v1/pipeline.proto"], - ["google.cloud.eventarc.v1.GoogleApiSource", "google/cloud/eventarc/v1/google_api_source.proto"], - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/google_api_source_pb.rb b/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/google_api_source_pb.rb index e3c9e2336923..0190a65922ae 100644 --- a/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/google_api_source_pb.rb +++ b/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/google_api_source_pb.rb @@ -13,31 +13,8 @@ descriptor_data = "\n0google/cloud/eventarc/v1/google_api_source.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/eventarc/v1/logging_config.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x95\t\n\x0fGoogleApiSource\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x18\n\x03uid\x18\x02 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12J\n\x06labels\x18\x06 \x03(\x0b\x32\x35.google.cloud.eventarc.v1.GoogleApiSource.LabelsEntryB\x03\xe0\x41\x01\x12T\n\x0b\x61nnotations\x18\x07 \x03(\x0b\x32:.google.cloud.eventarc.v1.GoogleApiSource.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12?\n\x0b\x64\x65stination\x18\t \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"eventarc.googleapis.com/MessageBus\x12\x42\n\x0f\x63rypto_key_name\x18\n \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x44\n\x0elogging_config\x18\x0b \x01(\x0b\x32\'.google.cloud.eventarc.v1.LoggingConfigB\x03\xe0\x41\x01\x12l\n\x19organization_subscription\x18\x0c \x01(\x0b\x32\x42.google.cloud.eventarc.v1.GoogleApiSource.OrganizationSubscriptionB\x03\xe0\x41\x01H\x00\x12\x64\n\x15project_subscriptions\x18\r \x01(\x0b\x32>.google.cloud.eventarc.v1.GoogleApiSource.ProjectSubscriptionsB\x03\xe0\x41\x01H\x00\x1a)\n\x14ProjectSubscriptions\x12\x11\n\x04list\x18\x01 \x03(\tB\x03\xe0\x41\x02\x1a\x30\n\x18OrganizationSubscription\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x9e\x01\xea\x41\x9a\x01\n\'eventarc.googleapis.com/GoogleApiSource\x12Lprojects/{project}/locations/{location}/googleApiSources/{google_api_source}*\x10googleApiSources2\x0fgoogleApiSourceB\x19\n\x17wide_scope_subscriptionB\xc4\x01\n\x1c\x63om.google.cloud.eventarc.v1B\x14GoogleApiSourceProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.cloud.eventarc.v1.LoggingConfig", "google/cloud/eventarc/v1/logging_config.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/google_channel_config_pb.rb b/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/google_channel_config_pb.rb index a13ab31abd3f..7ff644b9e94c 100644 --- a/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/google_channel_config_pb.rb +++ b/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/google_channel_config_pb.rb @@ -11,30 +11,8 @@ descriptor_data = "\n4google/cloud/eventarc/v1/google_channel_config.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbd\x03\n\x13GoogleChannelConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x42\n\x0f\x63rypto_key_name\x18\x07 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12N\n\x06labels\x18\x08 \x03(\x0b\x32\x39.google.cloud.eventarc.v1.GoogleChannelConfig.LabelsEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x99\x01\xea\x41\x95\x01\n+eventarc.googleapis.com/GoogleChannelConfig\x12;projects/{project}/locations/{location}/googleChannelConfig*\x14googleChannelConfigs2\x13googleChannelConfigB\xc3\x02\n\x1c\x63om.google.cloud.eventarc.v1B\x18GoogleChannelConfigProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/logging_config_pb.rb b/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/logging_config_pb.rb index 0d0339e543e0..0e0e5b3a113f 100644 --- a/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/logging_config_pb.rb +++ b/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/logging_config_pb.rb @@ -9,29 +9,8 @@ descriptor_data = "\n-google/cloud/eventarc/v1/logging_config.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xf8\x01\n\rLoggingConfig\x12N\n\x0clog_severity\x18\x01 \x01(\x0e\x32\x33.google.cloud.eventarc.v1.LoggingConfig.LogSeverityB\x03\xe0\x41\x01\"\x96\x01\n\x0bLogSeverity\x12\x1c\n\x18LOG_SEVERITY_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\t\n\x05\x44\x45\x42UG\x10\x02\x12\x08\n\x04INFO\x10\x03\x12\n\n\x06NOTICE\x10\x04\x12\x0b\n\x07WARNING\x10\x05\x12\t\n\x05\x45RROR\x10\x06\x12\x0c\n\x08\x43RITICAL\x10\x07\x12\t\n\x05\x41LERT\x10\x08\x12\r\n\tEMERGENCY\x10\tB\xc2\x01\n\x1c\x63om.google.cloud.eventarc.v1B\x12LoggingConfigProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/message_bus_pb.rb b/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/message_bus_pb.rb index 7eb68a2df02e..1111a865dd41 100644 --- a/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/message_bus_pb.rb +++ b/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/message_bus_pb.rb @@ -12,31 +12,8 @@ descriptor_data = "\n*google/cloud/eventarc/v1/message_bus.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/eventarc/v1/logging_config.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd9\x05\n\nMessageBus\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x45\n\x06labels\x18\x06 \x03(\x0b\x32\x30.google.cloud.eventarc.v1.MessageBus.LabelsEntryB\x03\xe0\x41\x01\x12O\n\x0b\x61nnotations\x18\x07 \x03(\x0b\x32\x35.google.cloud.eventarc.v1.MessageBus.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x42\n\x0f\x63rypto_key_name\x18\n \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x44\n\x0elogging_config\x18\x0b \x01(\x0b\x32\'.google.cloud.eventarc.v1.LoggingConfigB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x86\x01\xea\x41\x82\x01\n\"eventarc.googleapis.com/MessageBus\x12\x42projects/{project}/locations/{location}/messageBuses/{message_bus}*\x0cmessageBuses2\nmessageBusB\xbf\x01\n\x1c\x63om.google.cloud.eventarc.v1B\x0fMessageBusProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.cloud.eventarc.v1.LoggingConfig", "google/cloud/eventarc/v1/logging_config.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/network_config_pb.rb b/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/network_config_pb.rb index 3610c18613eb..ba2c0931bfea 100644 --- a/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/network_config_pb.rb +++ b/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/network_config_pb.rb @@ -10,29 +10,8 @@ descriptor_data = "\n-google/cloud/eventarc/v1/network_config.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"]\n\rNetworkConfig\x12L\n\x12network_attachment\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(compute.googleapis.com/NetworkAttachmentB\xc2\x01\n\x1c\x63om.google.cloud.eventarc.v1B\x12NetworkConfigProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/pipeline_pb.rb b/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/pipeline_pb.rb index 30e691747f84..b55ad107aa0f 100644 --- a/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/pipeline_pb.rb +++ b/google-cloud-eventarc-v1/lib/google/cloud/eventarc/v1/pipeline_pb.rb @@ -14,32 +14,8 @@ descriptor_data = "\n\'google/cloud/eventarc/v1/pipeline.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/eventarc/v1/logging_config.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x82\x18\n\x08Pipeline\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x06labels\x18\x04 \x03(\x0b\x32..google.cloud.eventarc.v1.Pipeline.LabelsEntryB\x03\xe0\x41\x01\x12\x18\n\x03uid\x18\x05 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12M\n\x0b\x61nnotations\x18\x06 \x03(\x0b\x32\x33.google.cloud.eventarc.v1.Pipeline.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12I\n\x0c\x64\x65stinations\x18\x08 \x03(\x0b\x32..google.cloud.eventarc.v1.Pipeline.DestinationB\x03\xe0\x41\x02\x12\x45\n\nmediations\x18\t \x03(\x0b\x32,.google.cloud.eventarc.v1.Pipeline.MediationB\x03\xe0\x41\x01\x12\x42\n\x0f\x63rypto_key_name\x18\n \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12Z\n\x14input_payload_format\x18\x0b \x01(\x0b\x32\x37.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormatB\x03\xe0\x41\x01\x12\x44\n\x0elogging_config\x18\x0c \x01(\x0b\x32\'.google.cloud.eventarc.v1.LoggingConfigB\x03\xe0\x41\x01\x12I\n\x0cretry_policy\x18\r \x01(\x0b\x32..google.cloud.eventarc.v1.Pipeline.RetryPolicyB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x63 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x0e \x01(\x08\x42\x03\xe0\x41\x03\x1a\x9f\x03\n\x14MessagePayloadFormat\x12_\n\x08protobuf\x18\x01 \x01(\x0b\x32\x46.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.ProtobufFormatB\x03\xe0\x41\x01H\x00\x12W\n\x04\x61vro\x18\x02 \x01(\x0b\x32\x42.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.AvroFormatB\x03\xe0\x41\x01H\x00\x12W\n\x04json\x18\x03 \x01(\x0b\x32\x42.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.JsonFormatB\x03\xe0\x41\x01H\x00\x1a\x0c\n\nJsonFormat\x1a\x30\n\x0eProtobufFormat\x12\x1e\n\x11schema_definition\x18\x01 \x01(\tB\x03\xe0\x41\x01\x1a,\n\nAvroFormat\x12\x1e\n\x11schema_definition\x18\x01 \x01(\tB\x03\xe0\x41\x01\x42\x06\n\x04kind\x1a\xe5\t\n\x0b\x44\x65stination\x12Y\n\x0enetwork_config\x18\x01 \x01(\x0b\x32<.google.cloud.eventarc.v1.Pipeline.Destination.NetworkConfigB\x03\xe0\x41\x01\x12Y\n\rhttp_endpoint\x18\x02 \x01(\x0b\x32;.google.cloud.eventarc.v1.Pipeline.Destination.HttpEndpointB\x03\xe0\x41\x01H\x00\x12=\n\x08workflow\x18\x03 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!workflows.googleapis.com/WorkflowH\x00\x12\x41\n\x0bmessage_bus\x18\x04 \x01(\tB*\xe0\x41\x01\xfa\x41$\n\"eventarc.googleapis.com/MessageBusH\x00\x12\x34\n\x05topic\x18\x08 \x01(\tB#\xe0\x41\x01\xfa\x41\x1d\n\x1bpubsub.googleapis.com/TopicH\x00\x12g\n\x15\x61uthentication_config\x18\x05 \x01(\x0b\x32\x43.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfigB\x03\xe0\x41\x01\x12[\n\x15output_payload_format\x18\x06 \x01(\x0b\x32\x37.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormatB\x03\xe0\x41\x01\x1a]\n\rNetworkConfig\x12L\n\x12network_attachment\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(compute.googleapis.com/NetworkAttachment\x1aG\n\x0cHttpEndpoint\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12%\n\x18message_binding_template\x18\x03 \x01(\tB\x03\xe0\x41\x01\x1a\xdf\x03\n\x14\x41uthenticationConfig\x12i\n\x0bgoogle_oidc\x18\x01 \x01(\x0b\x32M.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OidcTokenB\x03\xe0\x41\x01H\x00\x12j\n\x0boauth_token\x18\x02 \x01(\x0b\x32N.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OAuthTokenB\x03\xe0\x41\x01H\x00\x1a\x66\n\tOidcToken\x12\x42\n\x0fservice_account\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12\x15\n\x08\x61udience\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1a\x64\n\nOAuthToken\x12\x42\n\x0fservice_account\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12\x12\n\x05scope\x18\x02 \x01(\tB\x03\xe0\x41\x01\x42\"\n authentication_method_descriptorB\x18\n\x16\x64\x65stination_descriptor\x1a\xb7\x01\n\tMediation\x12Z\n\x0etransformation\x18\x01 \x01(\x0b\x32;.google.cloud.eventarc.v1.Pipeline.Mediation.TransformationB\x03\xe0\x41\x01H\x00\x1a\x36\n\x0eTransformation\x12$\n\x17transformation_template\x18\x01 \x01(\tB\x03\xe0\x41\x01\x42\x16\n\x14mediation_descriptor\x1a\x9a\x01\n\x0bRetryPolicy\x12\x19\n\x0cmax_attempts\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x37\n\x0fmin_retry_delay\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x37\n\x0fmax_retry_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:x\xea\x41u\n eventarc.googleapis.com/Pipeline\x12\n\x15last_active_sync_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"Q\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x03\x12\x0c\n\x08REMOVING\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\"]\n\x0bStateReason\x12\x1c\n\x18STATE_REASON_UNSPECIFIED\x10\x00\x12\x1d\n\x19PEER_INSTANCE_UNREACHABLE\x10\x01\x12\x11\n\rREMOVE_FAILED\x10\x02\"\xc5\x01\n\x0bReplication\x12>\n\x04role\x18\x01 \x01(\x0e\x32+.google.cloud.filestore.v1.Replication.RoleB\x03\xe0\x41\x01\x12?\n\x08replicas\x18\x02 \x03(\x0b\x32(.google.cloud.filestore.v1.ReplicaConfigB\x03\xe0\x41\x01\"5\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0b\n\x07STANDBY\x10\x02\"\xd6\x11\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12=\n\x05state\x18\x05 \x01(\x0e\x32).google.cloud.filestore.v1.Instance.StateB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x36\n\x04tier\x18\x08 \x01(\x0e\x32(.google.cloud.filestore.v1.Instance.Tier\x12?\n\x06labels\x18\t \x03(\x0b\x32/.google.cloud.filestore.v1.Instance.LabelsEntry\x12?\n\x0b\x66ile_shares\x18\n \x03(\x0b\x32*.google.cloud.filestore.v1.FileShareConfig\x12:\n\x08networks\x18\x0b \x03(\x0b\x32(.google.cloud.filestore.v1.NetworkConfig\x12\x0c\n\x04\x65tag\x18\x0c \x01(\t\x12\x36\n\rsatisfies_pzs\x18\r \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzi\x18\x12 \x01(\x08\x42\x03\xe0\x41\x03\x12\x14\n\x0ckms_key_name\x18\x0e \x01(\t\x12U\n\x12suspension_reasons\x18\x0f \x03(\x0e\x32\x34.google.cloud.filestore.v1.Instance.SuspensionReasonB\x03\xe0\x41\x03\x12@\n\x0breplication\x18\x13 \x01(\x0b\x32&.google.cloud.filestore.v1.ReplicationB\x03\xe0\x41\x01\x12\x46\n\x04tags\x18\x14 \x03(\x0b\x32-.google.cloud.filestore.v1.Instance.TagsEntryB\t\xe0\x41\x04\xe0\x41\x05\xe0\x41\x01\x12G\n\x08protocol\x18\x15 \x01(\x0e\x32\x30.google.cloud.filestore.v1.Instance.FileProtocolB\x03\xe0\x41\x05\x12)\n\x1c\x63ustom_performance_supported\x18\x17 \x01(\x08\x42\x03\xe0\x41\x03\x12V\n\x12performance_config\x18\x18 \x01(\x0b\x32\x35.google.cloud.filestore.v1.Instance.PerformanceConfigB\x03\xe0\x41\x01\x12V\n\x12performance_limits\x18\x19 \x01(\x0b\x32\x35.google.cloud.filestore.v1.Instance.PerformanceLimitsB\x03\xe0\x41\x03\x12(\n\x1b\x64\x65letion_protection_enabled\x18\x1a \x01(\x08\x42\x03\xe0\x41\x01\x12\'\n\x1a\x64\x65letion_protection_reason\x18\x1b \x01(\tB\x03\xe0\x41\x01\x1a)\n\tIOPSPerTB\x12\x1c\n\x0fmax_iops_per_tb\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\x1a\"\n\tFixedIOPS\x12\x15\n\x08max_iops\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\x1a\xa6\x01\n\x11PerformanceConfig\x12\x44\n\x0biops_per_tb\x18\x04 \x01(\x0b\x32-.google.cloud.filestore.v1.Instance.IOPSPerTBH\x00\x12\x43\n\nfixed_iops\x18\x02 \x01(\x0b\x32-.google.cloud.filestore.v1.Instance.FixedIOPSH\x00\x42\x06\n\x04mode\x1a\xb0\x01\n\x11PerformanceLimits\x12\x15\n\x08max_iops\x18\x07 \x01(\x03\x42\x03\xe0\x41\x03\x12\x1a\n\rmax_read_iops\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12\x1b\n\x0emax_write_iops\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12$\n\x17max_read_throughput_bps\x18\x05 \x01(\x03\x42\x03\xe0\x41\x03\x12%\n\x18max_write_throughput_bps\x18\x06 \x01(\x03\x42\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb9\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\r\n\tREPAIRING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\t\n\x05\x45RROR\x10\x06\x12\r\n\tRESTORING\x10\x07\x12\r\n\tSUSPENDED\x10\x08\x12\x0e\n\nSUSPENDING\x10\t\x12\x0c\n\x08RESUMING\x10\n\x12\r\n\tREVERTING\x10\x0c\x12\r\n\tPROMOTING\x10\r\"\x92\x01\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\x0b\n\x07PREMIUM\x10\x02\x12\r\n\tBASIC_HDD\x10\x03\x12\r\n\tBASIC_SSD\x10\x04\x12\x12\n\x0eHIGH_SCALE_SSD\x10\x05\x12\x0e\n\nENTERPRISE\x10\x06\x12\t\n\x05ZONAL\x10\x07\x12\x0c\n\x08REGIONAL\x10\x08\"H\n\x10SuspensionReason\x12!\n\x1dSUSPENSION_REASON_UNSPECIFIED\x10\x00\x12\x11\n\rKMS_KEY_ISSUE\x10\x01\"G\n\x0c\x46ileProtocol\x12\x1d\n\x19\x46ILE_PROTOCOL_UNSPECIFIED\x10\x00\x12\n\n\x06NFS_V3\x10\x01\x12\x0c\n\x08NFS_V4_1\x10\x02:_\xea\x41\\\n\x1c\x66ile.googleapis.com/Instance\x12\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/instances\x12\x9f\x01\n\x0bGetInstance\x12-.google.cloud.filestore.v1.GetInstanceRequest\x1a#.google.cloud.filestore.v1.Instance\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\x12\xf5\x01\n\x0e\x43reateInstance\x12\x30.google.cloud.filestore.v1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\xca\x41\x31\n\x08Instance\x12%google.cloud.common.OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/instances:\x08instance\x12\xf7\x01\n\x0eUpdateInstance\x12\x30.google.cloud.filestore.v1.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x93\x01\xca\x41\x31\n\x08Instance\x12%google.cloud.common.OperationMetadata\xda\x41\x14instance,update_mask\x82\xd3\xe4\x93\x02\x42\x32\x36/v1/{instance.name=projects/*/locations/*/instances/*}:\x08instance\x12\xd9\x01\n\x0fRestoreInstance\x12\x31.google.cloud.filestore.v1.RestoreInstanceRequest\x1a\x1d.google.longrunning.Operation\"t\xca\x41\x31\n\x08Instance\x12%google.cloud.common.OperationMetadata\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/instances/*}:restore:\x01*\x12\xd6\x01\n\x0eRevertInstance\x12\x30.google.cloud.filestore.v1.RevertInstanceRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41\x31\n\x08Instance\x12%google.cloud.common.OperationMetadata\x82\xd3\xe4\x93\x02\x39\"4/v1/{name=projects/*/locations/*/instances/*}:revert:\x01*\x12\xe0\x01\n\x0e\x44\x65leteInstance\x12\x30.google.cloud.filestore.v1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41>\n\x15google.protobuf.Empty\x12%google.cloud.common.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/instances/*}\x12\xbe\x01\n\rListSnapshots\x12/.google.cloud.filestore.v1.ListSnapshotsRequest\x1a\x30.google.cloud.filestore.v1.ListSnapshotsResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*/instances/*}/snapshots\x12\xab\x01\n\x0bGetSnapshot\x12-.google.cloud.filestore.v1.GetSnapshotRequest\x1a#.google.cloud.filestore.v1.Snapshot\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/instances/*/snapshots/*}\x12\x81\x02\n\x0e\x43reateSnapshot\x12\x30.google.cloud.filestore.v1.CreateSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x9d\x01\xca\x41\x31\n\x08Snapshot\x12%google.cloud.common.OperationMetadata\xda\x41\x1bparent,snapshot,snapshot_id\x82\xd3\xe4\x93\x02\x45\"9/v1/{parent=projects/*/locations/*/instances/*}/snapshots:\x08snapshot\x12\xed\x01\n\x0e\x44\x65leteSnapshot\x12\x30.google.cloud.filestore.v1.DeleteSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41>\n\x15google.protobuf.Empty\x12%google.cloud.common.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/locations/*/instances/*/snapshots/*}\x12\x83\x02\n\x0eUpdateSnapshot\x12\x30.google.cloud.filestore.v1.UpdateSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x9f\x01\xca\x41\x31\n\x08Snapshot\x12%google.cloud.common.OperationMetadata\xda\x41\x14snapshot,update_mask\x82\xd3\xe4\x93\x02N2B/v1/{snapshot.name=projects/*/locations/*/instances/*/snapshots/*}:\x08snapshot\x12\xaa\x01\n\x0bListBackups\x12-.google.cloud.filestore.v1.ListBackupsRequest\x1a..google.cloud.filestore.v1.ListBackupsResponse\"<\xda\x41\x06parent\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/backups\x12\x97\x01\n\tGetBackup\x12+.google.cloud.filestore.v1.GetBackupRequest\x1a!.google.cloud.filestore.v1.Backup\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/backups/*}\x12\xe7\x01\n\x0c\x43reateBackup\x12..google.cloud.filestore.v1.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41/\n\x06\x42\x61\x63kup\x12%google.cloud.common.OperationMetadata\xda\x41\x17parent,backup,backup_id\x82\xd3\xe4\x93\x02\x35\"+/v1/{parent=projects/*/locations/*}/backups:\x06\x62\x61\x63kup\x12\xda\x01\n\x0c\x44\x65leteBackup\x12..google.cloud.filestore.v1.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"{\xca\x41>\n\x15google.protobuf.Empty\x12%google.cloud.common.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/backups/*}\x12\xe9\x01\n\x0cUpdateBackup\x12..google.cloud.filestore.v1.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41/\n\x06\x42\x61\x63kup\x12%google.cloud.common.OperationMetadata\xda\x41\x12\x62\x61\x63kup,update_mask\x82\xd3\xe4\x93\x02<22/v1/{backup.name=projects/*/locations/*/backups/*}:\x06\x62\x61\x63kup\x12\xde\x01\n\x0ePromoteReplica\x12\x30.google.cloud.filestore.v1.PromoteReplicaRequest\x1a\x1d.google.longrunning.Operation\"{\xca\x41\x31\n\x08Instance\x12%google.cloud.common.OperationMetadata\x82\xd3\xe4\x93\x02\x41\"\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(financialservices.googleapis.com/Dataset\"\xcd\x01\n\x14\x43reateDatasetRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)financialservices.googleapis.com/Instance\x12\x17\n\ndataset_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12@\n\x07\x64\x61taset\x18\x03 \x01(\x0b\x32*.google.cloud.financialservices.v1.DatasetB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa7\x01\n\x14UpdateDatasetRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12@\n\x07\x64\x61taset\x18\x02 \x01(\x0b\x32*.google.cloud.financialservices.v1.DatasetB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"o\n\x14\x44\x65leteDatasetRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(financialservices.googleapis.com/Dataset\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x42\xfb\x01\n%com.google.cloud.financialservices.v1B\x0c\x44\x61tasetProtoP\x01ZScloud.google.com/go/financialservices/apiv1/financialservicespb;financialservicespb\xaa\x02!Google.Cloud.FinancialServices.V1\xca\x02!Google\\Cloud\\FinancialServices\\V1\xea\x02$Google::Cloud::FinancialServices::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.type.Interval", "google/type/interval.proto"], - ["google.type.TimeZone", "google/type/datetime.proto"], - ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-financial_services-v1/lib/google/cloud/financialservices/v1/engine_config_pb.rb b/google-cloud-financial_services-v1/lib/google/cloud/financialservices/v1/engine_config_pb.rb index bc32c25a895c..74864d6da7c4 100644 --- a/google-cloud-financial_services-v1/lib/google/cloud/financialservices/v1/engine_config_pb.rb +++ b/google-cloud-financial_services-v1/lib/google/cloud/financialservices/v1/engine_config_pb.rb @@ -14,32 +14,8 @@ descriptor_data = "\n5google/cloud/financialservices/v1/engine_config.proto\x12!google.cloud.financialservices.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\n\tinstances\x18\x01 \x03(\x0b\x32+.google.cloud.financialservices.v1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"U\n\x12GetInstanceRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)financialservices.googleapis.com/Instance\"\xc9\x01\n\x15\x43reateInstanceRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x42\n\x08instance\x18\x03 \x01(\x0b\x32+.google.cloud.financialservices.v1.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xaa\x01\n\x15UpdateInstanceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x42\n\x08instance\x18\x02 \x01(\x0b\x32+.google.cloud.financialservices.v1.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"q\n\x15\x44\x65leteInstanceRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)financialservices.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x8f\x03\n\x1eImportRegisteredPartiesRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)financialservices.googleapis.com/Instance\x12\x19\n\x0cparty_tables\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12_\n\x04mode\x18\x03 \x01(\x0e\x32L.google.cloud.financialservices.v1.ImportRegisteredPartiesRequest.UpdateModeB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12P\n\x10line_of_business\x18\x05 \x01(\x0e\x32\x31.google.cloud.financialservices.v1.LineOfBusinessB\x03\xe0\x41\x02\"B\n\nUpdateMode\x12\x1b\n\x17UPDATE_MODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07REPLACE\x10\x01\x12\n\n\x06\x41PPEND\x10\x02\"\xe4\x01\n\x1fImportRegisteredPartiesResponse\x12\x15\n\rparties_added\x18\x01 \x01(\x03\x12\x17\n\x0fparties_removed\x18\x02 \x01(\x03\x12\x15\n\rparties_total\x18\x03 \x01(\x03\x12 \n\x18parties_failed_to_remove\x18\x04 \x01(\x03\x12\x18\n\x10parties_uptiered\x18\x05 \x01(\x03\x12\x1a\n\x12parties_downtiered\x18\x06 \x01(\x03\x12\"\n\x1aparties_failed_to_downtier\x18\x07 \x01(\x03\"\x81\x02\n\x1e\x45xportRegisteredPartiesRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)financialservices.googleapis.com/Instance\x12L\n\x07\x64\x61taset\x18\x02 \x01(\x0b\x32\x36.google.cloud.financialservices.v1.BigQueryDestinationB\x03\xe0\x41\x02\x12P\n\x10line_of_business\x18\x03 \x01(\x0e\x32\x31.google.cloud.financialservices.v1.LineOfBusinessB\x03\xe0\x41\x02\"!\n\x1f\x45xportRegisteredPartiesResponseB\xfc\x01\n%com.google.cloud.financialservices.v1B\rInstanceProtoP\x01ZScloud.google.com/go/financialservices/apiv1/financialservicespb;financialservicespb\xaa\x02!Google.Cloud.FinancialServices.V1\xca\x02!Google\\Cloud\\FinancialServices\\V1\xea\x02$Google::Cloud::FinancialServices::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], - ["google.cloud.financialservices.v1.BigQueryDestination", "google/cloud/financialservices/v1/bigquery_destination.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-financial_services-v1/lib/google/cloud/financialservices/v1/line_of_business_pb.rb b/google-cloud-financial_services-v1/lib/google/cloud/financialservices/v1/line_of_business_pb.rb index 49d9ea8515c4..72e4ed8971e3 100644 --- a/google-cloud-financial_services-v1/lib/google/cloud/financialservices/v1/line_of_business_pb.rb +++ b/google-cloud-financial_services-v1/lib/google/cloud/financialservices/v1/line_of_business_pb.rb @@ -7,29 +7,8 @@ descriptor_data = "\n8google/cloud/financialservices/v1/line_of_business.proto\x12!google.cloud.financialservices.v1*N\n\x0eLineOfBusiness\x12 \n\x1cLINE_OF_BUSINESS_UNSPECIFIED\x10\x00\x12\x0e\n\nCOMMERCIAL\x10\x01\x12\n\n\x06RETAIL\x10\x02\x42\x82\x02\n%com.google.cloud.financialservices.v1B\x13LineOfBusinessProtoP\x01ZScloud.google.com/go/financialservices/apiv1/financialservicespb;financialservicespb\xaa\x02!Google.Cloud.FinancialServices.V1\xca\x02!Google\\Cloud\\FinancialServices\\V1\xea\x02$Google::Cloud::FinancialServices::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-financial_services-v1/lib/google/cloud/financialservices/v1/model_pb.rb b/google-cloud-financial_services-v1/lib/google/cloud/financialservices/v1/model_pb.rb index 852de5b79e07..88464e6ddadc 100644 --- a/google-cloud-financial_services-v1/lib/google/cloud/financialservices/v1/model_pb.rb +++ b/google-cloud-financial_services-v1/lib/google/cloud/financialservices/v1/model_pb.rb @@ -14,32 +14,8 @@ descriptor_data = "\n-google/cloud/financialservices/v1/model.proto\x12!google.cloud.financialservices.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/instances\x12\xaf\x01\n\x0bGetInstance\x12\x35.google.cloud.financialservices.v1.GetInstanceRequest\x1a+.google.cloud.financialservices.v1.Instance\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\x12\xe8\x01\n\x0e\x43reateInstance\x12\x38.google.cloud.financialservices.v1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/instances:\x08instance\x12\xea\x01\n\x0eUpdateInstance\x12\x38.google.cloud.financialservices.v1.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x14instance,update_mask\x82\xd3\xe4\x93\x02\x42\x32\x36/v1/{instance.name=projects/*/locations/*/instances/*}:\x08instance\x12\xd4\x01\n\x0e\x44\x65leteInstance\x12\x38.google.cloud.financialservices.v1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/instances/*}\x12\xaf\x02\n\x17ImportRegisteredParties\x12\x41.google.cloud.financialservices.v1.ImportRegisteredPartiesRequest\x1a\x1d.google.longrunning.Operation\"\xb1\x01\xca\x41\x34\n\x1fImportRegisteredPartiesResponse\x12\x11OperationMetadata\xda\x41\'name,mode,line_of_business,party_tables\x82\xd3\xe4\x93\x02J\"E/v1/{name=projects/*/locations/*/instances/*}:importRegisteredParties:\x01*\x12\xa5\x02\n\x17\x45xportRegisteredParties\x12\x41.google.cloud.financialservices.v1.ExportRegisteredPartiesRequest\x1a\x1d.google.longrunning.Operation\"\xa7\x01\xca\x41\x34\n\x1f\x45xportRegisteredPartiesResponse\x12\x11OperationMetadata\xda\x41\x1dname,dataset,line_of_business\x82\xd3\xe4\x93\x02J\"E/v1/{name=projects/*/locations/*/instances/*}:exportRegisteredParties:\x01*\x12\xca\x01\n\x0cListDatasets\x12\x36.google.cloud.financialservices.v1.ListDatasetsRequest\x1a\x37.google.cloud.financialservices.v1.ListDatasetsResponse\"I\xda\x41\x06parent\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*/instances/*}/datasets\x12\xb7\x01\n\nGetDataset\x12\x34.google.cloud.financialservices.v1.GetDatasetRequest\x1a*.google.cloud.financialservices.v1.Dataset\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\x12\x38/v1/{name=projects/*/locations/*/instances/*/datasets/*}\x12\xee\x01\n\rCreateDataset\x12\x37.google.cloud.financialservices.v1.CreateDatasetRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\xca\x41\x1c\n\x07\x44\x61taset\x12\x11OperationMetadata\xda\x41\x19parent,dataset,dataset_id\x82\xd3\xe4\x93\x02\x43\"8/v1/{parent=projects/*/locations/*/instances/*}/datasets:\x07\x64\x61taset\x12\xf0\x01\n\rUpdateDataset\x12\x37.google.cloud.financialservices.v1.UpdateDatasetRequest\x1a\x1d.google.longrunning.Operation\"\x86\x01\xca\x41\x1c\n\x07\x44\x61taset\x12\x11OperationMetadata\xda\x41\x13\x64\x61taset,update_mask\x82\xd3\xe4\x93\x02K2@/v1/{dataset.name=projects/*/locations/*/instances/*/datasets/*}:\x07\x64\x61taset\x12\xdd\x01\n\rDeleteDataset\x12\x37.google.cloud.financialservices.v1.DeleteDatasetRequest\x1a\x1d.google.longrunning.Operation\"t\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02:*8/v1/{name=projects/*/locations/*/instances/*/datasets/*}\x12\xc2\x01\n\nListModels\x12\x34.google.cloud.financialservices.v1.ListModelsRequest\x1a\x35.google.cloud.financialservices.v1.ListModelsResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/*/instances/*}/models\x12\xaf\x01\n\x08GetModel\x12\x32.google.cloud.financialservices.v1.GetModelRequest\x1a(.google.cloud.financialservices.v1.Model\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/instances/*/models/*}\x12\xdf\x01\n\x0b\x43reateModel\x12\x35.google.cloud.financialservices.v1.CreateModelRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41\x1a\n\x05Model\x12\x11OperationMetadata\xda\x41\x15parent,model,model_id\x82\xd3\xe4\x93\x02?\"6/v1/{parent=projects/*/locations/*/instances/*}/models:\x05model\x12\xe1\x01\n\x0bUpdateModel\x12\x35.google.cloud.financialservices.v1.UpdateModelRequest\x1a\x1d.google.longrunning.Operation\"|\xca\x41\x1a\n\x05Model\x12\x11OperationMetadata\xda\x41\x11model,update_mask\x82\xd3\xe4\x93\x02\x45\x32/v1/{name=projects/*/locations/*/instances/*/engineVersions/*}\x12\xe2\x01\n\x12ListEngineVersions\x12<.google.cloud.financialservices.v1.ListEngineVersionsRequest\x1a=.google.cloud.financialservices.v1.ListEngineVersionsResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/instances/*}/engineVersions\x12\xee\x01\n\x15ListPredictionResults\x12?.google.cloud.financialservices.v1.ListPredictionResultsRequest\x1a@.google.cloud.financialservices.v1.ListPredictionResultsResponse\"R\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{parent=projects/*/locations/*/instances/*}/predictionResults\x12\xdb\x01\n\x13GetPredictionResult\x12=.google.cloud.financialservices.v1.GetPredictionResultRequest\x1a\x33.google.cloud.financialservices.v1.PredictionResult\"P\xda\x41\x04name\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{name=projects/*/locations/*/instances/*/predictionResults/*}\x12\xb0\x02\n\x16\x43reatePredictionResult\x12@.google.cloud.financialservices.v1.CreatePredictionResultRequest\x1a\x1d.google.longrunning.Operation\"\xb4\x01\xca\x41%\n\x10PredictionResult\x12\x11OperationMetadata\xda\x41-parent,prediction_result,prediction_result_id\x82\xd3\xe4\x93\x02V\"A/v1/{parent=projects/*/locations/*/instances/*}/predictionResults:\x11prediction_result\x12\xb2\x02\n\x16UpdatePredictionResult\x12@.google.cloud.financialservices.v1.UpdatePredictionResultRequest\x1a\x1d.google.longrunning.Operation\"\xb6\x01\xca\x41%\n\x10PredictionResult\x12\x11OperationMetadata\xda\x41\x1dprediction_result,update_mask\x82\xd3\xe4\x93\x02h2S/v1/{prediction_result.name=projects/*/locations/*/instances/*/predictionResults/*}:\x11prediction_result\x12\xe6\x02\n\x1e\x45xportPredictionResultMetadata\x12H.google.cloud.financialservices.v1.ExportPredictionResultMetadataRequest\x1a\x1d.google.longrunning.Operation\"\xda\x01\xca\x41;\n&ExportPredictionResultMetadataResponse\x12\x11OperationMetadata\xda\x41\x31prediction_result,structured_metadata_destination\x82\xd3\xe4\x93\x02\x62\"]/v1/{prediction_result=projects/*/locations/*/instances/*/predictionResults/*}:exportMetadata:\x01*\x12\xf8\x01\n\x16\x44\x65letePredictionResult\x12@.google.cloud.financialservices.v1.DeletePredictionResultRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x43*A/v1/{name=projects/*/locations/*/instances/*/predictionResults/*}\x12\xe6\x01\n\x13ListBacktestResults\x12=.google.cloud.financialservices.v1.ListBacktestResultsRequest\x1a>.google.cloud.financialservices.v1.ListBacktestResultsResponse\"P\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x41\x12?/v1/{parent=projects/*/locations/*/instances/*}/backtestResults\x12\xd3\x01\n\x11GetBacktestResult\x12;.google.cloud.financialservices.v1.GetBacktestResultRequest\x1a\x31.google.cloud.financialservices.v1.BacktestResult\"N\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\x12?/v1/{name=projects/*/locations/*/instances/*/backtestResults/*}\x12\xa2\x02\n\x14\x43reateBacktestResult\x12>.google.cloud.financialservices.v1.CreateBacktestResultRequest\x1a\x1d.google.longrunning.Operation\"\xaa\x01\xca\x41#\n\x0e\x42\x61\x63ktestResult\x12\x11OperationMetadata\xda\x41)parent,backtest_result,backtest_result_id\x82\xd3\xe4\x93\x02R\"?/v1/{parent=projects/*/locations/*/instances/*}/backtestResults:\x0f\x62\x61\x63ktest_result\x12\xa4\x02\n\x14UpdateBacktestResult\x12>.google.cloud.financialservices.v1.UpdateBacktestResultRequest\x1a\x1d.google.longrunning.Operation\"\xac\x01\xca\x41#\n\x0e\x42\x61\x63ktestResult\x12\x11OperationMetadata\xda\x41\x1b\x62\x61\x63ktest_result,update_mask\x82\xd3\xe4\x93\x02\x62\x32O/v1/{backtest_result.name=projects/*/locations/*/instances/*/backtestResults/*}:\x0f\x62\x61\x63ktest_result\x12\xda\x02\n\x1c\x45xportBacktestResultMetadata\x12\x46.google.cloud.financialservices.v1.ExportBacktestResultMetadataRequest\x1a\x1d.google.longrunning.Operation\"\xd2\x01\xca\x41\x39\n$ExportBacktestResultMetadataResponse\x12\x11OperationMetadata\xda\x41/backtest_result,structured_metadata_destination\x82\xd3\xe4\x93\x02^\"Y/v1/{backtest_result=projects/*/locations/*/instances/*/backtestResults/*}:exportMetadata:\x01*\x12\xf2\x01\n\x14\x44\x65leteBacktestResult\x12>.google.cloud.financialservices.v1.DeleteBacktestResultRequest\x1a\x1d.google.longrunning.Operation\"{\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41*?/v1/{name=projects/*/locations/*/instances/*/backtestResults/*}\x1aT\xca\x41 financialservices.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xfb\x01\n%com.google.cloud.financialservices.v1B\x0cServiceProtoP\x01ZScloud.google.com/go/financialservices/apiv1/financialservicespb;financialservicespb\xaa\x02!Google.Cloud.FinancialServices.V1\xca\x02!Google\\Cloud\\FinancialServices\\V1\xea\x02$Google::Cloud::FinancialServices::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/backup_pb.rb b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/backup_pb.rb index e0ac294397fe..9f46297f39c9 100644 --- a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/backup_pb.rb +++ b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/backup_pb.rb @@ -11,30 +11,8 @@ descriptor_data = "\n&google/firestore/admin/v1/backup.proto\x12\x19google.firestore.admin.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe0\x04\n\x06\x42\x61\x63kup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12;\n\x08\x64\x61tabase\x18\x02 \x01(\tB)\xe0\x41\x03\xfa\x41#\n!firestore.googleapis.com/Database\x12\x19\n\x0c\x64\x61tabase_uid\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x36\n\rsnapshot_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12;\n\x05stats\x18\x06 \x01(\x0b\x32\'.google.firestore.admin.v1.Backup.StatsB\x03\xe0\x41\x03\x12;\n\x05state\x18\x08 \x01(\x0e\x32\'.google.firestore.admin.v1.Backup.StateB\x03\xe0\x41\x03\x1aW\n\x05Stats\x12\x17\n\nsize_bytes\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12\x1b\n\x0e\x64ocument_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x18\n\x0bindex_count\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\"J\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x11\n\rNOT_AVAILABLE\x10\x03:^\xea\x41[\n\x1f\x66irestore.googleapis.com/Backup\x12\x38projects/{project}/locations/{location}/backups/{backup}B\xda\x01\n\x1d\x63om.google.firestore.admin.v1B\x0b\x42\x61\x63kupProtoP\x01Z9cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb\xa2\x02\x04GCFS\xaa\x02\x1fGoogle.Cloud.Firestore.Admin.V1\xca\x02\x1fGoogle\\Cloud\\Firestore\\Admin\\V1\xea\x02#Google::Cloud::Firestore::Admin::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/database_pb.rb b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/database_pb.rb index 049c2b18041d..f97a72d19fcc 100644 --- a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/database_pb.rb +++ b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/database_pb.rb @@ -13,31 +13,8 @@ descriptor_data = "\n(google/firestore/admin/v1/database.proto\x12\x19google.firestore.admin.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/firestore/admin/v1/realtime_updates.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xab\x19\n\x08\x44\x61tabase\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x0blocation_id\x18\t \x01(\t\x12>\n\x04type\x18\n \x01(\x0e\x32\x30.google.firestore.admin.v1.Database.DatabaseType\x12M\n\x10\x63oncurrency_mode\x18\x0f \x01(\x0e\x32\x33.google.firestore.admin.v1.Database.ConcurrencyMode\x12@\n\x18version_retention_period\x18\x11 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12>\n\x15\x65\x61rliest_version_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12l\n!point_in_time_recovery_enablement\x18\x15 \x01(\x0e\x32\x41.google.firestore.admin.v1.Database.PointInTimeRecoveryEnablement\x12\x61\n\x1b\x61pp_engine_integration_mode\x18\x13 \x01(\x0e\x32<.google.firestore.admin.v1.Database.AppEngineIntegrationMode\x12\x17\n\nkey_prefix\x18\x14 \x01(\tB\x03\xe0\x41\x03\x12Z\n\x17\x64\x65lete_protection_state\x18\x16 \x01(\x0e\x32\x39.google.firestore.admin.v1.Database.DeleteProtectionState\x12H\n\x0b\x63mek_config\x18\x17 \x01(\x0b\x32..google.firestore.admin.v1.Database.CmekConfigB\x03\xe0\x41\x01\x12\x18\n\x0bprevious_id\x18\x19 \x01(\tB\x03\xe0\x41\x03\x12H\n\x0bsource_info\x18\x1a \x01(\x0b\x32..google.firestore.admin.v1.Database.SourceInfoB\x03\xe0\x41\x03\x12\x46\n\x04tags\x18\x1d \x03(\x0b\x32-.google.firestore.admin.v1.Database.TagsEntryB\t\xe0\x41\x04\xe0\x41\x05\xe0\x41\x01\x12\x1b\n\tfree_tier\x18\x1e \x01(\x08\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x0c\n\x04\x65tag\x18\x63 \x01(\t\x12R\n\x10\x64\x61tabase_edition\x18\x1c \x01(\x0e\x32\x33.google.firestore.admin.v1.Database.DatabaseEditionB\x03\xe0\x41\x05\x12R\n\x15realtime_updates_mode\x18\x1f \x01(\x0e\x32..google.firestore.admin.v1.RealtimeUpdatesModeB\x03\xe0\x41\x05\x12[\n\x1a\x66irestore_data_access_mode\x18! \x01(\x0e\x32\x32.google.firestore.admin.v1.Database.DataAccessModeB\x03\xe0\x41\x01\x12\x64\n#mongodb_compatible_data_access_mode\x18\" \x01(\x0e\x32\x32.google.firestore.admin.v1.Database.DataAccessModeB\x03\xe0\x41\x01\x1aH\n\nCmekConfig\x12\x19\n\x0ckms_key_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\x12\x61\x63tive_key_version\x18\x02 \x03(\tB\x03\xe0\x41\x03\x1a\xe7\x01\n\nSourceInfo\x12M\n\x06\x62\x61\x63kup\x18\x01 \x01(\x0b\x32;.google.firestore.admin.v1.Database.SourceInfo.BackupSourceH\x00\x12:\n\toperation\x18\x03 \x01(\tB\'\xfa\x41$\n\"firestore.googleapis.com/Operation\x1a\x44\n\x0c\x42\x61\x63kupSource\x12\x34\n\x06\x62\x61\x63kup\x18\x01 \x01(\tB$\xfa\x41!\n\x1f\x66irestore.googleapis.com/BackupB\x08\n\x06source\x1a\x88\x04\n\x10\x45ncryptionConfig\x12x\n\x19google_default_encryption\x18\x01 \x01(\x0b\x32S.google.firestore.admin.v1.Database.EncryptionConfig.GoogleDefaultEncryptionOptionsH\x00\x12m\n\x15use_source_encryption\x18\x02 \x01(\x0b\x32L.google.firestore.admin.v1.Database.EncryptionConfig.SourceEncryptionOptionsH\x00\x12|\n\x1b\x63ustomer_managed_encryption\x18\x03 \x01(\x0b\x32U.google.firestore.admin.v1.Database.EncryptionConfig.CustomerManagedEncryptionOptionsH\x00\x1a \n\x1eGoogleDefaultEncryptionOptions\x1a\x19\n\x17SourceEncryptionOptions\x1a=\n CustomerManagedEncryptionOptions\x12\x19\n\x0ckms_key_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\x11\n\x0f\x65ncryption_type\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"W\n\x0c\x44\x61tabaseType\x12\x1d\n\x19\x44\x41TABASE_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x46IRESTORE_NATIVE\x10\x01\x12\x12\n\x0e\x44\x41TASTORE_MODE\x10\x02\"w\n\x0f\x43oncurrencyMode\x12 \n\x1c\x43ONCURRENCY_MODE_UNSPECIFIED\x10\x00\x12\x0e\n\nOPTIMISTIC\x10\x01\x12\x0f\n\x0bPESSIMISTIC\x10\x02\x12!\n\x1dOPTIMISTIC_WITH_ENTITY_GROUPS\x10\x03\"\x9b\x01\n\x1dPointInTimeRecoveryEnablement\x12\x31\n-POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED\x10\x00\x12\"\n\x1ePOINT_IN_TIME_RECOVERY_ENABLED\x10\x01\x12#\n\x1fPOINT_IN_TIME_RECOVERY_DISABLED\x10\x02\"b\n\x18\x41ppEngineIntegrationMode\x12+\n\'APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\"\x7f\n\x15\x44\x65leteProtectionState\x12\'\n#DELETE_PROTECTION_STATE_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x44\x45LETE_PROTECTION_DISABLED\x10\x01\x12\x1d\n\x19\x44\x45LETE_PROTECTION_ENABLED\x10\x02\"Q\n\x0f\x44\x61tabaseEdition\x12 \n\x1c\x44\x41TABASE_EDITION_UNSPECIFIED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\x0e\n\nENTERPRISE\x10\x02\"o\n\x0e\x44\x61taAccessMode\x12 \n\x1c\x44\x41TA_ACCESS_MODE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x44\x41TA_ACCESS_MODE_ENABLED\x10\x01\x12\x1d\n\x19\x44\x41TA_ACCESS_MODE_DISABLED\x10\x02:R\xea\x41O\n!firestore.googleapis.com/Database\x12\'projects/{project}/databases/{database}R\x01\x01\x42\x0c\n\n_free_tierB\xc3\x02\n\x1d\x63om.google.firestore.admin.v1B\rDatabaseProtoP\x01Z9cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb\xa2\x02\x04GCFS\xaa\x02\x1fGoogle.Cloud.Firestore.Admin.V1\xca\x02\x1fGoogle\\Cloud\\Firestore\\Admin\\V1\xea\x02#Google::Cloud::Firestore::Admin::V1\xea\x41\x64\n\"firestore.googleapis.com/Operation\x12>projects/{project}/databases/{database}/operations/{operation}b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.protobuf.Duration", "google/protobuf/duration.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/field_pb.rb b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/field_pb.rb index 986cb252bd7b..80d6b3af0844 100644 --- a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/field_pb.rb +++ b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/field_pb.rb @@ -11,30 +11,8 @@ descriptor_data = "\n%google/firestore/admin/v1/field.proto\x12\x19google.firestore.admin.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a%google/firestore/admin/v1/index.proto\"\xc5\x04\n\x05\x46ield\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x42\n\x0cindex_config\x18\x02 \x01(\x0b\x32,.google.firestore.admin.v1.Field.IndexConfig\x12>\n\nttl_config\x18\x03 \x01(\x0b\x32*.google.firestore.admin.v1.Field.TtlConfig\x1a\x89\x01\n\x0bIndexConfig\x12\x31\n\x07indexes\x18\x01 \x03(\x0b\x32 .google.firestore.admin.v1.Index\x12\x1c\n\x14uses_ancestor_config\x18\x02 \x01(\x08\x12\x16\n\x0e\x61ncestor_field\x18\x03 \x01(\t\x12\x11\n\treverting\x18\x04 \x01(\x08\x1a\x9d\x01\n\tTtlConfig\x12\x44\n\x05state\x18\x01 \x01(\x0e\x32\x30.google.firestore.admin.v1.Field.TtlConfig.StateB\x03\xe0\x41\x03\"J\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x10\n\x0cNEEDS_REPAIR\x10\x03:y\xea\x41v\n\x1e\x66irestore.googleapis.com/Field\x12Tprojects/{project}/databases/{database}/collectionGroups/{collection}/fields/{field}B\xd9\x01\n\x1d\x63om.google.firestore.admin.v1B\nFieldProtoP\x01Z9cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb\xa2\x02\x04GCFS\xaa\x02\x1fGoogle.Cloud.Firestore.Admin.V1\xca\x02\x1fGoogle\\Cloud\\Firestore\\Admin\\V1\xea\x02#Google::Cloud::Firestore::Admin::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.firestore.admin.v1.Index", "google/firestore/admin/v1/index.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/firestore_admin_pb.rb b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/firestore_admin_pb.rb index 571d8d96b27f..73b6f6cd3c78 100644 --- a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/firestore_admin_pb.rb +++ b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/firestore_admin_pb.rb @@ -25,38 +25,8 @@ descriptor_data = "\n/google/firestore/admin/v1/firestore_admin.proto\x12\x19google.firestore.admin.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x18google/api/routing.proto\x1a&google/firestore/admin/v1/backup.proto\x1a(google/firestore/admin/v1/database.proto\x1a%google/firestore/admin/v1/field.proto\x1a%google/firestore/admin/v1/index.proto\x1a)google/firestore/admin/v1/operation.proto\x1a(google/firestore/admin/v1/schedule.proto\x1a(google/firestore/admin/v1/snapshot.proto\x1a*google/firestore/admin/v1/user_creds.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"g\n\x14ListDatabasesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!firestore.googleapis.com/Database\x12\x14\n\x0cshow_deleted\x18\x04 \x01(\x08\"\xa8\x01\n\x15\x43reateDatabaseRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!firestore.googleapis.com/Database\x12:\n\x08\x64\x61tabase\x18\x02 \x01(\x0b\x32#.google.firestore.admin.v1.DatabaseB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x61tabase_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x18\n\x16\x43reateDatabaseMetadata\"d\n\x15ListDatabasesResponse\x12\x36\n\tdatabases\x18\x01 \x03(\x0b\x32#.google.firestore.admin.v1.Database\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"M\n\x12GetDatabaseRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!firestore.googleapis.com/Database\"\x84\x01\n\x15UpdateDatabaseRequest\x12:\n\x08\x64\x61tabase\x18\x01 \x01(\x0b\x32#.google.firestore.admin.v1.DatabaseB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x18\n\x16UpdateDatabaseMetadata\"^\n\x15\x44\x65leteDatabaseRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!firestore.googleapis.com/Database\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"\x18\n\x16\x44\x65leteDatabaseMetadata\"\xaf\x01\n\x16\x43reateUserCredsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"firestore.googleapis.com/UserCreds\x12=\n\nuser_creds\x18\x02 \x01(\x0b\x32$.google.firestore.admin.v1.UserCredsB\x03\xe0\x41\x02\x12\x1a\n\ruser_creds_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"O\n\x13GetUserCredsRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"firestore.googleapis.com/UserCreds\"R\n\x14ListUserCredsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"firestore.googleapis.com/UserCreds\"Q\n\x15ListUserCredsResponse\x12\x38\n\nuser_creds\x18\x01 \x03(\x0b\x32$.google.firestore.admin.v1.UserCreds\"R\n\x16\x45nableUserCredsRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"firestore.googleapis.com/UserCreds\"S\n\x17\x44isableUserCredsRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"firestore.googleapis.com/UserCreds\"T\n\x18ResetUserPasswordRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"firestore.googleapis.com/UserCreds\"R\n\x16\x44\x65leteUserCredsRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"firestore.googleapis.com/UserCreds\"\xa1\x01\n\x1b\x43reateBackupScheduleRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!firestore.googleapis.com/Database\x12G\n\x0f\x62\x61\x63kup_schedule\x18\x02 \x01(\x0b\x32).google.firestore.admin.v1.BackupScheduleB\x03\xe0\x41\x02\"Y\n\x18GetBackupScheduleRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'firestore.googleapis.com/BackupSchedule\"\x97\x01\n\x1bUpdateBackupScheduleRequest\x12G\n\x0f\x62\x61\x63kup_schedule\x18\x01 \x01(\x0b\x32).google.firestore.admin.v1.BackupScheduleB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"W\n\x1aListBackupSchedulesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!firestore.googleapis.com/Database\"b\n\x1bListBackupSchedulesResponse\x12\x43\n\x10\x62\x61\x63kup_schedules\x18\x01 \x03(\x0b\x32).google.firestore.admin.v1.BackupSchedule\"\\\n\x1b\x44\x65leteBackupScheduleRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'firestore.googleapis.com/BackupSchedule\"\x8c\x01\n\x12\x43reateIndexRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(firestore.googleapis.com/CollectionGroup\x12\x34\n\x05index\x18\x02 \x01(\x0b\x32 .google.firestore.admin.v1.IndexB\x03\xe0\x41\x02\"\x8d\x01\n\x12ListIndexesRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(firestore.googleapis.com/CollectionGroup\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"a\n\x13ListIndexesResponse\x12\x31\n\x07indexes\x18\x01 \x03(\x0b\x32 .google.firestore.admin.v1.Index\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"G\n\x0fGetIndexRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x66irestore.googleapis.com/Index\"J\n\x12\x44\x65leteIndexRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x66irestore.googleapis.com/Index\"{\n\x12UpdateFieldRequest\x12\x34\n\x05\x66ield\x18\x01 \x01(\x0b\x32 .google.firestore.admin.v1.FieldB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"G\n\x0fGetFieldRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x66irestore.googleapis.com/Field\"\x8c\x01\n\x11ListFieldsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(firestore.googleapis.com/CollectionGroup\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"_\n\x12ListFieldsResponse\x12\x30\n\x06\x66ields\x18\x01 \x03(\x0b\x32 .google.firestore.admin.v1.Field\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xce\x01\n\x16\x45xportDocumentsRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!firestore.googleapis.com/Database\x12\x16\n\x0e\x63ollection_ids\x18\x02 \x03(\t\x12\x19\n\x11output_uri_prefix\x18\x03 \x01(\t\x12\x15\n\rnamespace_ids\x18\x04 \x03(\t\x12\x31\n\rsnapshot_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x9a\x01\n\x16ImportDocumentsRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!firestore.googleapis.com/Database\x12\x16\n\x0e\x63ollection_ids\x18\x02 \x03(\t\x12\x18\n\x10input_uri_prefix\x18\x03 \x01(\t\x12\x15\n\rnamespace_ids\x18\x04 \x03(\t\"\x8e\x01\n\x1a\x42ulkDeleteDocumentsRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!firestore.googleapis.com/Database\x12\x1b\n\x0e\x63ollection_ids\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12\x1a\n\rnamespace_ids\x18\x03 \x03(\tB\x03\xe0\x41\x01\"\x1d\n\x1b\x42ulkDeleteDocumentsResponse\"I\n\x10GetBackupRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x66irestore.googleapis.com/Backup\"_\n\x12ListBackupsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!firestore.googleapis.com/Location\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\"^\n\x13ListBackupsResponse\x12\x32\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32!.google.firestore.admin.v1.Backup\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"L\n\x13\x44\x65leteBackupRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x66irestore.googleapis.com/Backup\"\xfc\x02\n\x16RestoreDatabaseRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!firestore.googleapis.com/Database\x12\x18\n\x0b\x64\x61tabase_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\x06\x62\x61\x63kup\x18\x03 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x66irestore.googleapis.com/Backup\x12T\n\x11\x65ncryption_config\x18\t \x01(\x0b\x32\x34.google.firestore.admin.v1.Database.EncryptionConfigB\x03\xe0\x41\x01\x12Q\n\x04tags\x18\n \x03(\x0b\x32;.google.firestore.admin.v1.RestoreDatabaseRequest.TagsEntryB\x06\xe0\x41\x05\xe0\x41\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x84\x03\n\x14\x43loneDatabaseRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!firestore.googleapis.com/Database\x12\x18\n\x0b\x64\x61tabase_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x43\n\rpitr_snapshot\x18\x06 \x01(\x0b\x32\'.google.firestore.admin.v1.PitrSnapshotB\x03\xe0\x41\x02\x12T\n\x11\x65ncryption_config\x18\x04 \x01(\x0b\x32\x34.google.firestore.admin.v1.Database.EncryptionConfigB\x03\xe0\x41\x01\x12O\n\x04tags\x18\x05 \x03(\x0b\x32\x39.google.firestore.admin.v1.CloneDatabaseRequest.TagsEntryB\x06\xe0\x41\x05\xe0\x41\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x32\xfb\x31\n\x0e\x46irestoreAdmin\x12\xdb\x01\n\x0b\x43reateIndex\x12-.google.firestore.admin.v1.CreateIndexRequest\x1a\x1d.google.longrunning.Operation\"~\xca\x41\x1f\n\x05Index\x12\x16IndexOperationMetadata\xda\x41\x0cparent,index\x82\xd3\xe4\x93\x02G\">/v1/{parent=projects/*/databases/*/collectionGroups/*}/indexes:\x05index\x12\xbd\x01\n\x0bListIndexes\x12-.google.firestore.admin.v1.ListIndexesRequest\x1a..google.firestore.admin.v1.ListIndexesResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/databases/*/collectionGroups/*}/indexes\x12\xa7\x01\n\x08GetIndex\x12*.google.firestore.admin.v1.GetIndexRequest\x1a .google.firestore.admin.v1.Index\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/databases/*/collectionGroups/*/indexes/*}\x12\xa3\x01\n\x0b\x44\x65leteIndex\x12-.google.firestore.admin.v1.DeleteIndexRequest\x1a\x16.google.protobuf.Empty\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@*>/v1/{name=projects/*/databases/*/collectionGroups/*/indexes/*}\x12\xa6\x01\n\x08GetField\x12*.google.firestore.admin.v1.GetFieldRequest\x1a .google.firestore.admin.v1.Field\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?\x12=/v1/{name=projects/*/databases/*/collectionGroups/*/fields/*}\x12\xd9\x01\n\x0bUpdateField\x12-.google.firestore.admin.v1.UpdateFieldRequest\x1a\x1d.google.longrunning.Operation\"|\xca\x41\x1f\n\x05\x46ield\x12\x16\x46ieldOperationMetadata\xda\x41\x05\x66ield\x82\xd3\xe4\x93\x02L2C/v1/{field.name=projects/*/databases/*/collectionGroups/*/fields/*}:\x05\x66ield\x12\xb9\x01\n\nListFields\x12,.google.firestore.admin.v1.ListFieldsRequest\x1a-.google.firestore.admin.v1.ListFieldsResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v1/{parent=projects/*/databases/*/collectionGroups/*}/fields\x12\xdd\x01\n\x0f\x45xportDocuments\x12\x31.google.firestore.admin.v1.ExportDocumentsRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x32\n\x17\x45xportDocumentsResponse\x12\x17\x45xportDocumentsMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\"1/v1/{name=projects/*/databases/*}:exportDocuments:\x01*\x12\xdb\x01\n\x0fImportDocuments\x12\x31.google.firestore.admin.v1.ImportDocumentsRequest\x1a\x1d.google.longrunning.Operation\"v\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17ImportDocumentsMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\"1/v1/{name=projects/*/databases/*}:importDocuments:\x01*\x12\xf2\x01\n\x13\x42ulkDeleteDocuments\x12\x35.google.firestore.admin.v1.BulkDeleteDocumentsRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\xca\x41:\n\x1b\x42ulkDeleteDocumentsResponse\x12\x1b\x42ulkDeleteDocumentsMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/databases/*}:bulkDeleteDocuments:\x01*\x12\xd9\x01\n\x0e\x43reateDatabase\x12\x30.google.firestore.admin.v1.CreateDatabaseRequest\x1a\x1d.google.longrunning.Operation\"v\xca\x41\"\n\x08\x44\x61tabase\x12\x16\x43reateDatabaseMetadata\xda\x41\x1bparent,database,database_id\x82\xd3\xe4\x93\x02-\"!/v1/{parent=projects/*}/databases:\x08\x64\x61tabase\x12\x93\x01\n\x0bGetDatabase\x12-.google.firestore.admin.v1.GetDatabaseRequest\x1a#.google.firestore.admin.v1.Database\"0\xda\x41\x04name\x82\xd3\xe4\x93\x02#\x12!/v1/{name=projects/*/databases/*}\x12\xa6\x01\n\rListDatabases\x12/.google.firestore.admin.v1.ListDatabasesRequest\x1a\x30.google.firestore.admin.v1.ListDatabasesResponse\"2\xda\x41\x06parent\x82\xd3\xe4\x93\x02#\x12!/v1/{parent=projects/*}/databases\x12\xdb\x01\n\x0eUpdateDatabase\x12\x30.google.firestore.admin.v1.UpdateDatabaseRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\"\n\x08\x44\x61tabase\x12\x16UpdateDatabaseMetadata\xda\x41\x14\x64\x61tabase,update_mask\x82\xd3\xe4\x93\x02\x36\x32*/v1/{database.name=projects/*/databases/*}:\x08\x64\x61tabase\x12\xb8\x01\n\x0e\x44\x65leteDatabase\x12\x30.google.firestore.admin.v1.DeleteDatabaseRequest\x1a\x1d.google.longrunning.Operation\"U\xca\x41\"\n\x08\x44\x61tabase\x12\x16\x44\x65leteDatabaseMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02#*!/v1/{name=projects/*/databases/*}\x12\xcf\x01\n\x0f\x43reateUserCreds\x12\x31.google.firestore.admin.v1.CreateUserCredsRequest\x1a$.google.firestore.admin.v1.UserCreds\"c\xda\x41\x1fparent,user_creds,user_creds_id\x82\xd3\xe4\x93\x02;\"-/v1/{parent=projects/*/databases/*}/userCreds:\nuser_creds\x12\xa2\x01\n\x0cGetUserCreds\x12..google.firestore.admin.v1.GetUserCredsRequest\x1a$.google.firestore.admin.v1.UserCreds\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/databases/*/userCreds/*}\x12\xb2\x01\n\rListUserCreds\x12/.google.firestore.admin.v1.ListUserCredsRequest\x1a\x30.google.firestore.admin.v1.ListUserCredsResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/databases/*}/userCreds\x12\xb2\x01\n\x0f\x45nableUserCreds\x12\x31.google.firestore.admin.v1.EnableUserCredsRequest\x1a$.google.firestore.admin.v1.UserCreds\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\"4/v1/{name=projects/*/databases/*/userCreds/*}:enable:\x01*\x12\xb5\x01\n\x10\x44isableUserCreds\x12\x32.google.firestore.admin.v1.DisableUserCredsRequest\x1a$.google.firestore.admin.v1.UserCreds\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/databases/*/userCreds/*}:disable:\x01*\x12\xbd\x01\n\x11ResetUserPassword\x12\x33.google.firestore.admin.v1.ResetUserPasswordRequest\x1a$.google.firestore.admin.v1.UserCreds\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@\";/v1/{name=projects/*/databases/*/userCreds/*}:resetPassword:\x01*\x12\x9a\x01\n\x0f\x44\x65leteUserCreds\x12\x31.google.firestore.admin.v1.DeleteUserCredsRequest\x1a\x16.google.protobuf.Empty\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/databases/*/userCreds/*}\x12\x97\x01\n\tGetBackup\x12+.google.firestore.admin.v1.GetBackupRequest\x1a!.google.firestore.admin.v1.Backup\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/backups/*}\x12\xaa\x01\n\x0bListBackups\x12-.google.firestore.admin.v1.ListBackupsRequest\x1a..google.firestore.admin.v1.ListBackupsResponse\"<\xda\x41\x06parent\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/backups\x12\x92\x01\n\x0c\x44\x65leteBackup\x12..google.firestore.admin.v1.DeleteBackupRequest\x1a\x16.google.protobuf.Empty\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/backups/*}\x12\xbf\x01\n\x0fRestoreDatabase\x12\x31.google.firestore.admin.v1.RestoreDatabaseRequest\x1a\x1d.google.longrunning.Operation\"Z\xca\x41#\n\x08\x44\x61tabase\x12\x17RestoreDatabaseMetadata\x82\xd3\xe4\x93\x02.\")/v1/{parent=projects/*}/databases:restore:\x01*\x12\xe0\x01\n\x14\x43reateBackupSchedule\x12\x36.google.firestore.admin.v1.CreateBackupScheduleRequest\x1a).google.firestore.admin.v1.BackupSchedule\"e\xda\x41\x16parent,backup_schedule\x82\xd3\xe4\x93\x02\x46\"3/v1/{parent=projects/*/databases/*}/backupSchedules:\x0f\x62\x61\x63kup_schedule\x12\xb7\x01\n\x11GetBackupSchedule\x12\x33.google.firestore.admin.v1.GetBackupScheduleRequest\x1a).google.firestore.admin.v1.BackupSchedule\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/databases/*/backupSchedules/*}\x12\xca\x01\n\x13ListBackupSchedules\x12\x35.google.firestore.admin.v1.ListBackupSchedulesRequest\x1a\x36.google.firestore.admin.v1.ListBackupSchedulesResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/databases/*}/backupSchedules\x12\xf5\x01\n\x14UpdateBackupSchedule\x12\x36.google.firestore.admin.v1.UpdateBackupScheduleRequest\x1a).google.firestore.admin.v1.BackupSchedule\"z\xda\x41\x1b\x62\x61\x63kup_schedule,update_mask\x82\xd3\xe4\x93\x02V2C/v1/{backup_schedule.name=projects/*/databases/*/backupSchedules/*}:\x0f\x62\x61\x63kup_schedule\x12\xaa\x01\n\x14\x44\x65leteBackupSchedule\x12\x36.google.firestore.admin.v1.DeleteBackupScheduleRequest\x1a\x16.google.protobuf.Empty\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1/{name=projects/*/databases/*/backupSchedules/*}\x12\xb7\x02\n\rCloneDatabase\x12/.google.firestore.admin.v1.CloneDatabaseRequest\x1a\x1d.google.longrunning.Operation\"\xd5\x01\xca\x41!\n\x08\x44\x61tabase\x12\x15\x43loneDatabaseMetadata\x82\xd3\xe4\x93\x02,\"\'/v1/{parent=projects/*}/databases:clone:\x01*\x8a\xd3\xe4\x93\x02y\x12\x34\n\x16pitr_snapshot.database\x12\x1aprojects/{project_id=*}/**\x12\x41\n\x16pitr_snapshot.database\x12\'projects/*/databases/{database_id=*}/**\x1av\xca\x41\x18\x66irestore.googleapis.com\xd2\x41Xhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/datastoreB\xa5\x03\n\x1d\x63om.google.firestore.admin.v1B\x13\x46irestoreAdminProtoP\x01Z9cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb\xa2\x02\x04GCFS\xaa\x02\x1fGoogle.Cloud.Firestore.Admin.V1\xca\x02\x1fGoogle\\Cloud\\Firestore\\Admin\\V1\xea\x02#Google::Cloud::Firestore::Admin::V1\xea\x41L\n!firestore.googleapis.com/Location\x12\'projects/{project}/locations/{location}\xea\x41q\n(firestore.googleapis.com/CollectionGroup\x12\x45projects/{project}/databases/{database}/collectionGroups/{collection}b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.firestore.admin.v1.Database", "google/firestore/admin/v1/database.proto"], - ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], - ["google.firestore.admin.v1.UserCreds", "google/firestore/admin/v1/user_creds.proto"], - ["google.firestore.admin.v1.BackupSchedule", "google/firestore/admin/v1/schedule.proto"], - ["google.firestore.admin.v1.Index", "google/firestore/admin/v1/index.proto"], - ["google.firestore.admin.v1.Field", "google/firestore/admin/v1/field.proto"], - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.firestore.admin.v1.Backup", "google/firestore/admin/v1/backup.proto"], - ["google.firestore.admin.v1.PitrSnapshot", "google/firestore/admin/v1/snapshot.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/index_pb.rb b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/index_pb.rb index ed7f5c768359..721ace878c83 100644 --- a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/index_pb.rb +++ b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/index_pb.rb @@ -10,29 +10,8 @@ descriptor_data = "\n%google/firestore/admin/v1/index.proto\x12\x19google.firestore.admin.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x82\x0b\n\x05Index\x12\x0c\n\x04name\x18\x01 \x01(\t\x12@\n\x0bquery_scope\x18\x02 \x01(\x0e\x32+.google.firestore.admin.v1.Index.QueryScope\x12<\n\tapi_scope\x18\x05 \x01(\x0e\x32).google.firestore.admin.v1.Index.ApiScope\x12;\n\x06\x66ields\x18\x03 \x03(\x0b\x32+.google.firestore.admin.v1.Index.IndexField\x12\x35\n\x05state\x18\x04 \x01(\x0e\x32&.google.firestore.admin.v1.Index.State\x12>\n\x07\x64\x65nsity\x18\x06 \x01(\x0e\x32(.google.firestore.admin.v1.Index.DensityB\x03\xe0\x41\x05\x12\x15\n\x08multikey\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x12\x18\n\x0bshard_count\x18\x08 \x01(\x05\x42\x03\xe0\x41\x01\x12\x13\n\x06unique\x18\n \x01(\x08\x42\x03\xe0\x41\x01\x1a\xa2\x04\n\nIndexField\x12\x12\n\nfield_path\x18\x01 \x01(\t\x12\x42\n\x05order\x18\x02 \x01(\x0e\x32\x31.google.firestore.admin.v1.Index.IndexField.OrderH\x00\x12O\n\x0c\x61rray_config\x18\x03 \x01(\x0e\x32\x37.google.firestore.admin.v1.Index.IndexField.ArrayConfigH\x00\x12Q\n\rvector_config\x18\x04 \x01(\x0b\x32\x38.google.firestore.admin.v1.Index.IndexField.VectorConfigH\x00\x1a\x8f\x01\n\x0cVectorConfig\x12\x16\n\tdimension\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12R\n\x04\x66lat\x18\x02 \x01(\x0b\x32\x42.google.firestore.admin.v1.Index.IndexField.VectorConfig.FlatIndexH\x00\x1a\x0b\n\tFlatIndexB\x06\n\x04type\"=\n\x05Order\x12\x15\n\x11ORDER_UNSPECIFIED\x10\x00\x12\r\n\tASCENDING\x10\x01\x12\x0e\n\nDESCENDING\x10\x02\"9\n\x0b\x41rrayConfig\x12\x1c\n\x18\x41RRAY_CONFIG_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43ONTAINS\x10\x01\x42\x0c\n\nvalue_mode\"i\n\nQueryScope\x12\x1b\n\x17QUERY_SCOPE_UNSPECIFIED\x10\x00\x12\x0e\n\nCOLLECTION\x10\x01\x12\x14\n\x10\x43OLLECTION_GROUP\x10\x02\x12\x18\n\x14\x43OLLECTION_RECURSIVE\x10\x03\"K\n\x08\x41piScope\x12\x0b\n\x07\x41NY_API\x10\x00\x12\x16\n\x12\x44\x41TASTORE_MODE_API\x10\x01\x12\x1a\n\x16MONGODB_COMPATIBLE_API\x10\x02\"I\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x10\n\x0cNEEDS_REPAIR\x10\x03\"M\n\x07\x44\x65nsity\x12\x17\n\x13\x44\x45NSITY_UNSPECIFIED\x10\x00\x12\x0e\n\nSPARSE_ALL\x10\x01\x12\x0e\n\nSPARSE_ANY\x10\x02\x12\t\n\x05\x44\x45NSE\x10\x03:z\xea\x41w\n\x1e\x66irestore.googleapis.com/Index\x12Uprojects/{project}/databases/{database}/collectionGroups/{collection}/indexes/{index}B\xd9\x01\n\x1d\x63om.google.firestore.admin.v1B\nIndexProtoP\x01Z9cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb\xa2\x02\x04GCFS\xaa\x02\x1fGoogle.Cloud.Firestore.Admin.V1\xca\x02\x1fGoogle\\Cloud\\Firestore\\Admin\\V1\xea\x02#Google::Cloud::Firestore::Admin::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/location_pb.rb b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/location_pb.rb index 9132e2304719..cf43e9c8f76f 100644 --- a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/location_pb.rb +++ b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/location_pb.rb @@ -7,29 +7,8 @@ descriptor_data = "\n(google/firestore/admin/v1/location.proto\x12\x19google.firestore.admin.v1\"\x12\n\x10LocationMetadataB\xdc\x01\n\x1d\x63om.google.firestore.admin.v1B\rLocationProtoP\x01Z9cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb\xa2\x02\x04GCFS\xaa\x02\x1fGoogle.Cloud.Firestore.Admin.V1\xca\x02\x1fGoogle\\Cloud\\Firestore\\Admin\\V1\xea\x02#Google::Cloud::Firestore::Admin::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/operation_pb.rb b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/operation_pb.rb index 604a6a498bc4..751526658a9e 100644 --- a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/operation_pb.rb +++ b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/operation_pb.rb @@ -12,32 +12,8 @@ descriptor_data = "\n)google/firestore/admin/v1/operation.proto\x12\x19google.firestore.admin.v1\x1a\x19google/api/resource.proto\x1a%google/firestore/admin/v1/index.proto\x1a(google/firestore/admin/v1/snapshot.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbd\x02\n\x16IndexOperationMetadata\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05index\x18\x03 \x01(\t\x12\x38\n\x05state\x18\x04 \x01(\x0e\x32).google.firestore.admin.v1.OperationState\x12?\n\x12progress_documents\x18\x05 \x01(\x0b\x32#.google.firestore.admin.v1.Progress\x12;\n\x0eprogress_bytes\x18\x06 \x01(\x0b\x32#.google.firestore.admin.v1.Progress\"\x99\x07\n\x16\x46ieldOperationMetadata\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05\x66ield\x18\x03 \x01(\t\x12_\n\x13index_config_deltas\x18\x04 \x03(\x0b\x32\x42.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta\x12\x38\n\x05state\x18\x05 \x01(\x0e\x32).google.firestore.admin.v1.OperationState\x12?\n\x12progress_documents\x18\x06 \x01(\x0b\x32#.google.firestore.admin.v1.Progress\x12;\n\x0eprogress_bytes\x18\x07 \x01(\x0b\x32#.google.firestore.admin.v1.Progress\x12Z\n\x10ttl_config_delta\x18\x08 \x01(\x0b\x32@.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta\x1a\xe7\x01\n\x10IndexConfigDelta\x12\x62\n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32M.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType\x12/\n\x05index\x18\x02 \x01(\x0b\x32 .google.firestore.admin.v1.Index\">\n\nChangeType\x12\x1b\n\x17\x43HANGE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\n\n\x06REMOVE\x10\x02\x1a\xb2\x01\n\x0eTtlConfigDelta\x12`\n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32K.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType\">\n\nChangeType\x12\x1b\n\x17\x43HANGE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\n\n\x06REMOVE\x10\x02\"\xb6\x03\n\x17\x45xportDocumentsMetadata\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x0foperation_state\x18\x03 \x01(\x0e\x32).google.firestore.admin.v1.OperationState\x12?\n\x12progress_documents\x18\x04 \x01(\x0b\x32#.google.firestore.admin.v1.Progress\x12;\n\x0eprogress_bytes\x18\x05 \x01(\x0b\x32#.google.firestore.admin.v1.Progress\x12\x16\n\x0e\x63ollection_ids\x18\x06 \x03(\t\x12\x19\n\x11output_uri_prefix\x18\x07 \x01(\t\x12\x15\n\rnamespace_ids\x18\x08 \x03(\t\x12\x31\n\rsnapshot_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x82\x03\n\x17ImportDocumentsMetadata\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x0foperation_state\x18\x03 \x01(\x0e\x32).google.firestore.admin.v1.OperationState\x12?\n\x12progress_documents\x18\x04 \x01(\x0b\x32#.google.firestore.admin.v1.Progress\x12;\n\x0eprogress_bytes\x18\x05 \x01(\x0b\x32#.google.firestore.admin.v1.Progress\x12\x16\n\x0e\x63ollection_ids\x18\x06 \x03(\t\x12\x18\n\x10input_uri_prefix\x18\x07 \x01(\t\x12\x15\n\rnamespace_ids\x18\x08 \x03(\t\"\x9f\x03\n\x1b\x42ulkDeleteDocumentsMetadata\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x0foperation_state\x18\x03 \x01(\x0e\x32).google.firestore.admin.v1.OperationState\x12?\n\x12progress_documents\x18\x04 \x01(\x0b\x32#.google.firestore.admin.v1.Progress\x12;\n\x0eprogress_bytes\x18\x05 \x01(\x0b\x32#.google.firestore.admin.v1.Progress\x12\x16\n\x0e\x63ollection_ids\x18\x06 \x03(\t\x12\x15\n\rnamespace_ids\x18\x07 \x03(\t\x12\x31\n\rsnapshot_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"4\n\x17\x45xportDocumentsResponse\x12\x19\n\x11output_uri_prefix\x18\x01 \x01(\t\"\xed\x02\n\x17RestoreDatabaseMetadata\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x0foperation_state\x18\x03 \x01(\x0e\x32).google.firestore.admin.v1.OperationState\x12\x38\n\x08\x64\x61tabase\x18\x04 \x01(\tB&\xfa\x41#\n!firestore.googleapis.com/Database\x12\x34\n\x06\x62\x61\x63kup\x18\x05 \x01(\tB$\xfa\x41!\n\x1f\x66irestore.googleapis.com/Backup\x12@\n\x13progress_percentage\x18\x08 \x01(\x0b\x32#.google.firestore.admin.v1.Progress\"\xf5\x02\n\x15\x43loneDatabaseMetadata\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x0foperation_state\x18\x03 \x01(\x0e\x32).google.firestore.admin.v1.OperationState\x12\x38\n\x08\x64\x61tabase\x18\x04 \x01(\tB&\xfa\x41#\n!firestore.googleapis.com/Database\x12>\n\rpitr_snapshot\x18\x07 \x01(\x0b\x32\'.google.firestore.admin.v1.PitrSnapshot\x12@\n\x13progress_percentage\x18\x06 \x01(\x0b\x32#.google.firestore.admin.v1.Progress\":\n\x08Progress\x12\x16\n\x0e\x65stimated_work\x18\x01 \x01(\x03\x12\x16\n\x0e\x63ompleted_work\x18\x02 \x01(\x03*\x9e\x01\n\x0eOperationState\x12\x1f\n\x1bOPERATION_STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cINITIALIZING\x10\x01\x12\x0e\n\nPROCESSING\x10\x02\x12\x0e\n\nCANCELLING\x10\x03\x12\x0e\n\nFINALIZING\x10\x04\x12\x0e\n\nSUCCESSFUL\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\r\n\tCANCELLED\x10\x07\x42\xdd\x01\n\x1d\x63om.google.firestore.admin.v1B\x0eOperationProtoP\x01Z9cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb\xa2\x02\x04GCFS\xaa\x02\x1fGoogle.Cloud.Firestore.Admin.V1\xca\x02\x1fGoogle\\Cloud\\Firestore\\Admin\\V1\xea\x02#Google::Cloud::Firestore::Admin::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.firestore.admin.v1.Index", "google/firestore/admin/v1/index.proto"], - ["google.firestore.admin.v1.PitrSnapshot", "google/firestore/admin/v1/snapshot.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/realtime_updates_pb.rb b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/realtime_updates_pb.rb index be6ece3ab2d6..f1b55c60d529 100644 --- a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/realtime_updates_pb.rb +++ b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/realtime_updates_pb.rb @@ -7,29 +7,8 @@ descriptor_data = "\n0google/firestore/admin/v1/realtime_updates.proto\x12\x19google.firestore.admin.v1*\x83\x01\n\x13RealtimeUpdatesMode\x12%\n!REALTIME_UPDATES_MODE_UNSPECIFIED\x10\x00\x12!\n\x1dREALTIME_UPDATES_MODE_ENABLED\x10\x01\x12\"\n\x1eREALTIME_UPDATES_MODE_DISABLED\x10\x02\x42\xe3\x01\n\x1d\x63om.google.firestore.admin.v1B\x14RealtimeUpdatesProtoP\x01Z9cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb\xa2\x02\x04GCFS\xaa\x02\x1fGoogle.Cloud.Firestore.Admin.V1\xca\x02\x1fGoogle\\Cloud\\Firestore\\Admin\\V1\xea\x02#Google::Cloud::Firestore::Admin::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/schedule_pb.rb b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/schedule_pb.rb index 9ce18f3264f8..df8fc08598b1 100644 --- a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/schedule_pb.rb +++ b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/schedule_pb.rb @@ -13,31 +13,8 @@ descriptor_data = "\n(google/firestore/admin/v1/schedule.proto\x12\x19google.firestore.admin.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\"\xd6\x03\n\x0e\x42\x61\x63kupSchedule\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12,\n\tretention\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x46\n\x10\x64\x61ily_recurrence\x18\x07 \x01(\x0b\x32*.google.firestore.admin.v1.DailyRecurrenceH\x00\x12H\n\x11weekly_recurrence\x18\x08 \x01(\x0b\x32+.google.firestore.admin.v1.WeeklyRecurrenceH\x00:w\xea\x41t\n\'firestore.googleapis.com/BackupSchedule\x12Iprojects/{project}/databases/{database}/backupSchedules/{backup_schedule}B\x0c\n\nrecurrence\"\x11\n\x0f\x44\x61ilyRecurrence\"7\n\x10WeeklyRecurrence\x12#\n\x03\x64\x61y\x18\x02 \x01(\x0e\x32\x16.google.type.DayOfWeekB\xdc\x01\n\x1d\x63om.google.firestore.admin.v1B\rScheduleProtoP\x01Z9cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb\xa2\x02\x04GCFS\xaa\x02\x1fGoogle.Cloud.Firestore.Admin.V1\xca\x02\x1fGoogle\\Cloud\\Firestore\\Admin\\V1\xea\x02#Google::Cloud::Firestore::Admin::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.protobuf.Duration", "google/protobuf/duration.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/snapshot_pb.rb b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/snapshot_pb.rb index edea876f8875..bb0115dc71ed 100644 --- a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/snapshot_pb.rb +++ b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/snapshot_pb.rb @@ -11,30 +11,8 @@ descriptor_data = "\n(google/firestore/admin/v1/snapshot.proto\x12\x19google.firestore.admin.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9e\x01\n\x0cPitrSnapshot\x12;\n\x08\x64\x61tabase\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!firestore.googleapis.com/Database\x12\x19\n\x0c\x64\x61tabase_uid\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x03\x12\x36\n\rsnapshot_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x42\xe0\x01\n\x1d\x63om.google.firestore.admin.v1B\x11PitrSnapshotProtoP\x01Z9cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb\xa2\x02\x04GCFS\xaa\x02\x1fGoogle.Cloud.Firestore.Admin.V1\xca\x02\x1fGoogle\\Cloud\\Firestore\\Admin\\V1\xea\x02#Google::Cloud::Firestore::Admin::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/user_creds_pb.rb b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/user_creds_pb.rb index 82ff5de9e8fb..f287dbf33562 100644 --- a/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/user_creds_pb.rb +++ b/google-cloud-firestore-admin-v1/lib/google/firestore/admin/v1/user_creds_pb.rb @@ -11,30 +11,8 @@ descriptor_data = "\n*google/firestore/admin/v1/user_creds.proto\x12\x19google.firestore.admin.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x04\n\tUserCreds\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12>\n\x05state\x18\x04 \x01(\x0e\x32*.google.firestore.admin.v1.UserCreds.StateB\x03\xe0\x41\x03\x12\x1c\n\x0fsecure_password\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12R\n\x11resource_identity\x18\x06 \x01(\x0b\x32\x35.google.firestore.admin.v1.UserCreds.ResourceIdentityH\x00\x1a*\n\x10ResourceIdentity\x12\x16\n\tprincipal\x18\x01 \x01(\tB\x03\xe0\x41\x03\"9\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02:}\xea\x41z\n\"firestore.googleapis.com/UserCreds\x12>projects/{project}/databases/{database}/userCreds/{user_creds}*\tuserCreds2\tuserCredsB\x13\n\x11UserCredsIdentityB\xdd\x01\n\x1d\x63om.google.firestore.admin.v1B\x0eUserCredsProtoP\x01Z9cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb\xa2\x02\x04GCFS\xaa\x02\x1fGoogle.Cloud.Firestore.Admin.V1\xca\x02\x1fGoogle\\Cloud\\Firestore\\Admin\\V1\xea\x02#Google::Cloud::Firestore::Admin::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-functions-v1/lib/google/cloud/functions/v1/functions_pb.rb b/google-cloud-functions-v1/lib/google/cloud/functions/v1/functions_pb.rb index c5c8a134c7c6..a3465ee5be1e 100644 --- a/google-cloud-functions-v1/lib/google/cloud/functions/v1/functions_pb.rb +++ b/google-cloud-functions-v1/lib/google/cloud/functions/v1/functions_pb.rb @@ -20,32 +20,8 @@ descriptor_data = "\n)google/cloud/functions/v1/functions.proto\x12\x19google.cloud.functions.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a*google/cloud/functions/v1/operations.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbb\x14\n\rCloudFunction\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1c\n\x12source_archive_url\x18\x03 \x01(\tH\x00\x12H\n\x11source_repository\x18\x04 \x01(\x0b\x32+.google.cloud.functions.v1.SourceRepositoryH\x00\x12\x1b\n\x11source_upload_url\x18\x10 \x01(\tH\x00\x12@\n\rhttps_trigger\x18\x05 \x01(\x0b\x32\'.google.cloud.functions.v1.HttpsTriggerH\x01\x12@\n\revent_trigger\x18\x06 \x01(\x0b\x32\'.google.cloud.functions.v1.EventTriggerH\x01\x12\x43\n\x06status\x18\x07 \x01(\x0e\x32..google.cloud.functions.v1.CloudFunctionStatusB\x03\xe0\x41\x03\x12\x13\n\x0b\x65ntry_point\x18\x08 \x01(\t\x12\x0f\n\x07runtime\x18\x13 \x01(\t\x12*\n\x07timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1b\n\x13\x61vailable_memory_mb\x18\n \x01(\x05\x12\x1d\n\x15service_account_email\x18\x0b \x01(\t\x12\x34\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x17\n\nversion_id\x18\x0e \x01(\x03\x42\x03\xe0\x41\x03\x12\x44\n\x06labels\x18\x0f \x03(\x0b\x32\x34.google.cloud.functions.v1.CloudFunction.LabelsEntry\x12\x61\n\x15\x65nvironment_variables\x18\x11 \x03(\x0b\x32\x42.google.cloud.functions.v1.CloudFunction.EnvironmentVariablesEntry\x12l\n\x1b\x62uild_environment_variables\x18\x1c \x03(\x0b\x32G.google.cloud.functions.v1.CloudFunction.BuildEnvironmentVariablesEntry\x12\x13\n\x07network\x18\x12 \x01(\tB\x02\x18\x01\x12\x15\n\rmax_instances\x18\x14 \x01(\x05\x12\x15\n\rmin_instances\x18 \x01(\x05\x12\x15\n\rvpc_connector\x18\x16 \x01(\t\x12j\n\x1dvpc_connector_egress_settings\x18\x17 \x01(\x0e\x32\x43.google.cloud.functions.v1.CloudFunction.VpcConnectorEgressSettings\x12R\n\x10ingress_settings\x18\x18 \x01(\x0e\x32\x38.google.cloud.functions.v1.CloudFunction.IngressSettings\x12<\n\x0ckms_key_name\x18\x19 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x19\n\x11\x62uild_worker_pool\x18\x1a \x01(\t\x12\x15\n\x08\x62uild_id\x18\x1b \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nbuild_name\x18! \x01(\tB\x03\xe0\x41\x03\x12M\n\x1csecret_environment_variables\x18\x1d \x03(\x0b\x32\'.google.cloud.functions.v1.SecretEnvVar\x12?\n\x0esecret_volumes\x18\x1e \x03(\x0b\x32\'.google.cloud.functions.v1.SecretVolume\x12\x19\n\x0csource_token\x18\x1f \x01(\tB\x03\xe0\x41\x04\x12J\n\x11\x64ocker_repository\x18\" \x01(\tB/\xfa\x41,\n*artifactregistry.googleapis.com/Repository\x12T\n\x0f\x64ocker_registry\x18# \x01(\x0e\x32\x37.google.cloud.functions.v1.CloudFunction.DockerRegistryB\x02\x18\x01\x12\x61\n\x17\x61utomatic_update_policy\x18( \x01(\x0b\x32>.google.cloud.functions.v1.CloudFunction.AutomaticUpdatePolicyH\x02\x12`\n\x17on_deploy_update_policy\x18) \x01(\x0b\x32=.google.cloud.functions.v1.CloudFunction.OnDeployUpdatePolicyH\x02\x12\x1d\n\x15\x62uild_service_account\x18+ \x01(\t\x1a\x17\n\x15\x41utomaticUpdatePolicy\x1a\x34\n\x14OnDeployUpdatePolicy\x12\x1c\n\x0fruntime_version\x18\x01 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x45nvironmentVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a@\n\x1e\x42uildEnvironmentVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x1aVpcConnectorEgressSettings\x12-\n)VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED\x10\x00\x12\x17\n\x13PRIVATE_RANGES_ONLY\x10\x01\x12\x0f\n\x0b\x41LL_TRAFFIC\x10\x02\"x\n\x0fIngressSettings\x12 \n\x1cINGRESS_SETTINGS_UNSPECIFIED\x10\x00\x12\r\n\tALLOW_ALL\x10\x01\x12\x17\n\x13\x41LLOW_INTERNAL_ONLY\x10\x02\x12\x1b\n\x17\x41LLOW_INTERNAL_AND_GCLB\x10\x03\"`\n\x0e\x44ockerRegistry\x12\x1f\n\x1b\x44OCKER_REGISTRY_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43ONTAINER_REGISTRY\x10\x01\x12\x15\n\x11\x41RTIFACT_REGISTRY\x10\x02:n\xea\x41k\n+cloudfunctions.googleapis.com/CloudFunction\x12\n\x1aGenerateDownloadUrlRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nversion_id\x18\x02 \x01(\x04\"3\n\x1bGenerateDownloadUrlResponse\x12\x14\n\x0c\x64ownload_url\x18\x01 \x01(\t*\x92\x01\n\x13\x43loudFunctionStatus\x12%\n!CLOUD_FUNCTION_STATUS_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0b\n\x07OFFLINE\x10\x02\x12\x16\n\x12\x44\x45PLOY_IN_PROGRESS\x10\x03\x12\x16\n\x12\x44\x45LETE_IN_PROGRESS\x10\x04\x12\x0b\n\x07UNKNOWN\x10\x05\x32\x97\x11\n\x15\x43loudFunctionsService\x12\xa9\x01\n\rListFunctions\x12/.google.cloud.functions.v1.ListFunctionsRequest\x1a\x30.google.cloud.functions.v1.ListFunctionsResponse\"5\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/functions\x12\xa4\x01\n\x0bGetFunction\x12-.google.cloud.functions.v1.GetFunctionRequest\x1a(.google.cloud.functions.v1.CloudFunction\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/functions/*}\x12\xdf\x01\n\x0e\x43reateFunction\x12\x30.google.cloud.functions.v1.CreateFunctionRequest\x1a\x1d.google.longrunning.Operation\"|\xca\x41$\n\rCloudFunction\x12\x13OperationMetadataV1\xda\x41\x11location,function\x82\xd3\xe4\x93\x02;\"//v1/{location=projects/*/locations/*}/functions:\x08\x66unction\x12\xdd\x01\n\x0eUpdateFunction\x12\x30.google.cloud.functions.v1.UpdateFunctionRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41$\n\rCloudFunction\x12\x13OperationMetadataV1\xda\x41\x08\x66unction\x82\xd3\xe4\x93\x02\x42\x32\x36/v1/{function.name=projects/*/locations/*/functions/*}:\x08\x66unction\x12\xce\x01\n\x0e\x44\x65leteFunction\x12\x30.google.cloud.functions.v1.DeleteFunctionRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41,\n\x15google.protobuf.Empty\x12\x13OperationMetadataV1\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/functions/*}\x12\xba\x01\n\x0c\x43\x61llFunction\x12..google.cloud.functions.v1.CallFunctionRequest\x1a/.google.cloud.functions.v1.CallFunctionResponse\"I\xda\x41\tname,data\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/functions/*}:call:\x01*\x12\xca\x01\n\x11GenerateUploadUrl\x12\x33.google.cloud.functions.v1.GenerateUploadUrlRequest\x1a\x34.google.cloud.functions.v1.GenerateUploadUrlResponse\"J\x82\xd3\xe4\x93\x02\x44\"?/v1/{parent=projects/*/locations/*}/functions:generateUploadUrl:\x01*\x12\xd2\x01\n\x13GenerateDownloadUrl\x12\x35.google.cloud.functions.v1.GenerateDownloadUrlRequest\x1a\x36.google.cloud.functions.v1.GenerateDownloadUrlResponse\"L\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/functions/*}:generateDownloadUrl:\x01*\x12\x94\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"I\x82\xd3\xe4\x93\x02\x43\">/v1/{resource=projects/*/locations/*/functions/*}:setIamPolicy:\x01*\x12\x91\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"F\x82\xd3\xe4\x93\x02@\x12>/v1/{resource=projects/*/locations/*/functions/*}:getIamPolicy\x12\xba\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"O\x82\xd3\xe4\x93\x02I\"D/v1/{resource=projects/*/locations/*/functions/*}:testIamPermissions:\x01*\x1aQ\xca\x41\x1d\x63loudfunctions.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe1\x02\n\x1d\x63om.google.cloud.functions.v1B\x0e\x46unctionsProtoP\x01Z;cloud.google.com/go/functions/apiv1/functionspb;functionspb\xa2\x02\x03GCF\xea\x41o\n*artifactregistry.googleapis.com/Repository\x12\x41projects/{project}/locations/{location}/repositories/{repository}\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Duration", "google/protobuf/duration.proto"], - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-functions-v1/lib/google/cloud/functions/v1/operations_pb.rb b/google-cloud-functions-v1/lib/google/cloud/functions/v1/operations_pb.rb index d7eed75eb7b0..49394e358e6e 100644 --- a/google-cloud-functions-v1/lib/google/cloud/functions/v1/operations_pb.rb +++ b/google-cloud-functions-v1/lib/google/cloud/functions/v1/operations_pb.rb @@ -10,31 +10,8 @@ descriptor_data = "\n*google/cloud/functions/v1/operations.proto\x12\x19google.cloud.functions.v1\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x85\x02\n\x13OperationMetadataV1\x12\x0e\n\x06target\x18\x01 \x01(\t\x12\x36\n\x04type\x18\x02 \x01(\x0e\x32(.google.cloud.functions.v1.OperationType\x12%\n\x07request\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x12\n\nversion_id\x18\x04 \x01(\x03\x12/\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08\x62uild_id\x18\x06 \x01(\t\x12\x14\n\x0csource_token\x18\x07 \x01(\t\x12\x12\n\nbuild_name\x18\x08 \x01(\t*i\n\rOperationType\x12\x19\n\x15OPERATION_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x43REATE_FUNCTION\x10\x01\x12\x13\n\x0fUPDATE_FUNCTION\x10\x02\x12\x13\n\x0f\x44\x45LETE_FUNCTION\x10\x03\x42x\n\x1d\x63om.google.cloud.functions.v1B\x18\x46unctionsOperationsProtoP\x01Z;cloud.google.com/go/functions/apiv1/functionspb;functionspbb\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Any", "google/protobuf/any.proto"], - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-functions-v2/lib/google/cloud/functions/v2/functions_pb.rb b/google-cloud-functions-v2/lib/google/cloud/functions/v2/functions_pb.rb index 0939a5e38cf3..dd1057d4a303 100644 --- a/google-cloud-functions-v2/lib/google/cloud/functions/v2/functions_pb.rb +++ b/google-cloud-functions-v2/lib/google/cloud/functions/v2/functions_pb.rb @@ -18,33 +18,8 @@ descriptor_data = "\n)google/cloud/functions/v2/functions.proto\x12\x19google.cloud.functions.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x19google/protobuf/any.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/date.proto\"\xd9\x07\n\x08\x46unction\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12<\n\x0c\x62uild_config\x18\x03 \x01(\x0b\x32&.google.cloud.functions.v2.BuildConfig\x12@\n\x0eservice_config\x18\x04 \x01(\x0b\x32(.google.cloud.functions.v2.ServiceConfig\x12>\n\revent_trigger\x18\x05 \x01(\x0b\x32\'.google.cloud.functions.v2.EventTrigger\x12=\n\x05state\x18\x06 \x01(\x0e\x32).google.cloud.functions.v2.Function.StateB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x06labels\x18\x08 \x03(\x0b\x32/.google.cloud.functions.v2.Function.LabelsEntry\x12\x44\n\x0estate_messages\x18\t \x03(\x0b\x32\'.google.cloud.functions.v2.StateMessageB\x03\xe0\x41\x03\x12;\n\x0b\x65nvironment\x18\n \x01(\x0e\x32&.google.cloud.functions.v2.Environment\x12\x10\n\x03url\x18\x0e \x01(\tB\x03\xe0\x41\x03\x12<\n\x0ckms_key_name\x18\x19 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x1a\n\rsatisfies_pzs\x18\x1b \x01(\x08\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x1c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"`\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\r\n\tDEPLOYING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0b\n\x07UNKNOWN\x10\x05:~\xea\x41{\n&cloudfunctions.googleapis.com/Function\x12\n\x0bworker_pool\x18\x05 \x01(\tB)\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\x12_\n\x15\x65nvironment_variables\x18\x06 \x03(\x0b\x32@.google.cloud.functions.v2.BuildConfig.EnvironmentVariablesEntry\x12R\n\x0f\x64ocker_registry\x18\n \x01(\x0e\x32\x35.google.cloud.functions.v2.BuildConfig.DockerRegistryB\x02\x18\x01\x12J\n\x11\x64ocker_repository\x18\x07 \x01(\tB/\xfa\x41,\n*artifactregistry.googleapis.com/Repository\x12\x17\n\x0fservice_account\x18\x1b \x01(\t\x1a;\n\x19\x45nvironmentVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"`\n\x0e\x44ockerRegistry\x12\x1f\n\x1b\x44OCKER_REGISTRY_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43ONTAINER_REGISTRY\x10\x01\x12\x15\n\x11\x41RTIFACT_REGISTRY\x10\x02\x42\x17\n\x15runtime_update_policy\"\xd4\n\n\rServiceConfig\x12\x33\n\x07service\x18\x01 \x01(\tB\"\xe0\x41\x03\xfa\x41\x1c\n\x1arun.googleapis.com/Service\x12\x17\n\x0ftimeout_seconds\x18\x02 \x01(\x05\x12\x18\n\x10\x61vailable_memory\x18\r \x01(\t\x12\x15\n\ravailable_cpu\x18\x16 \x01(\t\x12\x61\n\x15\x65nvironment_variables\x18\x04 \x03(\x0b\x32\x42.google.cloud.functions.v2.ServiceConfig.EnvironmentVariablesEntry\x12\x1a\n\x12max_instance_count\x18\x05 \x01(\x05\x12\x1a\n\x12min_instance_count\x18\x0c \x01(\x05\x12>\n\rvpc_connector\x18\x06 \x01(\tB\'\xfa\x41$\n\"vpcaccess.googleapis.com/Connector\x12j\n\x1dvpc_connector_egress_settings\x18\x07 \x01(\x0e\x32\x43.google.cloud.functions.v2.ServiceConfig.VpcConnectorEgressSettings\x12R\n\x10ingress_settings\x18\x08 \x01(\x0e\x32\x38.google.cloud.functions.v2.ServiceConfig.IngressSettings\x12\x10\n\x03uri\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x15service_account_email\x18\n \x01(\t\x12&\n\x1e\x61ll_traffic_on_latest_revision\x18\x10 \x01(\x08\x12M\n\x1csecret_environment_variables\x18\x11 \x03(\x0b\x32\'.google.cloud.functions.v2.SecretEnvVar\x12?\n\x0esecret_volumes\x18\x13 \x03(\x0b\x32\'.google.cloud.functions.v2.SecretVolume\x12\x15\n\x08revision\x18\x12 \x01(\tB\x03\xe0\x41\x03\x12(\n max_instance_request_concurrency\x18\x14 \x01(\x05\x12N\n\x0esecurity_level\x18\x15 \x01(\x0e\x32\x36.google.cloud.functions.v2.ServiceConfig.SecurityLevel\x12(\n\x1b\x62inary_authorization_policy\x18\x17 \x01(\tB\x03\xe0\x41\x01\x1a;\n\x19\x45nvironmentVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x1aVpcConnectorEgressSettings\x12-\n)VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED\x10\x00\x12\x17\n\x13PRIVATE_RANGES_ONLY\x10\x01\x12\x0f\n\x0b\x41LL_TRAFFIC\x10\x02\"x\n\x0fIngressSettings\x12 \n\x1cINGRESS_SETTINGS_UNSPECIFIED\x10\x00\x12\r\n\tALLOW_ALL\x10\x01\x12\x17\n\x13\x41LLOW_INTERNAL_ONLY\x10\x02\x12\x1b\n\x17\x41LLOW_INTERNAL_AND_GCLB\x10\x03\"W\n\rSecurityLevel\x12\x1e\n\x1aSECURITY_LEVEL_UNSPECIFIED\x10\x00\x12\x11\n\rSECURE_ALWAYS\x10\x01\x12\x13\n\x0fSECURE_OPTIONAL\x10\x02\"P\n\x0cSecretEnvVar\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x0e\n\x06secret\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\t\"\xbf\x01\n\x0cSecretVolume\x12\x12\n\nmount_path\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x0e\n\x06secret\x18\x03 \x01(\t\x12G\n\x08versions\x18\x04 \x03(\x0b\x32\x35.google.cloud.functions.v2.SecretVolume.SecretVersion\x1a.\n\rSecretVersion\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\"\x9b\x04\n\x0c\x45ventTrigger\x12\x38\n\x07trigger\x18\x01 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x65ventarc.googleapis.com/Trigger\x12\x16\n\x0etrigger_region\x18\x02 \x01(\t\x12\x17\n\nevent_type\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12=\n\revent_filters\x18\x04 \x03(\x0b\x32&.google.cloud.functions.v2.EventFilter\x12\x39\n\x0cpubsub_topic\x18\x05 \x01(\tB#\xe0\x41\x01\xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\"\n\x15service_account_email\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12N\n\x0cretry_policy\x18\x07 \x01(\x0e\x32\x33.google.cloud.functions.v2.EventTrigger.RetryPolicyB\x03\xe0\x41\x01\x12\x38\n\x07\x63hannel\x18\x08 \x01(\tB\'\xe0\x41\x01\xfa\x41!\n\x1f\x65ventarc.googleapis.com/Channel\x12\x14\n\x07service\x18\t \x01(\tB\x03\xe0\x41\x01\"b\n\x0bRetryPolicy\x12\x1c\n\x18RETRY_POLICY_UNSPECIFIED\x10\x00\x12\x1d\n\x19RETRY_POLICY_DO_NOT_RETRY\x10\x01\x12\x16\n\x12RETRY_POLICY_RETRY\x10\x02\"P\n\x0b\x45ventFilter\x12\x16\n\tattribute\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08operator\x18\x03 \x01(\tB\x03\xe0\x41\x01\"i\n\x12GetFunctionRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&cloudfunctions.googleapis.com/Function\x12\x15\n\x08revision\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x9f\x01\n\x14ListFunctionsRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&cloudfunctions.googleapis.com/Function\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"}\n\x15ListFunctionsResponse\x12\x36\n\tfunctions\x18\x01 \x03(\x0b\x32#.google.cloud.functions.v2.Function\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xa3\x01\n\x15\x43reateFunctionRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12:\n\x08\x66unction\x18\x02 \x01(\x0b\x32#.google.cloud.functions.v2.FunctionB\x03\xe0\x41\x02\x12\x13\n\x0b\x66unction_id\x18\x03 \x01(\t\"\x84\x01\n\x15UpdateFunctionRequest\x12:\n\x08\x66unction\x18\x01 \x01(\x0b\x32#.google.cloud.functions.v2.FunctionB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"U\n\x15\x44\x65leteFunctionRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&cloudfunctions.googleapis.com/Function\"\xd0\x01\n\x18GenerateUploadUrlRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12<\n\x0ckms_key_name\x18\x02 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12;\n\x0b\x65nvironment\x18\x03 \x01(\x0e\x32&.google.cloud.functions.v2.Environment\"q\n\x19GenerateUploadUrlResponse\x12\x12\n\nupload_url\x18\x01 \x01(\t\x12@\n\x0estorage_source\x18\x02 \x01(\x0b\x32(.google.cloud.functions.v2.StorageSource\"Z\n\x1aGenerateDownloadUrlRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&cloudfunctions.googleapis.com/Function\"3\n\x1bGenerateDownloadUrlResponse\x12\x14\n\x0c\x64ownload_url\x18\x01 \x01(\t\"`\n\x13ListRuntimesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\"\x89\x04\n\x14ListRuntimesResponse\x12I\n\x08runtimes\x18\x01 \x03(\x0b\x32\x37.google.cloud.functions.v2.ListRuntimesResponse.Runtime\x1a\xa4\x02\n\x07Runtime\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12K\n\x05stage\x18\x02 \x01(\x0e\x32<.google.cloud.functions.v2.ListRuntimesResponse.RuntimeStage\x12\x10\n\x08warnings\x18\x03 \x03(\t\x12;\n\x0b\x65nvironment\x18\x04 \x01(\x0e\x32&.google.cloud.functions.v2.Environment\x12+\n\x10\x64\x65precation_date\x18\x06 \x01(\x0b\x32\x11.google.type.Date\x12,\n\x11\x64\x65\x63ommission_date\x18\x07 \x01(\x0b\x32\x11.google.type.Date\"\x7f\n\x0cRuntimeStage\x12\x1d\n\x19RUNTIME_STAGE_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x44\x45VELOPMENT\x10\x01\x12\t\n\x05\x41LPHA\x10\x02\x12\x08\n\x04\x42\x45TA\x10\x03\x12\x06\n\x02GA\x10\x04\x12\x0e\n\nDEPRECATED\x10\x05\x12\x12\n\x0e\x44\x45\x43OMMISSIONED\x10\x06\"\x17\n\x15\x41utomaticUpdatePolicy\"4\n\x14OnDeployUpdatePolicy\x12\x1c\n\x0fruntime_version\x18\x01 \x01(\tB\x03\xe0\x41\x03\"\xa4\x03\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x0c\n\x04verb\x18\x04 \x01(\t\x12\x15\n\rstatus_detail\x18\x05 \x01(\t\x12\x18\n\x10\x63\x61ncel_requested\x18\x06 \x01(\x08\x12\x13\n\x0b\x61pi_version\x18\x07 \x01(\t\x12.\n\x10request_resource\x18\x08 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x30\n\x06stages\x18\t \x03(\x0b\x32 .google.cloud.functions.v2.Stage\x12\x14\n\x0csource_token\x18\n \x01(\t\x12\x12\n\nbuild_name\x18\r \x01(\t\x12@\n\x0eoperation_type\x18\x0b \x01(\x0e\x32(.google.cloud.functions.v2.OperationType\"P\n\x10LocationMetadata\x12<\n\x0c\x65nvironments\x18\x01 \x03(\x0e\x32&.google.cloud.functions.v2.Environment\"\xc4\x03\n\x05Stage\x12\x33\n\x04name\x18\x01 \x01(\x0e\x32%.google.cloud.functions.v2.Stage.Name\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x35\n\x05state\x18\x03 \x01(\x0e\x32&.google.cloud.functions.v2.Stage.State\x12\x10\n\x08resource\x18\x04 \x01(\t\x12\x14\n\x0cresource_uri\x18\x05 \x01(\t\x12?\n\x0estate_messages\x18\x06 \x03(\x0b\x32\'.google.cloud.functions.v2.StateMessage\"\x84\x01\n\x04Name\x12\x14\n\x10NAME_UNSPECIFIED\x10\x00\x12\x15\n\x11\x41RTIFACT_REGISTRY\x10\x01\x12\t\n\x05\x42UILD\x10\x02\x12\x0b\n\x07SERVICE\x10\x03\x12\x0b\n\x07TRIGGER\x10\x04\x12\x14\n\x10SERVICE_ROLLBACK\x10\x05\x12\x14\n\x10TRIGGER_ROLLBACK\x10\x06\"N\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNOT_STARTED\x10\x01\x12\x0f\n\x0bIN_PROGRESS\x10\x02\x12\x0c\n\x08\x43OMPLETE\x10\x03*m\n\rOperationType\x12\x1d\n\x19OPERATIONTYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x43REATE_FUNCTION\x10\x01\x12\x13\n\x0fUPDATE_FUNCTION\x10\x02\x12\x13\n\x0f\x44\x45LETE_FUNCTION\x10\x03*@\n\x0b\x45nvironment\x12\x1b\n\x17\x45NVIRONMENT_UNSPECIFIED\x10\x00\x12\t\n\x05GEN_1\x10\x01\x12\t\n\x05GEN_2\x10\x02\x32\xaa\x0e\n\x0f\x46unctionService\x12\x9f\x01\n\x0bGetFunction\x12-.google.cloud.functions.v2.GetFunctionRequest\x1a#.google.cloud.functions.v2.Function\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v2/{name=projects/*/locations/*/functions/*}\x12\xb2\x01\n\rListFunctions\x12/.google.cloud.functions.v2.ListFunctionsRequest\x1a\x30.google.cloud.functions.v2.ListFunctionsResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v2/{parent=projects/*/locations/*}/functions\x12\x95\x02\n\x0e\x43reateFunction\x12\x30.google.cloud.functions.v2.CreateFunctionRequest\x1a\x1d.google.longrunning.Operation\"\xb1\x01\xca\x41Q\n\"google.cloud.functions.v2.Function\x12+google.cloud.functions.v2.OperationMetadata\xda\x41\x1bparent,function,function_id\x82\xd3\xe4\x93\x02\x39\"-/v2/{parent=projects/*/locations/*}/functions:\x08\x66unction\x12\x97\x02\n\x0eUpdateFunction\x12\x30.google.cloud.functions.v2.UpdateFunctionRequest\x1a\x1d.google.longrunning.Operation\"\xb3\x01\xca\x41Q\n\"google.cloud.functions.v2.Function\x12+google.cloud.functions.v2.OperationMetadata\xda\x41\x14\x66unction,update_mask\x82\xd3\xe4\x93\x02\x42\x32\x36/v2/{function.name=projects/*/locations/*/functions/*}:\x08\x66unction\x12\xe7\x01\n\x0e\x44\x65leteFunction\x12\x30.google.cloud.functions.v2.DeleteFunctionRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\xca\x41\x44\n\x15google.protobuf.Empty\x12+google.cloud.functions.v2.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v2/{name=projects/*/locations/*/functions/*}\x12\xca\x01\n\x11GenerateUploadUrl\x12\x33.google.cloud.functions.v2.GenerateUploadUrlRequest\x1a\x34.google.cloud.functions.v2.GenerateUploadUrlResponse\"J\x82\xd3\xe4\x93\x02\x44\"?/v2/{parent=projects/*/locations/*}/functions:generateUploadUrl:\x01*\x12\xd2\x01\n\x13GenerateDownloadUrl\x12\x35.google.cloud.functions.v2.GenerateDownloadUrlRequest\x1a\x36.google.cloud.functions.v2.GenerateDownloadUrlResponse\"L\x82\xd3\xe4\x93\x02\x46\"A/v2/{name=projects/*/locations/*/functions/*}:generateDownloadUrl:\x01*\x12\xae\x01\n\x0cListRuntimes\x12..google.cloud.functions.v2.ListRuntimesRequest\x1a/.google.cloud.functions.v2.ListRuntimesResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v2/{parent=projects/*/locations/*}/runtimes\x1aQ\xca\x41\x1d\x63loudfunctions.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xee\x07\n\x1d\x63om.google.cloud.functions.v2B\x0e\x46unctionsProtoP\x01Z;cloud.google.com/go/functions/apiv2/functionspb;functionspb\xa2\x02\x03GCF\xea\x41o\n*artifactregistry.googleapis.com/Repository\x12\x41projects/{project}/locations/{location}/repositories/{repository}\xea\x41Y\n\x1f\x63loudbuild.googleapis.com/Build\x12\x36projects/{project}/locations/{location}/builds/{build}\xea\x41i\n$cloudbuild.googleapis.com/WorkerPool\x12\x41projects/{project}/locations/{location}/workerPools/{worker_pool}\xea\x41X\n\x1arun.googleapis.com/Service\x12:projects/{project}/locations/{location}/services/{service}\xea\x41\x64\n\"vpcaccess.googleapis.com/Connector\x12>projects/{project}/locations/{location}/connectors/{connector}\xea\x41]\n\x1f\x65ventarc.googleapis.com/Trigger\x12:projects/{project}/locations/{location}/triggers/{trigger}\xea\x41]\n\x1f\x65ventarc.googleapis.com/Channel\x12:projects/{project}/locations/{location}/channels/{channel}\xea\x41@\n\x1bpubsub.googleapis.com/Topic\x12!projects/{project}/topics/{topic}\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], - ["google.type.Date", "google/type/date.proto"], - ["google.protobuf.Any", "google/protobuf/any.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gdc_hardware_management-v1alpha/lib/google/cloud/gdchardwaremanagement/v1alpha/resources_pb.rb b/google-cloud-gdc_hardware_management-v1alpha/lib/google/cloud/gdchardwaremanagement/v1alpha/resources_pb.rb index ace5f72be29f..83d7e320142a 100644 --- a/google-cloud-gdc_hardware_management-v1alpha/lib/google/cloud/gdchardwaremanagement/v1alpha/resources_pb.rb +++ b/google-cloud-gdc_hardware_management-v1alpha/lib/google/cloud/gdchardwaremanagement/v1alpha/resources_pb.rb @@ -17,34 +17,8 @@ descriptor_data = "\n:google/cloud/gdchardwaremanagement/v1alpha/resources.proto\x12*google.cloud.gdchardwaremanagement.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/date.proto\x1a\x1agoogle/type/datetime.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a google/type/postal_address.proto\x1a\x1bgoogle/type/timeofday.proto\"\xf6\x0f\n\x05Order\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\r \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12R\n\x06labels\x18\x04 \x03(\x0b\x32=.google.cloud.gdchardwaremanagement.v1alpha.Order.LabelsEntryB\x03\xe0\x41\x01\x12K\n\x05state\x18\x05 \x01(\x0e\x32\x37.google.cloud.gdchardwaremanagement.v1alpha.Order.StateB\x03\xe0\x41\x03\x12\x62\n\x14organization_contact\x18\x06 \x01(\x0b\x32?.google.cloud.gdchardwaremanagement.v1alpha.OrganizationContactB\x03\xe0\x41\x02\x12\x1d\n\x10target_workloads\x18\x07 \x03(\tB\x03\xe0\x41\x01\x12 \n\x13\x63ustomer_motivation\x18\x08 \x01(\tB\x03\xe0\x41\x02\x12;\n\x10\x66ulfillment_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x05\x18\x01\xe0\x41\x01\x12\x44\n$customer_requested_installation_date\x18\x15 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12\x18\n\x0bregion_code\x18\n \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0eorder_form_uri\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12I\n\x04type\x18\x0c \x01(\x0e\x32\x36.google.cloud.gdchardwaremanagement.v1alpha.Order.TypeB\x03\xe0\x41\x03\x12\x34\n\x0bsubmit_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x17\n\nbilling_id\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12\\\n\x11\x65xisting_hardware\x18\x10 \x03(\x0b\x32<.google.cloud.gdchardwaremanagement.v1alpha.HardwareLocationB\x03\xe0\x41\x01\x12^\n\x0f\x64\x65ployment_type\x18\x12 \x01(\x0e\x32@.google.cloud.gdchardwaremanagement.v1alpha.Order.DeploymentTypeB\x03\xe0\x41\x03\x12\x38\n\x18\x61\x63tual_installation_date\x18\x13 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x03\x12;\n\x1b\x65stimated_installation_date\x18\x14 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x03\x12\x37\n\x17\x65stimated_delivery_date\x18\x16 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x03\x12\x16\n\tmigration\x18\x17 \x01(\x08\x42\x03\xe0\x41\x01\x12\x36\n\raccepted_time\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x15requested_date_change\x18\x19 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x03\x12\x19\n\x0cvendor_notes\x18\x1a \x01(\tB\x03\xe0\x41\x03\x12\\\n\x0evendor_contact\x18\x1b \x01(\x0b\x32?.google.cloud.gdchardwaremanagement.v1alpha.OrganizationContactB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xe4\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05\x44RAFT\x10\x01\x12\r\n\tSUBMITTED\x10\x02\x12\x11\n\rINFO_COMPLETE\x10\x0c\x12\x0c\n\x08\x41\x43\x43\x45PTED\x10\x03\x12\x1a\n\x16\x41\x44\x44ITIONAL_INFO_NEEDED\x10\x04\x12\x0c\n\x08\x42UILDING\x10\x05\x12\x0c\n\x08SHIPPING\x10\x06\x12\x0e\n\nINSTALLING\x10\x07\x12\n\n\x06\x46\x41ILED\x10\x08\x12\x17\n\x13PARTIALLY_COMPLETED\x10\t\x12\r\n\tCOMPLETED\x10\n\x12\r\n\tCANCELLED\x10\x0b\"?\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04PAID\x10\x01\x12\x07\n\x03POC\x10\x02\x12\n\n\x06UNPAID\x10\x02\x1a\x02\x10\x01\"|\n\x0e\x44\x65ploymentType\x12\x1f\n\x1b\x44\x45PLOYMENT_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x46ULL_PRODUCTION\x10\x01\x12\x14\n\x10PROOF_OF_CONCEPT\x10\x02\x12\x0c\n\x08INTERNAL\x10\x03\x12\x10\n\x0c\x43USTOMER_LAB\x10\x04:v\xea\x41s\n*gdchardwaremanagement.googleapis.com/Order\x12\x36projects/{project}/locations/{location}/orders/{order}*\x06orders2\x05order\"\xbb\x05\n\x04Site\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x18 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x19 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Q\n\x06labels\x18\x04 \x03(\x0b\x32<.google.cloud.gdchardwaremanagement.v1alpha.Site.LabelsEntryB\x03\xe0\x41\x01\x12\x62\n\x14organization_contact\x18\x05 \x01(\x0b\x32?.google.cloud.gdchardwaremanagement.v1alpha.OrganizationContactB\x03\xe0\x41\x02\x12 \n\x13google_maps_pin_uri\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12Q\n\x0c\x61\x63\x63\x65ss_times\x18\x1a \x03(\x0b\x32\x36.google.cloud.gdchardwaremanagement.v1alpha.TimePeriodB\x03\xe0\x41\x01\x12\x12\n\x05notes\x18\x1b \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10\x63ustomer_site_id\x18\x1c \x01(\tB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:q\xea\x41n\n)gdchardwaremanagement.googleapis.com/Site\x12\x34projects/{project}/locations/{location}/sites/{site}*\x05sites2\x04site\"\xec\x07\n\rHardwareGroup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Z\n\x06labels\x18\x04 \x03(\x0b\x32\x45.google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup.LabelsEntryB\x03\xe0\x41\x01\x12\x1b\n\x0ehardware_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x02\x12O\n\x06\x63onfig\x18\x06 \x01(\x0b\x32:.google.cloud.gdchardwaremanagement.v1alpha.HardwareConfigB\x03\xe0\x41\x02\x12?\n\x04site\x18\x07 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gdchardwaremanagement.googleapis.com/Site\x12S\n\x05state\x18\x08 \x01(\x0e\x32?.google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup.StateB\x03\xe0\x41\x03\x12?\n\x04zone\x18\t \x01(\tB1\xe0\x41\x01\xfa\x41+\n)gdchardwaremanagement.googleapis.com/Zone\x12=\n\x1brequested_installation_date\x18\n \x01(\x0b\x32\x11.google.type.DateB\x05\x18\x01\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9a\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x41\x44\x44ITIONAL_INFO_NEEDED\x10\x01\x12\x0c\n\x08\x42UILDING\x10\x02\x12\x0c\n\x08SHIPPING\x10\x03\x12\x0e\n\nINSTALLING\x10\x04\x12\x17\n\x13PARTIALLY_INSTALLED\x10\x05\x12\r\n\tINSTALLED\x10\x06\x12\n\n\x06\x46\x41ILED\x10\x07:\xaf\x01\xea\x41\xab\x01\n2gdchardwaremanagement.googleapis.com/HardwareGroup\x12Vprojects/{project}/locations/{location}/orders/{order}/hardwareGroups/{hardware_group}*\x0ehardwareGroups2\rhardwareGroup\"\x99\x11\n\x08Hardware\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12U\n\x06labels\x18\x05 \x03(\x0b\x32@.google.cloud.gdchardwaremanagement.v1alpha.Hardware.LabelsEntryB\x03\xe0\x41\x01\x12\x41\n\x05order\x18\x06 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*gdchardwaremanagement.googleapis.com/Order\x12R\n\x0ehardware_group\x18\x07 \x01(\tB:\xe0\x41\x03\xfa\x41\x34\n2gdchardwaremanagement.googleapis.com/HardwareGroup\x12?\n\x04site\x18\x08 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gdchardwaremanagement.googleapis.com/Site\x12N\n\x05state\x18\t \x01(\x0e\x32:.google.cloud.gdchardwaremanagement.v1alpha.Hardware.StateB\x03\xe0\x41\x03\x12\x14\n\x07\x63iq_uri\x18\n \x01(\tB\x03\xe0\x41\x03\x12O\n\x06\x63onfig\x18\x0b \x01(\x0b\x32:.google.cloud.gdchardwaremanagement.v1alpha.HardwareConfigB\x03\xe0\x41\x02\x12;\n\x1b\x65stimated_installation_date\x18\x0c \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x03\x12\\\n\rphysical_info\x18\r \x01(\x0b\x32@.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfoB\x03\xe0\x41\x01\x12\x64\n\x11installation_info\x18\x0e \x01(\x0b\x32\x44.google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfoB\x03\xe0\x41\x01\x12?\n\x04zone\x18\x0f \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gdchardwaremanagement.googleapis.com/Zone\x12;\n\x1brequested_installation_date\x18\x10 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12\x38\n\x18\x61\x63tual_installation_date\x18\x11 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x03\x12\\\n\rmachine_infos\x18\x14 \x03(\x0b\x32@.google.cloud.gdchardwaremanagement.v1alpha.Hardware.MachineInfoB\x03\xe0\x41\x03\x12\x37\n\x17\x65stimated_delivery_date\x18\x15 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x03\x1a\xf1\x01\n\nMacAddress\x12\x14\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12^\n\x04type\x18\x02 \x01(\x0e\x32K.google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress.AddressTypeB\x03\xe0\x41\x03\x12!\n\x0cipv4_address\x18\x03 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x02\"J\n\x0b\x41\x64\x64ressType\x12\x1c\n\x18\x41\x44\x44RESS_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03NIC\x10\x01\x12\x07\n\x03\x42MC\x10\x02\x12\x0b\n\x07VIRTUAL\x10\x03\x1a\x9c\x01\n\x08\x44iskInfo\x12\x19\n\x0cmanufacturer\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04slot\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1a\n\rserial_number\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04psid\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0bpart_number\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cmodel_number\x18\x06 \x01(\tB\x03\xe0\x41\x03\x1a\xef\x01\n\x0bMachineInfo\x12\x18\n\x0bservice_tag\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12[\n\rmac_addresses\x18\x02 \x03(\x0b\x32?.google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddressB\x03\xe0\x41\x03\x12\x11\n\x04name\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12V\n\ndisk_infos\x18\x04 \x03(\x0b\x32=.google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfoB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x81\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x41\x44\x44ITIONAL_INFO_NEEDED\x10\x01\x12\x0c\n\x08\x42UILDING\x10\x02\x12\x0c\n\x08SHIPPING\x10\x03\x12\x0e\n\nINSTALLING\x10\x04\x12\r\n\tINSTALLED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06:\x84\x01\xea\x41\x80\x01\n-gdchardwaremanagement.googleapis.com/Hardware\x12;projects/{project}/locations/{location}/hardware/{hardware}*\x08hardware2\x08hardware\"\xa1\x04\n\x07\x43omment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12T\n\x06labels\x18\x03 \x03(\x0b\x32?.google.cloud.gdchardwaremanagement.v1alpha.Comment.LabelsEntryB\x03\xe0\x41\x01\x12\x13\n\x06\x61uthor\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04text\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12=\n\x14\x63ustomer_viewed_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12N\n\rauthor_entity\x18\x07 \x01(\x0e\x32\x32.google.cloud.gdchardwaremanagement.v1alpha.EntityB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x90\x01\xea\x41\x8c\x01\n,gdchardwaremanagement.googleapis.com/Comment\x12Iprojects/{project}/locations/{location}/orders/{order}/comments/{comment}*\x08\x63omments2\x07\x63omment\"\xb1\x03\n\x0e\x43hangeLogEntry\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12[\n\x06labels\x18\x03 \x03(\x0b\x32\x46.google.cloud.gdchardwaremanagement.v1alpha.ChangeLogEntry.LabelsEntryB\x03\xe0\x41\x01\x12\x10\n\x03log\x18\x04 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xb7\x01\xea\x41\xb3\x01\n3gdchardwaremanagement.googleapis.com/ChangeLogEntry\x12Zprojects/{project}/locations/{location}/orders/{order}/changeLogEntries/{change_log_entry}*\x10\x63hangeLogEntries2\x0e\x63hangeLogEntry\"\x8a\x06\n\x03Sku\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12J\n\x06\x63onfig\x18\x06 \x01(\x0b\x32\x35.google.cloud.gdchardwaremanagement.v1alpha.SkuConfigB\x03\xe0\x41\x03\x12O\n\tinstances\x18\x07 \x03(\x0b\x32\x37.google.cloud.gdchardwaremanagement.v1alpha.SkuInstanceB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0brevision_id\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x16\n\tis_active\x18\n \x01(\x08\x42\x03\xe0\x41\x03\x12G\n\x04type\x18\x0b \x01(\x0e\x32\x34.google.cloud.gdchardwaremanagement.v1alpha.Sku.TypeB\x03\xe0\x41\x03\x12\x17\n\nvcpu_count\x18\x0c \x01(\x05\x42\x03\xe0\x41\x03\x12Y\n\x15hardware_count_ranges\x18\r \x03(\x0b\x32\x35.google.cloud.gdchardwaremanagement.v1alpha.Sku.RangeB\x03\xe0\x41\x03\x1a!\n\x05Range\x12\x0b\n\x03min\x18\x01 \x01(\x05\x12\x0b\n\x03max\x18\x02 \x01(\x05\"2\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04RACK\x10\x01\x12\n\n\x06SERVER\x10\x02:l\xea\x41i\n(gdchardwaremanagement.googleapis.com/Sku\x12\x32projects/{project}/locations/{location}/skus/{sku}*\x04skus2\x03sku\"\x9e\x0b\n\x04Zone\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Q\n\x06labels\x18\x04 \x03(\x0b\x32<.google.cloud.gdchardwaremanagement.v1alpha.Zone.LabelsEntryB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12J\n\x05state\x18\x08 \x01(\x0e\x32\x36.google.cloud.gdchardwaremanagement.v1alpha.Zone.StateB\x03\xe0\x41\x03\x12J\n\x08\x63ontacts\x18\t \x03(\x0b\x32\x33.google.cloud.gdchardwaremanagement.v1alpha.ContactB\x03\xe0\x41\x02\x12\x14\n\x07\x63iq_uri\x18\n \x01(\tB\x03\xe0\x41\x03\x12Z\n\x0enetwork_config\x18\x0b \x01(\x0b\x32=.google.cloud.gdchardwaremanagement.v1alpha.ZoneNetworkConfigB\x03\xe0\x41\x01\x12\x1f\n\x12globally_unique_id\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x61\n\x14subscription_configs\x18\r \x03(\x0b\x32>.google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfigB\x03\xe0\x41\x03\x12\x63\n\x12provisioning_state\x18\x0e \x01(\x0e\x32\x42.google.cloud.gdchardwaremanagement.v1alpha.Zone.ProvisioningStateB\x03\xe0\x41\x03\x12&\n\x19skip_cluster_provisioning\x18\x10 \x01(\x08\x42\x03\xe0\x41\x01\x12$\n\x17\x63luster_intent_required\x18\x11 \x01(\x08\x42\x03\xe0\x41\x03\x12$\n\x17\x63luster_intent_verified\x18\x12 \x01(\x08\x42\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x91\x02\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x41\x44\x44ITIONAL_INFO_NEEDED\x10\x01\x12\r\n\tPREPARING\x10\x02\x12,\n(READY_FOR_CUSTOMER_FACTORY_TURNUP_CHECKS\x10\x05\x12*\n&CUSTOMER_FACTORY_TURNUP_CHECKS_STARTED\x10\x08\x12\x19\n\x15READY_FOR_SITE_TURNUP\x10\x06\x12\x0b\n\x07OFFLINE\x10\t\x12)\n%CUSTOMER_FACTORY_TURNUP_CHECKS_FAILED\x10\x07\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\r\n\tCANCELLED\x10\x04\"\x8b\x01\n\x11ProvisioningState\x12\"\n\x1ePROVISIONING_STATE_UNSPECIFIED\x10\x00\x12\x19\n\x15PROVISIONING_REQUIRED\x10\x01\x12\x1c\n\x18PROVISIONING_IN_PROGRESS\x10\x02\x12\x19\n\x15PROVISIONING_COMPLETE\x10\x03:q\xea\x41n\n)gdchardwaremanagement.googleapis.com/Zone\x12\x34projects/{project}/locations/{location}/zones/{zone}*\x05zones2\x04zone\"\xbb\x01\n\x13OrganizationContact\x12\x30\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0b\x32\x1a.google.type.PostalAddressB\x03\xe0\x41\x02\x12\x12\n\x05\x65mail\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05phone\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12J\n\x08\x63ontacts\x18\x04 \x03(\x0b\x32\x33.google.cloud.gdchardwaremanagement.v1alpha.ContactB\x03\xe0\x41\x02\"\xe9\x01\n\x07\x43ontact\x12\x17\n\ngiven_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x66\x61mily_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x65mail\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05phone\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12-\n\ttime_zone\x18\x05 \x01(\x0b\x32\x15.google.type.TimeZoneB\x03\xe0\x41\x01\x12T\n\x0freachable_times\x18\x06 \x03(\x0b\x32\x36.google.cloud.gdchardwaremanagement.v1alpha.TimePeriodB\x03\xe0\x41\x01\"\xce\x01\n\x0eHardwareConfig\x12=\n\x03sku\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(gdchardwaremanagement.googleapis.com/Sku\x12R\n\x0cpower_supply\x18\x02 \x01(\x0e\x32\x37.google.cloud.gdchardwaremanagement.v1alpha.PowerSupplyB\x03\xe0\x41\x02\x12)\n\x1csubscription_duration_months\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\"C\n\tSkuConfig\x12\x0b\n\x03\x63pu\x18\x01 \x01(\t\x12\x0b\n\x03gpu\x18\x02 \x01(\t\x12\x0b\n\x03ram\x18\x03 \x01(\t\x12\x0f\n\x07storage\x18\x04 \x01(\t\"\xca\x01\n\x0bSkuInstance\x12\x13\n\x0bregion_code\x18\x01 \x01(\t\x12M\n\x0cpower_supply\x18\x02 \x01(\x0e\x32\x37.google.cloud.gdchardwaremanagement.v1alpha.PowerSupply\x12\x13\n\x0b\x62illing_sku\x18\x03 \x01(\t\x12\x1c\n\x14\x62illing_sku_per_vcpu\x18\x04 \x01(\t\x12$\n\x1csubscription_duration_months\x18\x05 \x01(\x05\"\xa1\x06\n\x14HardwarePhysicalInfo\x12s\n\x10power_receptacle\x18\x01 \x01(\x0e\x32T.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo.PowerReceptacleTypeB\x03\xe0\x41\x02\x12o\n\x0enetwork_uplink\x18\x02 \x01(\x0e\x32R.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo.NetworkUplinkTypeB\x03\xe0\x41\x02\x12^\n\x07voltage\x18\x03 \x01(\x0e\x32H.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo.VoltageB\x03\xe0\x41\x02\x12^\n\x07\x61mperes\x18\x04 \x01(\x0e\x32H.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo.AmperesB\x03\xe0\x41\x02\"\xa3\x01\n\x13PowerReceptacleType\x12%\n!POWER_RECEPTACLE_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tNEMA_5_15\x10\x01\x12\x08\n\x04\x43_13\x10\x02\x12\x13\n\x0bSTANDARD_EU\x10\x03\x1a\x02\x08\x01\x12\x11\n\rTYPE_G_BS1363\x10\x04\x12\x0b\n\x07\x43\x45\x45_7_3\x10\x05\x12\x0b\n\x07\x43\x45\x45_7_5\x10\x06\x12\n\n\x06TYPE_F\x10\x07\"C\n\x11NetworkUplinkType\x12#\n\x1fNETWORK_UPLINK_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05RJ_45\x10\x01\"D\n\x07Voltage\x12\x17\n\x13VOLTAGE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bVOLTAGE_110\x10\x01\x12\x0f\n\x0bVOLTAGE_220\x10\x03\"2\n\x07\x41mperes\x12\x17\n\x13\x41MPERES_UNSPECIFIED\x10\x00\x12\x0e\n\nAMPERES_15\x10\x01\"\xd5\x03\n\x18HardwareInstallationInfo\x12\x1a\n\rrack_location\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\"\n\x15power_distance_meters\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12#\n\x16switch_distance_meters\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\x12Y\n\x14rack_unit_dimensions\x18\x04 \x01(\x0b\x32\x36.google.cloud.gdchardwaremanagement.v1alpha.DimensionsB\x03\xe0\x41\x02\x12N\n\nrack_space\x18\x05 \x01(\x0b\x32\x35.google.cloud.gdchardwaremanagement.v1alpha.RackSpaceB\x03\xe0\x41\x02\x12\x65\n\track_type\x18\x06 \x01(\x0e\x32M.google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo.RackTypeB\x03\xe0\x41\x02\"B\n\x08RackType\x12\x19\n\x15RACK_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08TWO_POST\x10\x01\x12\r\n\tFOUR_POST\x10\x02\"\xb0\x03\n\x11ZoneNetworkConfig\x12,\n\x17machine_mgmt_ipv4_range\x18\x01 \x01(\tB\x0b\xe0\x41\x02\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x12/\n\x1akubernetes_node_ipv4_range\x18\x02 \x01(\tB\x0b\xe0\x41\x02\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x12\x38\n#kubernetes_control_plane_ipv4_range\x18\x03 \x01(\tB\x0b\xe0\x41\x02\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x12W\n\x16management_ipv4_subnet\x18\x04 \x01(\x0b\x32\x32.google.cloud.gdchardwaremanagement.v1alpha.SubnetB\x03\xe0\x41\x02\x12W\n\x16kubernetes_ipv4_subnet\x18\x05 \x01(\x0b\x32\x32.google.cloud.gdchardwaremanagement.v1alpha.SubnetB\x03\xe0\x41\x01\x12\'\n\x12\x64ns_ipv4_addresses\x18\x06 \x03(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x12\'\n\x1akubernetes_primary_vlan_id\x18\x07 \x01(\x05\x42\x03\xe0\x41\x01\"]\n\x06Subnet\x12\"\n\raddress_range\x18\x01 \x01(\tB\x0b\xe0\x41\x02\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x12/\n\x1a\x64\x65\x66\x61ult_gateway_ip_address\x18\x02 \x01(\tB\x0b\xe0\x41\x02\xe2\x8c\xcf\xd7\x08\x02\x08\x02\"\x97\x01\n\nTimePeriod\x12/\n\nstart_time\x18\x01 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x02\x12-\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x02\x12)\n\x04\x64\x61ys\x18\x03 \x03(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x02\"^\n\nDimensions\x12\x19\n\x0cwidth_inches\x18\x01 \x01(\x02\x42\x03\xe0\x41\x02\x12\x1a\n\rheight_inches\x18\x02 \x01(\x02\x42\x03\xe0\x41\x02\x12\x19\n\x0c\x64\x65pth_inches\x18\x03 \x01(\x02\x42\x03\xe0\x41\x02\"E\n\tRackSpace\x12\x1c\n\x0fstart_rack_unit\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1a\n\rend_rack_unit\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\"\xbf\x01\n\x10HardwareLocation\x12?\n\x04site\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gdchardwaremanagement.googleapis.com/Site\x12\x1a\n\rrack_location\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12N\n\nrack_space\x18\x03 \x03(\x0b\x32\x35.google.cloud.gdchardwaremanagement.v1alpha.RackSpaceB\x03\xe0\x41\x01\"\xb7\x02\n\x12SubscriptionConfig\x12\x1c\n\x0fsubscription_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nbilling_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x64\n\x05state\x18\x03 \x01(\x0e\x32P.google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig.SubscriptionStateB\x03\xe0\x41\x03\"\x83\x01\n\x11SubscriptionState\x12\"\n\x1eSUBSCRIPTION_STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08INACTIVE\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x16\n\x12\x46\x41ILED_TO_RETRIEVE\x10\x04\x12\r\n\tCOMPLETED\x10\x05*U\n\x0bPowerSupply\x12\x1c\n\x18POWER_SUPPLY_UNSPECIFIED\x10\x00\x12\x13\n\x0fPOWER_SUPPLY_AC\x10\x01\x12\x13\n\x0fPOWER_SUPPLY_DC\x10\x02*F\n\x06\x45ntity\x12\x16\n\x12\x45NTITY_UNSPECIFIED\x10\x00\x12\n\n\x06GOOGLE\x10\x01\x12\x0c\n\x08\x43USTOMER\x10\x02\x12\n\n\x06VENDOR\x10\x03\x42\xb2\x02\n.com.google.cloud.gdchardwaremanagement.v1alphaB\x0eResourcesProtoP\x01Zdcloud.google.com/go/gdchardwaremanagement/apiv1alpha/gdchardwaremanagementpb;gdchardwaremanagementpb\xaa\x02*Google.Cloud.GdcHardwareManagement.V1Alpha\xca\x02*Google\\Cloud\\GdcHardwareManagement\\V1alpha\xea\x02-Google::Cloud::GDCHardwareManagement::V1alphab\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.type.Date", "google/type/date.proto"], - ["google.type.PostalAddress", "google/type/postal_address.proto"], - ["google.type.TimeZone", "google/type/datetime.proto"], - ["google.type.TimeOfDay", "google/type/timeofday.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gdc_hardware_management-v1alpha/lib/google/cloud/gdchardwaremanagement/v1alpha/service_pb.rb b/google-cloud-gdc_hardware_management-v1alpha/lib/google/cloud/gdchardwaremanagement/v1alpha/service_pb.rb index 644c021c1880..2ce5b0923f9d 100644 --- a/google-cloud-gdc_hardware_management-v1alpha/lib/google/cloud/gdchardwaremanagement/v1alpha/service_pb.rb +++ b/google-cloud-gdc_hardware_management-v1alpha/lib/google/cloud/gdchardwaremanagement/v1alpha/service_pb.rb @@ -19,33 +19,8 @@ descriptor_data = "\n8google/cloud/gdchardwaremanagement/v1alpha/service.proto\x12*google.cloud.gdchardwaremanagement.v1alpha\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a:google/cloud/gdchardwaremanagement/v1alpha/resources.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/date.proto\"\xb4\x01\n\x11ListOrdersRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*gdchardwaremanagement.googleapis.com/Order\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x85\x01\n\x12ListOrdersResponse\x12\x41\n\x06orders\x18\x01 \x03(\x0b\x32\x31.google.cloud.gdchardwaremanagement.v1alpha.Order\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"S\n\x0fGetOrderRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*gdchardwaremanagement.googleapis.com/Order\"\xcf\x01\n\x12\x43reateOrderRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*gdchardwaremanagement.googleapis.com/Order\x12\x15\n\x08order_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x05order\x18\x03 \x01(\x0b\x32\x31.google.cloud.gdchardwaremanagement.v1alpha.OrderB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xaa\x01\n\x12UpdateOrderRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x45\n\x05order\x18\x02 \x01(\x0b\x32\x31.google.cloud.gdchardwaremanagement.v1alpha.OrderB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x83\x01\n\x12\x44\x65leteOrderRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*gdchardwaremanagement.googleapis.com/Order\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x8a\x02\n\x12SubmitOrderRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*gdchardwaremanagement.googleapis.com/Order\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12V\n\x04type\x18\x03 \x01(\x0e\x32\x43.google.cloud.gdchardwaremanagement.v1alpha.SubmitOrderRequest.TypeB\x03\xe0\x41\x01\"A\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0cINFO_PENDING\x10\x01\x12\x11\n\rINFO_COMPLETE\x10\x02\"w\n\x12\x43\x61ncelOrderRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*gdchardwaremanagement.googleapis.com/Order\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xb2\x01\n\x10ListSitesRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)gdchardwaremanagement.googleapis.com/Site\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x82\x01\n\x11ListSitesResponse\x12?\n\x05sites\x18\x01 \x03(\x0b\x32\x30.google.cloud.gdchardwaremanagement.v1alpha.Site\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Q\n\x0eGetSiteRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gdchardwaremanagement.googleapis.com/Site\"\xca\x01\n\x11\x43reateSiteRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)gdchardwaremanagement.googleapis.com/Site\x12\x14\n\x07site_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x43\n\x04site\x18\x03 \x01(\x0b\x32\x30.google.cloud.gdchardwaremanagement.v1alpha.SiteB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa7\x01\n\x11UpdateSiteRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x43\n\x04site\x18\x02 \x01(\x0b\x32\x30.google.cloud.gdchardwaremanagement.v1alpha.SiteB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"u\n\x11\x44\x65leteSiteRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gdchardwaremanagement.googleapis.com/Site\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xc4\x01\n\x19ListHardwareGroupsRequest\x12J\n\x06parent\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\x12\x32gdchardwaremanagement.googleapis.com/HardwareGroup\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x9e\x01\n\x1aListHardwareGroupsResponse\x12R\n\x0fhardware_groups\x18\x01 \x03(\x0b\x32\x39.google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"c\n\x17GetHardwareGroupRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2gdchardwaremanagement.googleapis.com/HardwareGroup\"\xf9\x01\n\x1a\x43reateHardwareGroupRequest\x12J\n\x06parent\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\x12\x32gdchardwaremanagement.googleapis.com/HardwareGroup\x12\x1e\n\x11hardware_group_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12V\n\x0ehardware_group\x18\x03 \x01(\x0b\x32\x39.google.cloud.gdchardwaremanagement.v1alpha.HardwareGroupB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xc3\x01\n\x1aUpdateHardwareGroupRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12V\n\x0ehardware_group\x18\x02 \x01(\x0b\x32\x39.google.cloud.gdchardwaremanagement.v1alpha.HardwareGroupB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x7f\n\x1a\x44\x65leteHardwareGroupRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2gdchardwaremanagement.googleapis.com/HardwareGroup\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xb9\x01\n\x13ListHardwareRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-gdchardwaremanagement.googleapis.com/Hardware\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x8c\x01\n\x14ListHardwareResponse\x12\x46\n\x08hardware\x18\x01 \x03(\x0b\x32\x34.google.cloud.gdchardwaremanagement.v1alpha.Hardware\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Y\n\x12GetHardwareRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-gdchardwaremanagement.googleapis.com/Hardware\"\xc5\x01\n\x15\x43reateHardwareRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-gdchardwaremanagement.googleapis.com/Hardware\x12\x18\n\x0bhardware_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12K\n\x08hardware\x18\x03 \x01(\x0b\x32\x34.google.cloud.gdchardwaremanagement.v1alpha.HardwareB\x03\xe0\x41\x02\"\xb3\x01\n\x15UpdateHardwareRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12K\n\x08hardware\x18\x02 \x01(\x0b\x32\x34.google.cloud.gdchardwaremanagement.v1alpha.HardwareB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"}\n\x15\x44\x65leteHardwareRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-gdchardwaremanagement.googleapis.com/Hardware\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xb8\x01\n\x13ListCommentsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,gdchardwaremanagement.googleapis.com/Comment\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x8b\x01\n\x14ListCommentsResponse\x12\x45\n\x08\x63omments\x18\x01 \x03(\x0b\x32\x33.google.cloud.gdchardwaremanagement.v1alpha.Comment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"W\n\x11GetCommentRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,gdchardwaremanagement.googleapis.com/Comment\"\xd9\x01\n\x14\x43reateCommentRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,gdchardwaremanagement.googleapis.com/Comment\x12\x17\n\ncomment_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12I\n\x07\x63omment\x18\x03 \x01(\x0b\x32\x33.google.cloud.gdchardwaremanagement.v1alpha.CommentB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x92\x02\n\x1cRecordActionOnCommentRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,gdchardwaremanagement.googleapis.com/Comment\x12m\n\x0b\x61\x63tion_type\x18\x02 \x01(\x0e\x32S.google.cloud.gdchardwaremanagement.v1alpha.RecordActionOnCommentRequest.ActionTypeB\x03\xe0\x41\x02\"?\n\nActionType\x12\x1b\n\x17\x41\x43TION_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04READ\x10\x01\x12\n\n\x06UNREAD\x10\x02\"\xc7\x01\n\x1bListChangeLogEntriesRequest\x12K\n\x06parent\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\x12\x33gdchardwaremanagement.googleapis.com/ChangeLogEntry\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xa4\x01\n\x1cListChangeLogEntriesResponse\x12V\n\x12\x63hange_log_entries\x18\x01 \x03(\x0b\x32:.google.cloud.gdchardwaremanagement.v1alpha.ChangeLogEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"e\n\x18GetChangeLogEntryRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\n3gdchardwaremanagement.googleapis.com/ChangeLogEntry\"\xb0\x01\n\x0fListSkusRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(gdchardwaremanagement.googleapis.com/Sku\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x7f\n\x10ListSkusResponse\x12=\n\x04skus\x18\x01 \x03(\x0b\x32/.google.cloud.gdchardwaremanagement.v1alpha.Sku\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"O\n\rGetSkuRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(gdchardwaremanagement.googleapis.com/Sku\"\xb2\x01\n\x10ListZonesRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)gdchardwaremanagement.googleapis.com/Zone\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x82\x01\n\x11ListZonesResponse\x12?\n\x05zones\x18\x01 \x03(\x0b\x32\x30.google.cloud.gdchardwaremanagement.v1alpha.Zone\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Q\n\x0eGetZoneRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gdchardwaremanagement.googleapis.com/Zone\"\xd2\x01\n\x11\x43reateZoneRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)gdchardwaremanagement.googleapis.com/Zone\x12\x14\n\x07zone_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x43\n\x04zone\x18\x03 \x01(\x0b\x32\x30.google.cloud.gdchardwaremanagement.v1alpha.ZoneB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xaf\x01\n\x11UpdateZoneRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x43\n\x04zone\x18\x02 \x01(\x0b\x32\x30.google.cloud.gdchardwaremanagement.v1alpha.ZoneB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"u\n\x11\x44\x65leteZoneRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gdchardwaremanagement.googleapis.com/Zone\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xee\x05\n\x16SignalZoneStateRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gdchardwaremanagement.googleapis.com/Zone\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12i\n\x0cstate_signal\x18\x03 \x01(\x0e\x32N.google.cloud.gdchardwaremanagement.v1alpha.SignalZoneStateRequest.StateSignalB\x03\xe0\x41\x01\x12\x82\x01\n\x19provisioning_state_signal\x18\x04 \x01(\x0e\x32Z.google.cloud.gdchardwaremanagement.v1alpha.SignalZoneStateRequest.ProvisioningStateSignalB\x03\xe0\x41\x01\x12\x11\n\x04step\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07\x64\x65tails\x18\x06 \x01(\tB\x03\xe0\x41\x01\"\xd9\x01\n\x0bStateSignal\x12\x1c\n\x18STATE_SIGNAL_UNSPECIFIED\x10\x00\x12!\n\x1d\x46\x41\x43TORY_TURNUP_CHECKS_STARTED\x10\x03\x12 \n\x1c\x46\x41\x43TORY_TURNUP_CHECKS_PASSED\x10\x01\x12\x1d\n\x15READY_FOR_SITE_TURNUP\x10\x01\x1a\x02\x08\x01\x12 \n\x1c\x46\x41\x43TORY_TURNUP_CHECKS_FAILED\x10\x02\x12\"\n\x1eVERIFY_CLUSTER_INTENT_PRESENCE\x10\x04\x1a\x02\x10\x01\"}\n\x17ProvisioningStateSignal\x12)\n%PROVISIONING_STATE_SIGNAL_UNSPECIFIED\x10\x00\x12\x1c\n\x18PROVISIONING_IN_PROGRESS\x10\x01\x12\x19\n\x15PROVISIONING_COMPLETE\x10\x02\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\x91\x01\n\x1dRequestOrderDateChangeRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*gdchardwaremanagement.googleapis.com/Order\x12.\n\x0erequested_date\x18\x02 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x02\x32\xaf\x42\n\x15GDCHardwareManagement\x12\xcd\x01\n\nListOrders\x12=.google.cloud.gdchardwaremanagement.v1alpha.ListOrdersRequest\x1a>.google.cloud.gdchardwaremanagement.v1alpha.ListOrdersResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1alpha/{parent=projects/*/locations/*}/orders\x12\xba\x01\n\x08GetOrder\x12;.google.cloud.gdchardwaremanagement.v1alpha.GetOrderRequest\x1a\x31.google.cloud.gdchardwaremanagement.v1alpha.Order\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1alpha/{name=projects/*/locations/*/orders/*}\x12\xe1\x01\n\x0b\x43reateOrder\x12>.google.cloud.gdchardwaremanagement.v1alpha.CreateOrderRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41\x1a\n\x05Order\x12\x11OperationMetadata\xda\x41\x15parent,order,order_id\x82\xd3\xe4\x93\x02\x38\"//v1alpha/{parent=projects/*/locations/*}/orders:\x05order\x12\xe3\x01\n\x0bUpdateOrder\x12>.google.cloud.gdchardwaremanagement.v1alpha.UpdateOrderRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41\x1a\n\x05Order\x12\x11OperationMetadata\xda\x41\x11order,update_mask\x82\xd3\xe4\x93\x02>25/v1alpha/{order.name=projects/*/locations/*/orders/*}:\x05order\x12\xd9\x01\n\x0b\x44\x65leteOrder\x12>.google.cloud.gdchardwaremanagement.v1alpha.DeleteOrderRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1alpha/{name=projects/*/locations/*/orders/*}\x12\xd3\x01\n\x0bSubmitOrder\x12>.google.cloud.gdchardwaremanagement.v1alpha.SubmitOrderRequest\x1a\x1d.google.longrunning.Operation\"e\xca\x41\x1a\n\x05Order\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02;\"6/v1alpha/{name=projects/*/locations/*/orders/*}:submit:\x01*\x12\xd3\x01\n\x0b\x43\x61ncelOrder\x12>.google.cloud.gdchardwaremanagement.v1alpha.CancelOrderRequest\x1a\x1d.google.longrunning.Operation\"e\xca\x41\x1a\n\x05Order\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02;\"6/v1alpha/{name=projects/*/locations/*/orders/*}:cancel:\x01*\x12\xc9\x01\n\tListSites\x12<.google.cloud.gdchardwaremanagement.v1alpha.ListSitesRequest\x1a=.google.cloud.gdchardwaremanagement.v1alpha.ListSitesResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1alpha/{parent=projects/*/locations/*}/sites\x12\xb6\x01\n\x07GetSite\x12:.google.cloud.gdchardwaremanagement.v1alpha.GetSiteRequest\x1a\x30.google.cloud.gdchardwaremanagement.v1alpha.Site\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1alpha/{name=projects/*/locations/*/sites/*}\x12\xda\x01\n\nCreateSite\x12=.google.cloud.gdchardwaremanagement.v1alpha.CreateSiteRequest\x1a\x1d.google.longrunning.Operation\"n\xca\x41\x19\n\x04Site\x12\x11OperationMetadata\xda\x41\x13parent,site,site_id\x82\xd3\xe4\x93\x02\x36\"./v1alpha/{parent=projects/*/locations/*}/sites:\x04site\x12\xdc\x01\n\nUpdateSite\x12=.google.cloud.gdchardwaremanagement.v1alpha.UpdateSiteRequest\x1a\x1d.google.longrunning.Operation\"p\xca\x41\x19\n\x04Site\x12\x11OperationMetadata\xda\x41\x10site,update_mask\x82\xd3\xe4\x93\x02;23/v1alpha/{site.name=projects/*/locations/*/sites/*}:\x04site\x12\xd6\x01\n\nDeleteSite\x12=.google.cloud.gdchardwaremanagement.v1alpha.DeleteSiteRequest\x1a\x1d.google.longrunning.Operation\"j\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v1alpha/{name=projects/*/locations/*/sites/*}\x12\xf6\x01\n\x12ListHardwareGroups\x12\x45.google.cloud.gdchardwaremanagement.v1alpha.ListHardwareGroupsRequest\x1a\x46.google.cloud.gdchardwaremanagement.v1alpha.ListHardwareGroupsResponse\"Q\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x42\x12@/v1alpha/{parent=projects/*/locations/*/orders/*}/hardwareGroups\x12\xe3\x01\n\x10GetHardwareGroup\x12\x43.google.cloud.gdchardwaremanagement.v1alpha.GetHardwareGroupRequest\x1a\x39.google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup\"O\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42\x12@/v1alpha/{name=projects/*/locations/*/orders/*/hardwareGroups/*}\x12\xa6\x02\n\x13\x43reateHardwareGroup\x12\x46.google.cloud.gdchardwaremanagement.v1alpha.CreateHardwareGroupRequest\x1a\x1d.google.longrunning.Operation\"\xa7\x01\xca\x41\"\n\rHardwareGroup\x12\x11OperationMetadata\xda\x41\'parent,hardware_group,hardware_group_id\x82\xd3\xe4\x93\x02R\"@/v1alpha/{parent=projects/*/locations/*/orders/*}/hardwareGroups:\x0ehardware_group\x12\xa8\x02\n\x13UpdateHardwareGroup\x12\x46.google.cloud.gdchardwaremanagement.v1alpha.UpdateHardwareGroupRequest\x1a\x1d.google.longrunning.Operation\"\xa9\x01\xca\x41\"\n\rHardwareGroup\x12\x11OperationMetadata\xda\x41\x1ahardware_group,update_mask\x82\xd3\xe4\x93\x02\x61\x32O/v1alpha/{hardware_group.name=projects/*/locations/*/orders/*/hardwareGroups/*}:\x0ehardware_group\x12\xfa\x01\n\x13\x44\x65leteHardwareGroup\x12\x46.google.cloud.gdchardwaremanagement.v1alpha.DeleteHardwareGroupRequest\x1a\x1d.google.longrunning.Operation\"|\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42*@/v1alpha/{name=projects/*/locations/*/orders/*/hardwareGroups/*}\x12\xd5\x01\n\x0cListHardware\x12?.google.cloud.gdchardwaremanagement.v1alpha.ListHardwareRequest\x1a@.google.cloud.gdchardwaremanagement.v1alpha.ListHardwareResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1alpha/{parent=projects/*/locations/*}/hardware\x12\xc5\x01\n\x0bGetHardware\x12>.google.cloud.gdchardwaremanagement.v1alpha.GetHardwareRequest\x1a\x34.google.cloud.gdchardwaremanagement.v1alpha.Hardware\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1alpha/{name=projects/*/locations/*/hardware/*}\x12\xf6\x01\n\x0e\x43reateHardware\x12\x41.google.cloud.gdchardwaremanagement.v1alpha.CreateHardwareRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\xca\x41\x1d\n\x08Hardware\x12\x11OperationMetadata\xda\x41\x1bparent,hardware,hardware_id\x82\xd3\xe4\x93\x02=\"1/v1alpha/{parent=projects/*/locations/*}/hardware:\x08hardware\x12\xf8\x01\n\x0eUpdateHardware\x12\x41.google.cloud.gdchardwaremanagement.v1alpha.UpdateHardwareRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\xca\x41\x1d\n\x08Hardware\x12\x11OperationMetadata\xda\x41\x14hardware,update_mask\x82\xd3\xe4\x93\x02\x46\x32:/v1alpha/{hardware.name=projects/*/locations/*/hardware/*}:\x08hardware\x12\xe1\x01\n\x0e\x44\x65leteHardware\x12\x41.google.cloud.gdchardwaremanagement.v1alpha.DeleteHardwareRequest\x1a\x1d.google.longrunning.Operation\"m\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1alpha/{name=projects/*/locations/*/hardware/*}\x12\xde\x01\n\x0cListComments\x12?.google.cloud.gdchardwaremanagement.v1alpha.ListCommentsRequest\x1a@.google.cloud.gdchardwaremanagement.v1alpha.ListCommentsResponse\"K\xda\x41\x06parent\x82\xd3\xe4\x93\x02<\x12:/v1alpha/{parent=projects/*/locations/*/orders/*}/comments\x12\xcb\x01\n\nGetComment\x12=.google.cloud.gdchardwaremanagement.v1alpha.GetCommentRequest\x1a\x33.google.cloud.gdchardwaremanagement.v1alpha.Comment\"I\xda\x41\x04name\x82\xd3\xe4\x93\x02<\x12:/v1alpha/{name=projects/*/locations/*/orders/*/comments/*}\x12\xf9\x01\n\rCreateComment\x12@.google.cloud.gdchardwaremanagement.v1alpha.CreateCommentRequest\x1a\x1d.google.longrunning.Operation\"\x86\x01\xca\x41\x1c\n\x07\x43omment\x12\x11OperationMetadata\xda\x41\x19parent,comment,comment_id\x82\xd3\xe4\x93\x02\x45\":/v1alpha/{parent=projects/*/locations/*/orders/*}/comments:\x07\x63omment\x12\xfd\x01\n\x15RecordActionOnComment\x12H.google.cloud.gdchardwaremanagement.v1alpha.RecordActionOnCommentRequest\x1a\x33.google.cloud.gdchardwaremanagement.v1alpha.Comment\"e\xda\x41\x10name,action_type\x82\xd3\xe4\x93\x02L\"G/v1alpha/{name=projects/*/locations/*/orders/*/comments/*}:recordAction:\x01*\x12\xfe\x01\n\x14ListChangeLogEntries\x12G.google.cloud.gdchardwaremanagement.v1alpha.ListChangeLogEntriesRequest\x1aH.google.cloud.gdchardwaremanagement.v1alpha.ListChangeLogEntriesResponse\"S\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x44\x12\x42/v1alpha/{parent=projects/*/locations/*/orders/*}/changeLogEntries\x12\xe8\x01\n\x11GetChangeLogEntry\x12\x44.google.cloud.gdchardwaremanagement.v1alpha.GetChangeLogEntryRequest\x1a:.google.cloud.gdchardwaremanagement.v1alpha.ChangeLogEntry\"Q\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44\x12\x42/v1alpha/{name=projects/*/locations/*/orders/*/changeLogEntries/*}\x12\xc5\x01\n\x08ListSkus\x12;.google.cloud.gdchardwaremanagement.v1alpha.ListSkusRequest\x1a<.google.cloud.gdchardwaremanagement.v1alpha.ListSkusResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1alpha/{parent=projects/*/locations/*}/skus\x12\xb2\x01\n\x06GetSku\x12\x39.google.cloud.gdchardwaremanagement.v1alpha.GetSkuRequest\x1a/.google.cloud.gdchardwaremanagement.v1alpha.Sku\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1alpha/{name=projects/*/locations/*/skus/*}\x12\xc9\x01\n\tListZones\x12<.google.cloud.gdchardwaremanagement.v1alpha.ListZonesRequest\x1a=.google.cloud.gdchardwaremanagement.v1alpha.ListZonesResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1alpha/{parent=projects/*/locations/*}/zones\x12\xb6\x01\n\x07GetZone\x12:.google.cloud.gdchardwaremanagement.v1alpha.GetZoneRequest\x1a\x30.google.cloud.gdchardwaremanagement.v1alpha.Zone\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1alpha/{name=projects/*/locations/*/zones/*}\x12\xda\x01\n\nCreateZone\x12=.google.cloud.gdchardwaremanagement.v1alpha.CreateZoneRequest\x1a\x1d.google.longrunning.Operation\"n\xca\x41\x19\n\x04Zone\x12\x11OperationMetadata\xda\x41\x13parent,zone,zone_id\x82\xd3\xe4\x93\x02\x36\"./v1alpha/{parent=projects/*/locations/*}/zones:\x04zone\x12\xdc\x01\n\nUpdateZone\x12=.google.cloud.gdchardwaremanagement.v1alpha.UpdateZoneRequest\x1a\x1d.google.longrunning.Operation\"p\xca\x41\x19\n\x04Zone\x12\x11OperationMetadata\xda\x41\x10zone,update_mask\x82\xd3\xe4\x93\x02;23/v1alpha/{zone.name=projects/*/locations/*/zones/*}:\x04zone\x12\xd6\x01\n\nDeleteZone\x12=.google.cloud.gdchardwaremanagement.v1alpha.DeleteZoneRequest\x1a\x1d.google.longrunning.Operation\"j\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v1alpha/{name=projects/*/locations/*/zones/*}\x12\xe6\x01\n\x0fSignalZoneState\x12\x42.google.cloud.gdchardwaremanagement.v1alpha.SignalZoneStateRequest\x1a\x1d.google.longrunning.Operation\"p\xca\x41\x19\n\x04Zone\x12\x11OperationMetadata\xda\x41\x11name,state_signal\x82\xd3\xe4\x93\x02:\"5/v1alpha/{name=projects/*/locations/*/zones/*}:signal:\x01*\x12\x83\x02\n\x16RequestOrderDateChange\x12I.google.cloud.gdchardwaremanagement.v1alpha.RequestOrderDateChangeRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x1a\n\x05Order\x12\x11OperationMetadata\xda\x41\x13name,requested_date\x82\xd3\xe4\x93\x02\x46\"A/v1alpha/{name=projects/*/locations/*/orders/*}:requestDateChange:\x01*\x1aX\xca\x41$gdchardwaremanagement.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xb0\x02\n.com.google.cloud.gdchardwaremanagement.v1alphaB\x0cServiceProtoP\x01Zdcloud.google.com/go/gdchardwaremanagement/apiv1alpha/gdchardwaremanagementpb;gdchardwaremanagementpb\xaa\x02*Google.Cloud.GdcHardwareManagement.V1Alpha\xca\x02*Google\\Cloud\\GdcHardwareManagement\\V1alpha\xea\x02-Google::Cloud::GDCHardwareManagement::V1alphab\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.cloud.gdchardwaremanagement.v1alpha.Order", "google/cloud/gdchardwaremanagement/v1alpha/resources.proto"], - ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.type.Date", "google/type/date.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/backup_channel_pb.rb b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/backup_channel_pb.rb index 27547c0e4c68..b62aff450288 100644 --- a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/backup_channel_pb.rb +++ b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/backup_channel_pb.rb @@ -12,30 +12,8 @@ descriptor_data = "\n.google/cloud/gkebackup/v1/backup_channel.proto\x12\x19google.cloud.gkebackup.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb0\x04\n\rBackupChannel\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12#\n\x13\x64\x65stination_project\x18\x02 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x02\x12\x18\n\x03uid\x18\x03 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12I\n\x06labels\x18\x06 \x03(\x0b\x32\x34.google.cloud.gkebackup.v1.BackupChannel.LabelsEntryB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16\x64\x65stination_project_id\x18\t \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x94\x01\xea\x41\x90\x01\n&gkebackup.googleapis.com/BackupChannel\x12Gprojects/{project}/locations/{location}/backupChannels/{backup_channel}*\x0e\x62\x61\x63kupChannels2\rbackupChannelB\xc9\x01\n\x1d\x63om.google.cloud.gkebackup.v1B\x12\x42\x61\x63kupChannelProtoP\x01Z;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb\xaa\x02\x19Google.Cloud.GkeBackup.V1\xca\x02\x19Google\\Cloud\\GkeBackup\\V1\xea\x02\x1cGoogle::Cloud::GkeBackup::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/backup_pb.rb b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/backup_pb.rb index 919732eb274b..a48d2c906d31 100644 --- a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/backup_pb.rb +++ b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/backup_pb.rb @@ -12,31 +12,8 @@ descriptor_data = "\n&google/cloud/gkebackup/v1/backup.proto\x12\x19google.cloud.gkebackup.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/gkebackup/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbe\x0e\n\x06\x42\x61\x63kup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06manual\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12\x42\n\x06labels\x18\x06 \x03(\x0b\x32-.google.cloud.gkebackup.v1.Backup.LabelsEntryB\x03\xe0\x41\x01\x12\x1d\n\x10\x64\x65lete_lock_days\x18\x07 \x01(\x05\x42\x03\xe0\x41\x01\x12@\n\x17\x64\x65lete_lock_expire_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0bretain_days\x18\t \x01(\x05\x42\x03\xe0\x41\x01\x12;\n\x12retain_expire_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x45\n\x0e\x65ncryption_key\x18\x0b \x01(\x0b\x32(.google.cloud.gkebackup.v1.EncryptionKeyB\x03\xe0\x41\x03\x12\x1d\n\x0e\x61ll_namespaces\x18\x0c \x01(\x08\x42\x03\xe0\x41\x03H\x00\x12I\n\x13selected_namespaces\x18\r \x01(\x0b\x32%.google.cloud.gkebackup.v1.NamespacesB\x03\xe0\x41\x03H\x00\x12P\n\x15selected_applications\x18\x0e \x01(\x0b\x32*.google.cloud.gkebackup.v1.NamespacedNamesB\x03\xe0\x41\x03H\x00\x12!\n\x14\x63ontains_volume_data\x18\x0f \x01(\x08\x42\x03\xe0\x41\x03\x12\x1d\n\x10\x63ontains_secrets\x18\x10 \x01(\x08\x42\x03\xe0\x41\x03\x12P\n\x10\x63luster_metadata\x18\x11 \x01(\x0b\x32\x31.google.cloud.gkebackup.v1.Backup.ClusterMetadataB\x03\xe0\x41\x03\x12;\n\x05state\x18\x12 \x01(\x0e\x32\'.google.cloud.gkebackup.v1.Backup.StateB\x03\xe0\x41\x03\x12\x19\n\x0cstate_reason\x18\x13 \x01(\tB\x03\xe0\x41\x03\x12\x36\n\rcomplete_time\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1b\n\x0eresource_count\x18\x15 \x01(\x05\x42\x03\xe0\x41\x03\x12\x19\n\x0cvolume_count\x18\x16 \x01(\x05\x42\x03\xe0\x41\x03\x12\x17\n\nsize_bytes\x18\x17 \x01(\x03\x42\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x18 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x19 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpod_count\x18\x1a \x01(\x05\x42\x03\xe0\x41\x03\x12%\n\x18\x63onfig_backup_size_bytes\x18\x1b \x01(\x03\x42\x03\xe0\x41\x03\x12\x1c\n\x0fpermissive_mode\x18\x1c \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x1d \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzi\x18\x1e \x01(\x08\x42\x03\xe0\x41\x03\x1a\xb6\x02\n\x0f\x43lusterMetadata\x12\x14\n\x07\x63luster\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0bk8s_version\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12j\n\x13\x62\x61\x63kup_crd_versions\x18\x03 \x03(\x0b\x32H.google.cloud.gkebackup.v1.Backup.ClusterMetadata.BackupCrdVersionsEntryB\x03\xe0\x41\x03\x12\x1a\n\x0bgke_version\x18\x04 \x01(\tB\x03\xe0\x41\x03H\x00\x12\x1d\n\x0e\x61nthos_version\x18\x05 \x01(\tB\x03\xe0\x41\x03H\x00\x1a\x38\n\x16\x42\x61\x63kupCrdVersionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x12\n\x10platform_version\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"f\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0f\n\x0bIN_PROGRESS\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05:x\xea\x41u\n\x1fgkebackup.googleapis.com/Backup\x12Rprojects/{project}/locations/{location}/backupPlans/{backup_plan}/backups/{backup}B\x0e\n\x0c\x62\x61\x63kup_scopeB\xc2\x01\n\x1d\x63om.google.cloud.gkebackup.v1B\x0b\x42\x61\x63kupProtoP\x01Z;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb\xaa\x02\x19Google.Cloud.GkeBackup.V1\xca\x02\x19Google\\Cloud\\GkeBackup\\V1\xea\x02\x1cGoogle::Cloud::GkeBackup::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.cloud.gkebackup.v1.EncryptionKey", "google/cloud/gkebackup/v1/common.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/backup_plan_binding_pb.rb b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/backup_plan_binding_pb.rb index f4e4374aadbc..3e6b3c6c8f95 100644 --- a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/backup_plan_binding_pb.rb +++ b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/backup_plan_binding_pb.rb @@ -13,31 +13,8 @@ descriptor_data = "\n3google/cloud/gkebackup/v1/backup_plan_binding.proto\x12\x19google.cloud.gkebackup.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/gkebackup/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8e\x0e\n\x11\x42\x61\x63kupPlanBinding\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x18\n\x03uid\x18\x02 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x0b\x62\x61\x63kup_plan\x18\x05 \x01(\tB.\xe0\x41\x05\xe0\x41\x03\xfa\x41%\n#gkebackup.googleapis.com/BackupPlan\x12<\n\x07\x63luster\x18\x06 \x01(\tB+\xe0\x41\x05\xe0\x41\x03\xfa\x41\"\n container.googleapis.com/Cluster\x12`\n\x13\x62\x61\x63kup_plan_details\x18\x07 \x01(\x0b\x32>.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetailsB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x08 \x01(\tB\x03\xe0\x41\x03\x1a\x9b\t\n\x11\x42\x61\x63kupPlanDetails\x12 \n\x13protected_pod_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12X\n\x05state\x18\x02 \x01(\x0e\x32\x44.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.StateB\x03\xe0\x41\x03\x12\x44\n\x1blast_successful_backup_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x1anext_scheduled_backup_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1b\n\x0erpo_risk_level\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x12#\n\x16last_successful_backup\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12v\n\x15\x62\x61\x63kup_config_details\x18\x07 \x01(\x0b\x32R.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetailsB\x03\xe0\x41\x03\x12|\n\x18retention_policy_details\x18\x08 \x01(\x0b\x32U.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetailsB\x03\xe0\x41\x03\x1a\xe8\x02\n\x13\x42\x61\x63kupConfigDetails\x12\x1d\n\x0e\x61ll_namespaces\x18\x01 \x01(\x08\x42\x03\xe0\x41\x03H\x00\x12I\n\x13selected_namespaces\x18\x02 \x01(\x0b\x32%.google.cloud.gkebackup.v1.NamespacesB\x03\xe0\x41\x03H\x00\x12P\n\x15selected_applications\x18\x03 \x01(\x0b\x32*.google.cloud.gkebackup.v1.NamespacedNamesB\x03\xe0\x41\x03H\x00\x12 \n\x13include_volume_data\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1c\n\x0finclude_secrets\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x45\n\x0e\x65ncryption_key\x18\x07 \x01(\x0b\x32(.google.cloud.gkebackup.v1.EncryptionKeyB\x03\xe0\x41\x03\x42\x0e\n\x0c\x62\x61\x63kup_scope\x1a_\n\x16RetentionPolicyDetails\x12$\n\x17\x62\x61\x63kup_delete_lock_days\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1f\n\x12\x62\x61\x63kup_retain_days\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x43LUSTER_PENDING\x10\x01\x12\x10\n\x0cPROVISIONING\x10\x02\x12\t\n\x05READY\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0f\n\x0b\x44\x45\x41\x43TIVATED\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06:\xc9\x01\xea\x41\xc5\x01\n*gkebackup.googleapis.com/BackupPlanBinding\x12pprojects/{project}/locations/{location}/backupChannels/{backup_channel}/backupPlanBindings/{backup_plan_binding}*\x12\x62\x61\x63kupPlanBindings2\x11\x62\x61\x63kupPlanBindingB\xcd\x01\n\x1d\x63om.google.cloud.gkebackup.v1B\x16\x42\x61\x63kupPlanBindingProtoP\x01Z;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb\xaa\x02\x19Google.Cloud.GkeBackup.V1\xca\x02\x19Google\\Cloud\\GkeBackup\\V1\xea\x02\x1cGoogle::Cloud::GkeBackup::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.cloud.gkebackup.v1.Namespaces", "google/cloud/gkebackup/v1/common.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/backup_plan_pb.rb b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/backup_plan_pb.rb index dbf29498bf2f..aef4c83d6db6 100644 --- a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/backup_plan_pb.rb +++ b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/backup_plan_pb.rb @@ -16,34 +16,8 @@ descriptor_data = "\n+google/cloud/gkebackup/v1/backup_plan.proto\x12\x19google.cloud.gkebackup.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/gkebackup/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/date.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\"\xe2\x0e\n\nBackupPlan\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12<\n\x07\x63luster\x18\x06 \x01(\tB+\xe0\x41\x05\xe0\x41\x02\xfa\x41\"\n container.googleapis.com/Cluster\x12T\n\x10retention_policy\x18\x07 \x01(\x0b\x32\x35.google.cloud.gkebackup.v1.BackupPlan.RetentionPolicyB\x03\xe0\x41\x01\x12\x46\n\x06labels\x18\x08 \x03(\x0b\x32\x31.google.cloud.gkebackup.v1.BackupPlan.LabelsEntryB\x03\xe0\x41\x01\x12L\n\x0f\x62\x61\x63kup_schedule\x18\t \x01(\x0b\x32..google.cloud.gkebackup.v1.BackupPlan.ScheduleB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65\x61\x63tivated\x18\x0b \x01(\x08\x42\x03\xe0\x41\x01\x12N\n\rbackup_config\x18\x0c \x01(\x0b\x32\x32.google.cloud.gkebackup.v1.BackupPlan.BackupConfigB\x03\xe0\x41\x01\x12 \n\x13protected_pod_count\x18\r \x01(\x05\x42\x03\xe0\x41\x03\x12?\n\x05state\x18\x0e \x01(\x0e\x32+.google.cloud.gkebackup.v1.BackupPlan.StateB\x03\xe0\x41\x03\x12\x19\n\x0cstate_reason\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0erpo_risk_level\x18\x10 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1c\n\x0frpo_risk_reason\x18\x11 \x01(\tB\x03\xe0\x41\x03\x12\x46\n\x0e\x62\x61\x63kup_channel\x18\x12 \x01(\tB.\xe0\x41\x03\xfa\x41(\n&gkebackup.googleapis.com/BackupChannel\x12\x44\n\x1blast_successful_backup_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1am\n\x0fRetentionPolicy\x12$\n\x17\x62\x61\x63kup_delete_lock_days\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1f\n\x12\x62\x61\x63kup_retain_days\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x13\n\x06locked\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x1a\xbf\x01\n\x08Schedule\x12\x1a\n\rcron_schedule\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06paused\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12=\n\nrpo_config\x18\x03 \x01(\x0b\x32$.google.cloud.gkebackup.v1.RpoConfigB\x03\xe0\x41\x01\x12\x43\n\x1anext_scheduled_backup_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a\xf0\x02\n\x0c\x42\x61\x63kupConfig\x12\x18\n\x0e\x61ll_namespaces\x18\x01 \x01(\x08H\x00\x12\x44\n\x13selected_namespaces\x18\x02 \x01(\x0b\x32%.google.cloud.gkebackup.v1.NamespacesH\x00\x12K\n\x15selected_applications\x18\x03 \x01(\x0b\x32*.google.cloud.gkebackup.v1.NamespacedNamesH\x00\x12 \n\x13include_volume_data\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1c\n\x0finclude_secrets\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12\x45\n\x0e\x65ncryption_key\x18\x06 \x01(\x0b\x32(.google.cloud.gkebackup.v1.EncryptionKeyB\x03\xe0\x41\x01\x12\x1c\n\x0fpermissive_mode\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x42\x0e\n\x0c\x62\x61\x63kup_scope\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x43LUSTER_PENDING\x10\x01\x12\x10\n\x0cPROVISIONING\x10\x02\x12\t\n\x05READY\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0f\n\x0b\x44\x45\x41\x43TIVATED\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06:k\xea\x41h\n#gkebackup.googleapis.com/BackupPlan\x12\x41projects/{project}/locations/{location}/backupPlans/{backup_plan}\"x\n\tRpoConfig\x12\x1f\n\x12target_rpo_minutes\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12J\n\x11\x65xclusion_windows\x18\x02 \x03(\x0b\x32*.google.cloud.gkebackup.v1.ExclusionWindowB\x03\xe0\x41\x01\"\xde\x02\n\x0f\x45xclusionWindow\x12/\n\nstart_time\x18\x01 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x02\x12\x30\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12\x33\n\x16single_occurrence_date\x18\x03 \x01(\x0b\x32\x11.google.type.DateH\x00\x12\x0f\n\x05\x64\x61ily\x18\x04 \x01(\x08H\x00\x12P\n\x0c\x64\x61ys_of_week\x18\x05 \x01(\x0b\x32\x38.google.cloud.gkebackup.v1.ExclusionWindow.DayOfWeekListH\x00\x1a\x42\n\rDayOfWeekList\x12\x31\n\x0c\x64\x61ys_of_week\x18\x01 \x03(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x01\x42\x0c\n\nrecurrenceB\xc6\x01\n\x1d\x63om.google.cloud.gkebackup.v1B\x0f\x42\x61\x63kupPlanProtoP\x01Z;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb\xaa\x02\x19Google.Cloud.GkeBackup.V1\xca\x02\x19Google\\Cloud\\GkeBackup\\V1\xea\x02\x1cGoogle::Cloud::GkeBackup::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.cloud.gkebackup.v1.Namespaces", "google/cloud/gkebackup/v1/common.proto"], - ["google.type.TimeOfDay", "google/type/timeofday.proto"], - ["google.protobuf.Duration", "google/protobuf/duration.proto"], - ["google.type.Date", "google/type/date.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/common_pb.rb b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/common_pb.rb index 3ad3f16cef39..1b42bc73ffd3 100644 --- a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/common_pb.rb +++ b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/common_pb.rb @@ -10,29 +10,8 @@ descriptor_data = "\n&google/cloud/gkebackup/v1/common.proto\x12\x19google.cloud.gkebackup.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"%\n\nNamespaces\x12\x17\n\nnamespaces\x18\x01 \x03(\tB\x03\xe0\x41\x01\";\n\x0eNamespacedName\x12\x16\n\tnamespace\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x01\"[\n\x0fNamespacedNames\x12H\n\x10namespaced_names\x18\x01 \x03(\x0b\x32).google.cloud.gkebackup.v1.NamespacedNameB\x03\xe0\x41\x01\"Z\n\rEncryptionKey\x12I\n\x16gcp_kms_encryption_key\x18\x01 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\"T\n\x0eVolumeTypeEnum\"B\n\nVolumeType\x12\x1b\n\x17VOLUME_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13GCE_PERSISTENT_DISK\x10\x01\x42\xc2\x01\n\x1d\x63om.google.cloud.gkebackup.v1B\x0b\x43ommonProtoP\x01Z;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb\xaa\x02\x19Google.Cloud.GkeBackup.V1\xca\x02\x19Google\\Cloud\\GkeBackup\\V1\xea\x02\x1cGoogle::Cloud::GkeBackup::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/gkebackup_pb.rb b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/gkebackup_pb.rb index d189fd5b240a..3a8b46cfc31d 100644 --- a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/gkebackup_pb.rb +++ b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/gkebackup_pb.rb @@ -25,40 +25,8 @@ descriptor_data = "\n)google/cloud/gkebackup/v1/gkebackup.proto\x12\x19google.cloud.gkebackup.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/gkebackup/v1/backup.proto\x1a.google/cloud/gkebackup/v1/backup_channel.proto\x1a+google/cloud/gkebackup/v1/backup_plan.proto\x1a\x33google/cloud/gkebackup/v1/backup_plan_binding.proto\x1a\'google/cloud/gkebackup/v1/restore.proto\x1a/google/cloud/gkebackup/v1/restore_channel.proto\x1a,google/cloud/gkebackup/v1/restore_plan.proto\x1a\x34google/cloud/gkebackup/v1/restore_plan_binding.proto\x1a&google/cloud/gkebackup/v1/volume.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xb2\x01\n\x17\x43reateBackupPlanRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12?\n\x0b\x62\x61\x63kup_plan\x18\x02 \x01(\x0b\x32%.google.cloud.gkebackup.v1.BackupPlanB\x03\xe0\x41\x02\x12\x1b\n\x0e\x62\x61\x63kup_plan_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xb0\x01\n\x16ListBackupPlansRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x84\x01\n\x17ListBackupPlansResponse\x12;\n\x0c\x62\x61\x63kup_plans\x18\x01 \x03(\x0b\x32%.google.cloud.gkebackup.v1.BackupPlan\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Q\n\x14GetBackupPlanRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#gkebackup.googleapis.com/BackupPlan\"\x90\x01\n\x17UpdateBackupPlanRequest\x12?\n\x0b\x62\x61\x63kup_plan\x18\x01 \x01(\x0b\x32%.google.cloud.gkebackup.v1.BackupPlanB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"g\n\x17\x44\x65leteBackupPlanRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#gkebackup.googleapis.com/BackupPlan\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xbe\x01\n\x1a\x43reateBackupChannelRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x45\n\x0e\x62\x61\x63kup_channel\x18\x02 \x01(\x0b\x32(.google.cloud.gkebackup.v1.BackupChannelB\x03\xe0\x41\x02\x12\x1e\n\x11\x62\x61\x63kup_channel_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xb3\x01\n\x19ListBackupChannelsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x8d\x01\n\x1aListBackupChannelsResponse\x12\x41\n\x0f\x62\x61\x63kup_channels\x18\x01 \x03(\x0b\x32(.google.cloud.gkebackup.v1.BackupChannel\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"W\n\x17GetBackupChannelRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&gkebackup.googleapis.com/BackupChannel\"\x99\x01\n\x1aUpdateBackupChannelRequest\x12\x45\n\x0e\x62\x61\x63kup_channel\x18\x01 \x01(\x0b\x32(.google.cloud.gkebackup.v1.BackupChannelB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\x81\x01\n\x1a\x44\x65leteBackupChannelRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&gkebackup.googleapis.com/BackupChannel\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xbc\x01\n\x1dListBackupPlanBindingsRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&gkebackup.googleapis.com/BackupChannel\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x9a\x01\n\x1eListBackupPlanBindingsResponse\x12J\n\x14\x62\x61\x63kup_plan_bindings\x18\x01 \x03(\x0b\x32,.google.cloud.gkebackup.v1.BackupPlanBinding\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"_\n\x1bGetBackupPlanBindingRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*gkebackup.googleapis.com/BackupPlanBinding\"\xa2\x01\n\x13\x43reateBackupRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#gkebackup.googleapis.com/BackupPlan\x12\x36\n\x06\x62\x61\x63kup\x18\x02 \x01(\x0b\x32!.google.cloud.gkebackup.v1.BackupB\x03\xe0\x41\x01\x12\x16\n\tbackup_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xd3\x01\n\x12ListBackupsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#gkebackup.googleapis.com/BackupPlan\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12#\n\x16return_partial_success\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"w\n\x13ListBackupsResponse\x12\x32\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32!.google.cloud.gkebackup.v1.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"I\n\x10GetBackupRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fgkebackup.googleapis.com/Backup\"\x83\x01\n\x13UpdateBackupRequest\x12\x36\n\x06\x62\x61\x63kup\x18\x01 \x01(\x0b\x32!.google.cloud.gkebackup.v1.BackupB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"s\n\x13\x44\x65leteBackupRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fgkebackup.googleapis.com/Backup\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xb0\x01\n\x18ListVolumeBackupsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fgkebackup.googleapis.com/Backup\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"u\n\x19ListVolumeBackupsResponse\x12?\n\x0evolume_backups\x18\x01 \x03(\x0b\x32\'.google.cloud.gkebackup.v1.VolumeBackup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"U\n\x16GetVolumeBackupRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%gkebackup.googleapis.com/VolumeBackup\"\xb6\x01\n\x18\x43reateRestorePlanRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x41\n\x0crestore_plan\x18\x02 \x01(\x0b\x32&.google.cloud.gkebackup.v1.RestorePlanB\x03\xe0\x41\x02\x12\x1c\n\x0frestore_plan_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xb1\x01\n\x17ListRestorePlansRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x87\x01\n\x18ListRestorePlansResponse\x12=\n\rrestore_plans\x18\x01 \x03(\x0b\x32&.google.cloud.gkebackup.v1.RestorePlan\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"S\n\x15GetRestorePlanRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$gkebackup.googleapis.com/RestorePlan\"\x93\x01\n\x18UpdateRestorePlanRequest\x12\x41\n\x0crestore_plan\x18\x01 \x01(\x0b\x32&.google.cloud.gkebackup.v1.RestorePlanB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"}\n\x18\x44\x65leteRestorePlanRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$gkebackup.googleapis.com/RestorePlan\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xc2\x01\n\x1b\x43reateRestoreChannelRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12G\n\x0frestore_channel\x18\x02 \x01(\x0b\x32).google.cloud.gkebackup.v1.RestoreChannelB\x03\xe0\x41\x02\x12\x1f\n\x12restore_channel_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xb4\x01\n\x1aListRestoreChannelsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x90\x01\n\x1bListRestoreChannelsResponse\x12\x43\n\x10restore_channels\x18\x01 \x03(\x0b\x32).google.cloud.gkebackup.v1.RestoreChannel\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Y\n\x18GetRestoreChannelRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'gkebackup.googleapis.com/RestoreChannel\"\x9c\x01\n\x1bUpdateRestoreChannelRequest\x12G\n\x0frestore_channel\x18\x01 \x01(\x0b\x32).google.cloud.gkebackup.v1.RestoreChannelB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"o\n\x1b\x44\x65leteRestoreChannelRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'gkebackup.googleapis.com/RestoreChannel\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xbe\x01\n\x1eListRestorePlanBindingsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'gkebackup.googleapis.com/RestoreChannel\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xa2\x01\n\x1fListRestorePlanBindingsResponse\x12L\n\x15restore_plan_bindings\x18\x01 \x03(\x0b\x32-.google.cloud.gkebackup.v1.RestorePlanBinding\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"a\n\x1cGetRestorePlanBindingRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+gkebackup.googleapis.com/RestorePlanBinding\"\xa7\x01\n\x14\x43reateRestoreRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$gkebackup.googleapis.com/RestorePlan\x12\x38\n\x07restore\x18\x02 \x01(\x0b\x32\".google.cloud.gkebackup.v1.RestoreB\x03\xe0\x41\x02\x12\x17\n\nrestore_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xb0\x01\n\x13ListRestoresRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$gkebackup.googleapis.com/RestorePlan\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"z\n\x14ListRestoresResponse\x12\x34\n\x08restores\x18\x01 \x03(\x0b\x32\".google.cloud.gkebackup.v1.Restore\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"K\n\x11GetRestoreRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkebackup.googleapis.com/Restore\"\x86\x01\n\x14UpdateRestoreRequest\x12\x38\n\x07restore\x18\x01 \x01(\x0b\x32\".google.cloud.gkebackup.v1.RestoreB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"u\n\x14\x44\x65leteRestoreRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkebackup.googleapis.com/Restore\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xb2\x01\n\x19ListVolumeRestoresRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkebackup.googleapis.com/Restore\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"x\n\x1aListVolumeRestoresResponse\x12\x41\n\x0fvolume_restores\x18\x01 \x03(\x0b\x32(.google.cloud.gkebackup.v1.VolumeRestore\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"W\n\x17GetVolumeRestoreRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&gkebackup.googleapis.com/VolumeRestore\"[\n GetBackupIndexDownloadUrlRequest\x12\x37\n\x06\x62\x61\x63kup\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fgkebackup.googleapis.com/Backup\"<\n!GetBackupIndexDownloadUrlResponse\x12\x17\n\nsigned_url\x18\x01 \x01(\tB\x03\xe0\x41\x02\x32\xd1\x43\n\x0c\x42\x61\x63kupForGKE\x12\xf2\x01\n\x10\x43reateBackupPlan\x12\x32.google.cloud.gkebackup.v1.CreateBackupPlanRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\xca\x41\x1f\n\nBackupPlan\x12\x11OperationMetadata\xda\x41!parent,backup_plan,backup_plan_id\x82\xd3\xe4\x93\x02>\"//v1/{parent=projects/*/locations/*}/backupPlans:\x0b\x62\x61\x63kup_plan\x12\xba\x01\n\x0fListBackupPlans\x12\x31.google.cloud.gkebackup.v1.ListBackupPlansRequest\x1a\x32.google.cloud.gkebackup.v1.ListBackupPlansResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/backupPlans\x12\xa7\x01\n\rGetBackupPlan\x12/.google.cloud.gkebackup.v1.GetBackupPlanRequest\x1a%.google.cloud.gkebackup.v1.BackupPlan\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/backupPlans/*}\x12\xf4\x01\n\x10UpdateBackupPlan\x12\x32.google.cloud.gkebackup.v1.UpdateBackupPlanRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\xca\x41\x1f\n\nBackupPlan\x12\x11OperationMetadata\xda\x41\x17\x62\x61\x63kup_plan,update_mask\x82\xd3\xe4\x93\x02J2;/v1/{backup_plan.name=projects/*/locations/*/backupPlans/*}:\x0b\x62\x61\x63kup_plan\x12\xd2\x01\n\x10\x44\x65leteBackupPlan\x12\x32.google.cloud.gkebackup.v1.DeleteBackupPlanRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/backupPlans/*}\x12\x87\x02\n\x13\x43reateBackupChannel\x12\x35.google.cloud.gkebackup.v1.CreateBackupChannelRequest\x1a\x1d.google.longrunning.Operation\"\x99\x01\xca\x41\"\n\rBackupChannel\x12\x11OperationMetadata\xda\x41\'parent,backup_channel,backup_channel_id\x82\xd3\xe4\x93\x02\x44\"2/v1/{parent=projects/*/locations/*}/backupChannels:\x0e\x62\x61\x63kup_channel\x12\xc6\x01\n\x12ListBackupChannels\x12\x34.google.cloud.gkebackup.v1.ListBackupChannelsRequest\x1a\x35.google.cloud.gkebackup.v1.ListBackupChannelsResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=projects/*/locations/*}/backupChannels\x12\xb3\x01\n\x10GetBackupChannel\x12\x32.google.cloud.gkebackup.v1.GetBackupChannelRequest\x1a(.google.cloud.gkebackup.v1.BackupChannel\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{name=projects/*/locations/*/backupChannels/*}\x12\x89\x02\n\x13UpdateBackupChannel\x12\x35.google.cloud.gkebackup.v1.UpdateBackupChannelRequest\x1a\x1d.google.longrunning.Operation\"\x9b\x01\xca\x41\"\n\rBackupChannel\x12\x11OperationMetadata\xda\x41\x1a\x62\x61\x63kup_channel,update_mask\x82\xd3\xe4\x93\x02S2A/v1/{backup_channel.name=projects/*/locations/*/backupChannels/*}:\x0e\x62\x61\x63kup_channel\x12\xdb\x01\n\x13\x44\x65leteBackupChannel\x12\x35.google.cloud.gkebackup.v1.DeleteBackupChannelRequest\x1a\x1d.google.longrunning.Operation\"n\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34*2/v1/{name=projects/*/locations/*/backupChannels/*}\x12\xe7\x01\n\x16ListBackupPlanBindings\x12\x38.google.cloud.gkebackup.v1.ListBackupPlanBindingsRequest\x1a\x39.google.cloud.gkebackup.v1.ListBackupPlanBindingsResponse\"X\xda\x41\x06parent\x82\xd3\xe4\x93\x02I\x12G/v1/{parent=projects/*/locations/*/backupChannels/*}/backupPlanBindings\x12\xd4\x01\n\x14GetBackupPlanBinding\x12\x36.google.cloud.gkebackup.v1.GetBackupPlanBindingRequest\x1a,.google.cloud.gkebackup.v1.BackupPlanBinding\"V\xda\x41\x04name\x82\xd3\xe4\x93\x02I\x12G/v1/{name=projects/*/locations/*/backupChannels/*/backupPlanBindings/*}\x12\xe1\x01\n\x0c\x43reateBackup\x12..google.cloud.gkebackup.v1.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\xda\x41\x17parent,backup,backup_id\x82\xd3\xe4\x93\x02\x43\"9/v1/{parent=projects/*/locations/*/backupPlans/*}/backups:\x06\x62\x61\x63kup\x12\xb8\x01\n\x0bListBackups\x12-.google.cloud.gkebackup.v1.ListBackupsRequest\x1a..google.cloud.gkebackup.v1.ListBackupsResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*/backupPlans/*}/backups\x12\xa5\x01\n\tGetBackup\x12+.google.cloud.gkebackup.v1.GetBackupRequest\x1a!.google.cloud.gkebackup.v1.Backup\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/backupPlans/*/backups/*}\x12\xe3\x01\n\x0cUpdateBackup\x12..google.cloud.gkebackup.v1.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\xda\x41\x12\x62\x61\x63kup,update_mask\x82\xd3\xe4\x93\x02J2@/v1/{backup.name=projects/*/locations/*/backupPlans/*/backups/*}:\x06\x62\x61\x63kup\x12\xd4\x01\n\x0c\x44\x65leteBackup\x12..google.cloud.gkebackup.v1.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/locations/*/backupPlans/*/backups/*}\x12\xda\x01\n\x11ListVolumeBackups\x12\x33.google.cloud.gkebackup.v1.ListVolumeBackupsRequest\x1a\x34.google.cloud.gkebackup.v1.ListVolumeBackupsResponse\"Z\xda\x41\x06parent\x82\xd3\xe4\x93\x02K\x12I/v1/{parent=projects/*/locations/*/backupPlans/*/backups/*}/volumeBackups\x12\xc7\x01\n\x0fGetVolumeBackup\x12\x31.google.cloud.gkebackup.v1.GetVolumeBackupRequest\x1a\'.google.cloud.gkebackup.v1.VolumeBackup\"X\xda\x41\x04name\x82\xd3\xe4\x93\x02K\x12I/v1/{name=projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*}\x12\xf9\x01\n\x11\x43reateRestorePlan\x12\x33.google.cloud.gkebackup.v1.CreateRestorePlanRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\xca\x41 \n\x0bRestorePlan\x12\x11OperationMetadata\xda\x41#parent,restore_plan,restore_plan_id\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/restorePlans:\x0crestore_plan\x12\xbe\x01\n\x10ListRestorePlans\x12\x32.google.cloud.gkebackup.v1.ListRestorePlansRequest\x1a\x33.google.cloud.gkebackup.v1.ListRestorePlansResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/restorePlans\x12\xab\x01\n\x0eGetRestorePlan\x12\x30.google.cloud.gkebackup.v1.GetRestorePlanRequest\x1a&.google.cloud.gkebackup.v1.RestorePlan\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/restorePlans/*}\x12\xfb\x01\n\x11UpdateRestorePlan\x12\x33.google.cloud.gkebackup.v1.UpdateRestorePlanRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\xca\x41 \n\x0bRestorePlan\x12\x11OperationMetadata\xda\x41\x18restore_plan,update_mask\x82\xd3\xe4\x93\x02M2=/v1/{restore_plan.name=projects/*/locations/*/restorePlans/*}:\x0crestore_plan\x12\xd5\x01\n\x11\x44\x65leteRestorePlan\x12\x33.google.cloud.gkebackup.v1.DeleteRestorePlanRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/restorePlans/*}\x12\x8e\x02\n\x14\x43reateRestoreChannel\x12\x36.google.cloud.gkebackup.v1.CreateRestoreChannelRequest\x1a\x1d.google.longrunning.Operation\"\x9e\x01\xca\x41#\n\x0eRestoreChannel\x12\x11OperationMetadata\xda\x41)parent,restore_channel,restore_channel_id\x82\xd3\xe4\x93\x02\x46\"3/v1/{parent=projects/*/locations/*}/restoreChannels:\x0frestore_channel\x12\xca\x01\n\x13ListRestoreChannels\x12\x35.google.cloud.gkebackup.v1.ListRestoreChannelsRequest\x1a\x36.google.cloud.gkebackup.v1.ListRestoreChannelsResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/locations/*}/restoreChannels\x12\xb7\x01\n\x11GetRestoreChannel\x12\x33.google.cloud.gkebackup.v1.GetRestoreChannelRequest\x1a).google.cloud.gkebackup.v1.RestoreChannel\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/restoreChannels/*}\x12\x90\x02\n\x14UpdateRestoreChannel\x12\x36.google.cloud.gkebackup.v1.UpdateRestoreChannelRequest\x1a\x1d.google.longrunning.Operation\"\xa0\x01\xca\x41#\n\x0eRestoreChannel\x12\x11OperationMetadata\xda\x41\x1brestore_channel,update_mask\x82\xd3\xe4\x93\x02V2C/v1/{restore_channel.name=projects/*/locations/*/restoreChannels/*}:\x0frestore_channel\x12\xde\x01\n\x14\x44\x65leteRestoreChannel\x12\x36.google.cloud.gkebackup.v1.DeleteRestoreChannelRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1/{name=projects/*/locations/*/restoreChannels/*}\x12\xec\x01\n\x17ListRestorePlanBindings\x12\x39.google.cloud.gkebackup.v1.ListRestorePlanBindingsRequest\x1a:.google.cloud.gkebackup.v1.ListRestorePlanBindingsResponse\"Z\xda\x41\x06parent\x82\xd3\xe4\x93\x02K\x12I/v1/{parent=projects/*/locations/*/restoreChannels/*}/restorePlanBindings\x12\xd9\x01\n\x15GetRestorePlanBinding\x12\x37.google.cloud.gkebackup.v1.GetRestorePlanBindingRequest\x1a-.google.cloud.gkebackup.v1.RestorePlanBinding\"X\xda\x41\x04name\x82\xd3\xe4\x93\x02K\x12I/v1/{name=projects/*/locations/*/restoreChannels/*/restorePlanBindings/*}\x12\xe9\x01\n\rCreateRestore\x12/.google.cloud.gkebackup.v1.CreateRestoreRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41\x1c\n\x07Restore\x12\x11OperationMetadata\xda\x41\x19parent,restore,restore_id\x82\xd3\xe4\x93\x02\x46\";/v1/{parent=projects/*/locations/*/restorePlans/*}/restores:\x07restore\x12\xbd\x01\n\x0cListRestores\x12..google.cloud.gkebackup.v1.ListRestoresRequest\x1a/.google.cloud.gkebackup.v1.ListRestoresResponse\"L\xda\x41\x06parent\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/restorePlans/*}/restores\x12\xaa\x01\n\nGetRestore\x12,.google.cloud.gkebackup.v1.GetRestoreRequest\x1a\".google.cloud.gkebackup.v1.Restore\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=\x12;/v1/{name=projects/*/locations/*/restorePlans/*/restores/*}\x12\xeb\x01\n\rUpdateRestore\x12/.google.cloud.gkebackup.v1.UpdateRestoreRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41\x1c\n\x07Restore\x12\x11OperationMetadata\xda\x41\x13restore,update_mask\x82\xd3\xe4\x93\x02N2C/v1/{restore.name=projects/*/locations/*/restorePlans/*/restores/*}:\x07restore\x12\xd8\x01\n\rDeleteRestore\x12/.google.cloud.gkebackup.v1.DeleteRestoreRequest\x1a\x1d.google.longrunning.Operation\"w\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02=*;/v1/{name=projects/*/locations/*/restorePlans/*/restores/*}\x12\xe0\x01\n\x12ListVolumeRestores\x12\x34.google.cloud.gkebackup.v1.ListVolumeRestoresRequest\x1a\x35.google.cloud.gkebackup.v1.ListVolumeRestoresResponse\"]\xda\x41\x06parent\x82\xd3\xe4\x93\x02N\x12L/v1/{parent=projects/*/locations/*/restorePlans/*/restores/*}/volumeRestores\x12\xcd\x01\n\x10GetVolumeRestore\x12\x32.google.cloud.gkebackup.v1.GetVolumeRestoreRequest\x1a(.google.cloud.gkebackup.v1.VolumeRestore\"[\xda\x41\x04name\x82\xd3\xe4\x93\x02N\x12L/v1/{name=projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*}\x12\xfe\x01\n\x19GetBackupIndexDownloadUrl\x12;.google.cloud.gkebackup.v1.GetBackupIndexDownloadUrlRequest\x1a<.google.cloud.gkebackup.v1.GetBackupIndexDownloadUrlResponse\"f\xda\x41\x06\x62\x61\x63kup\x82\xd3\xe4\x93\x02W\x12U/v1/{backup=projects/*/locations/*/backupPlans/*/backups/*}:getBackupIndexDownloadUrl\x1aL\xca\x41\x18gkebackup.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa1\x03\n\x1d\x63om.google.cloud.gkebackup.v1B\x0eGKEBackupProtoP\x01Z;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb\xaa\x02\x19Google.Cloud.GkeBackup.V1\xca\x02\x19Google\\Cloud\\GkeBackup\\V1\xea\x02\x1cGoogle::Cloud::GkeBackup::V1\xea\x41^\n container.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.cloud.gkebackup.v1.BackupPlan", "google/cloud/gkebackup/v1/backup_plan.proto"], - ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], - ["google.cloud.gkebackup.v1.BackupChannel", "google/cloud/gkebackup/v1/backup_channel.proto"], - ["google.cloud.gkebackup.v1.BackupPlanBinding", "google/cloud/gkebackup/v1/backup_plan_binding.proto"], - ["google.cloud.gkebackup.v1.Backup", "google/cloud/gkebackup/v1/backup.proto"], - ["google.cloud.gkebackup.v1.VolumeBackup", "google/cloud/gkebackup/v1/volume.proto"], - ["google.cloud.gkebackup.v1.RestorePlan", "google/cloud/gkebackup/v1/restore_plan.proto"], - ["google.cloud.gkebackup.v1.RestoreChannel", "google/cloud/gkebackup/v1/restore_channel.proto"], - ["google.cloud.gkebackup.v1.RestorePlanBinding", "google/cloud/gkebackup/v1/restore_plan_binding.proto"], - ["google.cloud.gkebackup.v1.Restore", "google/cloud/gkebackup/v1/restore.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/restore_channel_pb.rb b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/restore_channel_pb.rb index 9171f3c8b4cf..93aee3e1f1bf 100644 --- a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/restore_channel_pb.rb +++ b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/restore_channel_pb.rb @@ -12,30 +12,8 @@ descriptor_data = "\n/google/cloud/gkebackup/v1/restore_channel.proto\x12\x19google.cloud.gkebackup.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x04\n\x0eRestoreChannel\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12#\n\x13\x64\x65stination_project\x18\x02 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x02\x12\x18\n\x03uid\x18\x03 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12J\n\x06labels\x18\x06 \x03(\x0b\x32\x35.google.cloud.gkebackup.v1.RestoreChannel.LabelsEntryB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16\x64\x65stination_project_id\x18\t \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x99\x01\xea\x41\x95\x01\n\'gkebackup.googleapis.com/RestoreChannel\x12Iprojects/{project}/locations/{location}/restoreChannels/{restore_channel}*\x0frestoreChannels2\x0erestoreChannelB\xca\x01\n\x1d\x63om.google.cloud.gkebackup.v1B\x13RestoreChannelProtoP\x01Z;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb\xaa\x02\x19Google.Cloud.GkeBackup.V1\xca\x02\x19Google\\Cloud\\GkeBackup\\V1\xea\x02\x1cGoogle::Cloud::GkeBackup::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/restore_pb.rb b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/restore_pb.rb index 4d6232bd18d3..3a43d4cdbe3f 100644 --- a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/restore_pb.rb +++ b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/restore_pb.rb @@ -12,31 +12,8 @@ descriptor_data = "\n\'google/cloud/gkebackup/v1/restore.proto\x12\x19google.cloud.gkebackup.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/gkebackup/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xee\n\n\x07Restore\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12:\n\x06\x62\x61\x63kup\x18\x06 \x01(\tB*\xe0\x41\x05\xe0\x41\x02\xfa\x41!\n\x1fgkebackup.googleapis.com/Backup\x12\x39\n\x07\x63luster\x18\x07 \x01(\tB(\xe0\x41\x03\xfa\x41\"\n container.googleapis.com/Cluster\x12\x45\n\x0erestore_config\x18\x08 \x01(\x0b\x32(.google.cloud.gkebackup.v1.RestoreConfigB\x03\xe0\x41\x03\x12>\n\x06labels\x18\t \x03(\x0b\x32..google.cloud.gkebackup.v1.Restore.LabelsEntry\x12<\n\x05state\x18\n \x01(\x0e\x32(.google.cloud.gkebackup.v1.Restore.StateB\x03\xe0\x41\x03\x12\x19\n\x0cstate_reason\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x36\n\rcomplete_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12%\n\x18resources_restored_count\x18\r \x01(\x05\x42\x03\xe0\x41\x03\x12%\n\x18resources_excluded_count\x18\x0e \x01(\x05\x42\x03\xe0\x41\x03\x12#\n\x16resources_failed_count\x18\x0f \x01(\x05\x42\x03\xe0\x41\x03\x12#\n\x16volumes_restored_count\x18\x10 \x01(\x05\x42\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x11 \x01(\tB\x03\xe0\x41\x03\x12\x41\n\x06\x66ilter\x18\x12 \x01(\x0b\x32).google.cloud.gkebackup.v1.Restore.FilterB\x06\xe0\x41\x05\xe0\x41\x01\x12p\n$volume_data_restore_policy_overrides\x18\x13 \x03(\x0b\x32:.google.cloud.gkebackup.v1.VolumeDataRestorePolicyOverrideB\x06\xe0\x41\x05\xe0\x41\x01\x1a\xa2\x01\n\x06\x46ilter\x12K\n\x11inclusion_filters\x18\x01 \x03(\x0b\x32+.google.cloud.gkebackup.v1.ResourceSelectorB\x03\xe0\x41\x01\x12K\n\x11\x65xclusion_filters\x18\x02 \x03(\x0b\x32+.google.cloud.gkebackup.v1.ResourceSelectorB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"v\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0f\n\x0bIN_PROGRESS\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\x0e\n\nVALIDATING\x10\x06:}\xea\x41z\n gkebackup.googleapis.com/Restore\x12Vprojects/{project}/locations/{location}/restorePlans/{restore_plan}/restores/{restore}\"\xef\x1a\n\rRestoreConfig\x12i\n\x1avolume_data_restore_policy\x18\x01 \x01(\x0e\x32@.google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyB\x03\xe0\x41\x01\x12u\n cluster_resource_conflict_policy\x18\x02 \x01(\x0e\x32\x46.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicyB\x03\xe0\x41\x01\x12u\n namespaced_resource_restore_mode\x18\x03 \x01(\x0e\x32\x46.google.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreModeB\x03\xe0\x41\x01\x12q\n\x1e\x63luster_resource_restore_scope\x18\x04 \x01(\x0b\x32\x44.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScopeB\x03\xe0\x41\x01\x12\x18\n\x0e\x61ll_namespaces\x18\x05 \x01(\x08H\x00\x12\x44\n\x13selected_namespaces\x18\x06 \x01(\x0b\x32%.google.cloud.gkebackup.v1.NamespacesH\x00\x12K\n\x15selected_applications\x18\x07 \x01(\x0b\x32*.google.cloud.gkebackup.v1.NamespacedNamesH\x00\x12\x17\n\rno_namespaces\x18\t \x01(\x08H\x00\x12\x44\n\x13\x65xcluded_namespaces\x18\n \x01(\x0b\x32%.google.cloud.gkebackup.v1.NamespacesH\x00\x12Z\n\x12substitution_rules\x18\x08 \x03(\x0b\x32\x39.google.cloud.gkebackup.v1.RestoreConfig.SubstitutionRuleB\x03\xe0\x41\x01\x12^\n\x14transformation_rules\x18\x0b \x03(\x0b\x32;.google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleB\x03\xe0\x41\x01\x12y\n#volume_data_restore_policy_bindings\x18\x0c \x03(\x0b\x32G.google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBindingB\x03\xe0\x41\x01\x12Q\n\rrestore_order\x18\r \x01(\x0b\x32\x35.google.cloud.gkebackup.v1.RestoreConfig.RestoreOrderB\x03\xe0\x41\x01\x1a\x44\n\tGroupKind\x12\x1b\n\x0eresource_group\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rresource_kind\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1a\x86\x02\n\x1b\x43lusterResourceRestoreScope\x12U\n\x14selected_group_kinds\x18\x01 \x03(\x0b\x32\x32.google.cloud.gkebackup.v1.RestoreConfig.GroupKindB\x03\xe0\x41\x01\x12U\n\x14\x65xcluded_group_kinds\x18\x02 \x03(\x0b\x32\x32.google.cloud.gkebackup.v1.RestoreConfig.GroupKindB\x03\xe0\x41\x01\x12\x1c\n\x0f\x61ll_group_kinds\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1b\n\x0eno_group_kinds\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x1a\xe3\x01\n\x10SubstitutionRule\x12\x1e\n\x11target_namespaces\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12S\n\x12target_group_kinds\x18\x02 \x03(\x0b\x32\x32.google.cloud.gkebackup.v1.RestoreConfig.GroupKindB\x03\xe0\x41\x01\x12\x1d\n\x10target_json_path\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12#\n\x16original_value_pattern\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tnew_value\x18\x05 \x01(\tB\x03\xe0\x41\x01\x1a\x8a\x02\n\x18TransformationRuleAction\x12U\n\x02op\x18\x01 \x01(\x0e\x32\x44.google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction.OpB\x03\xe0\x41\x02\x12\x16\n\tfrom_path\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04path\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05value\x18\x04 \x01(\tB\x03\xe0\x41\x01\"X\n\x02Op\x12\x12\n\x0eOP_UNSPECIFIED\x10\x00\x12\n\n\x06REMOVE\x10\x01\x12\x08\n\x04MOVE\x10\x02\x12\x08\n\x04\x43OPY\x10\x03\x12\x07\n\x03\x41\x44\x44\x10\x04\x12\x08\n\x04TEST\x10\x05\x12\x0b\n\x07REPLACE\x10\x06\x1a\x8f\x01\n\x0eResourceFilter\x12\x17\n\nnamespaces\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12L\n\x0bgroup_kinds\x18\x02 \x03(\x0b\x32\x32.google.cloud.gkebackup.v1.RestoreConfig.GroupKindB\x03\xe0\x41\x01\x12\x16\n\tjson_path\x18\x03 \x01(\tB\x03\xe0\x41\x01\x1a\xe4\x01\n\x12TransformationRule\x12]\n\rfield_actions\x18\x01 \x03(\x0b\x32\x41.google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleActionB\x03\xe0\x41\x02\x12U\n\x0fresource_filter\x18\x02 \x01(\x0b\x32\x37.google.cloud.gkebackup.v1.RestoreConfig.ResourceFilterB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x1a\xcd\x01\n\x1eVolumeDataRestorePolicyBinding\x12U\n\x06policy\x18\x01 \x01(\x0e\x32@.google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyB\x03\xe0\x41\x02\x12K\n\x0bvolume_type\x18\x02 \x01(\x0e\x32\x34.google.cloud.gkebackup.v1.VolumeTypeEnum.VolumeTypeH\x00\x42\x07\n\x05scope\x1a\xb0\x02\n\x0cRestoreOrder\x12o\n\x17group_kind_dependencies\x18\x01 \x03(\x0b\x32I.google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependencyB\x03\xe0\x41\x01\x1a\xae\x01\n\x13GroupKindDependency\x12K\n\nsatisfying\x18\x01 \x01(\x0b\x32\x32.google.cloud.gkebackup.v1.RestoreConfig.GroupKindB\x03\xe0\x41\x02\x12J\n\trequiring\x18\x02 \x01(\x0b\x32\x32.google.cloud.gkebackup.v1.RestoreConfig.GroupKindB\x03\xe0\x41\x02\"\xaf\x01\n\x17VolumeDataRestorePolicy\x12*\n&VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED\x10\x00\x12#\n\x1fRESTORE_VOLUME_DATA_FROM_BACKUP\x10\x01\x12#\n\x1fREUSE_VOLUME_HANDLE_FROM_BACKUP\x10\x02\x12\x1e\n\x1aNO_VOLUME_DATA_RESTORATION\x10\x03\"\x83\x01\n\x1d\x43lusterResourceConflictPolicy\x12\x30\n,CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED\x10\x00\x12\x18\n\x14USE_EXISTING_VERSION\x10\x01\x12\x16\n\x12USE_BACKUP_VERSION\x10\x02\"\xe0\x01\n\x1dNamespacedResourceRestoreMode\x12\x30\n,NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x44\x45LETE_AND_RESTORE\x10\x01\x12\x14\n\x10\x46\x41IL_ON_CONFLICT\x10\x02\x12\x1a\n\x16MERGE_SKIP_ON_CONFLICT\x10\x03\x12$\n MERGE_REPLACE_VOLUME_ON_CONFLICT\x10\x04\x12\x1d\n\x19MERGE_REPLACE_ON_CONFLICT\x10\x05\x42#\n!namespaced_resource_restore_scope\"\x87\x02\n\x10ResourceSelector\x12K\n\ngroup_kind\x18\x01 \x01(\x0b\x32\x32.google.cloud.gkebackup.v1.RestoreConfig.GroupKindB\x03\xe0\x41\x01\x12\x11\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tnamespace\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12L\n\x06labels\x18\x04 \x03(\x0b\x32\x37.google.cloud.gkebackup.v1.ResourceSelector.LabelsEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc6\x01\n\x1fVolumeDataRestorePolicyOverride\x12U\n\x06policy\x18\x01 \x01(\x0e\x32@.google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyB\x03\xe0\x41\x02\x12\x43\n\rselected_pvcs\x18\x02 \x01(\x0b\x32*.google.cloud.gkebackup.v1.NamespacedNamesH\x00\x42\x07\n\x05scopeB\xc3\x01\n\x1d\x63om.google.cloud.gkebackup.v1B\x0cRestoreProtoP\x01Z;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb\xaa\x02\x19Google.Cloud.GkeBackup.V1\xca\x02\x19Google\\Cloud\\GkeBackup\\V1\xea\x02\x1cGoogle::Cloud::GkeBackup::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.cloud.gkebackup.v1.Namespaces", "google/cloud/gkebackup/v1/common.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/restore_plan_binding_pb.rb b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/restore_plan_binding_pb.rb index faad4f1fe4d7..f37b6875626e 100644 --- a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/restore_plan_binding_pb.rb +++ b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/restore_plan_binding_pb.rb @@ -12,30 +12,8 @@ descriptor_data = "\n4google/cloud/gkebackup/v1/restore_plan_binding.proto\x12\x19google.cloud.gkebackup.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x99\x04\n\x12RestorePlanBinding\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x18\n\x03uid\x18\x02 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x42\n\x0crestore_plan\x18\x05 \x01(\tB,\xe0\x41\x03\xfa\x41&\n$gkebackup.googleapis.com/RestorePlan\x12\x11\n\x04\x65tag\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12@\n\x0b\x62\x61\x63kup_plan\x18\x07 \x01(\tB+\xe0\x41\x03\xfa\x41%\n#gkebackup.googleapis.com/BackupPlan:\xd0\x01\xea\x41\xcc\x01\n+gkebackup.googleapis.com/RestorePlanBinding\x12tprojects/{project}/locations/{location}/restoreChannels/{restore_channel}/restorePlanBindings/{restore_plan_binding}*\x13restorePlanBindings2\x12restorePlanBindingB\xce\x01\n\x1d\x63om.google.cloud.gkebackup.v1B\x17RestorePlanBindingProtoP\x01Z;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb\xaa\x02\x19Google.Cloud.GkeBackup.V1\xca\x02\x19Google\\Cloud\\GkeBackup\\V1\xea\x02\x1cGoogle::Cloud::GkeBackup::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/restore_plan_pb.rb b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/restore_plan_pb.rb index f97faadb07ae..60cbf647e4fb 100644 --- a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/restore_plan_pb.rb +++ b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/restore_plan_pb.rb @@ -12,31 +12,8 @@ descriptor_data = "\n,google/cloud/gkebackup/v1/restore_plan.proto\x12\x19google.cloud.gkebackup.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/gkebackup/v1/restore.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfe\x06\n\x0bRestorePlan\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x43\n\x0b\x62\x61\x63kup_plan\x18\x06 \x01(\tB.\xe0\x41\x05\xe0\x41\x02\xfa\x41%\n#gkebackup.googleapis.com/BackupPlan\x12<\n\x07\x63luster\x18\x07 \x01(\tB+\xe0\x41\x05\xe0\x41\x02\xfa\x41\"\n container.googleapis.com/Cluster\x12\x45\n\x0erestore_config\x18\x08 \x01(\x0b\x32(.google.cloud.gkebackup.v1.RestoreConfigB\x03\xe0\x41\x02\x12G\n\x06labels\x18\t \x03(\x0b\x32\x32.google.cloud.gkebackup.v1.RestorePlan.LabelsEntryB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\n \x01(\tB\x03\xe0\x41\x03\x12@\n\x05state\x18\x0b \x01(\x0e\x32,.google.cloud.gkebackup.v1.RestorePlan.StateB\x03\xe0\x41\x03\x12\x19\n\x0cstate_reason\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12H\n\x0frestore_channel\x18\r \x01(\tB/\xe0\x41\x03\xfa\x41)\n\'gkebackup.googleapis.com/RestoreChannel\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"X\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x43LUSTER_PENDING\x10\x01\x12\t\n\x05READY\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04:n\xea\x41k\n$gkebackup.googleapis.com/RestorePlan\x12\x43projects/{project}/locations/{location}/restorePlans/{restore_plan}B\xc7\x01\n\x1d\x63om.google.cloud.gkebackup.v1B\x10RestorePlanProtoP\x01Z;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb\xaa\x02\x19Google.Cloud.GkeBackup.V1\xca\x02\x19Google\\Cloud\\GkeBackup\\V1\xea\x02\x1cGoogle::Cloud::GkeBackup::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.cloud.gkebackup.v1.RestoreConfig", "google/cloud/gkebackup/v1/restore.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/volume_pb.rb b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/volume_pb.rb index 3a79c075afb1..92cef9eaf8ff 100644 --- a/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/volume_pb.rb +++ b/google-cloud-gke_backup-v1/lib/google/cloud/gkebackup/v1/volume_pb.rb @@ -12,31 +12,8 @@ descriptor_data = "\n&google/cloud/gkebackup/v1/volume.proto\x12\x19google.cloud.gkebackup.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/gkebackup/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf1\x07\n\x0cVolumeBackup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x42\n\nsource_pvc\x18\x05 \x01(\x0b\x32).google.cloud.gkebackup.v1.NamespacedNameB\x03\xe0\x41\x03\x12!\n\x14volume_backup_handle\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12O\n\x06\x66ormat\x18\x07 \x01(\x0e\x32:.google.cloud.gkebackup.v1.VolumeBackup.VolumeBackupFormatB\x03\xe0\x41\x03\x12\x1a\n\rstorage_bytes\x18\x08 \x01(\x03\x42\x03\xe0\x41\x03\x12\x1c\n\x0f\x64isk_size_bytes\x18\t \x01(\x03\x42\x03\xe0\x41\x03\x12\x36\n\rcomplete_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x41\n\x05state\x18\x0b \x01(\x0e\x32-.google.cloud.gkebackup.v1.VolumeBackup.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_message\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\r \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x0e \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzi\x18\x0f \x01(\x08\x42\x03\xe0\x41\x03\"S\n\x12VolumeBackupFormat\x12$\n VOLUME_BACKUP_FORMAT_UNSPECIFIED\x10\x00\x12\x17\n\x13GCE_PERSISTENT_DISK\x10\x01\"\x86\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x10\n\x0cSNAPSHOTTING\x10\x02\x12\r\n\tUPLOADING\x10\x03\x12\r\n\tSUCCEEDED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06\x12\x0e\n\nCLEANED_UP\x10\x07:\x9d\x01\xea\x41\x99\x01\n%gkebackup.googleapis.com/VolumeBackup\x12pprojects/{project}/locations/{location}/backupPlans/{backup_plan}/backups/{backup}/volumeBackups/{volume_backup}\"\xe7\x06\n\rVolumeRestore\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1a\n\rvolume_backup\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x42\n\ntarget_pvc\x18\x06 \x01(\x0b\x32).google.cloud.gkebackup.v1.NamespacedNameB\x03\xe0\x41\x03\x12\x1a\n\rvolume_handle\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12M\n\x0bvolume_type\x18\x08 \x01(\x0e\x32\x33.google.cloud.gkebackup.v1.VolumeRestore.VolumeTypeB\x03\xe0\x41\x03\x12\x36\n\rcomplete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x42\n\x05state\x18\n \x01(\x0e\x32..google.cloud.gkebackup.v1.VolumeRestore.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_message\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x0c \x01(\tB\x03\xe0\x41\x03\"B\n\nVolumeType\x12\x1b\n\x17VOLUME_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13GCE_PERSISTENT_DISK\x10\x01\"d\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\r\n\tRESTORING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05:\xa4\x01\xea\x41\xa0\x01\n&gkebackup.googleapis.com/VolumeRestore\x12vprojects/{project}/locations/{location}/restorePlans/{restore_plan}/restores/{restore}/volumeRestores/{volume_restore}B\xc2\x01\n\x1d\x63om.google.cloud.gkebackup.v1B\x0bVolumeProtoP\x01Z;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb\xaa\x02\x19Google.Cloud.GkeBackup.V1\xca\x02\x19Google\\Cloud\\GkeBackup\\V1\xea\x02\x1cGoogle::Cloud::GkeBackup::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.cloud.gkebackup.v1.NamespacedName", "google/cloud/gkebackup/v1/common.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_connect-gateway-v1/lib/google/cloud/gkeconnect/gateway/v1/control_pb.rb b/google-cloud-gke_connect-gateway-v1/lib/google/cloud/gkeconnect/gateway/v1/control_pb.rb index 26f58e2be34b..46348547129d 100644 --- a/google-cloud-gke_connect-gateway-v1/lib/google/cloud/gkeconnect/gateway/v1/control_pb.rb +++ b/google-cloud-gke_connect-gateway-v1/lib/google/cloud/gkeconnect/gateway/v1/control_pb.rb @@ -11,29 +11,8 @@ descriptor_data = "\n0google/cloud/gkeconnect/gateway/v1/control.proto\x12\"google.cloud.gkeconnect.gateway.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\"\xc8\x02\n\x1aGenerateCredentialsRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0f\x66orce_use_agent\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14kubernetes_namespace\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12m\n\x10operating_system\x18\x05 \x01(\x0e\x32N.google.cloud.gkeconnect.gateway.v1.GenerateCredentialsRequest.OperatingSystemB\x03\xe0\x41\x01\"Q\n\x0fOperatingSystem\x12 \n\x1cOPERATING_SYSTEM_UNSPECIFIED\x10\x00\x12\x1c\n\x18OPERATING_SYSTEM_WINDOWS\x10\x01\"C\n\x1bGenerateCredentialsResponse\x12\x12\n\nkubeconfig\x18\x01 \x01(\x0c\x12\x10\n\x08\x65ndpoint\x18\x02 \x01(\t2\xc9\x02\n\x0eGatewayControl\x12\xe3\x01\n\x13GenerateCredentials\x12>.google.cloud.gkeconnect.gateway.v1.GenerateCredentialsRequest\x1a?.google.cloud.gkeconnect.gateway.v1.GenerateCredentialsResponse\"K\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{name=projects/*/locations/*/memberships/*}:generateCredentials\x1aQ\xca\x41\x1d\x63onnectgateway.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xed\x01\n&com.google.cloud.gkeconnect.gateway.v1B\x0c\x43ontrolProtoP\x01Z@cloud.google.com/go/gkeconnect/gateway/apiv1/gatewaypb;gatewaypb\xaa\x02\"Google.Cloud.GkeConnect.Gateway.V1\xca\x02\"Google\\Cloud\\GkeConnect\\Gateway\\V1\xea\x02&Google::Cloud::GkeConnect::Gateway::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_connect-gateway-v1beta1/lib/google/cloud/gkeconnect/gateway/v1beta1/control_pb.rb b/google-cloud-gke_connect-gateway-v1beta1/lib/google/cloud/gkeconnect/gateway/v1beta1/control_pb.rb index e84d0308d40b..15f14c1f1fba 100644 --- a/google-cloud-gke_connect-gateway-v1beta1/lib/google/cloud/gkeconnect/gateway/v1beta1/control_pb.rb +++ b/google-cloud-gke_connect-gateway-v1beta1/lib/google/cloud/gkeconnect/gateway/v1beta1/control_pb.rb @@ -11,29 +11,8 @@ descriptor_data = "\n5google/cloud/gkeconnect/gateway/v1beta1/control.proto\x12\'google.cloud.gkeconnect.gateway.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\"\xcd\x02\n\x1aGenerateCredentialsRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0f\x66orce_use_agent\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14kubernetes_namespace\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12r\n\x10operating_system\x18\x05 \x01(\x0e\x32S.google.cloud.gkeconnect.gateway.v1beta1.GenerateCredentialsRequest.OperatingSystemB\x03\xe0\x41\x01\"Q\n\x0fOperatingSystem\x12 \n\x1cOPERATING_SYSTEM_UNSPECIFIED\x10\x00\x12\x1c\n\x18OPERATING_SYSTEM_WINDOWS\x10\x01\"C\n\x1bGenerateCredentialsResponse\x12\x12\n\nkubeconfig\x18\x01 \x01(\x0c\x12\x10\n\x08\x65ndpoint\x18\x02 \x01(\t2\xd8\x02\n\x0eGatewayControl\x12\xf2\x01\n\x13GenerateCredentials\x12\x43.google.cloud.gkeconnect.gateway.v1beta1.GenerateCredentialsRequest\x1a\x44.google.cloud.gkeconnect.gateway.v1beta1.GenerateCredentialsResponse\"P\x82\xd3\xe4\x93\x02J\x12H/v1beta1/{name=projects/*/locations/*/memberships/*}:generateCredentials\x1aQ\xca\x41\x1d\x63onnectgateway.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x86\x02\n+com.google.cloud.gkeconnect.gateway.v1beta1B\x0c\x43ontrolProtoP\x01ZEcloud.google.com/go/gkeconnect/gateway/apiv1beta1/gatewaypb;gatewaypb\xaa\x02\'Google.Cloud.GkeConnect.Gateway.V1Beta1\xca\x02\'Google\\Cloud\\GkeConnect\\Gateway\\V1beta1\xea\x02+Google::Cloud::GkeConnect::Gateway::V1beta1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_hub-v1beta1/lib/google/cloud/gkehub/v1beta1/membership_pb.rb b/google-cloud-gke_hub-v1beta1/lib/google/cloud/gkehub/v1beta1/membership_pb.rb index f80b5bf7d02b..cceb594d9925 100644 --- a/google-cloud-gke_hub-v1beta1/lib/google/cloud/gkehub/v1beta1/membership_pb.rb +++ b/google-cloud-gke_hub-v1beta1/lib/google/cloud/gkehub/v1beta1/membership_pb.rb @@ -17,32 +17,8 @@ descriptor_data = "\n,google/cloud/gkehub/v1beta1/membership.proto\x12\x1bgoogle.cloud.gkehub.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\x88\x08\n\nMembership\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12H\n\x06labels\x18\x02 \x03(\x0b\x32\x33.google.cloud.gkehub.v1beta1.Membership.LabelsEntryB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12H\n\x08\x65ndpoint\x18\x04 \x01(\x0b\x32/.google.cloud.gkehub.v1beta1.MembershipEndpointB\x03\xe0\x41\x01H\x00\x12@\n\x05state\x18\x05 \x01(\x0b\x32,.google.cloud.gkehub.v1beta1.MembershipStateB\x03\xe0\x41\x03\x12>\n\tauthority\x18\t \x01(\x0b\x32&.google.cloud.gkehub.v1beta1.AuthorityB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0b\x65xternal_id\x18\n \x01(\tB\x03\xe0\x41\x01\x12=\n\x14last_connection_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x16\n\tunique_id\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\\\n\x13infrastructure_type\x18\r \x01(\x0e\x32:.google.cloud.gkehub.v1beta1.Membership.InfrastructureTypeB\x03\xe0\x41\x01\x12M\n\x11monitoring_config\x18\x0e \x01(\x0b\x32-.google.cloud.gkehub.v1beta1.MonitoringConfigB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"W\n\x12InfrastructureType\x12#\n\x1fINFRASTRUCTURE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07ON_PREM\x10\x01\x12\x0f\n\x0bMULTI_CLOUD\x10\x02:g\xea\x41\x64\n gkehub.googleapis.com/Membership\x12@projects/{project}/locations/{location}/memberships/{membership}B\x06\n\x04type\"\xbf\x04\n\x12MembershipEndpoint\x12\x43\n\x0bgke_cluster\x18\x04 \x01(\x0b\x32\'.google.cloud.gkehub.v1beta1.GkeClusterB\x03\xe0\x41\x01H\x00\x12J\n\x0fon_prem_cluster\x18\x07 \x01(\x0b\x32*.google.cloud.gkehub.v1beta1.OnPremClusterB\x03\xe0\x41\x01H\x00\x12R\n\x13multi_cloud_cluster\x18\x08 \x01(\x0b\x32..google.cloud.gkehub.v1beta1.MultiCloudClusterB\x03\xe0\x41\x01H\x00\x12\x45\n\x0c\x65\x64ge_cluster\x18\t \x01(\x0b\x32(.google.cloud.gkehub.v1beta1.EdgeClusterB\x03\xe0\x41\x01H\x00\x12O\n\x11\x61ppliance_cluster\x18\n \x01(\x0b\x32-.google.cloud.gkehub.v1beta1.ApplianceClusterB\x03\xe0\x41\x01H\x00\x12Q\n\x13kubernetes_metadata\x18\x05 \x01(\x0b\x32/.google.cloud.gkehub.v1beta1.KubernetesMetadataB\x03\xe0\x41\x03\x12Q\n\x13kubernetes_resource\x18\x06 \x01(\x0b\x32/.google.cloud.gkehub.v1beta1.KubernetesResourceB\x03\xe0\x41\x01\x42\x06\n\x04type\"\xa7\x02\n\x12KubernetesResource\x12#\n\x16membership_cr_manifest\x18\x01 \x01(\tB\x03\xe0\x41\x04\x12P\n\x14membership_resources\x18\x02 \x03(\x0b\x32-.google.cloud.gkehub.v1beta1.ResourceManifestB\x03\xe0\x41\x03\x12M\n\x11\x63onnect_resources\x18\x03 \x03(\x0b\x32-.google.cloud.gkehub.v1beta1.ResourceManifestB\x03\xe0\x41\x03\x12K\n\x10resource_options\x18\x04 \x01(\x0b\x32,.google.cloud.gkehub.v1beta1.ResourceOptionsB\x03\xe0\x41\x01\"\x81\x01\n\x0fResourceOptions\x12\x1c\n\x0f\x63onnect_version\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bv1beta1_crd\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x18\n\x0bk8s_version\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fk8s_git_version\x18\x04 \x01(\tB\x03\xe0\x41\x01\"<\n\x10ResourceManifest\x12\x10\n\x08manifest\x18\x01 \x01(\t\x12\x16\n\x0e\x63luster_scoped\x18\x02 \x01(\x08\"F\n\nGkeCluster\x12\x1a\n\rresource_link\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x1c\n\x0f\x63luster_missing\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03\"\x99\x02\n\rOnPremCluster\x12\x1a\n\rresource_link\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x1c\n\x0f\x63luster_missing\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\radmin_cluster\x18\x03 \x01(\x08\x42\x03\xe0\x41\x05\x12Q\n\x0c\x63luster_type\x18\x04 \x01(\x0e\x32\x36.google.cloud.gkehub.v1beta1.OnPremCluster.ClusterTypeB\x03\xe0\x41\x05\"_\n\x0b\x43lusterType\x12\x1b\n\x17\x43LUSTERTYPE_UNSPECIFIED\x10\x00\x12\r\n\tBOOTSTRAP\x10\x01\x12\n\n\x06HYBRID\x10\x02\x12\x0e\n\nSTANDALONE\x10\x03\x12\x08\n\x04USER\x10\x04\"M\n\x11MultiCloudCluster\x12\x1a\n\rresource_link\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x1c\n\x0f\x63luster_missing\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03\")\n\x0b\x45\x64geCluster\x12\x1a\n\rresource_link\x18\x01 \x01(\tB\x03\xe0\x41\x05\".\n\x10\x41pplianceCluster\x12\x1a\n\rresource_link\x18\x01 \x01(\tB\x03\xe0\x41\x05\"\xdf\x01\n\x12KubernetesMetadata\x12*\n\x1dkubernetes_api_server_version\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10node_provider_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nnode_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x17\n\nvcpu_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\x12\x16\n\tmemory_mb\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"}\n\tAuthority\x12\x13\n\x06issuer\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12#\n\x16workload_identity_pool\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1e\n\x11identity_provider\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\toidc_jwks\x18\x04 \x01(\x0c\x42\x03\xe0\x41\x01\"\x96\x01\n\x10MonitoringConfig\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x15\n\x08location\x18\x02 \x01(\tB\x03\xe0\x41\x05\x12\x14\n\x07\x63luster\x18\x03 \x01(\tB\x03\xe0\x41\x05\x12!\n\x19kubernetes_metrics_prefix\x18\x04 \x01(\t\x12\x19\n\x0c\x63luster_hash\x18\x05 \x01(\tB\x03\xe0\x41\x05\"\x8e\x02\n\x0fMembershipState\x12\x44\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x31.google.cloud.gkehub.v1beta1.MembershipState.CodeB\x03\xe0\x41\x03\x12\x17\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x02\x18\x01\x12\x33\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01\"g\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x14\n\x10SERVICE_UPDATING\x10\x05\"\xaf\x01\n\x16ListMembershipsRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 gkehub.googleapis.com/Membership\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x83\x01\n\x17ListMembershipsResponse\x12:\n\tresources\x18\x01 \x03(\x0b\x32\'.google.cloud.gkehub.v1beta1.Membership\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"N\n\x14GetMembershipRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkehub.googleapis.com/Membership\"\xc8\x01\n\x17\x43reateMembershipRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 gkehub.googleapis.com/Membership\x12\x1a\n\rmembership_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12>\n\x08resource\x18\x03 \x01(\x0b\x32\'.google.cloud.gkehub.v1beta1.MembershipB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"~\n\x17\x44\x65leteMembershipRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkehub.googleapis.com/Membership\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xe0\x01\n\x17UpdateMembershipRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkehub.googleapis.com/Membership\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12>\n\x08resource\x18\x03 \x01(\x0b\x32\'.google.cloud.gkehub.v1beta1.MembershipB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x8d\x02\n\x1eGenerateConnectManifestRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkehub.googleapis.com/Membership\x12\x45\n\rconnect_agent\x18\x02 \x01(\x0b\x32).google.cloud.gkehub.v1beta1.ConnectAgentB\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nis_upgrade\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x15\n\x08registry\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12&\n\x19image_pull_secret_content\x18\x06 \x01(\x0c\x42\x03\xe0\x41\x01\"f\n\x1fGenerateConnectManifestResponse\x12\x43\n\x08manifest\x18\x01 \x03(\x0b\x32\x31.google.cloud.gkehub.v1beta1.ConnectAgentResource\"]\n\x14\x43onnectAgentResource\x12\x33\n\x04type\x18\x01 \x01(\x0b\x32%.google.cloud.gkehub.v1beta1.TypeMeta\x12\x10\n\x08manifest\x18\x02 \x01(\t\"-\n\x08TypeMeta\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x13\n\x0b\x61pi_version\x18\x02 \x01(\t\"L\n\x0c\x43onnectAgent\x12\x10\n\x04name\x18\x01 \x01(\tB\x02\x18\x01\x12\x12\n\x05proxy\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x01\x12\x16\n\tnamespace\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x92\x01\n\x1aValidateExclusivityRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 gkehub.googleapis.com/Membership\x12\x18\n\x0b\x63r_manifest\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12 \n\x13intended_membership\x18\x03 \x01(\tB\x03\xe0\x41\x02\"A\n\x1bValidateExclusivityResponse\x12\"\n\x06status\x18\x01 \x01(\x0b\x32\x12.google.rpc.Status\"\x91\x01\n\"GenerateExclusivityManifestRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkehub.googleapis.com/Membership\x12\x19\n\x0c\x63rd_manifest\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x63r_manifest\x18\x03 \x01(\tB\x03\xe0\x41\x01\"P\n#GenerateExclusivityManifestResponse\x12\x14\n\x0c\x63rd_manifest\x18\x01 \x01(\t\x12\x13\n\x0b\x63r_manifest\x18\x02 \x01(\t\"\xf9\x01\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rstatus_detail\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10\x63\x61ncel_requested\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xe6\x0e\n\x17GkeHubMembershipService\x12\xc3\x01\n\x0fListMemberships\x12\x33.google.cloud.gkehub.v1beta1.ListMembershipsRequest\x1a\x34.google.cloud.gkehub.v1beta1.ListMembershipsResponse\"E\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x36\x12\x34/v1beta1/{parent=projects/*/locations/*}/memberships\x12\xb0\x01\n\rGetMembership\x12\x31.google.cloud.gkehub.v1beta1.GetMembershipRequest\x1a\'.google.cloud.gkehub.v1beta1.Membership\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\x12\x34/v1beta1/{name=projects/*/locations/*/memberships/*}\x12\xf2\x01\n\x10\x43reateMembership\x12\x34.google.cloud.gkehub.v1beta1.CreateMembershipRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\xca\x41\x1f\n\nMembership\x12\x11OperationMetadata\xda\x41\x1dparent,resource,membership_id\x82\xd3\xe4\x93\x02@\"4/v1beta1/{parent=projects/*/locations/*}/memberships:\x08resource\x12\xd9\x01\n\x10\x44\x65leteMembership\x12\x34.google.cloud.gkehub.v1beta1.DeleteMembershipRequest\x1a\x1d.google.longrunning.Operation\"p\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36*4/v1beta1/{name=projects/*/locations/*/memberships/*}\x12\xee\x01\n\x10UpdateMembership\x12\x34.google.cloud.gkehub.v1beta1.UpdateMembershipRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\xca\x41\x1f\n\nMembership\x12\x11OperationMetadata\xda\x41\x19name,resource,update_mask\x82\xd3\xe4\x93\x02@24/v1beta1/{name=projects/*/locations/*/memberships/*}:\x08resource\x12\xea\x01\n\x17GenerateConnectManifest\x12;.google.cloud.gkehub.v1beta1.GenerateConnectManifestRequest\x1a<.google.cloud.gkehub.v1beta1.GenerateConnectManifestResponse\"T\x82\xd3\xe4\x93\x02N\x12L/v1beta1/{name=projects/*/locations/*/memberships/*}:generateConnectManifest\x12\xda\x01\n\x13ValidateExclusivity\x12\x37.google.cloud.gkehub.v1beta1.ValidateExclusivityRequest\x1a\x38.google.cloud.gkehub.v1beta1.ValidateExclusivityResponse\"P\x82\xd3\xe4\x93\x02J\x12H/v1beta1/{parent=projects/*/locations/*}/memberships:validateExclusivity\x12\xfa\x01\n\x1bGenerateExclusivityManifest\x12?.google.cloud.gkehub.v1beta1.GenerateExclusivityManifestRequest\x1a@.google.cloud.gkehub.v1beta1.GenerateExclusivityManifestResponse\"X\x82\xd3\xe4\x93\x02R\x12P/v1beta1/{name=projects/*/locations/*/memberships/*}:generateExclusivityManifest\x1aI\xca\x41\x15gkehub.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xb9\x01\n\x1f\x63om.google.cloud.gkehub.v1beta1P\x01Z7cloud.google.com/go/gkehub/apiv1beta1/gkehubpb;gkehubpb\xaa\x02\x1bGoogle.Cloud.GkeHub.V1Beta1\xca\x02\x1bGoogle\\Cloud\\GkeHub\\V1beta1\xea\x02\x1eGoogle::Cloud::GkeHub::V1beta1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], - ["google.rpc.Status", "google/rpc/status.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/attached_resources_pb.rb b/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/attached_resources_pb.rb index 63bf9a18cd68..81d666bc68c4 100644 --- a/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/attached_resources_pb.rb +++ b/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/attached_resources_pb.rb @@ -13,32 +13,8 @@ descriptor_data = "\n6google/cloud/gkemulticloud/v1/attached_resources.proto\x12\x1dgoogle.cloud.gkemulticloud.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/gkemulticloud/v1/common_resources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/date.proto\"\xa9\x0e\n\x0f\x41ttachedCluster\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12K\n\x0boidc_config\x18\x03 \x01(\x0b\x32\x31.google.cloud.gkemulticloud.v1.AttachedOidcConfigB\x03\xe0\x41\x02\x12\x1d\n\x10platform_version\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x64istribution\x18\x10 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0e\x63luster_region\x18\x16 \x01(\tB\x03\xe0\x41\x03\x12\x38\n\x05\x66leet\x18\x05 \x01(\x0b\x32$.google.cloud.gkemulticloud.v1.FleetB\x03\xe0\x41\x02\x12H\n\x05state\x18\x06 \x01(\x0e\x32\x34.google.cloud.gkemulticloud.v1.AttachedCluster.StateB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x0b \x01(\t\x12\x1f\n\x12kubernetes_version\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12Y\n\x0b\x61nnotations\x18\r \x03(\x0b\x32?.google.cloud.gkemulticloud.v1.AttachedCluster.AnnotationsEntryB\x03\xe0\x41\x01\x12\\\n\x18workload_identity_config\x18\x0e \x01(\x0b\x32\x35.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigB\x03\xe0\x41\x03\x12I\n\x0elogging_config\x18\x0f \x01(\x0b\x32,.google.cloud.gkemulticloud.v1.LoggingConfigB\x03\xe0\x41\x01\x12H\n\x06\x65rrors\x18\x14 \x03(\x0b\x32\x33.google.cloud.gkemulticloud.v1.AttachedClusterErrorB\x03\xe0\x41\x03\x12X\n\rauthorization\x18\x15 \x01(\x0b\x32<.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationB\x03\xe0\x41\x01\x12O\n\x11monitoring_config\x18\x17 \x01(\x0b\x32/.google.cloud.gkemulticloud.v1.MonitoringConfigB\x03\xe0\x41\x01\x12M\n\x0cproxy_config\x18\x18 \x01(\x0b\x32\x32.google.cloud.gkemulticloud.v1.AttachedProxyConfigB\x03\xe0\x41\x01\x12U\n\x14\x62inary_authorization\x18\x19 \x01(\x0b\x32\x32.google.cloud.gkemulticloud.v1.BinaryAuthorizationB\x03\xe0\x41\x01\x12Z\n\x17security_posture_config\x18\x1a \x01(\x0b\x32\x34.google.cloud.gkemulticloud.v1.SecurityPostureConfigB\x03\xe0\x41\x01\x12N\n\x04tags\x18\x1b \x03(\x0b\x32\x38.google.cloud.gkemulticloud.v1.AttachedCluster.TagsEntryB\x06\xe0\x41\x01\xe0\x41\x04\x12\\\n\x18system_components_config\x18\x1c \x01(\x0b\x32\x35.google.cloud.gkemulticloud.v1.SystemComponentsConfigB\x03\xe0\x41\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0f\n\x0bRECONCILING\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\x0c\n\x08\x44\x45GRADED\x10\x06:~\xea\x41{\n,gkemulticloud.googleapis.com/AttachedCluster\x12Kprojects/{project}/locations/{location}/attachedClusters/{attached_cluster}\"\xbd\x01\n\x1d\x41ttachedClustersAuthorization\x12L\n\x0b\x61\x64min_users\x18\x01 \x03(\x0b\x32\x32.google.cloud.gkemulticloud.v1.AttachedClusterUserB\x03\xe0\x41\x01\x12N\n\x0c\x61\x64min_groups\x18\x02 \x03(\x0b\x32\x33.google.cloud.gkemulticloud.v1.AttachedClusterGroupB\x03\xe0\x41\x01\",\n\x13\x41ttachedClusterUser\x12\x15\n\x08username\x18\x01 \x01(\tB\x03\xe0\x41\x02\"*\n\x14\x41ttachedClusterGroup\x12\x12\n\x05group\x18\x01 \x01(\tB\x03\xe0\x41\x02\";\n\x12\x41ttachedOidcConfig\x12\x12\n\nissuer_url\x18\x01 \x01(\t\x12\x11\n\x04jwks\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x01\"\xee\x01\n\x14\x41ttachedServerConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12R\n\x0evalid_versions\x18\x02 \x03(\x0b\x32:.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo:t\xea\x41q\n1gkemulticloud.googleapis.com/AttachedServerConfig\x12\n\x0btolerations\x18\x01 \x03(\x0b\x32).google.cloud.gkemulticloud.v1.Toleration\x12\x34\n\x06labels\x18\x02 \x03(\x0b\x32$.google.cloud.gkemulticloud.v1.Label\"\x85\x03\n\nToleration\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12K\n\x0ckey_operator\x18\x03 \x01(\x0e\x32\x35.google.cloud.gkemulticloud.v1.Toleration.KeyOperator\x12@\n\x06\x65\x66\x66\x65\x63t\x18\x04 \x01(\x0e\x32\x30.google.cloud.gkemulticloud.v1.Toleration.Effect\"\\\n\x0bKeyOperator\x12\x1c\n\x18KEY_OPERATOR_UNSPECIFIED\x10\x00\x12\x16\n\x12KEY_OPERATOR_EQUAL\x10\x01\x12\x17\n\x13KEY_OPERATOR_EXISTS\x10\x02\"n\n\x06\x45\x66\x66\x65\x63t\x12\x16\n\x12\x45\x46\x46\x45\x43T_UNSPECIFIED\x10\x00\x12\x16\n\x12\x45\x46\x46\x45\x43T_NO_SCHEDULE\x10\x01\x12\x1d\n\x19\x45\x46\x46\x45\x43T_PREFER_NO_SCHEDULE\x10\x02\x12\x15\n\x11\x45\x46\x46\x45\x43T_NO_EXECUTE\x10\x03\"#\n\x05Label\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\tB\xe9\x01\n!com.google.cloud.gkemulticloud.v1B\x16\x41ttachedResourcesProtoP\x01ZGcloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb\xaa\x02\x1dGoogle.Cloud.GkeMultiCloud.V1\xca\x02\x1dGoogle\\Cloud\\GkeMultiCloud\\V1\xea\x02 Google::Cloud::GkeMultiCloud::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.cloud.gkemulticloud.v1.Fleet", "google/cloud/gkemulticloud/v1/common_resources.proto"], - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.type.Date", "google/type/date.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/attached_service_pb.rb b/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/attached_service_pb.rb index a2de08863aff..bfea58ef24b6 100644 --- a/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/attached_service_pb.rb +++ b/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/attached_service_pb.rb @@ -17,31 +17,8 @@ descriptor_data = "\n4google/cloud/gkemulticloud/v1/attached_service.proto\x12\x1dgoogle.cloud.gkemulticloud.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x36google/cloud/gkemulticloud/v1/attached_resources.proto\x1a\x34google/cloud/gkemulticloud/v1/common_resources.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x85\x02\n-GenerateAttachedClusterInstallManifestRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,gkemulticloud.googleapis.com/AttachedCluster\x12 \n\x13\x61ttached_cluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1d\n\x10platform_version\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12M\n\x0cproxy_config\x18\x04 \x01(\x0b\x32\x32.google.cloud.gkemulticloud.v1.AttachedProxyConfigB\x03\xe0\x41\x01\"B\n.GenerateAttachedClusterInstallManifestResponse\x12\x10\n\x08manifest\x18\x01 \x01(\t\"\xec\x01\n\x1c\x43reateAttachedClusterRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,gkemulticloud.googleapis.com/AttachedCluster\x12M\n\x10\x61ttached_cluster\x18\x02 \x01(\x0b\x32..google.cloud.gkemulticloud.v1.AttachedClusterB\x03\xe0\x41\x02\x12 \n\x13\x61ttached_cluster_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xa3\x02\n\x1cImportAttachedClusterRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,gkemulticloud.googleapis.com/AttachedCluster\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x1d\n\x10\x66leet_membership\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1d\n\x10platform_version\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x64istribution\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12M\n\x0cproxy_config\x18\x06 \x01(\x0b\x32\x32.google.cloud.gkemulticloud.v1.AttachedProxyConfigB\x03\xe0\x41\x01\"\xba\x01\n\x1cUpdateAttachedClusterRequest\x12M\n\x10\x61ttached_cluster\x18\x01 \x01(\x0b\x32..google.cloud.gkemulticloud.v1.AttachedClusterB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"_\n\x19GetAttachedClusterRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,gkemulticloud.googleapis.com/AttachedCluster\"\x8a\x01\n\x1bListAttachedClustersRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,gkemulticloud.googleapis.com/AttachedCluster\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x82\x01\n\x1cListAttachedClustersResponse\x12I\n\x11\x61ttached_clusters\x18\x01 \x03(\x0b\x32..google.cloud.gkemulticloud.v1.AttachedCluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb5\x01\n\x1c\x44\x65leteAttachedClusterRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,gkemulticloud.googleapis.com/AttachedCluster\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\x12\x15\n\rignore_errors\x18\x05 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t\"i\n\x1eGetAttachedServerConfigRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1gkemulticloud.googleapis.com/AttachedServerConfig\"\xca\x02\n(GenerateAttachedClusterAgentTokenRequest\x12N\n\x10\x61ttached_cluster\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,gkemulticloud.googleapis.com/AttachedCluster\x12\x1a\n\rsubject_token\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\x12subject_token_type\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07version\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ngrant_type\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x61udience\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05scope\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14requested_token_type\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07options\x18\n \x01(\tB\x03\xe0\x41\x01\"\x8f\x01\n)GenerateAttachedClusterAgentTokenResponse\x12\"\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tR\x0c\x61\x63\x63\x65ss_token\x12\x1e\n\nexpires_in\x18\x02 \x01(\x05R\nexpires_in\x12\x1e\n\ntoken_type\x18\x03 \x01(\tR\ntoken_type2\xdd\x12\n\x10\x41ttachedClusters\x12\x99\x02\n\x15\x43reateAttachedCluster\x12;.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest\x1a\x1d.google.longrunning.Operation\"\xa3\x01\xca\x41$\n\x0f\x41ttachedCluster\x12\x11OperationMetadata\xda\x41+parent,attached_cluster,attached_cluster_id\x82\xd3\xe4\x93\x02H\"4/v1/{parent=projects/*/locations/*}/attachedClusters:\x10\x61ttached_cluster\x12\x9b\x02\n\x15UpdateAttachedCluster\x12;.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest\x1a\x1d.google.longrunning.Operation\"\xa5\x01\xca\x41$\n\x0f\x41ttachedCluster\x12\x11OperationMetadata\xda\x41\x1c\x61ttached_cluster,update_mask\x82\xd3\xe4\x93\x02Y2E/v1/{attached_cluster.name=projects/*/locations/*/attachedClusters/*}:\x10\x61ttached_cluster\x12\xfd\x01\n\x15ImportAttachedCluster\x12;.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41$\n\x0f\x41ttachedCluster\x12\x11OperationMetadata\xda\x41\x17parent,fleet_membership\x82\xd3\xe4\x93\x02@\";/v1/{parent=projects/*/locations/*}/attachedClusters:import:\x01*\x12\xc3\x01\n\x12GetAttachedCluster\x12\x38.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest\x1a..google.cloud.gkemulticloud.v1.AttachedCluster\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=projects/*/locations/*/attachedClusters/*}\x12\xd6\x01\n\x14ListAttachedClusters\x12:.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest\x1a;.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse\"E\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{parent=projects/*/locations/*}/attachedClusters\x12\xe5\x01\n\x15\x44\x65leteAttachedCluster\x12;.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest\x1a\x1d.google.longrunning.Operation\"p\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36*4/v1/{name=projects/*/locations/*/attachedClusters/*}\x12\xd4\x01\n\x17GetAttachedServerConfig\x12=.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest\x1a\x33.google.cloud.gkemulticloud.v1.AttachedServerConfig\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/attachedServerConfig}\x12\xb6\x02\n&GenerateAttachedClusterInstallManifest\x12L.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest\x1aM.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse\"o\xda\x41\x1aparent,attached_cluster_id\x82\xd3\xe4\x93\x02L\x12J/v1/{parent=projects/*/locations/*}:generateAttachedClusterInstallManifest\x12\xa5\x02\n!GenerateAttachedClusterAgentToken\x12G.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest\x1aH.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse\"m\x82\xd3\xe4\x93\x02g\"b/v1/{attached_cluster=projects/*/locations/*/attachedClusters/*}:generateAttachedClusterAgentToken:\x01*\x1aP\xca\x41\x1cgkemulticloud.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe7\x01\n!com.google.cloud.gkemulticloud.v1B\x14\x41ttachedServiceProtoP\x01ZGcloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb\xaa\x02\x1dGoogle.Cloud.GkeMultiCloud.V1\xca\x02\x1dGoogle\\Cloud\\GkeMultiCloud\\V1\xea\x02 Google::Cloud::GkeMultiCloud::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.cloud.gkemulticloud.v1.AttachedProxyConfig", "google/cloud/gkemulticloud/v1/attached_resources.proto"], - ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/aws_resources_pb.rb b/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/aws_resources_pb.rb index c3a4944b2817..b9e56353a770 100644 --- a/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/aws_resources_pb.rb +++ b/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/aws_resources_pb.rb @@ -13,32 +13,8 @@ descriptor_data = "\n1google/cloud/gkemulticloud/v1/aws_resources.proto\x12\x1dgoogle.cloud.gkemulticloud.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/gkemulticloud/v1/common_resources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/date.proto\"\x9f\x0b\n\nAwsCluster\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12L\n\nnetworking\x18\x03 \x01(\x0b\x32\x33.google.cloud.gkemulticloud.v1.AwsClusterNetworkingB\x03\xe0\x41\x02\x12\x17\n\naws_region\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12J\n\rcontrol_plane\x18\x05 \x01(\x0b\x32..google.cloud.gkemulticloud.v1.AwsControlPlaneB\x03\xe0\x41\x02\x12K\n\rauthorization\x18\x0f \x01(\x0b\x32/.google.cloud.gkemulticloud.v1.AwsAuthorizationB\x03\xe0\x41\x02\x12\x43\n\x05state\x18\x07 \x01(\x0e\x32/.google.cloud.gkemulticloud.v1.AwsCluster.StateB\x03\xe0\x41\x03\x12\x15\n\x08\x65ndpoint\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\n \x01(\x08\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\r \x01(\t\x12T\n\x0b\x61nnotations\x18\x0e \x03(\x0b\x32:.google.cloud.gkemulticloud.v1.AwsCluster.AnnotationsEntryB\x03\xe0\x41\x01\x12\\\n\x18workload_identity_config\x18\x10 \x01(\x0b\x32\x35.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigB\x03\xe0\x41\x03\x12#\n\x16\x63luster_ca_certificate\x18\x11 \x01(\tB\x03\xe0\x41\x03\x12\x38\n\x05\x66leet\x18\x12 \x01(\x0b\x32$.google.cloud.gkemulticloud.v1.FleetB\x03\xe0\x41\x02\x12I\n\x0elogging_config\x18\x13 \x01(\x0b\x32,.google.cloud.gkemulticloud.v1.LoggingConfigB\x03\xe0\x41\x01\x12\x43\n\x06\x65rrors\x18\x14 \x03(\x0b\x32..google.cloud.gkemulticloud.v1.AwsClusterErrorB\x03\xe0\x41\x03\x12O\n\x11monitoring_config\x18\x15 \x01(\x0b\x32/.google.cloud.gkemulticloud.v1.MonitoringConfigB\x03\xe0\x41\x01\x12U\n\x14\x62inary_authorization\x18\x16 \x01(\x0b\x32\x32.google.cloud.gkemulticloud.v1.BinaryAuthorizationB\x03\xe0\x41\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0f\n\x0bRECONCILING\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\x0c\n\x08\x44\x45GRADED\x10\x06:q\x18\x01\xea\x41l\n\'gkemulticloud.googleapis.com/AwsCluster\x12\x41projects/{project}/locations/{location}/awsClusters/{aws_cluster}\"\xac\x07\n\x0f\x41wsControlPlane\x12\x14\n\x07version\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rinstance_type\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x44\n\nssh_config\x18\x0e \x01(\x0b\x32+.google.cloud.gkemulticloud.v1.AwsSshConfigB\x03\xe0\x41\x01\x12\x17\n\nsubnet_ids\x18\x04 \x03(\tB\x03\xe0\x41\x02\x12\x1f\n\x12security_group_ids\x18\x05 \x03(\tB\x03\xe0\x41\x01\x12!\n\x14iam_instance_profile\x18\x07 \x01(\tB\x03\xe0\x41\x02\x12J\n\x0broot_volume\x18\x08 \x01(\x0b\x32\x30.google.cloud.gkemulticloud.v1.AwsVolumeTemplateB\x03\xe0\x41\x01\x12J\n\x0bmain_volume\x18\t \x01(\x0b\x32\x30.google.cloud.gkemulticloud.v1.AwsVolumeTemplateB\x03\xe0\x41\x01\x12V\n\x13\x64\x61tabase_encryption\x18\n \x01(\x0b\x32\x34.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionB\x03\xe0\x41\x02\x12K\n\x04tags\x18\x0b \x03(\x0b\x32\x38.google.cloud.gkemulticloud.v1.AwsControlPlane.TagsEntryB\x03\xe0\x41\x01\x12\x62\n\x1b\x61ws_services_authentication\x18\x0c \x01(\x0b\x32\x38.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationB\x03\xe0\x41\x02\x12H\n\x0cproxy_config\x18\x10 \x01(\x0b\x32-.google.cloud.gkemulticloud.v1.AwsProxyConfigB\x03\xe0\x41\x01\x12R\n\x11\x63onfig_encryption\x18\x11 \x01(\x0b\x32\x32.google.cloud.gkemulticloud.v1.AwsConfigEncryptionB\x03\xe0\x41\x02\x12T\n\x12instance_placement\x18\x12 \x01(\x0b\x32\x33.google.cloud.gkemulticloud.v1.AwsInstancePlacementB\x03\xe0\x41\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x02\x18\x01\"V\n\x19\x41wsServicesAuthentication\x12\x15\n\x08role_arn\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1e\n\x11role_session_name\x18\x02 \x01(\tB\x03\xe0\x41\x01:\x02\x18\x01\"\xaa\x01\n\x10\x41wsAuthorization\x12G\n\x0b\x61\x64min_users\x18\x01 \x03(\x0b\x32-.google.cloud.gkemulticloud.v1.AwsClusterUserB\x03\xe0\x41\x01\x12I\n\x0c\x61\x64min_groups\x18\x02 \x03(\x0b\x32..google.cloud.gkemulticloud.v1.AwsClusterGroupB\x03\xe0\x41\x01:\x02\x18\x01\"+\n\x0e\x41wsClusterUser\x12\x15\n\x08username\x18\x01 \x01(\tB\x03\xe0\x41\x02:\x02\x18\x01\")\n\x0f\x41wsClusterGroup\x12\x12\n\x05group\x18\x01 \x01(\tB\x03\xe0\x41\x02:\x02\x18\x01\"5\n\x15\x41wsDatabaseEncryption\x12\x18\n\x0bkms_key_arn\x18\x01 \x01(\tB\x03\xe0\x41\x02:\x02\x18\x01\"\x88\x02\n\x11\x41wsVolumeTemplate\x12\x15\n\x08size_gib\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12U\n\x0bvolume_type\x18\x02 \x01(\x0e\x32;.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeTypeB\x03\xe0\x41\x01\x12\x11\n\x04iops\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\nthroughput\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\x18\n\x0bkms_key_arn\x18\x04 \x01(\tB\x03\xe0\x41\x01\";\n\nVolumeType\x12\x1b\n\x17VOLUME_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03GP2\x10\x01\x12\x07\n\x03GP3\x10\x02:\x02\x18\x01\"\xad\x01\n\x14\x41wsClusterNetworking\x12\x13\n\x06vpc_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12$\n\x17pod_address_cidr_blocks\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12(\n\x1bservice_address_cidr_blocks\x18\x03 \x03(\tB\x03\xe0\x41\x02\x12,\n\x1fper_node_pool_sg_rules_disabled\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01:\x02\x18\x01\"\xdf\t\n\x0b\x41wsNodePool\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x07version\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x06\x63onfig\x18\x1c \x01(\x0b\x32,.google.cloud.gkemulticloud.v1.AwsNodeConfigB\x03\xe0\x41\x02\x12O\n\x0b\x61utoscaling\x18\x19 \x01(\x0b\x32\x35.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingB\x03\xe0\x41\x02\x12\x16\n\tsubnet_id\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x05state\x18\x10 \x01(\x0e\x32\x30.google.cloud.gkemulticloud.v1.AwsNodePool.StateB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x11 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\x12 \x01(\x08\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x15 \x01(\t\x12U\n\x0b\x61nnotations\x18\x16 \x03(\x0b\x32;.google.cloud.gkemulticloud.v1.AwsNodePool.AnnotationsEntryB\x03\xe0\x41\x01\x12R\n\x13max_pods_constraint\x18\x1b \x01(\x0b\x32\x30.google.cloud.gkemulticloud.v1.MaxPodsConstraintB\x03\xe0\x41\x02\x12\x44\n\x06\x65rrors\x18\x1d \x03(\x0b\x32/.google.cloud.gkemulticloud.v1.AwsNodePoolErrorB\x03\xe0\x41\x03\x12I\n\nmanagement\x18\x1e \x01(\x0b\x32\x30.google.cloud.gkemulticloud.v1.AwsNodeManagementB\x03\xe0\x41\x01\x12M\n\x0ekubelet_config\x18\x1f \x01(\x0b\x32\x30.google.cloud.gkemulticloud.v1.NodeKubeletConfigB\x03\xe0\x41\x01\x12K\n\x0fupdate_settings\x18 \x01(\x0b\x32-.google.cloud.gkemulticloud.v1.UpdateSettingsB\x03\xe0\x41\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0f\n\x0bRECONCILING\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\x0c\n\x08\x44\x45GRADED\x10\x06:\x90\x01\x18\x01\xea\x41\x8a\x01\n(gkemulticloud.googleapis.com/AwsNodePool\x12^projects/{project}/locations/{location}/awsClusters/{aws_cluster}/awsNodePools/{aws_node_pool}\"_\n\x0eUpdateSettings\x12I\n\x0esurge_settings\x18\x01 \x01(\x0b\x32,.google.cloud.gkemulticloud.v1.SurgeSettingsB\x03\xe0\x41\x01:\x02\x18\x01\"I\n\rSurgeSettings\x12\x16\n\tmax_surge\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1c\n\x0fmax_unavailable\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01:\x02\x18\x01\"1\n\x11\x41wsNodeManagement\x12\x18\n\x0b\x61uto_repair\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01:\x02\x18\x01\"\xfe\x07\n\rAwsNodeConfig\x12\x1a\n\rinstance_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12J\n\x0broot_volume\x18\x02 \x01(\x0b\x32\x30.google.cloud.gkemulticloud.v1.AwsVolumeTemplateB\x03\xe0\x41\x01\x12=\n\x06taints\x18\x03 \x03(\x0b\x32(.google.cloud.gkemulticloud.v1.NodeTaintB\x03\xe0\x41\x01\x12M\n\x06labels\x18\x04 \x03(\x0b\x32\x38.google.cloud.gkemulticloud.v1.AwsNodeConfig.LabelsEntryB\x03\xe0\x41\x01\x12I\n\x04tags\x18\x05 \x03(\x0b\x32\x36.google.cloud.gkemulticloud.v1.AwsNodeConfig.TagsEntryB\x03\xe0\x41\x01\x12!\n\x14iam_instance_profile\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nimage_type\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x44\n\nssh_config\x18\t \x01(\x0b\x32+.google.cloud.gkemulticloud.v1.AwsSshConfigB\x03\xe0\x41\x01\x12\x1f\n\x12security_group_ids\x18\n \x03(\tB\x03\xe0\x41\x01\x12H\n\x0cproxy_config\x18\x0c \x01(\x0b\x32-.google.cloud.gkemulticloud.v1.AwsProxyConfigB\x03\xe0\x41\x01\x12R\n\x11\x63onfig_encryption\x18\r \x01(\x0b\x32\x32.google.cloud.gkemulticloud.v1.AwsConfigEncryptionB\x03\xe0\x41\x02\x12T\n\x12instance_placement\x18\x0e \x01(\x0b\x32\x33.google.cloud.gkemulticloud.v1.AwsInstancePlacementB\x03\xe0\x41\x01\x12p\n\x1e\x61utoscaling_metrics_collection\x18\x0f \x01(\x0b\x32\x43.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionB\x03\xe0\x41\x01\x12\x43\n\x0bspot_config\x18\x10 \x01(\x0b\x32).google.cloud.gkemulticloud.v1.SpotConfigB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x02\x18\x01\"V\n\x16\x41wsNodePoolAutoscaling\x12\x1b\n\x0emin_node_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1b\n\x0emax_node_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02:\x02\x18\x01\"\xdb\x02\n\x0f\x41wsOpenIdConfig\x12\x0e\n\x06issuer\x18\x01 \x01(\t\x12\x1a\n\x08jwks_uri\x18\x02 \x01(\tR\x08jwks_uri\x12:\n\x18response_types_supported\x18\x03 \x03(\tR\x18response_types_supported\x12\x38\n\x17subject_types_supported\x18\x04 \x03(\tR\x17subject_types_supported\x12T\n%id_token_signing_alg_values_supported\x18\x05 \x03(\tR%id_token_signing_alg_values_supported\x12*\n\x10\x63laims_supported\x18\x06 \x03(\tR\x10\x63laims_supported\x12 \n\x0bgrant_types\x18\x07 \x03(\tR\x0bgrant_types:\x02\x18\x01\"F\n\x0e\x41wsJsonWebKeys\x12\x30\n\x04keys\x18\x01 \x03(\x0b\x32\".google.cloud.gkemulticloud.v1.Jwk:\x02\x18\x01\"\xf6\x01\n\x0f\x41wsServerConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12H\n\x0evalid_versions\x18\x02 \x03(\x0b\x32\x30.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo\x12\x1d\n\x15supported_aws_regions\x18\x03 \x03(\t:l\x18\x01\xea\x41g\n,gkemulticloud.googleapis.com/AwsServerConfig\x12\x37projects/{project}/locations/{location}/awsServerConfig\"\xb8\x01\n\x11\x41wsK8sVersionInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x14\n\x07\x65nabled\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x18\n\x0b\x65nd_of_life\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x30\n\x10\x65nd_of_life_date\x18\x05 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12,\n\x0crelease_date\x18\x06 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01:\x02\x18\x01\"-\n\x0c\x41wsSshConfig\x12\x19\n\x0c\x65\x63\x32_key_pair\x18\x01 \x01(\tB\x03\xe0\x41\x02:\x02\x18\x01\"@\n\x0e\x41wsProxyConfig\x12\x12\n\nsecret_arn\x18\x01 \x01(\t\x12\x16\n\x0esecret_version\x18\x02 \x01(\t:\x02\x18\x01\"3\n\x13\x41wsConfigEncryption\x12\x18\n\x0bkms_key_arn\x18\x01 \x01(\tB\x03\xe0\x41\x02:\x02\x18\x01\"\xb7\x01\n\x14\x41wsInstancePlacement\x12Q\n\x07tenancy\x18\x01 \x01(\x0e\x32;.google.cloud.gkemulticloud.v1.AwsInstancePlacement.TenancyB\x03\xe0\x41\x02\"H\n\x07Tenancy\x12\x17\n\x13TENANCY_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\r\n\tDEDICATED\x10\x02\x12\x08\n\x04HOST\x10\x03:\x02\x18\x01\"Z\n$AwsAutoscalingGroupMetricsCollection\x12\x18\n\x0bgranularity\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07metrics\x18\x02 \x03(\tB\x03\xe0\x41\x01:\x02\x18\x01\"-\n\nSpotConfig\x12\x1b\n\x0einstance_types\x18\x01 \x03(\tB\x03\xe0\x41\x02:\x02\x18\x01\"&\n\x0f\x41wsClusterError\x12\x0f\n\x07message\x18\x01 \x01(\t:\x02\x18\x01\"\'\n\x10\x41wsNodePoolError\x12\x0f\n\x07message\x18\x01 \x01(\t:\x02\x18\x01\x42\xe4\x01\n!com.google.cloud.gkemulticloud.v1B\x11\x41wsResourcesProtoP\x01ZGcloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb\xaa\x02\x1dGoogle.Cloud.GkeMultiCloud.V1\xca\x02\x1dGoogle\\Cloud\\GkeMultiCloud\\V1\xea\x02 Google::Cloud::GkeMultiCloud::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.cloud.gkemulticloud.v1.WorkloadIdentityConfig", "google/cloud/gkemulticloud/v1/common_resources.proto"], - ["google.type.Date", "google/type/date.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/aws_service_pb.rb b/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/aws_service_pb.rb index a5e8992d52ca..38326edee019 100644 --- a/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/aws_service_pb.rb +++ b/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/aws_service_pb.rb @@ -18,32 +18,8 @@ descriptor_data = "\n/google/cloud/gkemulticloud/v1/aws_service.proto\x12\x1dgoogle.cloud.gkemulticloud.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/gkemulticloud/v1/aws_resources.proto\x1a\x34google/cloud/gkemulticloud/v1/common_resources.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd7\x01\n\x17\x43reateAwsClusterRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'gkemulticloud.googleapis.com/AwsCluster\x12\x43\n\x0b\x61ws_cluster\x18\x02 \x01(\x0b\x32).google.cloud.gkemulticloud.v1.AwsClusterB\x03\xe0\x41\x02\x12\x1b\n\x0e\x61ws_cluster_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08:\x02\x18\x01\"\xaf\x01\n\x17UpdateAwsClusterRequest\x12\x43\n\x0b\x61ws_cluster\x18\x01 \x01(\x0b\x32).google.cloud.gkemulticloud.v1.AwsClusterB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02:\x02\x18\x01\"Y\n\x14GetAwsClusterRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'gkemulticloud.googleapis.com/AwsCluster:\x02\x18\x01\"\x84\x01\n\x16ListAwsClustersRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'gkemulticloud.googleapis.com/AwsCluster\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t:\x02\x18\x01\"w\n\x17ListAwsClustersResponse\x12?\n\x0c\x61ws_clusters\x18\x01 \x03(\x0b\x32).google.cloud.gkemulticloud.v1.AwsCluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t:\x02\x18\x01\"\xb4\x01\n\x17\x44\x65leteAwsClusterRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'gkemulticloud.googleapis.com/AwsCluster\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\x12\x1a\n\rignore_errors\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t:\x02\x18\x01\"\xde\x01\n\x18\x43reateAwsNodePoolRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(gkemulticloud.googleapis.com/AwsNodePool\x12\x46\n\raws_node_pool\x18\x02 \x01(\x0b\x32*.google.cloud.gkemulticloud.v1.AwsNodePoolB\x03\xe0\x41\x02\x12\x1d\n\x10\x61ws_node_pool_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08:\x02\x18\x01\"\xb3\x01\n\x18UpdateAwsNodePoolRequest\x12\x46\n\raws_node_pool\x18\x01 \x01(\x0b\x32*.google.cloud.gkemulticloud.v1.AwsNodePoolB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02:\x02\x18\x01\"\x80\x01\n RollbackAwsNodePoolUpdateRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(gkemulticloud.googleapis.com/AwsNodePool\x12\x18\n\x0brespect_pdb\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01:\x02\x18\x01\"[\n\x15GetAwsNodePoolRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(gkemulticloud.googleapis.com/AwsNodePool:\x02\x18\x01\"\x86\x01\n\x17ListAwsNodePoolsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(gkemulticloud.googleapis.com/AwsNodePool\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t:\x02\x18\x01\"{\n\x18ListAwsNodePoolsResponse\x12\x42\n\x0e\x61ws_node_pools\x18\x01 \x03(\x0b\x32*.google.cloud.gkemulticloud.v1.AwsNodePool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t:\x02\x18\x01\"\xb6\x01\n\x18\x44\x65leteAwsNodePoolRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(gkemulticloud.googleapis.com/AwsNodePool\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\x12\x1a\n\rignore_errors\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t:\x02\x18\x01\"e\n\x19GetAwsOpenIdConfigRequest\x12\x44\n\x0b\x61ws_cluster\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'gkemulticloud.googleapis.com/AwsCluster:\x02\x18\x01\"d\n\x18GetAwsJsonWebKeysRequest\x12\x44\n\x0b\x61ws_cluster\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'gkemulticloud.googleapis.com/AwsCluster:\x02\x18\x01\"c\n\x19GetAwsServerConfigRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,gkemulticloud.googleapis.com/AwsServerConfig:\x02\x18\x01\"i\n\x1dGenerateAwsAccessTokenRequest\x12\x44\n\x0b\x61ws_cluster\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'gkemulticloud.googleapis.com/AwsCluster:\x02\x18\x01\"y\n\x1eGenerateAwsAccessTokenResponse\x12\x19\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x38\n\x0f\x65xpiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\x02\x18\x01\"\xda\x02\n#GenerateAwsClusterAgentTokenRequest\x12\x44\n\x0b\x61ws_cluster\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'gkemulticloud.googleapis.com/AwsCluster\x12\x1a\n\rsubject_token\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\x12subject_token_type\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07version\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cnode_pool_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ngrant_type\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x61udience\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05scope\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14requested_token_type\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07options\x18\n \x01(\tB\x03\xe0\x41\x01:\x02\x18\x01\"\x8e\x01\n$GenerateAwsClusterAgentTokenResponse\x12\"\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tR\x0c\x61\x63\x63\x65ss_token\x12\x1e\n\nexpires_in\x18\x02 \x01(\x05R\nexpires_in\x12\x1e\n\ntoken_type\x18\x03 \x01(\tR\ntoken_type:\x02\x18\x01\x32\xdc\x1d\n\x0b\x41wsClusters\x12\xf9\x01\n\x10\x43reateAwsCluster\x12\x36.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\x88\x02\x01\xca\x41\x1f\n\nAwsCluster\x12\x11OperationMetadata\xda\x41!parent,aws_cluster,aws_cluster_id\x82\xd3\xe4\x93\x02>\"//v1/{parent=projects/*/locations/*}/awsClusters:\x0b\x61ws_cluster\x12\xfb\x01\n\x10UpdateAwsCluster\x12\x36.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\x88\x02\x01\xca\x41\x1f\n\nAwsCluster\x12\x11OperationMetadata\xda\x41\x17\x61ws_cluster,update_mask\x82\xd3\xe4\x93\x02J2;/v1/{aws_cluster.name=projects/*/locations/*/awsClusters/*}:\x0b\x61ws_cluster\x12\xb2\x01\n\rGetAwsCluster\x12\x33.google.cloud.gkemulticloud.v1.GetAwsClusterRequest\x1a).google.cloud.gkemulticloud.v1.AwsCluster\"A\x88\x02\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/awsClusters/*}\x12\xc5\x01\n\x0fListAwsClusters\x12\x35.google.cloud.gkemulticloud.v1.ListAwsClustersRequest\x1a\x36.google.cloud.gkemulticloud.v1.ListAwsClustersResponse\"C\x88\x02\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/awsClusters\x12\xd9\x01\n\x10\x44\x65leteAwsCluster\x12\x36.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest\x1a\x1d.google.longrunning.Operation\"n\x88\x02\x01\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/awsClusters/*}\x12\x8a\x02\n\x1cGenerateAwsClusterAgentToken\x12\x42.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest\x1a\x43.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse\"a\x88\x02\x01\x82\xd3\xe4\x93\x02X\"S/v1/{aws_cluster=projects/*/locations/*/awsClusters/*}:generateAwsClusterAgentToken:\x01*\x12\xef\x01\n\x16GenerateAwsAccessToken\x12<.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest\x1a=.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse\"X\x88\x02\x01\x82\xd3\xe4\x93\x02O\x12M/v1/{aws_cluster=projects/*/locations/*/awsClusters/*}:generateAwsAccessToken\x12\x91\x02\n\x11\x43reateAwsNodePool\x12\x37.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest\x1a\x1d.google.longrunning.Operation\"\xa3\x01\x88\x02\x01\xca\x41 \n\x0b\x41wsNodePool\x12\x11OperationMetadata\xda\x41%parent,aws_node_pool,aws_node_pool_id\x82\xd3\xe4\x93\x02O\">/v1/{parent=projects/*/locations/*/awsClusters/*}/awsNodePools:\raws_node_pool\x12\x93\x02\n\x11UpdateAwsNodePool\x12\x37.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest\x1a\x1d.google.longrunning.Operation\"\xa5\x01\x88\x02\x01\xca\x41 \n\x0b\x41wsNodePool\x12\x11OperationMetadata\xda\x41\x19\x61ws_node_pool,update_mask\x82\xd3\xe4\x93\x02]2L/v1/{aws_node_pool.name=projects/*/locations/*/awsClusters/*/awsNodePools/*}:\raws_node_pool\x12\xfc\x01\n\x19RollbackAwsNodePoolUpdate\x12?.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest\x1a\x1d.google.longrunning.Operation\"\x7f\x88\x02\x01\xca\x41 \n\x0b\x41wsNodePool\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02L\"G/v1/{name=projects/*/locations/*/awsClusters/*/awsNodePools/*}:rollback:\x01*\x12\xc4\x01\n\x0eGetAwsNodePool\x12\x34.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest\x1a*.google.cloud.gkemulticloud.v1.AwsNodePool\"P\x88\x02\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/awsClusters/*/awsNodePools/*}\x12\xd7\x01\n\x10ListAwsNodePools\x12\x36.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest\x1a\x37.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse\"R\x88\x02\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/awsClusters/*}/awsNodePools\x12\xea\x01\n\x11\x44\x65leteAwsNodePool\x12\x37.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest\x1a\x1d.google.longrunning.Operation\"}\x88\x02\x01\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02@*>/v1/{name=projects/*/locations/*/awsClusters/*/awsNodePools/*}\x12\xe2\x01\n\x12GetAwsOpenIdConfig\x12\x38.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest\x1a..google.cloud.gkemulticloud.v1.AwsOpenIdConfig\"b\x88\x02\x01\x82\xd3\xe4\x93\x02Y\x12W/v1/{aws_cluster=projects/*/locations/*/awsClusters/*}/.well-known/openid-configuration\x12\xc3\x01\n\x11GetAwsJsonWebKeys\x12\x37.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest\x1a-.google.cloud.gkemulticloud.v1.AwsJsonWebKeys\"F\x88\x02\x01\x82\xd3\xe4\x93\x02=\x12;/v1/{aws_cluster=projects/*/locations/*/awsClusters/*}/jwks\x12\xc3\x01\n\x12GetAwsServerConfig\x12\x38.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest\x1a..google.cloud.gkemulticloud.v1.AwsServerConfig\"C\x88\x02\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/awsServerConfig}\x1aS\x88\x02\x01\xca\x41\x1cgkemulticloud.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe2\x01\n!com.google.cloud.gkemulticloud.v1B\x0f\x41wsServiceProtoP\x01ZGcloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb\xaa\x02\x1dGoogle.Cloud.GkeMultiCloud.V1\xca\x02\x1dGoogle\\Cloud\\GkeMultiCloud\\V1\xea\x02 Google::Cloud::GkeMultiCloud::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.cloud.gkemulticloud.v1.AwsCluster", "google/cloud/gkemulticloud/v1/aws_resources.proto"], - ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/azure_resources_pb.rb b/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/azure_resources_pb.rb index 1c5885b84a73..adcc0310d413 100644 --- a/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/azure_resources_pb.rb +++ b/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/azure_resources_pb.rb @@ -13,32 +13,8 @@ descriptor_data = "\n3google/cloud/gkemulticloud/v1/azure_resources.proto\x12\x1dgoogle.cloud.gkemulticloud.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/gkemulticloud/v1/common_resources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/date.proto\"\xd7\x0c\n\x0c\x41zureCluster\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x61zure_region\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1e\n\x11resource_group_id\x18\x11 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x61zure_client\x18\x10 \x01(\tB\x03\xe0\x41\x01\x12N\n\nnetworking\x18\x04 \x01(\x0b\x32\x35.google.cloud.gkemulticloud.v1.AzureClusterNetworkingB\x03\xe0\x41\x02\x12L\n\rcontrol_plane\x18\x05 \x01(\x0b\x32\x30.google.cloud.gkemulticloud.v1.AzureControlPlaneB\x03\xe0\x41\x02\x12M\n\rauthorization\x18\x06 \x01(\x0b\x32\x31.google.cloud.gkemulticloud.v1.AzureAuthorizationB\x03\xe0\x41\x02\x12\x66\n\x1d\x61zure_services_authentication\x18\x16 \x01(\x0b\x32:.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationB\x03\xe0\x41\x01\x12\x45\n\x05state\x18\x07 \x01(\x0e\x32\x31.google.cloud.gkemulticloud.v1.AzureCluster.StateB\x03\xe0\x41\x03\x12\x15\n\x08\x65ndpoint\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\n \x01(\x08\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\r \x01(\t\x12V\n\x0b\x61nnotations\x18\x0e \x03(\x0b\x32<.google.cloud.gkemulticloud.v1.AzureCluster.AnnotationsEntryB\x03\xe0\x41\x01\x12\\\n\x18workload_identity_config\x18\x12 \x01(\x0b\x32\x35.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigB\x03\xe0\x41\x03\x12#\n\x16\x63luster_ca_certificate\x18\x13 \x01(\tB\x03\xe0\x41\x03\x12\x38\n\x05\x66leet\x18\x14 \x01(\x0b\x32$.google.cloud.gkemulticloud.v1.FleetB\x03\xe0\x41\x02\x12T\n\x11managed_resources\x18\x15 \x01(\x0b\x32\x34.google.cloud.gkemulticloud.v1.AzureClusterResourcesB\x03\xe0\x41\x03\x12I\n\x0elogging_config\x18\x17 \x01(\x0b\x32,.google.cloud.gkemulticloud.v1.LoggingConfigB\x03\xe0\x41\x01\x12\x45\n\x06\x65rrors\x18\x18 \x03(\x0b\x32\x30.google.cloud.gkemulticloud.v1.AzureClusterErrorB\x03\xe0\x41\x03\x12O\n\x11monitoring_config\x18\x19 \x01(\x0b\x32/.google.cloud.gkemulticloud.v1.MonitoringConfigB\x03\xe0\x41\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0f\n\x0bRECONCILING\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\x0c\n\x08\x44\x45GRADED\x10\x06:w\x18\x01\xea\x41r\n)gkemulticloud.googleapis.com/AzureCluster\x12\x45projects/{project}/locations/{location}/azureClusters/{azure_cluster}\"\xbb\x01\n\x16\x41zureClusterNetworking\x12\x1f\n\x12virtual_network_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12$\n\x17pod_address_cidr_blocks\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12(\n\x1bservice_address_cidr_blocks\x18\x03 \x03(\tB\x03\xe0\x41\x02\x12,\n\x1fservice_load_balancer_subnet_id\x18\x05 \x01(\tB\x03\xe0\x41\x01:\x02\x18\x01\"\xa6\x06\n\x11\x41zureControlPlane\x12\x14\n\x07version\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tsubnet_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07vm_size\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x46\n\nssh_config\x18\x0b \x01(\x0b\x32-.google.cloud.gkemulticloud.v1.AzureSshConfigB\x03\xe0\x41\x02\x12J\n\x0broot_volume\x18\x04 \x01(\x0b\x32\x30.google.cloud.gkemulticloud.v1.AzureDiskTemplateB\x03\xe0\x41\x01\x12J\n\x0bmain_volume\x18\x05 \x01(\x0b\x32\x30.google.cloud.gkemulticloud.v1.AzureDiskTemplateB\x03\xe0\x41\x01\x12X\n\x13\x64\x61tabase_encryption\x18\n \x01(\x0b\x32\x36.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionB\x03\xe0\x41\x01\x12J\n\x0cproxy_config\x18\x0c \x01(\x0b\x32/.google.cloud.gkemulticloud.v1.AzureProxyConfigB\x03\xe0\x41\x01\x12T\n\x11\x63onfig_encryption\x18\x0e \x01(\x0b\x32\x34.google.cloud.gkemulticloud.v1.AzureConfigEncryptionB\x03\xe0\x41\x01\x12M\n\x04tags\x18\x07 \x03(\x0b\x32:.google.cloud.gkemulticloud.v1.AzureControlPlane.TagsEntryB\x03\xe0\x41\x01\x12P\n\x12replica_placements\x18\r \x03(\x0b\x32/.google.cloud.gkemulticloud.v1.ReplicaPlacementB\x03\xe0\x41\x01\x12\x1f\n\x12\x65ndpoint_subnet_id\x18\x0f \x01(\tB\x03\xe0\x41\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x02\x18\x01\"T\n\x10ReplicaPlacement\x12\x16\n\tsubnet_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12$\n\x17\x61zure_availability_zone\x18\x02 \x01(\tB\x03\xe0\x41\x02:\x02\x18\x01\"D\n\x10\x41zureProxyConfig\x12\x19\n\x11resource_group_id\x18\x01 \x01(\t\x12\x11\n\tsecret_id\x18\x02 \x01(\t:\x02\x18\x01\"2\n\x17\x41zureDatabaseEncryption\x12\x13\n\x06key_id\x18\x03 \x01(\tB\x03\xe0\x41\x02:\x02\x18\x01\"I\n\x15\x41zureConfigEncryption\x12\x13\n\x06key_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\npublic_key\x18\x03 \x01(\tB\x03\xe0\x41\x01:\x02\x18\x01\".\n\x11\x41zureDiskTemplate\x12\x15\n\x08size_gib\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01:\x02\x18\x01\"\x87\x04\n\x0b\x41zureClient\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x16\n\ttenant_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0e\x61pplication_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0breconciling\x18\t \x01(\x08\x42\x03\xe0\x41\x03\x12U\n\x0b\x61nnotations\x18\x08 \x03(\x0b\x32;.google.cloud.gkemulticloud.v1.AzureClient.AnnotationsEntryB\x03\xe0\x41\x01\x12\x1c\n\x0fpem_certificate\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:t\x18\x01\xea\x41o\n(gkemulticloud.googleapis.com/AzureClient\x12\x43projects/{project}/locations/{location}/azureClients/{azure_client}\"\xb0\x01\n\x12\x41zureAuthorization\x12I\n\x0b\x61\x64min_users\x18\x01 \x03(\x0b\x32/.google.cloud.gkemulticloud.v1.AzureClusterUserB\x03\xe0\x41\x01\x12K\n\x0c\x61\x64min_groups\x18\x02 \x03(\x0b\x32\x30.google.cloud.gkemulticloud.v1.AzureClusterGroupB\x03\xe0\x41\x01:\x02\x18\x01\"V\n\x1b\x41zureServicesAuthentication\x12\x16\n\ttenant_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0e\x61pplication_id\x18\x02 \x01(\tB\x03\xe0\x41\x02:\x02\x18\x01\"-\n\x10\x41zureClusterUser\x12\x15\n\x08username\x18\x01 \x01(\tB\x03\xe0\x41\x02:\x02\x18\x01\"+\n\x11\x41zureClusterGroup\x12\x12\n\x05group\x18\x01 \x01(\tB\x03\xe0\x41\x02:\x02\x18\x01\"\x81\t\n\rAzureNodePool\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x07version\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x43\n\x06\x63onfig\x18\x16 \x01(\x0b\x32..google.cloud.gkemulticloud.v1.AzureNodeConfigB\x03\xe0\x41\x02\x12\x16\n\tsubnet_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12Q\n\x0b\x61utoscaling\x18\x04 \x01(\x0b\x32\x37.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingB\x03\xe0\x41\x02\x12\x46\n\x05state\x18\x06 \x01(\x0e\x32\x32.google.cloud.gkemulticloud.v1.AzureNodePool.StateB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\t \x01(\x08\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x0c \x01(\t\x12W\n\x0b\x61nnotations\x18\r \x03(\x0b\x32=.google.cloud.gkemulticloud.v1.AzureNodePool.AnnotationsEntryB\x03\xe0\x41\x01\x12R\n\x13max_pods_constraint\x18\x15 \x01(\x0b\x32\x30.google.cloud.gkemulticloud.v1.MaxPodsConstraintB\x03\xe0\x41\x02\x12$\n\x17\x61zure_availability_zone\x18\x17 \x01(\tB\x03\xe0\x41\x01\x12\x46\n\x06\x65rrors\x18\x1d \x03(\x0b\x32\x31.google.cloud.gkemulticloud.v1.AzureNodePoolErrorB\x03\xe0\x41\x03\x12K\n\nmanagement\x18\x1e \x01(\x0b\x32\x32.google.cloud.gkemulticloud.v1.AzureNodeManagementB\x03\xe0\x41\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0f\n\x0bRECONCILING\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\x0c\n\x08\x44\x45GRADED\x10\x06:\x9a\x01\x18\x01\xea\x41\x94\x01\n*gkemulticloud.googleapis.com/AzureNodePool\x12\x66projects/{project}/locations/{location}/azureClusters/{azure_cluster}/azureNodePools/{azure_node_pool}\"3\n\x13\x41zureNodeManagement\x12\x18\n\x0b\x61uto_repair\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01:\x02\x18\x01\"\xb3\x05\n\x0f\x41zureNodeConfig\x12\x14\n\x07vm_size\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12J\n\x0broot_volume\x18\x02 \x01(\x0b\x32\x30.google.cloud.gkemulticloud.v1.AzureDiskTemplateB\x03\xe0\x41\x01\x12K\n\x04tags\x18\x03 \x03(\x0b\x32\x38.google.cloud.gkemulticloud.v1.AzureNodeConfig.TagsEntryB\x03\xe0\x41\x01\x12\x17\n\nimage_type\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x46\n\nssh_config\x18\x07 \x01(\x0b\x32-.google.cloud.gkemulticloud.v1.AzureSshConfigB\x03\xe0\x41\x02\x12J\n\x0cproxy_config\x18\t \x01(\x0b\x32/.google.cloud.gkemulticloud.v1.AzureProxyConfigB\x03\xe0\x41\x01\x12T\n\x11\x63onfig_encryption\x18\x0c \x01(\x0b\x32\x34.google.cloud.gkemulticloud.v1.AzureConfigEncryptionB\x03\xe0\x41\x01\x12=\n\x06taints\x18\n \x03(\x0b\x32(.google.cloud.gkemulticloud.v1.NodeTaintB\x03\xe0\x41\x01\x12O\n\x06labels\x18\x0b \x03(\x0b\x32:.google.cloud.gkemulticloud.v1.AzureNodeConfig.LabelsEntryB\x03\xe0\x41\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x02\x18\x01\"X\n\x18\x41zureNodePoolAutoscaling\x12\x1b\n\x0emin_node_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1b\n\x0emax_node_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02:\x02\x18\x01\"\xdd\x02\n\x11\x41zureOpenIdConfig\x12\x0e\n\x06issuer\x18\x01 \x01(\t\x12\x1a\n\x08jwks_uri\x18\x02 \x01(\tR\x08jwks_uri\x12:\n\x18response_types_supported\x18\x03 \x03(\tR\x18response_types_supported\x12\x38\n\x17subject_types_supported\x18\x04 \x03(\tR\x17subject_types_supported\x12T\n%id_token_signing_alg_values_supported\x18\x05 \x03(\tR%id_token_signing_alg_values_supported\x12*\n\x10\x63laims_supported\x18\x06 \x03(\tR\x10\x63laims_supported\x12 \n\x0bgrant_types\x18\x07 \x03(\tR\x0bgrant_types:\x02\x18\x01\"H\n\x10\x41zureJsonWebKeys\x12\x30\n\x04keys\x18\x01 \x03(\x0b\x32\".google.cloud.gkemulticloud.v1.Jwk:\x02\x18\x01\"\x80\x02\n\x11\x41zureServerConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12J\n\x0evalid_versions\x18\x02 \x03(\x0b\x32\x32.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo\x12\x1f\n\x17supported_azure_regions\x18\x03 \x03(\t:p\x18\x01\xea\x41k\n.gkemulticloud.googleapis.com/AzureServerConfig\x12\x39projects/{project}/locations/{location}/azureServerConfig\"\xba\x01\n\x13\x41zureK8sVersionInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x14\n\x07\x65nabled\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x18\n\x0b\x65nd_of_life\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x30\n\x10\x65nd_of_life_date\x18\x05 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12,\n\x0crelease_date\x18\x06 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01:\x02\x18\x01\"1\n\x0e\x41zureSshConfig\x12\x1b\n\x0e\x61uthorized_key\x18\x01 \x01(\tB\x03\xe0\x41\x02:\x02\x18\x01\"}\n\x15\x41zureClusterResources\x12&\n\x19network_security_group_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x38\n+control_plane_application_security_group_id\x18\x02 \x01(\tB\x03\xe0\x41\x03:\x02\x18\x01\"(\n\x11\x41zureClusterError\x12\x0f\n\x07message\x18\x01 \x01(\t:\x02\x18\x01\")\n\x12\x41zureNodePoolError\x12\x0f\n\x07message\x18\x01 \x01(\t:\x02\x18\x01\x42\xe6\x01\n!com.google.cloud.gkemulticloud.v1B\x13\x41zureResourcesProtoP\x01ZGcloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb\xaa\x02\x1dGoogle.Cloud.GkeMultiCloud.V1\xca\x02\x1dGoogle\\Cloud\\GkeMultiCloud\\V1\xea\x02 Google::Cloud::GkeMultiCloud::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ["google.cloud.gkemulticloud.v1.WorkloadIdentityConfig", "google/cloud/gkemulticloud/v1/common_resources.proto"], - ["google.type.Date", "google/type/date.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/azure_service_pb.rb b/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/azure_service_pb.rb index b5fef20bad03..558bfdd2336e 100644 --- a/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/azure_service_pb.rb +++ b/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/azure_service_pb.rb @@ -18,32 +18,8 @@ descriptor_data = "\n1google/cloud/gkemulticloud/v1/azure_service.proto\x12\x1dgoogle.cloud.gkemulticloud.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x33google/cloud/gkemulticloud/v1/azure_resources.proto\x1a\x34google/cloud/gkemulticloud/v1/common_resources.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe1\x01\n\x19\x43reateAzureClusterRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)gkemulticloud.googleapis.com/AzureCluster\x12G\n\razure_cluster\x18\x02 \x01(\x0b\x32+.google.cloud.gkemulticloud.v1.AzureClusterB\x03\xe0\x41\x02\x12\x1d\n\x10\x61zure_cluster_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08:\x02\x18\x01\"\xb5\x01\n\x19UpdateAzureClusterRequest\x12G\n\razure_cluster\x18\x01 \x01(\x0b\x32+.google.cloud.gkemulticloud.v1.AzureClusterB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02:\x02\x18\x01\"]\n\x16GetAzureClusterRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster:\x02\x18\x01\"\x88\x01\n\x18ListAzureClustersRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)gkemulticloud.googleapis.com/AzureCluster\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t:\x02\x18\x01\"}\n\x19ListAzureClustersResponse\x12\x43\n\x0e\x61zure_clusters\x18\x01 \x03(\x0b\x32+.google.cloud.gkemulticloud.v1.AzureCluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t:\x02\x18\x01\"\xb8\x01\n\x19\x44\x65leteAzureClusterRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t\x12\x1a\n\rignore_errors\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01:\x02\x18\x01\"\xe8\x01\n\x1a\x43reateAzureNodePoolRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*gkemulticloud.googleapis.com/AzureNodePool\x12J\n\x0f\x61zure_node_pool\x18\x02 \x01(\x0b\x32,.google.cloud.gkemulticloud.v1.AzureNodePoolB\x03\xe0\x41\x02\x12\x1f\n\x12\x61zure_node_pool_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08:\x02\x18\x01\"\xb9\x01\n\x1aUpdateAzureNodePoolRequest\x12J\n\x0f\x61zure_node_pool\x18\x01 \x01(\x0b\x32,.google.cloud.gkemulticloud.v1.AzureNodePoolB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02:\x02\x18\x01\"_\n\x17GetAzureNodePoolRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*gkemulticloud.googleapis.com/AzureNodePool:\x02\x18\x01\"\x8a\x01\n\x19ListAzureNodePoolsRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*gkemulticloud.googleapis.com/AzureNodePool\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t:\x02\x18\x01\"\x81\x01\n\x1aListAzureNodePoolsResponse\x12\x46\n\x10\x61zure_node_pools\x18\x01 \x03(\x0b\x32,.google.cloud.gkemulticloud.v1.AzureNodePool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t:\x02\x18\x01\"\xba\x01\n\x1a\x44\x65leteAzureNodePoolRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*gkemulticloud.googleapis.com/AzureNodePool\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t\x12\x1a\n\rignore_errors\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01:\x02\x18\x01\"k\n\x1bGetAzureOpenIdConfigRequest\x12H\n\razure_cluster\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster:\x02\x18\x01\"j\n\x1aGetAzureJsonWebKeysRequest\x12H\n\razure_cluster\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster:\x02\x18\x01\"g\n\x1bGetAzureServerConfigRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.gkemulticloud.googleapis.com/AzureServerConfig:\x02\x18\x01\"\xdc\x01\n\x18\x43reateAzureClientRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(gkemulticloud.googleapis.com/AzureClient\x12\x45\n\x0c\x61zure_client\x18\x02 \x01(\x0b\x32*.google.cloud.gkemulticloud.v1.AzureClientB\x03\xe0\x41\x02\x12\x1c\n\x0f\x61zure_client_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08:\x02\x18\x01\"[\n\x15GetAzureClientRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(gkemulticloud.googleapis.com/AzureClient:\x02\x18\x01\"\x86\x01\n\x17ListAzureClientsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(gkemulticloud.googleapis.com/AzureClient\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t:\x02\x18\x01\"z\n\x18ListAzureClientsResponse\x12\x41\n\razure_clients\x18\x01 \x03(\x0b\x32*.google.cloud.gkemulticloud.v1.AzureClient\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t:\x02\x18\x01\"\x8c\x01\n\x18\x44\x65leteAzureClientRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(gkemulticloud.googleapis.com/AzureClient\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08:\x02\x18\x01\"o\n\x1fGenerateAzureAccessTokenRequest\x12H\n\razure_cluster\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster:\x02\x18\x01\"{\n GenerateAzureAccessTokenResponse\x12\x19\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x38\n\x0f\x65xpiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\x02\x18\x01\"\xe0\x02\n%GenerateAzureClusterAgentTokenRequest\x12H\n\razure_cluster\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster\x12\x1a\n\rsubject_token\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\x12subject_token_type\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07version\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cnode_pool_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ngrant_type\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x61udience\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05scope\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14requested_token_type\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07options\x18\n \x01(\tB\x03\xe0\x41\x01:\x02\x18\x01\"\x90\x01\n&GenerateAzureClusterAgentTokenResponse\x12\"\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tR\x0c\x61\x63\x63\x65ss_token\x12\x1e\n\nexpires_in\x18\x02 \x01(\x05R\nexpires_in\x12\x1e\n\ntoken_type\x18\x03 \x01(\tR\ntoken_type:\x02\x18\x01\x32\x89$\n\rAzureClusters\x12\x80\x02\n\x11\x43reateAzureClient\x12\x37.google.cloud.gkemulticloud.v1.CreateAzureClientRequest\x1a\x1d.google.longrunning.Operation\"\x92\x01\x88\x02\x01\xca\x41 \n\x0b\x41zureClient\x12\x11OperationMetadata\xda\x41#parent,azure_client,azure_client_id\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/azureClients:\x0c\x61zure_client\x12\xb6\x01\n\x0eGetAzureClient\x12\x34.google.cloud.gkemulticloud.v1.GetAzureClientRequest\x1a*.google.cloud.gkemulticloud.v1.AzureClient\"B\x88\x02\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/azureClients/*}\x12\xc9\x01\n\x10ListAzureClients\x12\x36.google.cloud.gkemulticloud.v1.ListAzureClientsRequest\x1a\x37.google.cloud.gkemulticloud.v1.ListAzureClientsResponse\"D\x88\x02\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/azureClients\x12\xdc\x01\n\x11\x44\x65leteAzureClient\x12\x37.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest\x1a\x1d.google.longrunning.Operation\"o\x88\x02\x01\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/azureClients/*}\x12\x87\x02\n\x12\x43reateAzureCluster\x12\x38.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest\x1a\x1d.google.longrunning.Operation\"\x97\x01\x88\x02\x01\xca\x41!\n\x0c\x41zureCluster\x12\x11OperationMetadata\xda\x41%parent,azure_cluster,azure_cluster_id\x82\xd3\xe4\x93\x02\x42\"1/v1/{parent=projects/*/locations/*}/azureClusters:\razure_cluster\x12\x89\x02\n\x12UpdateAzureCluster\x12\x38.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest\x1a\x1d.google.longrunning.Operation\"\x99\x01\x88\x02\x01\xca\x41!\n\x0c\x41zureCluster\x12\x11OperationMetadata\xda\x41\x19\x61zure_cluster,update_mask\x82\xd3\xe4\x93\x02P2?/v1/{azure_cluster.name=projects/*/locations/*/azureClusters/*}:\razure_cluster\x12\xba\x01\n\x0fGetAzureCluster\x12\x35.google.cloud.gkemulticloud.v1.GetAzureClusterRequest\x1a+.google.cloud.gkemulticloud.v1.AzureCluster\"C\x88\x02\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/azureClusters/*}\x12\xcd\x01\n\x11ListAzureClusters\x12\x37.google.cloud.gkemulticloud.v1.ListAzureClustersRequest\x1a\x38.google.cloud.gkemulticloud.v1.ListAzureClustersResponse\"E\x88\x02\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{parent=projects/*/locations/*}/azureClusters\x12\xdf\x01\n\x12\x44\x65leteAzureCluster\x12\x38.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest\x1a\x1d.google.longrunning.Operation\"p\x88\x02\x01\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1/{name=projects/*/locations/*/azureClusters/*}\x12\x96\x02\n\x1eGenerateAzureClusterAgentToken\x12\x44.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest\x1a\x45.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse\"g\x88\x02\x01\x82\xd3\xe4\x93\x02^\"Y/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}:generateAzureClusterAgentToken:\x01*\x12\xfb\x01\n\x18GenerateAzureAccessToken\x12>.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest\x1a?.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse\"^\x88\x02\x01\x82\xd3\xe4\x93\x02U\x12S/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}:generateAzureAccessToken\x12\xa1\x02\n\x13\x43reateAzureNodePool\x12\x39.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest\x1a\x1d.google.longrunning.Operation\"\xaf\x01\x88\x02\x01\xca\x41\"\n\rAzureNodePool\x12\x11OperationMetadata\xda\x41)parent,azure_node_pool,azure_node_pool_id\x82\xd3\xe4\x93\x02U\"B/v1/{parent=projects/*/locations/*/azureClusters/*}/azureNodePools:\x0f\x61zure_node_pool\x12\xa3\x02\n\x13UpdateAzureNodePool\x12\x39.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest\x1a\x1d.google.longrunning.Operation\"\xb1\x01\x88\x02\x01\xca\x41\"\n\rAzureNodePool\x12\x11OperationMetadata\xda\x41\x1b\x61zure_node_pool,update_mask\x82\xd3\xe4\x93\x02\x65\x32R/v1/{azure_node_pool.name=projects/*/locations/*/azureClusters/*/azureNodePools/*}:\x0f\x61zure_node_pool\x12\xce\x01\n\x10GetAzureNodePool\x12\x36.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest\x1a,.google.cloud.gkemulticloud.v1.AzureNodePool\"T\x88\x02\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{name=projects/*/locations/*/azureClusters/*/azureNodePools/*}\x12\xe1\x01\n\x12ListAzureNodePools\x12\x38.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest\x1a\x39.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse\"V\x88\x02\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{parent=projects/*/locations/*/azureClusters/*}/azureNodePools\x12\xf3\x01\n\x13\x44\x65leteAzureNodePool\x12\x39.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\x88\x02\x01\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44*B/v1/{name=projects/*/locations/*/azureClusters/*/azureNodePools/*}\x12\xfc\x01\n\x14GetAzureOpenIdConfig\x12:.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest\x1a\x30.google.cloud.gkemulticloud.v1.AzureOpenIdConfig\"v\x88\x02\x01\xda\x41\razure_cluster\x82\xd3\xe4\x93\x02]\x12[/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}/.well-known/openid-configuration\x12\xdd\x01\n\x13GetAzureJsonWebKeys\x12\x39.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest\x1a/.google.cloud.gkemulticloud.v1.AzureJsonWebKeys\"Z\x88\x02\x01\xda\x41\razure_cluster\x82\xd3\xe4\x93\x02\x41\x12?/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}/jwks\x12\xcb\x01\n\x14GetAzureServerConfig\x12:.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest\x1a\x30.google.cloud.gkemulticloud.v1.AzureServerConfig\"E\x88\x02\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/azureServerConfig}\x1aS\x88\x02\x01\xca\x41\x1cgkemulticloud.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe4\x01\n!com.google.cloud.gkemulticloud.v1B\x11\x41zureServiceProtoP\x01ZGcloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb\xaa\x02\x1dGoogle.Cloud.GkeMultiCloud.V1\xca\x02\x1dGoogle\\Cloud\\GkeMultiCloud\\V1\xea\x02 Google::Cloud::GkeMultiCloud::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.cloud.gkemulticloud.v1.AzureCluster", "google/cloud/gkemulticloud/v1/azure_resources.proto"], - ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/common_resources_pb.rb b/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/common_resources_pb.rb index b27f94ba7da0..a4048f620f36 100644 --- a/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/common_resources_pb.rb +++ b/google-cloud-gke_multi_cloud-v1/lib/google/cloud/gkemulticloud/v1/common_resources_pb.rb @@ -10,30 +10,8 @@ descriptor_data = "\n4google/cloud/gkemulticloud/v1/common_resources.proto\x12\x1dgoogle.cloud.gkemulticloud.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"r\n\x03Jwk\x12\x0b\n\x03kty\x18\x01 \x01(\t\x12\x0b\n\x03\x61lg\x18\x02 \x01(\t\x12\x0b\n\x03use\x18\x03 \x01(\t\x12\x0b\n\x03kid\x18\x04 \x01(\t\x12\t\n\x01n\x18\x05 \x01(\t\x12\t\n\x01\x65\x18\x06 \x01(\t\x12\t\n\x01x\x18\x07 \x01(\t\x12\t\n\x01y\x18\x08 \x01(\t\x12\x0b\n\x03\x63rv\x18\t \x01(\t\"^\n\x16WorkloadIdentityConfig\x12\x12\n\nissuer_uri\x18\x01 \x01(\t\x12\x15\n\rworkload_pool\x18\x02 \x01(\t\x12\x19\n\x11identity_provider\x18\x03 \x01(\t\"3\n\x11MaxPodsConstraint\x12\x1e\n\x11max_pods_per_node\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rstatus_detail\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x65rror_detail\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\"\xd2\x01\n\tNodeTaint\x12\x10\n\x03key\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x06\x65\x66\x66\x65\x63t\x18\x03 \x01(\x0e\x32/.google.cloud.gkemulticloud.v1.NodeTaint.EffectB\x03\xe0\x41\x02\"Y\n\x06\x45\x66\x66\x65\x63t\x12\x16\n\x12\x45\x46\x46\x45\x43T_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNO_SCHEDULE\x10\x01\x12\x16\n\x12PREFER_NO_SCHEDULE\x10\x02\x12\x0e\n\nNO_EXECUTE\x10\x03\"\xae\x02\n\x11NodeKubeletConfig\x12\x33\n&insecure_kubelet_readonly_port_enabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12$\n\x12\x63pu_manager_policy\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1f\n\rcpu_cfs_quota\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12&\n\x14\x63pu_cfs_quota_period\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x02\x88\x01\x01\x12 \n\x0epod_pids_limit\x18\x05 \x01(\x03\x42\x03\xe0\x41\x01H\x03\x88\x01\x01\x42\x15\n\x13_cpu_manager_policyB\x10\n\x0e_cpu_cfs_quotaB\x17\n\x15_cpu_cfs_quota_periodB\x11\n\x0f_pod_pids_limit\"6\n\x05\x46leet\x12\x14\n\x07project\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nmembership\x18\x02 \x01(\tB\x03\xe0\x41\x03\"`\n\rLoggingConfig\x12O\n\x10\x63omponent_config\x18\x01 \x01(\x0b\x32\x35.google.cloud.gkemulticloud.v1.LoggingComponentConfig\"\xc2\x01\n\x16LoggingComponentConfig\x12Z\n\x11\x65nable_components\x18\x01 \x03(\x0e\x32?.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component\"L\n\tComponent\x12\x19\n\x15\x43OMPONENT_UNSPECIFIED\x10\x00\x12\x15\n\x11SYSTEM_COMPONENTS\x10\x01\x12\r\n\tWORKLOADS\x10\x02\"\xc4\x01\n\x10MonitoringConfig\x12Y\n\x19managed_prometheus_config\x18\x02 \x01(\x0b\x32\x36.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig\x12U\n\x17\x63loud_monitoring_config\x18\x04 \x01(\x0b\x32\x34.google.cloud.gkemulticloud.v1.CloudMonitoringConfig\"*\n\x17ManagedPrometheusConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\"9\n\x15\x43loudMonitoringConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x00\x88\x01\x01\x42\n\n\x08_enabled\"\xd8\x01\n\x13\x42inaryAuthorization\x12Z\n\x0f\x65valuation_mode\x18\x01 \x01(\x0e\x32\x41.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode\"e\n\x0e\x45valuationMode\x12\x1f\n\x1b\x45VALUATION_MODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12$\n PROJECT_SINGLETON_POLICY_ENFORCE\x10\x02\"\xee\x01\n\x15SecurityPostureConfig\x12\x62\n\x12vulnerability_mode\x18\x01 \x01(\x0e\x32\x46.google.cloud.gkemulticloud.v1.SecurityPostureConfig.VulnerabilityMode\"q\n\x11VulnerabilityMode\x12\"\n\x1eVULNERABILITY_MODE_UNSPECIFIED\x10\x00\x12\x1a\n\x16VULNERABILITY_DISABLED\x10\x01\x12\x1c\n\x18VULNERABILITY_ENTERPRISE\x10\x02\x42\xe7\x01\n!com.google.cloud.gkemulticloud.v1B\x14\x43ommonResourcesProtoP\x01ZGcloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb\xaa\x02\x1dGoogle.Cloud.GkeMultiCloud.V1\xca\x02\x1dGoogle\\Cloud\\GkeMultiCloud\\V1\xea\x02 Google::Cloud::GkeMultiCloud::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gke_recommender-v1/lib/google/cloud/gkerecommender/v1/gkerecommender_pb.rb b/google-cloud-gke_recommender-v1/lib/google/cloud/gkerecommender/v1/gkerecommender_pb.rb index 06d83bdac30f..85be0a0b4be4 100644 --- a/google-cloud-gke_recommender-v1/lib/google/cloud/gkerecommender/v1/gkerecommender_pb.rb +++ b/google-cloud-gke_recommender-v1/lib/google/cloud/gkerecommender/v1/gkerecommender_pb.rb @@ -11,29 +11,8 @@ descriptor_data = "\n3google/cloud/gkerecommender/v1/gkerecommender.proto\x12\x1egoogle.cloud.gkerecommender.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\"l\n\x12\x46\x65tchModelsRequest\x12\x1b\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1c\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_token\"H\n\x13\x46\x65tchModelsResponse\x12\x13\n\x06models\x18\x01 \x03(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\x86\x01\n\x18\x46\x65tchModelServersRequest\x12\x12\n\x05model\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1c\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_token\"U\n\x19\x46\x65tchModelServersResponse\x12\x1a\n\rmodel_servers\x18\x01 \x03(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xa8\x01\n\x1f\x46\x65tchModelServerVersionsRequest\x12\x12\n\x05model\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cmodel_server\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1c\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_token\"d\n FetchModelServerVersionsResponse\x12\"\n\x15model_server_versions\x18\x01 \x03(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xa7\x01\n\x1c\x46\x65tchBenchmarkingDataRequest\x12O\n\x11model_server_info\x18\x01 \x01(\x0b\x32/.google.cloud.gkerecommender.v1.ModelServerInfoB\x03\xe0\x41\x02\x12\x1a\n\rinstance_type\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rpricing_model\x18\x04 \x01(\tB\x03\xe0\x41\x01\"^\n\x1d\x46\x65tchBenchmarkingDataResponse\x12=\n\x07profile\x18\x01 \x03(\x0b\x32\'.google.cloud.gkerecommender.v1.ProfileB\x03\xe0\x41\x03\"\xa0\x02\n\x14\x46\x65tchProfilesRequest\x12\x12\n\x05model\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cmodel_server\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14model_server_version\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12^\n\x18performance_requirements\x18\x04 \x01(\x0b\x32\x37.google.cloud.gkerecommender.v1.PerformanceRequirementsB\x03\xe0\x41\x01\x12\x1b\n\tpage_size\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1c\n\npage_token\x18\x06 \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_token\"\xed\x01\n\x17PerformanceRequirements\x12+\n\x19target_ntpot_milliseconds\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12*\n\x18target_ttft_milliseconds\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12>\n\x0btarget_cost\x18\x03 \x01(\x0b\x32$.google.cloud.gkerecommender.v1.CostB\x03\xe0\x41\x01\x42\x1c\n\x1a_target_ntpot_millisecondsB\x1b\n\x19_target_ttft_milliseconds\"0\n\x06\x41mount\x12\x12\n\x05units\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12\x12\n\x05nanos\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\"\x92\x02\n\x04\x43ost\x12S\n\x1e\x63ost_per_million_output_tokens\x18\x01 \x01(\x0b\x32&.google.cloud.gkerecommender.v1.AmountB\x03\xe0\x41\x01\x12R\n\x1d\x63ost_per_million_input_tokens\x18\x02 \x01(\x0b\x32&.google.cloud.gkerecommender.v1.AmountB\x03\xe0\x41\x01\x12\x1a\n\rpricing_model\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12)\n\x17output_input_cost_ratio\x18\x04 \x01(\x02\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x1a\n\x18_output_input_cost_ratio\":\n\x14TokensPerSecondRange\x12\x10\n\x03min\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x10\n\x03max\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\"6\n\x10MillisecondRange\x12\x10\n\x03min\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x10\n\x03max\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\"\x85\x02\n\x10PerformanceRange\x12Z\n\x17throughput_output_range\x18\x01 \x01(\x0b\x32\x34.google.cloud.gkerecommender.v1.TokensPerSecondRangeB\x03\xe0\x41\x03\x12I\n\nttft_range\x18\x02 \x01(\x0b\x32\x30.google.cloud.gkerecommender.v1.MillisecondRangeB\x03\xe0\x41\x03\x12J\n\x0bntpot_range\x18\x03 \x01(\x0b\x32\x30.google.cloud.gkerecommender.v1.MillisecondRangeB\x03\xe0\x41\x03\"\xdd\x01\n\x15\x46\x65tchProfilesResponse\x12=\n\x07profile\x18\x01 \x03(\x0b\x32\'.google.cloud.gkerecommender.v1.ProfileB\x03\xe0\x41\x03\x12P\n\x11performance_range\x18\x02 \x01(\x0b\x32\x30.google.cloud.gkerecommender.v1.PerformanceRangeB\x03\xe0\x41\x03\x12\x15\n\x08\x63omments\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x04 \x01(\tB\x03\xe0\x41\x03\"c\n\x0fModelServerInfo\x12\x12\n\x05model\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cmodel_server\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12!\n\x14model_server_version\x18\x03 \x01(\tB\x03\xe0\x41\x01\"/\n\rResourcesUsed\x12\x1e\n\x11\x61\x63\x63\x65lerator_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\"\xd4\x01\n\x10PerformanceStats\x12\x1f\n\x12queries_per_second\x18\x01 \x01(\x02\x42\x03\xe0\x41\x03\x12%\n\x18output_tokens_per_second\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1f\n\x12ntpot_milliseconds\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1e\n\x11ttft_milliseconds\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\x12\x37\n\x04\x63ost\x18\x05 \x03(\x0b\x32$.google.cloud.gkerecommender.v1.CostB\x03\xe0\x41\x03\"\xce\x02\n\x07Profile\x12O\n\x11model_server_info\x18\x01 \x01(\x0b\x32/.google.cloud.gkerecommender.v1.ModelServerInfoB\x03\xe0\x41\x03\x12\x1d\n\x10\x61\x63\x63\x65lerator_type\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0ctpu_topology\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rinstance_type\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12J\n\x0eresources_used\x18\x05 \x01(\x0b\x32-.google.cloud.gkerecommender.v1.ResourcesUsedB\x03\xe0\x41\x03\x12P\n\x11performance_stats\x18\x06 \x03(\x0b\x32\x30.google.cloud.gkerecommender.v1.PerformanceStatsB\x03\xe0\x41\x03\"\xe1\x02\n GenerateOptimizedManifestRequest\x12O\n\x11model_server_info\x18\x01 \x01(\x0b\x32/.google.cloud.gkerecommender.v1.ModelServerInfoB\x03\xe0\x41\x02\x12\x1d\n\x10\x61\x63\x63\x65lerator_type\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12!\n\x14kubernetes_namespace\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12^\n\x18performance_requirements\x18\x04 \x01(\x0b\x32\x37.google.cloud.gkerecommender.v1.PerformanceRequirementsB\x03\xe0\x41\x01\x12J\n\x0estorage_config\x18\x05 \x01(\x0b\x32-.google.cloud.gkerecommender.v1.StorageConfigB\x03\xe0\x41\x01\"W\n\x12KubernetesManifest\x12\x11\n\x04kind\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07\x63ontent\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\xb0\x01\n!GenerateOptimizedManifestResponse\x12U\n\x14kubernetes_manifests\x18\x01 \x03(\x0b\x32\x32.google.cloud.gkerecommender.v1.KubernetesManifestB\x03\xe0\x41\x03\x12\x15\n\x08\x63omments\x18\x02 \x03(\tB\x03\xe0\x41\x03\x12\x1d\n\x10manifest_version\x18\x03 \x01(\tB\x03\xe0\x41\x03\"Q\n\rStorageConfig\x12\x1d\n\x10model_bucket_uri\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14xla_cache_bucket_uri\x18\x02 \x01(\tB\x03\xe0\x41\x01\x32\x9a\t\n\x16GkeInferenceQuickstart\x12\x90\x01\n\x0b\x46\x65tchModels\x12\x32.google.cloud.gkerecommender.v1.FetchModelsRequest\x1a\x33.google.cloud.gkerecommender.v1.FetchModelsResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/v1/models:fetch\x12\xa8\x01\n\x11\x46\x65tchModelServers\x12\x38.google.cloud.gkerecommender.v1.FetchModelServersRequest\x1a\x39.google.cloud.gkerecommender.v1.FetchModelServersResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/modelServers:fetch\x12\xc4\x01\n\x18\x46\x65tchModelServerVersions\x12?.google.cloud.gkerecommender.v1.FetchModelServerVersionsRequest\x1a@.google.cloud.gkerecommender.v1.FetchModelServerVersionsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/modelServerVersions:fetch\x12\x9b\x01\n\rFetchProfiles\x12\x34.google.cloud.gkerecommender.v1.FetchProfilesRequest\x1a\x35.google.cloud.gkerecommender.v1.FetchProfilesResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\"\x12/v1/profiles:fetch:\x01*\x12\xcb\x01\n\x19GenerateOptimizedManifest\x12@.google.cloud.gkerecommender.v1.GenerateOptimizedManifestRequest\x1a\x41.google.cloud.gkerecommender.v1.GenerateOptimizedManifestResponse\")\x82\xd3\xe4\x93\x02#\"\x1e/v1/optimizedManifest:generate:\x01*\x12\xbb\x01\n\x15\x46\x65tchBenchmarkingData\x12<.google.cloud.gkerecommender.v1.FetchBenchmarkingDataRequest\x1a=.google.cloud.gkerecommender.v1.FetchBenchmarkingDataResponse\"%\x82\xd3\xe4\x93\x02\x1f\"\x1a/v1/benchmarkingData:fetch:\x01*\x1aQ\xca\x41\x1dgkerecommender.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xed\x01\n\"com.google.cloud.gkerecommender.v1B\x13GkeRecommenderProtoP\x01ZJcloud.google.com/go/gkerecommender/apiv1/gkerecommenderpb;gkerecommenderpb\xaa\x02\x1eGoogle.Cloud.GkeRecommender.V1\xca\x02\x1eGoogle\\Cloud\\GkeRecommender\\V1\xea\x02!Google::Cloud::GkeRecommender::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gsuite_add_ons-v1/lib/google/cloud/gsuiteaddons/v1/gsuiteaddons_pb.rb b/google-cloud-gsuite_add_ons-v1/lib/google/cloud/gsuiteaddons/v1/gsuiteaddons_pb.rb index 08e35dc73aff..48ad9bf4fbea 100644 --- a/google-cloud-gsuite_add_ons-v1/lib/google/cloud/gsuiteaddons/v1/gsuiteaddons_pb.rb +++ b/google-cloud-gsuite_add_ons-v1/lib/google/cloud/gsuiteaddons/v1/gsuiteaddons_pb.rb @@ -21,37 +21,8 @@ descriptor_data = "\n/google/cloud/gsuiteaddons/v1/gsuiteaddons.proto\x12\x1cgoogle.cloud.gsuiteaddons.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a>google/apps/script/type/calendar/calendar_addon_manifest.proto\x1a\x36google/apps/script/type/docs/docs_addon_manifest.proto\x1a\x38google/apps/script/type/drive/drive_addon_manifest.proto\x1a\x38google/apps/script/type/gmail/gmail_addon_manifest.proto\x1a-google/apps/script/type/script_manifest.proto\x1a:google/apps/script/type/sheets/sheets_addon_manifest.proto\x1a:google/apps/script/type/slides/slides_addon_manifest.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/wrappers.proto\"Z\n\x17GetAuthorizationRequest\x12?\n\x04name\x18\x02 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gsuiteaddons.googleapis.com/Authorization\"\xa7\x01\n\rAuthorization\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1d\n\x15service_account_email\x18\x02 \x01(\t\x12\x17\n\x0foauth_client_id\x18\x03 \x01(\t:P\xea\x41M\n)gsuiteaddons.googleapis.com/Authorization\x12 projects/{project}/authorization\"\xbd\x01\n\x17\x43reateDeploymentRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x1a\n\rdeployment_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\ndeployment\x18\x03 \x01(\x0b\x32(.google.cloud.gsuiteaddons.v1.DeploymentB\x03\xe0\x41\x02\"]\n\x18ReplaceDeploymentRequest\x12\x41\n\ndeployment\x18\x02 \x01(\x0b\x32(.google.cloud.gsuiteaddons.v1.DeploymentB\x03\xe0\x41\x02\"T\n\x14GetDeploymentRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&gsuiteaddons.googleapis.com/Deployment\"\x84\x01\n\x16ListDeploymentsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"q\n\x17ListDeploymentsResponse\x12=\n\x0b\x64\x65ployments\x18\x01 \x03(\x0b\x32(.google.cloud.gsuiteaddons.v1.Deployment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"e\n\x17\x44\x65leteDeploymentRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&gsuiteaddons.googleapis.com/Deployment\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\"X\n\x18InstallDeploymentRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&gsuiteaddons.googleapis.com/Deployment\"Z\n\x1aUninstallDeploymentRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&gsuiteaddons.googleapis.com/Deployment\"Z\n\x17GetInstallStatusRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gsuiteaddons.googleapis.com/InstallStatus\"\xb7\x01\n\rInstallStatus\x12\x0c\n\x04name\x18\x01 \x01(\t\x12-\n\tinstalled\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue:i\xea\x41\x66\n)gsuiteaddons.googleapis.com/InstallStatus\x12\x39projects/{project}/deployments/{deployment}/installStatus\"\xcf\x01\n\nDeployment\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0coauth_scopes\x18\x02 \x03(\t\x12\x35\n\x07\x61\x64\x64_ons\x18\x03 \x01(\x0b\x32$.google.cloud.gsuiteaddons.v1.AddOns\x12\x0c\n\x04\x65tag\x18\x05 \x01(\t:X\xea\x41U\n&gsuiteaddons.googleapis.com/Deployment\x12+projects/{project}/deployments/{deployment}\"\x9a\x04\n\x06\x41\x64\x64Ons\x12<\n\x06\x63ommon\x18\x01 \x01(\x0b\x32,.google.apps.script.type.CommonAddOnManifest\x12@\n\x05gmail\x18\x02 \x01(\x0b\x32\x31.google.apps.script.type.gmail.GmailAddOnManifest\x12@\n\x05\x64rive\x18\x05 \x01(\x0b\x32\x31.google.apps.script.type.drive.DriveAddOnManifest\x12I\n\x08\x63\x61lendar\x18\x06 \x01(\x0b\x32\x37.google.apps.script.type.calendar.CalendarAddOnManifest\x12=\n\x04\x64ocs\x18\x07 \x01(\x0b\x32/.google.apps.script.type.docs.DocsAddOnManifest\x12\x43\n\x06sheets\x18\x08 \x01(\x0b\x32\x33.google.apps.script.type.sheets.SheetsAddOnManifest\x12\x43\n\x06slides\x18\n \x01(\x0b\x32\x33.google.apps.script.type.slides.SlidesAddOnManifest\x12:\n\x0chttp_options\x18\x0f \x01(\x0b\x32$.google.apps.script.type.HttpOptions2\xa4\r\n\x0cGSuiteAddOns\x12\xaa\x01\n\x10GetAuthorization\x12\x35.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest\x1a+.google.cloud.gsuiteaddons.v1.Authorization\"2\xda\x41\x04name\x82\xd3\xe4\x93\x02%\x12#/v1/{name=projects/*/authorization}\x12\xce\x01\n\x10\x43reateDeployment\x12\x35.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest\x1a(.google.cloud.gsuiteaddons.v1.Deployment\"Y\xda\x41\x1fparent,deployment,deployment_id\x82\xd3\xe4\x93\x02\x31\"#/v1/{parent=projects/*}/deployments:\ndeployment\x12\xc6\x01\n\x11ReplaceDeployment\x12\x36.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest\x1a(.google.cloud.gsuiteaddons.v1.Deployment\"O\xda\x41\ndeployment\x82\xd3\xe4\x93\x02<\x1a./v1/{deployment.name=projects/*/deployments/*}:\ndeployment\x12\xa1\x01\n\rGetDeployment\x12\x32.google.cloud.gsuiteaddons.v1.GetDeploymentRequest\x1a(.google.cloud.gsuiteaddons.v1.Deployment\"2\xda\x41\x04name\x82\xd3\xe4\x93\x02%\x12#/v1/{name=projects/*/deployments/*}\x12\xb4\x01\n\x0fListDeployments\x12\x34.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest\x1a\x35.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse\"4\xda\x41\x06parent\x82\xd3\xe4\x93\x02%\x12#/v1/{parent=projects/*}/deployments\x12\x95\x01\n\x10\x44\x65leteDeployment\x12\x35.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest\x1a\x16.google.protobuf.Empty\"2\xda\x41\x04name\x82\xd3\xe4\x93\x02%*#/v1/{name=projects/*/deployments/*}\x12\xa2\x01\n\x11InstallDeployment\x12\x36.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest\x1a\x16.google.protobuf.Empty\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\"+/v1/{name=projects/*/deployments/*}:install:\x01*\x12\xa8\x01\n\x13UninstallDeployment\x12\x38.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest\x1a\x16.google.protobuf.Empty\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\"-/v1/{name=projects/*/deployments/*}:uninstall:\x01*\x12\xb8\x01\n\x10GetInstallStatus\x12\x35.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest\x1a+.google.cloud.gsuiteaddons.v1.InstallStatus\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/deployments/*/installStatus}\x1aO\xca\x41\x1bgsuiteaddons.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xdd\x01\n com.google.cloud.gsuiteaddons.v1B\x11GSuiteAddOnsProtoP\x01ZDcloud.google.com/go/gsuiteaddons/apiv1/gsuiteaddonspb;gsuiteaddonspb\xaa\x02\x1cGoogle.Cloud.GSuiteAddOns.V1\xca\x02\x1cGoogle\\Cloud\\GSuiteAddOns\\V1\xea\x02\x1fGoogle::Cloud::GSuiteAddOns::V1b\x06proto3" -pool = Google::Protobuf::DescriptorPool.generated_pool - -begin - pool.add_serialized_file(descriptor_data) -rescue TypeError - # Compatibility code: will be removed in the next major version. - require 'google/protobuf/descriptor_pb' - parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) - parsed.clear_dependency - serialized = parsed.class.encode(parsed) - file = pool.add_serialized_file(serialized) - warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" - imports = [ - ["google.protobuf.BoolValue", "google/protobuf/wrappers.proto"], - ["google.apps.script.type.CommonAddOnManifest", "google/apps/script/type/script_manifest.proto"], - ["google.apps.script.type.gmail.GmailAddOnManifest", "google/apps/script/type/gmail/gmail_addon_manifest.proto"], - ["google.apps.script.type.drive.DriveAddOnManifest", "google/apps/script/type/drive/drive_addon_manifest.proto"], - ["google.apps.script.type.calendar.CalendarAddOnManifest", "google/apps/script/type/calendar/calendar_addon_manifest.proto"], - ["google.apps.script.type.docs.DocsAddOnManifest", "google/apps/script/type/docs/docs_addon_manifest.proto"], - ["google.apps.script.type.sheets.SheetsAddOnManifest", "google/apps/script/type/sheets/sheets_addon_manifest.proto"], - ["google.apps.script.type.slides.SlidesAddOnManifest", "google/apps/script/type/slides/slides_addon_manifest.proto"], - ] - imports.each do |type_name, expected_filename| - import_file = pool.lookup(type_name).file_descriptor - if import_file.name != expected_filename - warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" - end - end - warn "Each proto file must use a consistent fully-qualified name." - warn "This will become an error in the next major version." -end +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Google module Cloud diff --git a/google-cloud-gsuite_add_ons-v1/proto_docs/google/protobuf/wrappers.rb b/google-cloud-gsuite_add_ons-v1/proto_docs/google/protobuf/wrappers.rb index 3f28f1fb18f6..785312ae032d 100644 --- a/google-cloud-gsuite_add_ons-v1/proto_docs/google/protobuf/wrappers.rb +++ b/google-cloud-gsuite_add_ons-v1/proto_docs/google/protobuf/wrappers.rb @@ -22,6 +22,9 @@ module Protobuf # Wrapper message for `double`. # # The JSON representation for `DoubleValue` is JSON number. + # + # Not recommended for use in new APIs, but still useful for legacy APIs and + # has no plan to be removed. # @!attribute [rw] value # @return [::Float] # The double value. @@ -33,6 +36,9 @@ class DoubleValue # Wrapper message for `float`. # # The JSON representation for `FloatValue` is JSON number. + # + # Not recommended for use in new APIs, but still useful for legacy APIs and + # has no plan to be removed. # @!attribute [rw] value # @return [::Float] # The float value. @@ -44,6 +50,9 @@ class FloatValue # Wrapper message for `int64`. # # The JSON representation for `Int64Value` is JSON string. + # + # Not recommended for use in new APIs, but still useful for legacy APIs and + # has no plan to be removed. # @!attribute [rw] value # @return [::Integer] # The int64 value. @@ -55,6 +64,9 @@ class Int64Value # Wrapper message for `uint64`. # # The JSON representation for `UInt64Value` is JSON string. + # + # Not recommended for use in new APIs, but still useful for legacy APIs and + # has no plan to be removed. # @!attribute [rw] value # @return [::Integer] # The uint64 value. @@ -66,6 +78,9 @@ class UInt64Value # Wrapper message for `int32`. # # The JSON representation for `Int32Value` is JSON number. + # + # Not recommended for use in new APIs, but still useful for legacy APIs and + # has no plan to be removed. # @!attribute [rw] value # @return [::Integer] # The int32 value. @@ -77,6 +92,9 @@ class Int32Value # Wrapper message for `uint32`. # # The JSON representation for `UInt32Value` is JSON number. + # + # Not recommended for use in new APIs, but still useful for legacy APIs and + # has no plan to be removed. # @!attribute [rw] value # @return [::Integer] # The uint32 value. @@ -88,6 +106,9 @@ class UInt32Value # Wrapper message for `bool`. # # The JSON representation for `BoolValue` is JSON `true` and `false`. + # + # Not recommended for use in new APIs, but still useful for legacy APIs and + # has no plan to be removed. # @!attribute [rw] value # @return [::Boolean] # The bool value. @@ -99,6 +120,9 @@ class BoolValue # Wrapper message for `string`. # # The JSON representation for `StringValue` is JSON string. + # + # Not recommended for use in new APIs, but still useful for legacy APIs and + # has no plan to be removed. # @!attribute [rw] value # @return [::String] # The string value. @@ -110,6 +134,9 @@ class StringValue # Wrapper message for `bytes`. # # The JSON representation for `BytesValue` is JSON string. + # + # Not recommended for use in new APIs, but still useful for legacy APIs and + # has no plan to be removed. # @!attribute [rw] value # @return [::String] # The bytes value. diff --git a/google-cloud-hypercompute_cluster-v1beta/lib/google/cloud/hypercomputecluster/v1beta/hypercompute_cluster_pb.rb b/google-cloud-hypercompute_cluster-v1beta/lib/google/cloud/hypercomputecluster/v1beta/hypercompute_cluster_pb.rb index 6bc311141aa5..7908e4656265 100644 --- a/google-cloud-hypercompute_cluster-v1beta/lib/google/cloud/hypercomputecluster/v1beta/hypercompute_cluster_pb.rb +++ b/google-cloud-hypercompute_cluster-v1beta/lib/google/cloud/hypercomputecluster/v1beta/hypercompute_cluster_pb.rb @@ -19,32 +19,8 @@ descriptor_data = "\nBgoogle/cloud/hypercomputecluster/v1beta/hypercompute_cluster.proto\x12\'google.cloud.hypercomputecluster.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a@google/cloud/hypercomputecluster/v1beta/operation_metadata.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa1\t\n\x07\x43luster\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x18\n\x0b\x64\x65scription\x18\t \x01(\tB\x03\xe0\x41\x01\x12Q\n\x06labels\x18\x04 \x03(\x0b\x32<.google.cloud.hypercomputecluster.v1beta.Cluster.LabelsEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\n \x01(\x08\x42\x03\xe0\x41\x03\x12\x66\n\x11network_resources\x18\x0b \x03(\x0b\x32\x46.google.cloud.hypercomputecluster.v1beta.Cluster.NetworkResourcesEntryB\x03\xe0\x41\x01\x12\x66\n\x11storage_resources\x18\x0c \x03(\x0b\x32\x46.google.cloud.hypercomputecluster.v1beta.Cluster.StorageResourcesEntryB\x03\xe0\x41\x01\x12\x66\n\x11\x63ompute_resources\x18\r \x03(\x0b\x32\x46.google.cloud.hypercomputecluster.v1beta.Cluster.ComputeResourcesEntryB\x03\xe0\x41\x01\x12P\n\x0corchestrator\x18\x08 \x01(\x0b\x32\x35.google.cloud.hypercomputecluster.v1beta.OrchestratorB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aq\n\x15NetworkResourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.google.cloud.hypercomputecluster.v1beta.NetworkResource:\x02\x38\x01\x1aq\n\x15StorageResourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.google.cloud.hypercomputecluster.v1beta.StorageResource:\x02\x38\x01\x1aq\n\x15\x43omputeResourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.google.cloud.hypercomputecluster.v1beta.ComputeResource:\x02\x38\x01:~\xea\x41{\n*hypercomputecluster.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}*\x08\x63lusters2\x07\x63luster\"\xb6\x01\n\x13ListClustersRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*hypercomputecluster.googleapis.com/Cluster\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x88\x01\n\x14ListClustersResponse\x12\x42\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\x30.google.cloud.hypercomputecluster.v1beta.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"U\n\x11GetClusterRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*hypercomputecluster.googleapis.com/Cluster\"\xdc\x01\n\x14\x43reateClusterRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*hypercomputecluster.googleapis.com/Cluster\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x46\n\x07\x63luster\x18\x03 \x01(\x0b\x32\x30.google.cloud.hypercomputecluster.v1beta.ClusterB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xb5\x01\n\x14UpdateClusterRequest\x12\x46\n\x07\x63luster\x18\x02 \x01(\x0b\x32\x30.google.cloud.hypercomputecluster.v1beta.ClusterB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"y\n\x14\x44\x65leteClusterRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*hypercomputecluster.googleapis.com/Cluster\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xc1\x01\n\x0fNetworkResource\x12L\n\x07network\x18\x03 \x01(\x0b\x32\x39.google.cloud.hypercomputecluster.v1beta.NetworkReferenceH\x00\x12S\n\x06\x63onfig\x18\x02 \x01(\x0b\x32>.google.cloud.hypercomputecluster.v1beta.NetworkResourceConfigB\x03\xe0\x41\x05\x42\x0b\n\treference\"\x8a\x01\n\x10NetworkReference\x12\x37\n\x07network\x18\x01 \x01(\tB&\xe0\x41\x03\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12=\n\nsubnetwork\x18\x02 \x01(\tB)\xe0\x41\x03\xfa\x41#\n!compute.googleapis.com/Subnetwork\"\xdf\x01\n\x15NetworkResourceConfig\x12X\n\x0bnew_network\x18\x03 \x01(\x0b\x32\x39.google.cloud.hypercomputecluster.v1beta.NewNetworkConfigB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x12\x62\n\x10\x65xisting_network\x18\x04 \x01(\x0b\x32>.google.cloud.hypercomputecluster.v1beta.ExistingNetworkConfigB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x42\x08\n\x06\x63onfig\"k\n\x10NewNetworkConfig\x12:\n\x07network\x18\x01 \x01(\tB)\xe0\x41\x02\xe0\x41\x05\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x1b\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\"\x95\x01\n\x15\x45xistingNetworkConfig\x12:\n\x07network\x18\x01 \x01(\tB)\xe0\x41\x02\xe0\x41\x05\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12@\n\nsubnetwork\x18\x02 \x01(\tB,\xe0\x41\x02\xe0\x41\x05\xfa\x41#\n!compute.googleapis.com/Subnetwork\"\xe0\x02\n\x0fStorageResource\x12P\n\tfilestore\x18\x01 \x01(\x0b\x32;.google.cloud.hypercomputecluster.v1beta.FilestoreReferenceH\x00\x12J\n\x06\x62ucket\x18\x02 \x01(\x0b\x32\x38.google.cloud.hypercomputecluster.v1beta.BucketReferenceH\x00\x12J\n\x06lustre\x18\x03 \x01(\x0b\x32\x38.google.cloud.hypercomputecluster.v1beta.LustreReferenceH\x00\x12V\n\x06\x63onfig\x18\x04 \x01(\x0b\x32>.google.cloud.hypercomputecluster.v1beta.StorageResourceConfigB\x06\xe0\x41\x02\xe0\x41\x05\x42\x0b\n\treference\"Q\n\x12\x46ilestoreReference\x12;\n\tfilestore\x18\x01 \x01(\tB(\xe0\x41\x03\xfa\x41\"\n file.googleapis.com/FileInstance\"H\n\x0f\x42ucketReference\x12\x35\n\x06\x62ucket\x18\x01 \x01(\tB%\xe0\x41\x03\xfa\x41\x1f\n\x1dstorage.googleapis.com/Bucket\"O\n\x0fLustreReference\x12<\n\x06lustre\x18\x01 \x01(\tB,\xe0\x41\x03\xfa\x41&\n$lustre.googleapis.com/LustreInstance\"\xdb\x04\n\x15StorageResourceConfig\x12\\\n\rnew_filestore\x18\x01 \x01(\x0b\x32;.google.cloud.hypercomputecluster.v1beta.NewFilestoreConfigB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x12\x66\n\x12\x65xisting_filestore\x18\x02 \x01(\x0b\x32@.google.cloud.hypercomputecluster.v1beta.ExistingFilestoreConfigB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x12V\n\nnew_bucket\x18\x03 \x01(\x0b\x32\x38.google.cloud.hypercomputecluster.v1beta.NewBucketConfigB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x12`\n\x0f\x65xisting_bucket\x18\x04 \x01(\x0b\x32=.google.cloud.hypercomputecluster.v1beta.ExistingBucketConfigB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x12V\n\nnew_lustre\x18\x05 \x01(\x0b\x32\x38.google.cloud.hypercomputecluster.v1beta.NewLustreConfigB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x12`\n\x0f\x65xisting_lustre\x18\x06 \x01(\x0b\x32=.google.cloud.hypercomputecluster.v1beta.ExistingLustreConfigB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x42\x08\n\x06\x63onfig\"\xf7\x03\n\x12NewFilestoreConfig\x12>\n\tfilestore\x18\x01 \x01(\tB+\xe0\x41\x02\xe0\x41\x05\xfa\x41\"\n file.googleapis.com/FileInstance\x12\x1b\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12U\n\x0b\x66ile_shares\x18\x02 \x03(\x0b\x32\x38.google.cloud.hypercomputecluster.v1beta.FileShareConfigB\x06\xe0\x41\x02\xe0\x41\x05\x12V\n\x04tier\x18\x03 \x01(\x0e\x32@.google.cloud.hypercomputecluster.v1beta.NewFilestoreConfig.TierB\x06\xe0\x41\x02\xe0\x41\x05\x12\x61\n\x08protocol\x18\x05 \x01(\x0e\x32\x44.google.cloud.hypercomputecluster.v1beta.NewFilestoreConfig.ProtocolB\t\xe0\x41\x01\xe0\x41\x01\xe0\x41\x05\"5\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\t\n\x05ZONAL\x10\x04\x12\x0c\n\x08REGIONAL\x10\x06\";\n\x08Protocol\x12\x18\n\x14PROTOCOL_UNSPECIFIED\x10\x00\x12\t\n\x05NFSV3\x10\x01\x12\n\n\x06NFSV41\x10\x02\"D\n\x0f\x46ileShareConfig\x12\x18\n\x0b\x63\x61pacity_gb\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x17\n\nfile_share\x18\x02 \x01(\tB\x03\xe0\x41\x02\"Y\n\x17\x45xistingFilestoreConfig\x12>\n\tfilestore\x18\x01 \x01(\tB+\xe0\x41\x02\xe0\x41\x05\xfa\x41\"\n file.googleapis.com/FileInstance\"\xee\x03\n\x0fNewBucketConfig\x12X\n\tautoclass\x18\x02 \x01(\x0b\x32;.google.cloud.hypercomputecluster.v1beta.GcsAutoclassConfigB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x12\x66\n\rstorage_class\x18\x03 \x01(\x0e\x32\x45.google.cloud.hypercomputecluster.v1beta.NewBucketConfig.StorageClassB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x12\x38\n\x06\x62ucket\x18\x01 \x01(\tB(\xe0\x41\x02\xe0\x41\x05\xfa\x41\x1f\n\x1dstorage.googleapis.com/Bucket\x12o\n\x16hierarchical_namespace\x18\x04 \x01(\x0b\x32G.google.cloud.hypercomputecluster.v1beta.GcsHierarchicalNamespaceConfigB\x06\xe0\x41\x01\xe0\x41\x05\"d\n\x0cStorageClass\x12\x1d\n\x19STORAGE_CLASS_UNSPECIFIED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\x0c\n\x08NEARLINE\x10\x02\x12\x0c\n\x08\x43OLDLINE\x10\x03\x12\x0b\n\x07\x41RCHIVE\x10\x04\x42\x08\n\x06option\"\xe1\x01\n\x12GcsAutoclassConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\x12u\n\x16terminal_storage_class\x18\x02 \x01(\x0e\x32P.google.cloud.hypercomputecluster.v1beta.GcsAutoclassConfig.TerminalStorageClassB\x03\xe0\x41\x01\">\n\x14TerminalStorageClass\x12&\n\"TERMINAL_STORAGE_CLASS_UNSPECIFIED\x10\x00\"6\n\x1eGcsHierarchicalNamespaceConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\"P\n\x14\x45xistingBucketConfig\x12\x38\n\x06\x62ucket\x18\x01 \x01(\tB(\xe0\x41\x02\xe0\x41\x05\xfa\x41\x1f\n\x1dstorage.googleapis.com/Bucket\"\x7f\n\x0fNewLustreConfig\x12\x16\n\x06lustre\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12\x1b\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12\x1a\n\nfilesystem\x18\x03 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12\x1b\n\x0b\x63\x61pacity_gb\x18\x04 \x01(\x03\x42\x06\xe0\x41\x02\xe0\x41\x05\"W\n\x14\x45xistingLustreConfig\x12?\n\x06lustre\x18\x01 \x01(\tB/\xe0\x41\x02\xe0\x41\x05\xfa\x41&\n$lustre.googleapis.com/LustreInstance\"i\n\x0f\x43omputeResource\x12V\n\x06\x63onfig\x18\x06 \x01(\x0b\x32>.google.cloud.hypercomputecluster.v1beta.ComputeResourceConfigB\x06\xe0\x41\x02\xe0\x41\x05\"\xd9\x03\n\x15\x43omputeResourceConfig\x12n\n\x17new_on_demand_instances\x18\x01 \x01(\x0b\x32\x43.google.cloud.hypercomputecluster.v1beta.NewOnDemandInstancesConfigB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x12\x65\n\x12new_spot_instances\x18\x02 \x01(\x0b\x32?.google.cloud.hypercomputecluster.v1beta.NewSpotInstancesConfigB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x12m\n\x16new_reserved_instances\x18\x03 \x01(\x0b\x32\x43.google.cloud.hypercomputecluster.v1beta.NewReservedInstancesConfigB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x12p\n\x18new_flex_start_instances\x18\x05 \x01(\x0b\x32\x44.google.cloud.hypercomputecluster.v1beta.NewFlexStartInstancesConfigB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x42\x08\n\x06\x63onfig\"P\n\x1aNewOnDemandInstancesConfig\x12\x14\n\x04zone\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12\x1c\n\x0cmachine_type\x18\x02 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\"L\n\x16NewSpotInstancesConfig\x12\x14\n\x04zone\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12\x1c\n\x0cmachine_type\x18\x02 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\"l\n\x1aNewReservedInstancesConfig\x12\x44\n\x0breservation\x18\x01 \x01(\tB-\xe0\x41\x01\xe0\x41\x05\xfa\x41$\n\"compute.googleapis.com/ReservationH\x00\x42\x08\n\x06source\"\x8a\x01\n\x1bNewFlexStartInstancesConfig\x12\x14\n\x04zone\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12\x1c\n\x0cmachine_type\x18\x02 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12\x37\n\x0cmax_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x06\xe0\x41\x02\xe0\x41\x05\"]\n\x08\x42ootDisk\x12\x38\n\x04type\x18\x01 \x01(\tB*\xe0\x41\x02\xe0\x41\x05\xfa\x41!\n\x1f\x63ompute.googleapis.com/DiskType\x12\x17\n\x07size_gb\x18\x02 \x01(\x03\x42\x06\xe0\x41\x02\xe0\x41\x05\"j\n\x0cOrchestrator\x12P\n\x05slurm\x18\x01 \x01(\x0b\x32:.google.cloud.hypercomputecluster.v1beta.SlurmOrchestratorB\x03\xe0\x41\x01H\x00\x42\x08\n\x06option\"\xec\x02\n\x11SlurmOrchestrator\x12R\n\x0blogin_nodes\x18\x06 \x01(\x0b\x32\x38.google.cloud.hypercomputecluster.v1beta.SlurmLoginNodesB\x03\xe0\x41\x02\x12M\n\tnode_sets\x18\x01 \x03(\x0b\x32\x35.google.cloud.hypercomputecluster.v1beta.SlurmNodeSetB\x03\xe0\x41\x02\x12P\n\npartitions\x18\x02 \x03(\x0b\x32\x37.google.cloud.hypercomputecluster.v1beta.SlurmPartitionB\x03\xe0\x41\x02\x12\x1e\n\x11\x64\x65\x66\x61ult_partition\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12 \n\x13prolog_bash_scripts\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12 \n\x13\x65pilog_bash_scripts\x18\x05 \x03(\tB\x03\xe0\x41\x01\"\xc2\x02\n\x0cSlurmNodeSet\x12\x65\n\x10\x63ompute_instance\x18\x11 \x01(\x0b\x32\x44.google.cloud.hypercomputecluster.v1beta.ComputeInstanceSlurmNodeSetB\x03\xe0\x41\x01H\x00\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ncompute_id\x18\x10 \x01(\tB\x03\xe0\x41\x01\x12T\n\x0fstorage_configs\x18\x03 \x03(\x0b\x32\x36.google.cloud.hypercomputecluster.v1beta.StorageConfigB\x03\xe0\x41\x01\x12\x1e\n\x11static_node_count\x18\x04 \x01(\x03\x42\x03\xe0\x41\x01\x12#\n\x16max_dynamic_node_count\x18\x05 \x01(\x03\x42\x03\xe0\x41\x01\x42\x06\n\x04type\"\x9b\x02\n\x1b\x43omputeInstanceSlurmNodeSet\x12\x1b\n\x0estartup_script\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x65\n\x06labels\x18\x02 \x03(\x0b\x32P.google.cloud.hypercomputecluster.v1beta.ComputeInstanceSlurmNodeSet.LabelsEntryB\x03\xe0\x41\x01\x12I\n\tboot_disk\x18\x03 \x01(\x0b\x32\x31.google.cloud.hypercomputecluster.v1beta.BootDiskB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"<\n\x0eSlurmPartition\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cnode_set_ids\x18\x02 \x03(\tB\x03\xe0\x41\x02\"\xab\x04\n\x0fSlurmLoginNodes\x12\x12\n\x05\x63ount\x18\x03 \x01(\x03\x42\x03\xe0\x41\x02\x12\x11\n\x04zone\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cmachine_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0estartup_script\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0f\x65nable_os_login\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1e\n\x11\x65nable_public_ips\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x12Y\n\x06labels\x18\x08 \x03(\x0b\x32\x44.google.cloud.hypercomputecluster.v1beta.SlurmLoginNodes.LabelsEntryB\x03\xe0\x41\x01\x12T\n\x0fstorage_configs\x18\x0c \x03(\x0b\x32\x36.google.cloud.hypercomputecluster.v1beta.StorageConfigB\x03\xe0\x41\x01\x12P\n\tinstances\x18\n \x03(\x0b\x32\x38.google.cloud.hypercomputecluster.v1beta.ComputeInstanceB\x03\xe0\x41\x03\x12I\n\tboot_disk\x18\r \x01(\x0b\x32\x31.google.cloud.hypercomputecluster.v1beta.BootDiskB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\":\n\rStorageConfig\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0blocal_mount\x18\x02 \x01(\tB\x03\xe0\x41\x02\"S\n\x0f\x43omputeInstance\x12@\n\x08instance\x18\x01 \x01(\tB.\xe0\x41\x03\xfa\x41(\n&compute.googleapis.com/ComputeInstance2\xb8\t\n\x13HypercomputeCluster\x12\xce\x01\n\x0cListClusters\x12<.google.cloud.hypercomputecluster.v1beta.ListClustersRequest\x1a=.google.cloud.hypercomputecluster.v1beta.ListClustersResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1beta/{parent=projects/*/locations/*}/clusters\x12\xbb\x01\n\nGetCluster\x12:.google.cloud.hypercomputecluster.v1beta.GetClusterRequest\x1a\x30.google.cloud.hypercomputecluster.v1beta.Cluster\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1beta/{name=projects/*/locations/*/clusters/*}\x12\xeb\x01\n\rCreateCluster\x12=.google.cloud.hypercomputecluster.v1beta.CreateClusterRequest\x1a\x1d.google.longrunning.Operation\"|\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x19parent,cluster,cluster_id\x82\xd3\xe4\x93\x02;\"0/v1beta/{parent=projects/*/locations/*}/clusters:\x07\x63luster\x12\xed\x01\n\rUpdateCluster\x12=.google.cloud.hypercomputecluster.v1beta.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"~\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x13\x63luster,update_mask\x82\xd3\xe4\x93\x02\x43\x32\x38/v1beta/{cluster.name=projects/*/locations/*/clusters/*}:\x07\x63luster\x12\xdb\x01\n\rDeleteCluster\x12=.google.cloud.hypercomputecluster.v1beta.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1beta/{name=projects/*/locations/*/clusters/*}\x1aV\xca\x41\"hypercomputecluster.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa8\x0b\n+com.google.cloud.hypercomputecluster.v1betaB\x18HypercomputeClusterProtoP\x01Z]cloud.google.com/go/hypercomputecluster/apiv1beta/hypercomputeclusterpb;hypercomputeclusterpb\xaa\x02\'Google.Cloud.HypercomputeCluster.V1Beta\xca\x02\'Google\\Cloud\\HypercomputeCluster\\V1beta\xea\x02*Google::Cloud::HypercomputeCluster::V1beta\xea\x41^\n&compute.googleapis.com/ComputeInstance\x12\x34projects/{project}/zones/{zone}/instances/{instance}\xea\x41X\n\x1f\x63ompute.googleapis.com/DiskType\x12\x35projects/{project}/zones/{zone}/diskTypes/{disk_type}\xea\x41H\n\x1c\x63ompute.googleapis.com/Image\x12(projects/{project}/global/images/{image}\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}\xea\x41`\n\"compute.googleapis.com/Reservation\x12:projects/{project}/zones/{zone}/reservations/{reservation}\xea\x41\x8b\x01\n\'compute.googleapis.com/ReservationBlock\x12`projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservation_block}\xea\x41\xbc\x01\n*compute.googleapis.com/ReservationSubBlock\x12\x8d\x01projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservation_block}/reservationSubBlocks/{reservation_sub_block}\xea\x41\x61\n!compute.googleapis.com/Subnetwork\x12