google-cloud-service_health-v1 0.a → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +144 -8
  5. data/lib/google/cloud/service_health/v1/bindings_override.rb +102 -0
  6. data/lib/google/cloud/service_health/v1/rest.rb +38 -0
  7. data/lib/google/cloud/service_health/v1/service_health/client.rb +1084 -0
  8. data/lib/google/cloud/service_health/v1/service_health/credentials.rb +47 -0
  9. data/lib/google/cloud/service_health/v1/service_health/paths.rb +124 -0
  10. data/lib/google/cloud/service_health/v1/service_health/rest/client.rb +1021 -0
  11. data/lib/google/cloud/service_health/v1/service_health/rest/service_stub.rb +423 -0
  12. data/lib/google/cloud/service_health/v1/service_health/rest.rb +53 -0
  13. data/lib/google/cloud/service_health/v1/service_health.rb +55 -0
  14. data/lib/google/cloud/service_health/v1/version.rb +7 -2
  15. data/lib/google/cloud/service_health/v1.rb +45 -0
  16. data/lib/google/cloud/servicehealth/v1/event_resources_pb.rb +74 -0
  17. data/lib/google/cloud/servicehealth/v1/event_service_pb.rb +45 -0
  18. data/lib/google/cloud/servicehealth/v1/event_service_services_pb.rb +58 -0
  19. data/lib/google-cloud-service_health-v1.rb +21 -0
  20. data/proto_docs/README.md +4 -0
  21. data/proto_docs/google/api/client.rb +395 -0
  22. data/proto_docs/google/api/field_behavior.rb +85 -0
  23. data/proto_docs/google/api/launch_stage.rb +71 -0
  24. data/proto_docs/google/api/resource.rb +222 -0
  25. data/proto_docs/google/cloud/servicehealth/v1/event_resources.rb +694 -0
  26. data/proto_docs/google/protobuf/any.rb +145 -0
  27. data/proto_docs/google/protobuf/duration.rb +98 -0
  28. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  29. metadata +202 -10
@@ -0,0 +1,74 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/servicehealth/v1/event_resources.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+
11
+
12
+ descriptor_data = "\n3google/cloud/servicehealth/v1/event_resources.proto\x12\x1dgoogle.cloud.servicehealth.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9f\x0b\n\x05\x45vent\x12\x13\n\x04name\x18\x01 \x01(\tB\x05\xe2\x41\x02\x03\x08\x12\x13\n\x05title\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12J\n\x08\x63\x61tegory\x18\x04 \x01(\x0e\x32\x32.google.cloud.servicehealth.v1.Event.EventCategoryB\x04\xe2\x41\x01\x03\x12V\n\x11\x64\x65tailed_category\x18\x15 \x01(\x0e\x32\x35.google.cloud.servicehealth.v1.Event.DetailedCategoryB\x04\xe2\x41\x01\x03\x12?\n\x05state\x18\x05 \x01(\x0e\x32*.google.cloud.servicehealth.v1.Event.StateB\x04\xe2\x41\x01\x03\x12P\n\x0e\x64\x65tailed_state\x18\x13 \x01(\x0e\x32\x32.google.cloud.servicehealth.v1.Event.DetailedStateB\x04\xe2\x41\x01\x03\x12\x41\n\revent_impacts\x18\x14 \x03(\x0b\x32*.google.cloud.servicehealth.v1.EventImpact\x12G\n\trelevance\x18\x08 \x01(\x0e\x32..google.cloud.servicehealth.v1.Event.RelevanceB\x04\xe2\x41\x01\x03\x12\x41\n\x07updates\x18\t \x03(\x0b\x32*.google.cloud.servicehealth.v1.EventUpdateB\x04\xe2\x41\x01\x03\x12\x1a\n\x0cparent_event\x18\n \x01(\tB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x34\n\nstart_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12:\n\x10next_update_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\"=\n\rEventCategory\x12\x1e\n\x1a\x45VENT_CATEGORY_UNSPECIFIED\x10\x00\x12\x0c\n\x08INCIDENT\x10\x02\"d\n\x10\x44\x65tailedCategory\x12!\n\x1d\x44\x45TAILED_CATEGORY_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43ONFIRMED_INCIDENT\x10\x01\x12\x15\n\x11\x45MERGING_INCIDENT\x10\x02\"6\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\n\n\x06\x43LOSED\x10\x02\"\x8b\x01\n\rDetailedState\x12\x1e\n\x1a\x44\x45TAILED_STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45MERGING\x10\x01\x12\r\n\tCONFIRMED\x10\x02\x12\x0c\n\x08RESOLVED\x10\x03\x12\n\n\x06MERGED\x10\x04\x12\x0f\n\x0b\x41UTO_CLOSED\x10\t\x12\x12\n\x0e\x46\x41LSE_POSITIVE\x10\n\"w\n\tRelevance\x12\x19\n\x15RELEVANCE_UNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x02\x12\x10\n\x0cNOT_IMPACTED\x10\x06\x12\x15\n\x11PARTIALLY_RELATED\x10\x07\x12\x0b\n\x07RELATED\x10\x08\x12\x0c\n\x08IMPACTED\x10\t:n\xea\x41k\n\"servicehealth.googleapis.com/Event\x12\x36projects/{project}/locations/{location}/events/{event}*\x06\x65vents2\x05\x65vent\"\xdb\n\n\x11OrganizationEvent\x12\x13\n\x04name\x18\x01 \x01(\tB\x05\xe2\x41\x02\x03\x08\x12\x13\n\x05title\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12V\n\x08\x63\x61tegory\x18\x04 \x01(\x0e\x32>.google.cloud.servicehealth.v1.OrganizationEvent.EventCategoryB\x04\xe2\x41\x01\x03\x12\x62\n\x11\x64\x65tailed_category\x18\x11 \x01(\x0e\x32\x41.google.cloud.servicehealth.v1.OrganizationEvent.DetailedCategoryB\x04\xe2\x41\x01\x03\x12K\n\x05state\x18\x05 \x01(\x0e\x32\x36.google.cloud.servicehealth.v1.OrganizationEvent.StateB\x04\xe2\x41\x01\x03\x12\\\n\x0e\x64\x65tailed_state\x18\x10 \x01(\x0e\x32>.google.cloud.servicehealth.v1.OrganizationEvent.DetailedStateB\x04\xe2\x41\x01\x03\x12G\n\revent_impacts\x18\x0f \x03(\x0b\x32*.google.cloud.servicehealth.v1.EventImpactB\x04\xe2\x41\x01\x03\x12\x41\n\x07updates\x18\x08 \x03(\x0b\x32*.google.cloud.servicehealth.v1.EventUpdateB\x04\xe2\x41\x01\x03\x12\x1a\n\x0cparent_event\x18\t \x01(\tB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x34\n\nstart_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12:\n\x10next_update_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\"=\n\rEventCategory\x12\x1e\n\x1a\x45VENT_CATEGORY_UNSPECIFIED\x10\x00\x12\x0c\n\x08INCIDENT\x10\x02\"d\n\x10\x44\x65tailedCategory\x12!\n\x1d\x44\x45TAILED_CATEGORY_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43ONFIRMED_INCIDENT\x10\x01\x12\x15\n\x11\x45MERGING_INCIDENT\x10\x02\"6\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\n\n\x06\x43LOSED\x10\x02\"\x8b\x01\n\rDetailedState\x12\x1e\n\x1a\x44\x45TAILED_STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45MERGING\x10\x01\x12\r\n\tCONFIRMED\x10\x02\x12\x0c\n\x08RESOLVED\x10\x03\x12\n\n\x06MERGED\x10\x04\x12\x0f\n\x0b\x41UTO_CLOSED\x10\t\x12\x12\n\x0e\x46\x41LSE_POSITIVE\x10\n:\xa9\x01\xea\x41\xa5\x01\n.servicehealth.googleapis.com/OrganizationEvent\x12Lorganizations/{organization}/locations/{location}/organizationEvents/{event}*\x12organizationEvents2\x11organizationEvent\"\xa5\x01\n\x0b\x45ventUpdate\x12\x35\n\x0bupdate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x13\n\x05title\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x15\n\x07symptom\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x18\n\nworkaround\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\"!\n\x08Location\x12\x15\n\rlocation_name\x18\x01 \x01(\t\"\x1f\n\x07Product\x12\x14\n\x0cproduct_name\x18\x01 \x01(\t\"\x81\x01\n\x0b\x45ventImpact\x12\x37\n\x07product\x18\x01 \x01(\x0b\x32&.google.cloud.servicehealth.v1.Product\x12\x39\n\x08location\x18\x02 \x01(\x0b\x32\'.google.cloud.servicehealth.v1.Location\"\x96\x03\n\x12OrganizationImpact\x12\x13\n\x04name\x18\x01 \x01(\tB\x05\xe2\x41\x02\x03\x08\x12;\n\x06\x65vents\x18\x02 \x03(\tB+\xe2\x41\x01\x03\xfa\x41$\n\"servicehealth.googleapis.com/Event\x12\x39\n\x05\x61sset\x18\x03 \x01(\x0b\x32$.google.cloud.servicehealth.v1.AssetB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03:\xbb\x01\xea\x41\xb7\x01\n/servicehealth.googleapis.com/OrganizationImpact\x12[organizations/{organization}/locations/{location}/organizationImpacts/{organization_impact}*\x13organizationImpacts2\x12organizationImpact\";\n\x05\x41sset\x12\x18\n\nasset_name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x18\n\nasset_type\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\"\xd7\x01\n\x11ListEventsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe2\x41\x01\x02\xfa\x41$\x12\"servicehealth.googleapis.com/Event\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12<\n\x04view\x18\x06 \x01(\x0e\x32(.google.cloud.servicehealth.v1.EventViewB\x04\xe2\x41\x01\x01\"\x8a\x01\n\x12ListEventsResponse\x12:\n\x06\x65vents\x18\x01 \x03(\x0b\x32$.google.cloud.servicehealth.v1.EventB\x04\xe2\x41\x01\x03\x12\x1d\n\x0fnext_page_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x19\n\x0bunreachable\x18\x03 \x03(\tB\x04\xe2\x41\x01\x03\"L\n\x0fGetEventRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe2\x41\x01\x02\xfa\x41$\n\"servicehealth.googleapis.com/Event\"\xfb\x01\n\x1dListOrganizationEventsRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe2\x41\x01\x02\xfa\x41\x30\x12.servicehealth.googleapis.com/OrganizationEvent\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12H\n\x04view\x18\x06 \x01(\x0e\x32\x34.google.cloud.servicehealth.v1.OrganizationEventViewB\x04\xe2\x41\x01\x01\"\xaf\x01\n\x1eListOrganizationEventsResponse\x12S\n\x13organization_events\x18\x01 \x03(\x0b\x32\x30.google.cloud.servicehealth.v1.OrganizationEventB\x04\xe2\x41\x01\x03\x12\x1d\n\x0fnext_page_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x19\n\x0bunreachable\x18\x03 \x03(\tB\x04\xe2\x41\x01\x03\"d\n\x1bGetOrganizationEventRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe2\x41\x01\x02\xfa\x41\x30\n.servicehealth.googleapis.com/OrganizationEvent\"\xb3\x01\n\x1eListOrganizationImpactsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe2\x41\x01\x02\xfa\x41\x31\x12/servicehealth.googleapis.com/OrganizationImpact\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"\xb2\x01\n\x1fListOrganizationImpactsResponse\x12U\n\x14organization_impacts\x18\x01 \x03(\x0b\x32\x31.google.cloud.servicehealth.v1.OrganizationImpactB\x04\xe2\x41\x01\x03\x12\x1d\n\x0fnext_page_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x19\n\x0bunreachable\x18\x03 \x03(\tB\x04\xe2\x41\x01\x03\"f\n\x1cGetOrganizationImpactRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe2\x41\x01\x02\xfa\x41\x31\n/servicehealth.googleapis.com/OrganizationImpact*R\n\tEventView\x12\x1a\n\x16\x45VENT_VIEW_UNSPECIFIED\x10\x00\x12\x14\n\x10\x45VENT_VIEW_BASIC\x10\x01\x12\x13\n\x0f\x45VENT_VIEW_FULL\x10\x02*\x85\x01\n\x15OrganizationEventView\x12\'\n#ORGANIZATION_EVENT_VIEW_UNSPECIFIED\x10\x00\x12!\n\x1dORGANIZATION_EVENT_VIEW_BASIC\x10\x01\x12 \n\x1cORGANIZATION_EVENT_VIEW_FULL\x10\x02\x42\xcf\x02\n!com.google.cloud.servicehealth.v1B\x13\x45ventResourcesProtoP\x01ZGcloud.google.com/go/servicehealth/apiv1/servicehealthpb;servicehealthpb\xaa\x02\x1dGoogle.Cloud.ServiceHealth.V1\xca\x02\x1dGoogle\\Cloud\\ServiceHealth\\V1\xea\x02 Google::Cloud::ServiceHealth::V1\xea\x41\x66\n1servicehealth.googleapis.com/OrganizationLocation\x12\x31organizations/{organization}/locations/{location}b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
33
+ end
34
+ end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
37
+ end
38
+
39
+ module Google
40
+ module Cloud
41
+ module ServiceHealth
42
+ module V1
43
+ Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.Event").msgclass
44
+ Event::EventCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.Event.EventCategory").enummodule
45
+ Event::DetailedCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.Event.DetailedCategory").enummodule
46
+ Event::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.Event.State").enummodule
47
+ Event::DetailedState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.Event.DetailedState").enummodule
48
+ Event::Relevance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.Event.Relevance").enummodule
49
+ OrganizationEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.OrganizationEvent").msgclass
50
+ OrganizationEvent::EventCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.OrganizationEvent.EventCategory").enummodule
51
+ OrganizationEvent::DetailedCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.OrganizationEvent.DetailedCategory").enummodule
52
+ OrganizationEvent::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.OrganizationEvent.State").enummodule
53
+ OrganizationEvent::DetailedState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.OrganizationEvent.DetailedState").enummodule
54
+ EventUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.EventUpdate").msgclass
55
+ Location = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.Location").msgclass
56
+ Product = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.Product").msgclass
57
+ EventImpact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.EventImpact").msgclass
58
+ OrganizationImpact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.OrganizationImpact").msgclass
59
+ Asset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.Asset").msgclass
60
+ ListEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.ListEventsRequest").msgclass
61
+ ListEventsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.ListEventsResponse").msgclass
62
+ GetEventRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.GetEventRequest").msgclass
63
+ ListOrganizationEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.ListOrganizationEventsRequest").msgclass
64
+ ListOrganizationEventsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.ListOrganizationEventsResponse").msgclass
65
+ GetOrganizationEventRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.GetOrganizationEventRequest").msgclass
66
+ ListOrganizationImpactsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.ListOrganizationImpactsRequest").msgclass
67
+ ListOrganizationImpactsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.ListOrganizationImpactsResponse").msgclass
68
+ GetOrganizationImpactRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.GetOrganizationImpactRequest").msgclass
69
+ EventView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.EventView").enummodule
70
+ OrganizationEventView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.OrganizationEventView").enummodule
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/servicehealth/v1/event_service.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/cloud/servicehealth/v1/event_resources_pb'
10
+
11
+
12
+ descriptor_data = "\n1google/cloud/servicehealth/v1/event_service.proto\x12\x1dgoogle.cloud.servicehealth.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x33google/cloud/servicehealth/v1/event_resources.proto2\xaa\n\n\rServiceHealth\x12\xae\x01\n\nListEvents\x12\x30.google.cloud.servicehealth.v1.ListEventsRequest\x1a\x31.google.cloud.servicehealth.v1.ListEventsResponse\";\xda\x41\x06parent\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=projects/*/locations/*}/events\x12\x9b\x01\n\x08GetEvent\x12..google.cloud.servicehealth.v1.GetEventRequest\x1a$.google.cloud.servicehealth.v1.Event\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v1/{name=projects/*/locations/*/events/*}\x12\xe3\x01\n\x16ListOrganizationEvents\x12<.google.cloud.servicehealth.v1.ListOrganizationEventsRequest\x1a=.google.cloud.servicehealth.v1.ListOrganizationEventsResponse\"L\xda\x41\x06parent\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=organizations/*/locations/*}/organizationEvents\x12\xd0\x01\n\x14GetOrganizationEvent\x12:.google.cloud.servicehealth.v1.GetOrganizationEventRequest\x1a\x30.google.cloud.servicehealth.v1.OrganizationEvent\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=\x12;/v1/{name=organizations/*/locations/*/organizationEvents/*}\x12\xe7\x01\n\x17ListOrganizationImpacts\x12=.google.cloud.servicehealth.v1.ListOrganizationImpactsRequest\x1a>.google.cloud.servicehealth.v1.ListOrganizationImpactsResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1/{parent=organizations/*/locations/*}/organizationImpacts\x12\xd4\x01\n\x15GetOrganizationImpact\x12;.google.cloud.servicehealth.v1.GetOrganizationImpactRequest\x1a\x31.google.cloud.servicehealth.v1.OrganizationImpact\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>\x12</v1/{name=organizations/*/locations/*/organizationImpacts/*}\x1aP\xca\x41\x1cservicehealth.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe4\x01\n!com.google.cloud.servicehealth.v1B\x11\x45ventServiceProtoP\x01ZGcloud.google.com/go/servicehealth/apiv1/servicehealthpb;servicehealthpb\xaa\x02\x1dGoogle.Cloud.ServiceHealth.V1\xca\x02\x1dGoogle\\Cloud\\ServiceHealth\\V1\xea\x02 Google::Cloud::ServiceHealth::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
32
+ end
33
+ end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
36
+ end
37
+
38
+ module Google
39
+ module Cloud
40
+ module ServiceHealth
41
+ module V1
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,58 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/servicehealth/v1/event_service.proto for package 'Google.Cloud.ServiceHealth.V1'
3
+ # Original file comments:
4
+ # Copyright 2023 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/servicehealth/v1/event_service_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module ServiceHealth
25
+ module V1
26
+ module ServiceHealth
27
+ # Request service health events relevant to your Google Cloud project.
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.cloud.servicehealth.v1.ServiceHealth'
35
+
36
+ # Lists events under a given project and location.
37
+ rpc :ListEvents, ::Google::Cloud::ServiceHealth::V1::ListEventsRequest, ::Google::Cloud::ServiceHealth::V1::ListEventsResponse
38
+ # Retrieves a resource containing information about an event.
39
+ rpc :GetEvent, ::Google::Cloud::ServiceHealth::V1::GetEventRequest, ::Google::Cloud::ServiceHealth::V1::Event
40
+ # Lists organization events under a given organization and location.
41
+ rpc :ListOrganizationEvents, ::Google::Cloud::ServiceHealth::V1::ListOrganizationEventsRequest, ::Google::Cloud::ServiceHealth::V1::ListOrganizationEventsResponse
42
+ # Retrieves a resource containing information about an event affecting an
43
+ # organization .
44
+ rpc :GetOrganizationEvent, ::Google::Cloud::ServiceHealth::V1::GetOrganizationEventRequest, ::Google::Cloud::ServiceHealth::V1::OrganizationEvent
45
+ # Lists assets impacted by organization events under a given organization and
46
+ # location.
47
+ rpc :ListOrganizationImpacts, ::Google::Cloud::ServiceHealth::V1::ListOrganizationImpactsRequest, ::Google::Cloud::ServiceHealth::V1::ListOrganizationImpactsResponse
48
+ # Retrieves a resource containing information about impact to an asset under
49
+ # an organization affected by a service health event.
50
+ rpc :GetOrganizationImpact, ::Google::Cloud::ServiceHealth::V1::GetOrganizationImpactRequest, ::Google::Cloud::ServiceHealth::V1::OrganizationImpact
51
+ end
52
+
53
+ Stub = Service.rpc_stub_class
54
+ end
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ # This gem does not autoload during Bundler.require. To load this gem,
20
+ # issue explicit require statements for the packages desired, e.g.:
21
+ # require "google/cloud/service_health/v1"
@@ -0,0 +1,4 @@
1
+ # Service Health V1 Protocol Buffer Documentation
2
+
3
+ These files are for the YARD documentation of the generated protobuf files.
4
+ They are not intended to be required or loaded at runtime.
@@ -0,0 +1,395 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Api
22
+ # Required information for every language.
23
+ # @!attribute [rw] reference_docs_uri
24
+ # @deprecated This field is deprecated and may be removed in the next major version update.
25
+ # @return [::String]
26
+ # Link to automatically generated reference documentation. Example:
27
+ # https://cloud.google.com/nodejs/docs/reference/asset/latest
28
+ # @!attribute [rw] destinations
29
+ # @return [::Array<::Google::Api::ClientLibraryDestination>]
30
+ # The destination where API teams want this client library to be published.
31
+ class CommonLanguageSettings
32
+ include ::Google::Protobuf::MessageExts
33
+ extend ::Google::Protobuf::MessageExts::ClassMethods
34
+ end
35
+
36
+ # Details about how and where to publish client libraries.
37
+ # @!attribute [rw] version
38
+ # @return [::String]
39
+ # Version of the API to apply these settings to. This is the full protobuf
40
+ # package for the API, ending in the version element.
41
+ # Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
42
+ # @!attribute [rw] launch_stage
43
+ # @return [::Google::Api::LaunchStage]
44
+ # Launch stage of this version of the API.
45
+ # @!attribute [rw] rest_numeric_enums
46
+ # @return [::Boolean]
47
+ # When using transport=rest, the client request will encode enums as
48
+ # numbers rather than strings.
49
+ # @!attribute [rw] java_settings
50
+ # @return [::Google::Api::JavaSettings]
51
+ # Settings for legacy Java features, supported in the Service YAML.
52
+ # @!attribute [rw] cpp_settings
53
+ # @return [::Google::Api::CppSettings]
54
+ # Settings for C++ client libraries.
55
+ # @!attribute [rw] php_settings
56
+ # @return [::Google::Api::PhpSettings]
57
+ # Settings for PHP client libraries.
58
+ # @!attribute [rw] python_settings
59
+ # @return [::Google::Api::PythonSettings]
60
+ # Settings for Python client libraries.
61
+ # @!attribute [rw] node_settings
62
+ # @return [::Google::Api::NodeSettings]
63
+ # Settings for Node client libraries.
64
+ # @!attribute [rw] dotnet_settings
65
+ # @return [::Google::Api::DotnetSettings]
66
+ # Settings for .NET client libraries.
67
+ # @!attribute [rw] ruby_settings
68
+ # @return [::Google::Api::RubySettings]
69
+ # Settings for Ruby client libraries.
70
+ # @!attribute [rw] go_settings
71
+ # @return [::Google::Api::GoSettings]
72
+ # Settings for Go client libraries.
73
+ class ClientLibrarySettings
74
+ include ::Google::Protobuf::MessageExts
75
+ extend ::Google::Protobuf::MessageExts::ClassMethods
76
+ end
77
+
78
+ # This message configures the settings for publishing [Google Cloud Client
79
+ # libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
80
+ # generated from the service config.
81
+ # @!attribute [rw] method_settings
82
+ # @return [::Array<::Google::Api::MethodSettings>]
83
+ # A list of API method settings, e.g. the behavior for methods that use the
84
+ # long-running operation pattern.
85
+ # @!attribute [rw] new_issue_uri
86
+ # @return [::String]
87
+ # Link to a *public* URI where users can report issues. Example:
88
+ # https://issuetracker.google.com/issues/new?component=190865&template=1161103
89
+ # @!attribute [rw] documentation_uri
90
+ # @return [::String]
91
+ # Link to product home page. Example:
92
+ # https://cloud.google.com/asset-inventory/docs/overview
93
+ # @!attribute [rw] api_short_name
94
+ # @return [::String]
95
+ # Used as a tracking tag when collecting data about the APIs developer
96
+ # relations artifacts like docs, packages delivered to package managers,
97
+ # etc. Example: "speech".
98
+ # @!attribute [rw] github_label
99
+ # @return [::String]
100
+ # GitHub label to apply to issues and pull requests opened for this API.
101
+ # @!attribute [rw] codeowner_github_teams
102
+ # @return [::Array<::String>]
103
+ # GitHub teams to be added to CODEOWNERS in the directory in GitHub
104
+ # containing source code for the client libraries for this API.
105
+ # @!attribute [rw] doc_tag_prefix
106
+ # @return [::String]
107
+ # A prefix used in sample code when demarking regions to be included in
108
+ # documentation.
109
+ # @!attribute [rw] organization
110
+ # @return [::Google::Api::ClientLibraryOrganization]
111
+ # For whom the client library is being published.
112
+ # @!attribute [rw] library_settings
113
+ # @return [::Array<::Google::Api::ClientLibrarySettings>]
114
+ # Client library settings. If the same version string appears multiple
115
+ # times in this list, then the last one wins. Settings from earlier
116
+ # settings with the same version string are discarded.
117
+ # @!attribute [rw] proto_reference_documentation_uri
118
+ # @return [::String]
119
+ # Optional link to proto reference documentation. Example:
120
+ # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ class Publishing
122
+ include ::Google::Protobuf::MessageExts
123
+ extend ::Google::Protobuf::MessageExts::ClassMethods
124
+ end
125
+
126
+ # Settings for Java client libraries.
127
+ # @!attribute [rw] library_package
128
+ # @return [::String]
129
+ # The package name to use in Java. Clobbers the java_package option
130
+ # set in the protobuf. This should be used **only** by APIs
131
+ # who have already set the language_settings.java.package_name" field
132
+ # in gapic.yaml. API teams should use the protobuf java_package option
133
+ # where possible.
134
+ #
135
+ # Example of a YAML configuration::
136
+ #
137
+ # publishing:
138
+ # java_settings:
139
+ # library_package: com.google.cloud.pubsub.v1
140
+ # @!attribute [rw] service_class_names
141
+ # @return [::Google::Protobuf::Map{::String => ::String}]
142
+ # Configure the Java class name to use instead of the service's for its
143
+ # corresponding generated GAPIC client. Keys are fully-qualified
144
+ # service names as they appear in the protobuf (including the full
145
+ # the language_settings.java.interface_names" field in gapic.yaml. API
146
+ # teams should otherwise use the service name as it appears in the
147
+ # protobuf.
148
+ #
149
+ # Example of a YAML configuration::
150
+ #
151
+ # publishing:
152
+ # java_settings:
153
+ # service_class_names:
154
+ # - google.pubsub.v1.Publisher: TopicAdmin
155
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
156
+ # @!attribute [rw] common
157
+ # @return [::Google::Api::CommonLanguageSettings]
158
+ # Some settings.
159
+ class JavaSettings
160
+ include ::Google::Protobuf::MessageExts
161
+ extend ::Google::Protobuf::MessageExts::ClassMethods
162
+
163
+ # @!attribute [rw] key
164
+ # @return [::String]
165
+ # @!attribute [rw] value
166
+ # @return [::String]
167
+ class ServiceClassNamesEntry
168
+ include ::Google::Protobuf::MessageExts
169
+ extend ::Google::Protobuf::MessageExts::ClassMethods
170
+ end
171
+ end
172
+
173
+ # Settings for C++ client libraries.
174
+ # @!attribute [rw] common
175
+ # @return [::Google::Api::CommonLanguageSettings]
176
+ # Some settings.
177
+ class CppSettings
178
+ include ::Google::Protobuf::MessageExts
179
+ extend ::Google::Protobuf::MessageExts::ClassMethods
180
+ end
181
+
182
+ # Settings for Php client libraries.
183
+ # @!attribute [rw] common
184
+ # @return [::Google::Api::CommonLanguageSettings]
185
+ # Some settings.
186
+ class PhpSettings
187
+ include ::Google::Protobuf::MessageExts
188
+ extend ::Google::Protobuf::MessageExts::ClassMethods
189
+ end
190
+
191
+ # Settings for Python client libraries.
192
+ # @!attribute [rw] common
193
+ # @return [::Google::Api::CommonLanguageSettings]
194
+ # Some settings.
195
+ class PythonSettings
196
+ include ::Google::Protobuf::MessageExts
197
+ extend ::Google::Protobuf::MessageExts::ClassMethods
198
+ end
199
+
200
+ # Settings for Node client libraries.
201
+ # @!attribute [rw] common
202
+ # @return [::Google::Api::CommonLanguageSettings]
203
+ # Some settings.
204
+ class NodeSettings
205
+ include ::Google::Protobuf::MessageExts
206
+ extend ::Google::Protobuf::MessageExts::ClassMethods
207
+ end
208
+
209
+ # Settings for Dotnet client libraries.
210
+ # @!attribute [rw] common
211
+ # @return [::Google::Api::CommonLanguageSettings]
212
+ # Some settings.
213
+ # @!attribute [rw] renamed_services
214
+ # @return [::Google::Protobuf::Map{::String => ::String}]
215
+ # Map from original service names to renamed versions.
216
+ # This is used when the default generated types
217
+ # would cause a naming conflict. (Neither name is
218
+ # fully-qualified.)
219
+ # Example: Subscriber to SubscriberServiceApi.
220
+ # @!attribute [rw] renamed_resources
221
+ # @return [::Google::Protobuf::Map{::String => ::String}]
222
+ # Map from full resource types to the effective short name
223
+ # for the resource. This is used when otherwise resource
224
+ # named from different services would cause naming collisions.
225
+ # Example entry:
226
+ # "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
227
+ # @!attribute [rw] ignored_resources
228
+ # @return [::Array<::String>]
229
+ # List of full resource types to ignore during generation.
230
+ # This is typically used for API-specific Location resources,
231
+ # which should be handled by the generator as if they were actually
232
+ # the common Location resources.
233
+ # Example entry: "documentai.googleapis.com/Location"
234
+ # @!attribute [rw] forced_namespace_aliases
235
+ # @return [::Array<::String>]
236
+ # Namespaces which must be aliased in snippets due to
237
+ # a known (but non-generator-predictable) naming collision
238
+ # @!attribute [rw] handwritten_signatures
239
+ # @return [::Array<::String>]
240
+ # Method signatures (in the form "service.method(signature)")
241
+ # which are provided separately, so shouldn't be generated.
242
+ # Snippets *calling* these methods are still generated, however.
243
+ class DotnetSettings
244
+ include ::Google::Protobuf::MessageExts
245
+ extend ::Google::Protobuf::MessageExts::ClassMethods
246
+
247
+ # @!attribute [rw] key
248
+ # @return [::String]
249
+ # @!attribute [rw] value
250
+ # @return [::String]
251
+ class RenamedServicesEntry
252
+ include ::Google::Protobuf::MessageExts
253
+ extend ::Google::Protobuf::MessageExts::ClassMethods
254
+ end
255
+
256
+ # @!attribute [rw] key
257
+ # @return [::String]
258
+ # @!attribute [rw] value
259
+ # @return [::String]
260
+ class RenamedResourcesEntry
261
+ include ::Google::Protobuf::MessageExts
262
+ extend ::Google::Protobuf::MessageExts::ClassMethods
263
+ end
264
+ end
265
+
266
+ # Settings for Ruby client libraries.
267
+ # @!attribute [rw] common
268
+ # @return [::Google::Api::CommonLanguageSettings]
269
+ # Some settings.
270
+ class RubySettings
271
+ include ::Google::Protobuf::MessageExts
272
+ extend ::Google::Protobuf::MessageExts::ClassMethods
273
+ end
274
+
275
+ # Settings for Go client libraries.
276
+ # @!attribute [rw] common
277
+ # @return [::Google::Api::CommonLanguageSettings]
278
+ # Some settings.
279
+ class GoSettings
280
+ include ::Google::Protobuf::MessageExts
281
+ extend ::Google::Protobuf::MessageExts::ClassMethods
282
+ end
283
+
284
+ # Describes the generator configuration for a method.
285
+ # @!attribute [rw] selector
286
+ # @return [::String]
287
+ # The fully qualified name of the method, for which the options below apply.
288
+ # This is used to find the method to apply the options.
289
+ # @!attribute [rw] long_running
290
+ # @return [::Google::Api::MethodSettings::LongRunning]
291
+ # Describes settings to use for long-running operations when generating
292
+ # API methods for RPCs. Complements RPCs that use the annotations in
293
+ # google/longrunning/operations.proto.
294
+ #
295
+ # Example of a YAML configuration::
296
+ #
297
+ # publishing:
298
+ # method_settings:
299
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
+ # long_running:
301
+ # initial_poll_delay:
302
+ # seconds: 60 # 1 minute
303
+ # poll_delay_multiplier: 1.5
304
+ # max_poll_delay:
305
+ # seconds: 360 # 6 minutes
306
+ # total_poll_timeout:
307
+ # seconds: 54000 # 90 minutes
308
+ # @!attribute [rw] auto_populated_fields
309
+ # @return [::Array<::String>]
310
+ # List of top-level fields of the request message, that should be
311
+ # automatically populated by the client libraries based on their
312
+ # (google.api.field_info).format. Currently supported format: UUID4.
313
+ #
314
+ # Example of a YAML configuration:
315
+ #
316
+ # publishing:
317
+ # method_settings:
318
+ # - selector: google.example.v1.ExampleService.CreateExample
319
+ # auto_populated_fields:
320
+ # - request_id
321
+ class MethodSettings
322
+ include ::Google::Protobuf::MessageExts
323
+ extend ::Google::Protobuf::MessageExts::ClassMethods
324
+
325
+ # Describes settings to use when generating API methods that use the
326
+ # long-running operation pattern.
327
+ # All default values below are from those used in the client library
328
+ # generators (e.g.
329
+ # [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
330
+ # @!attribute [rw] initial_poll_delay
331
+ # @return [::Google::Protobuf::Duration]
332
+ # Initial delay after which the first poll request will be made.
333
+ # Default value: 5 seconds.
334
+ # @!attribute [rw] poll_delay_multiplier
335
+ # @return [::Float]
336
+ # Multiplier to gradually increase delay between subsequent polls until it
337
+ # reaches max_poll_delay.
338
+ # Default value: 1.5.
339
+ # @!attribute [rw] max_poll_delay
340
+ # @return [::Google::Protobuf::Duration]
341
+ # Maximum time between two subsequent poll requests.
342
+ # Default value: 45 seconds.
343
+ # @!attribute [rw] total_poll_timeout
344
+ # @return [::Google::Protobuf::Duration]
345
+ # Total polling timeout.
346
+ # Default value: 5 minutes.
347
+ class LongRunning
348
+ include ::Google::Protobuf::MessageExts
349
+ extend ::Google::Protobuf::MessageExts::ClassMethods
350
+ end
351
+ end
352
+
353
+ # The organization for which the client libraries are being published.
354
+ # Affects the url where generated docs are published, etc.
355
+ module ClientLibraryOrganization
356
+ # Not useful.
357
+ CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0
358
+
359
+ # Google Cloud Platform Org.
360
+ CLOUD = 1
361
+
362
+ # Ads (Advertising) Org.
363
+ ADS = 2
364
+
365
+ # Photos Org.
366
+ PHOTOS = 3
367
+
368
+ # Street View Org.
369
+ STREET_VIEW = 4
370
+
371
+ # Shopping Org.
372
+ SHOPPING = 5
373
+
374
+ # Geo Org.
375
+ GEO = 6
376
+
377
+ # Generative AI - https://developers.generativeai.google
378
+ GENERATIVE_AI = 7
379
+ end
380
+
381
+ # To where should client libraries be published?
382
+ module ClientLibraryDestination
383
+ # Client libraries will neither be generated nor published to package
384
+ # managers.
385
+ CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0
386
+
387
+ # Generate the client library in a repo under github.com/googleapis,
388
+ # but don't publish it to package managers.
389
+ GITHUB = 10
390
+
391
+ # Publish the library to package managers like nuget.org and npmjs.com.
392
+ PACKAGE_MANAGER = 20
393
+ end
394
+ end
395
+ end