google-cloud-network_connectivity-v1alpha1 0.14.1 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 572821df25319bc52d4ab9ece5e246f87c71adf7b14496e0f2e09ef11b422141
4
- data.tar.gz: e732e74fa2154b3818e192273ac621e1fbad89d5c91066c917c7085b572a0b95
3
+ metadata.gz: 9f07411f81d0037bdc582610c02749e3790f9038cb81823174b239e65f5af504
4
+ data.tar.gz: 432290fab947a34fd84c7a7469ca3e66162e91684047c4f8523a4b3737f08ab7
5
5
  SHA512:
6
- metadata.gz: acac5e6a6012dbea4d543c9ef3bfd5e6c54b65e7e928131a47f3fdcbe4a7aec57f43654c8c5e1fc10cd905d4063eec6ae9c8799a83c389fe51643d44c5e2b5a9
7
- data.tar.gz: d37dd2d5fba8270d820cd4e5096c1744571a8eab94ef4c17cb5fe8fbace0bad0e4b2aaa57f549c300189ca9706cad6e14b638c45487f731f9480949b54867b55
6
+ metadata.gz: b3e4c1729daf2e6b77ea3c9c857922fb0984f042fa53edb70fe275aa36b8745221e0ef27c3b3ac15bc9f8dfe17158811bcc76a0bbff729d8fb6860ff523e0377
7
+ data.tar.gz: 5818d87ed2c2b4a77a7bb60868dfbfb58fd5c60a821f0318e70078aaddc0daf73efe77a06ee7c069c97d34e7db255bd82a341aedac156ac723e920b6afbe236d
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module NetworkConnectivity
23
23
  module V1alpha1
24
- VERSION = "0.14.1"
24
+ VERSION = "0.15.0"
25
25
  end
26
26
  end
27
27
  end
@@ -10,30 +10,8 @@ require 'google/protobuf/timestamp_pb'
10
10
 
11
11
  descriptor_data = "\n6google/cloud/networkconnectivity/v1alpha1/common.proto\x12)google.cloud.networkconnectivity.v1alpha1\x1a\x1fgoogle/api/field_behavior.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\x42\xa6\x02\n-com.google.cloud.networkconnectivity.v1alpha1B\x0b\x43ommonProtoP\x01Z_cloud.google.com/go/networkconnectivity/apiv1alpha1/networkconnectivitypb;networkconnectivitypb\xaa\x02)Google.Cloud.NetworkConnectivity.V1Alpha1\xca\x02)Google\\Cloud\\NetworkConnectivity\\V1alpha1\xea\x02,Google::Cloud::NetworkConnectivity::V1alpha1b\x06proto3"
12
12
 
13
- pool = Google::Protobuf::DescriptorPool.generated_pool
14
-
15
- begin
16
- pool.add_serialized_file(descriptor_data)
17
- rescue TypeError
18
- # Compatibility code: will be removed in the next major version.
19
- require 'google/protobuf/descriptor_pb'
20
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
- parsed.clear_dependency
22
- serialized = parsed.class.encode(parsed)
23
- file = pool.add_serialized_file(serialized)
24
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
- imports = [
26
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
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
13
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
37
15
 
38
16
  module Google
39
17
  module Cloud
@@ -15,31 +15,8 @@ require 'google/protobuf/timestamp_pb'
15
15
 
16
16
  descriptor_data = "\n3google/cloud/networkconnectivity/v1alpha1/hub.proto\x12)google.cloud.networkconnectivity.v1alpha1\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 google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x87\x04\n\x03Hub\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12J\n\x06labels\x18\x04 \x03(\x0b\x32:.google.cloud.networkconnectivity.v1alpha1.Hub.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12@\n\x06spokes\x18\x06 \x03(\tB0\xe0\x41\x03\xfa\x41*\n(networkconnectivity.googleapis.com/Spoke\x12\x16\n\tunique_id\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x44\n\x05state\x18\t \x01(\x0e\x32\x30.google.cloud.networkconnectivity.v1alpha1.StateB\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:[\xea\x41X\n&networkconnectivity.googleapis.com/Hub\x12.projects/{project}/locations/global/hubs/{hub}\"\x9c\x06\n\x05Spoke\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12L\n\x06labels\x18\x04 \x03(\x0b\x32<.google.cloud.networkconnectivity.v1alpha1.Spoke.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x38\n\x03hub\x18\x06 \x01(\tB+\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\x12\x41\n\x12linked_vpn_tunnels\x18\x0c \x03(\tB%\xfa\x41\"\n compute.googleapis.com/VpnTunnel\x12[\n\x1flinked_interconnect_attachments\x18\r \x03(\tB2\xfa\x41/\n-compute.googleapis.com/InterconnectAttachment\x12m\n!linked_router_appliance_instances\x18\x0e \x03(\x0b\x32\x42.google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance\x12\x16\n\tunique_id\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x44\n\x05state\x18\x0f \x01(\x0e\x32\x30.google.cloud.networkconnectivity.v1alpha1.StateB\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:e\xea\x41\x62\n(networkconnectivity.googleapis.com/Spoke\x12\x36projects/{project}/locations/{location}/spokes/{spoke}\"\x95\x01\n\x0fListHubsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\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\x10ListHubsResponse\x12<\n\x04hubs\x18\x01 \x03(\x0b\x32..google.cloud.networkconnectivity.v1alpha1.Hub\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"M\n\rGetHubRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\"\xbd\x01\n\x10\x43reateHubRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x13\n\x06hub_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12@\n\x03hub\x18\x03 \x01(\x0b\x32..google.cloud.networkconnectivity.v1alpha1.HubB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa3\x01\n\x10UpdateHubRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12@\n\x03hub\x18\x02 \x01(\x0b\x32..google.cloud.networkconnectivity.v1alpha1.HubB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"i\n\x10\x44\x65leteHubRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x97\x01\n\x11ListSpokesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\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\"\x84\x01\n\x12ListSpokesResponse\x12@\n\x06spokes\x18\x01 \x03(\x0b\x32\x30.google.cloud.networkconnectivity.v1alpha1.Spoke\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Q\n\x0fGetSpokeRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(networkconnectivity.googleapis.com/Spoke\"\xc5\x01\n\x12\x43reateSpokeRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x15\n\x08spoke_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x05spoke\x18\x03 \x01(\x0b\x32\x30.google.cloud.networkconnectivity.v1alpha1.SpokeB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa9\x01\n\x12UpdateSpokeRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x44\n\x05spoke\x18\x02 \x01(\x0b\x32\x30.google.cloud.networkconnectivity.v1alpha1.SpokeB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"m\n\x12\x44\x65leteSpokeRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(networkconnectivity.googleapis.com/Spoke\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x8b\x01\n\x17RouterApplianceInstance\x12=\n\x0fvirtual_machine\x18\x01 \x01(\tB$\xfa\x41!\n\x1f\x63ompute.googleapis.com/Instance\x12\x12\n\nip_address\x18\x03 \x01(\t\x12\x1d\n\x11network_interface\x18\x02 \x01(\tB\x02\x18\x01*F\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\x0c\n\x08\x44\x45LETING\x10\x03\x32\xad\x11\n\nHubService\x12\xc9\x01\n\x08ListHubs\x12:.google.cloud.networkconnectivity.v1alpha1.ListHubsRequest\x1a;.google.cloud.networkconnectivity.v1alpha1.ListHubsResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1alpha1/{parent=projects/*/locations/global}/hubs\x12\xb6\x01\n\x06GetHub\x12\x38.google.cloud.networkconnectivity.v1alpha1.GetHubRequest\x1a..google.cloud.networkconnectivity.v1alpha1.Hub\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1alpha1/{name=projects/*/locations/global/hubs/*}\x12\xd8\x01\n\tCreateHub\x12;.google.cloud.networkconnectivity.v1alpha1.CreateHubRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41\x18\n\x03Hub\x12\x11OperationMetadata\xda\x41\x11parent,hub,hub_id\x82\xd3\xe4\x93\x02:\"3/v1alpha1/{parent=projects/*/locations/global}/hubs:\x03hub\x12\xda\x01\n\tUpdateHub\x12;.google.cloud.networkconnectivity.v1alpha1.UpdateHubRequest\x1a\x1d.google.longrunning.Operation\"q\xca\x41\x18\n\x03Hub\x12\x11OperationMetadata\xda\x41\x0fhub,update_mask\x82\xd3\xe4\x93\x02>27/v1alpha1/{hub.name=projects/*/locations/global/hubs/*}:\x03hub\x12\xd8\x01\n\tDeleteHub\x12;.google.cloud.networkconnectivity.v1alpha1.DeleteHubRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1alpha1/{name=projects/*/locations/global/hubs/*}\x12\xcc\x01\n\nListSpokes\x12<.google.cloud.networkconnectivity.v1alpha1.ListSpokesRequest\x1a=.google.cloud.networkconnectivity.v1alpha1.ListSpokesResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1alpha1/{parent=projects/*/locations/*}/spokes\x12\xb9\x01\n\x08GetSpoke\x12:.google.cloud.networkconnectivity.v1alpha1.GetSpokeRequest\x1a\x30.google.cloud.networkconnectivity.v1alpha1.Spoke\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1alpha1/{name=projects/*/locations/*/spokes/*}\x12\xe1\x01\n\x0b\x43reateSpoke\x12=.google.cloud.networkconnectivity.v1alpha1.CreateSpokeRequest\x1a\x1d.google.longrunning.Operation\"t\xca\x41\x1a\n\x05Spoke\x12\x11OperationMetadata\xda\x41\x15parent,spoke,spoke_id\x82\xd3\xe4\x93\x02\x39\"0/v1alpha1/{parent=projects/*/locations/*}/spokes:\x05spoke\x12\xe3\x01\n\x0bUpdateSpoke\x12=.google.cloud.networkconnectivity.v1alpha1.UpdateSpokeRequest\x1a\x1d.google.longrunning.Operation\"v\xca\x41\x1a\n\x05Spoke\x12\x11OperationMetadata\xda\x41\x11spoke,update_mask\x82\xd3\xe4\x93\x02?26/v1alpha1/{spoke.name=projects/*/locations/*/spokes/*}:\x05spoke\x12\xd9\x01\n\x0b\x44\x65leteSpoke\x12=.google.cloud.networkconnectivity.v1alpha1.DeleteSpokeRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1alpha1/{name=projects/*/locations/*/spokes/*}\x1aV\xca\x41\"networkconnectivity.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xdd\x04\n-com.google.cloud.networkconnectivity.v1alpha1B\x08HubProtoP\x01Z_cloud.google.com/go/networkconnectivity/apiv1alpha1/networkconnectivitypb;networkconnectivitypb\xaa\x02)Google.Cloud.NetworkConnectivity.V1Alpha1\xca\x02)Google\\Cloud\\NetworkConnectivity\\V1alpha1\xea\x02,Google::Cloud::NetworkConnectivity::V1alpha1\xea\x41`\n compute.googleapis.com/VpnTunnel\x12<projects/{project}/regions/{region}/vpnTunnels/{resource_id}\xea\x41z\n-compute.googleapis.com/InterconnectAttachment\x12Iprojects/{project}/regions/{region}/interconnectAttachments/{resource_id}\xea\x41W\n\x1f\x63ompute.googleapis.com/Instance\x12\x34projects/{project}/zones/{zone}/instances/{instance}b\x06proto3"
17
17
 
18
- pool = Google::Protobuf::DescriptorPool.generated_pool
19
-
20
- begin
21
- pool.add_serialized_file(descriptor_data)
22
- rescue TypeError
23
- # Compatibility code: will be removed in the next major version.
24
- require 'google/protobuf/descriptor_pb'
25
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
26
- parsed.clear_dependency
27
- serialized = parsed.class.encode(parsed)
28
- file = pool.add_serialized_file(serialized)
29
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
30
- imports = [
31
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
32
- ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
33
- ]
34
- imports.each do |type_name, expected_filename|
35
- import_file = pool.lookup(type_name).file_descriptor
36
- if import_file.name != expected_filename
37
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
38
- end
39
- end
40
- warn "Each proto file must use a consistent fully-qualified name."
41
- warn "This will become an error in the next major version."
42
- end
18
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
19
+ pool.add_serialized_file(descriptor_data)
43
20
 
44
21
  module Google
45
22
  module Cloud
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-network_connectivity-v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.1
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -88,7 +88,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - ">="
90
90
  - !ruby/object:Gem::Version
91
- version: '3.1'
91
+ version: '3.2'
92
92
  required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ">="