google-cloud-network_connectivity-v1alpha1 0.1.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.
Files changed (28) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +169 -0
  4. data/LICENSE.md +203 -0
  5. data/README.md +75 -0
  6. data/lib/google-cloud-network_connectivity-v1alpha1.rb +21 -0
  7. data/lib/google/cloud/network_connectivity/v1alpha1.rb +38 -0
  8. data/lib/google/cloud/network_connectivity/v1alpha1/hub_service.rb +52 -0
  9. data/lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb +1188 -0
  10. data/lib/google/cloud/network_connectivity/v1alpha1/hub_service/credentials.rb +51 -0
  11. data/lib/google/cloud/network_connectivity/v1alpha1/hub_service/operations.rb +570 -0
  12. data/lib/google/cloud/network_connectivity/v1alpha1/hub_service/paths.rb +143 -0
  13. data/lib/google/cloud/network_connectivity/v1alpha1/version.rb +28 -0
  14. data/lib/google/cloud/networkconnectivity/v1alpha1/common_pb.rb +31 -0
  15. data/lib/google/cloud/networkconnectivity/v1alpha1/hub_pb.rb +126 -0
  16. data/lib/google/cloud/networkconnectivity/v1alpha1/hub_services_pb.rb +65 -0
  17. data/proto_docs/README.md +4 -0
  18. data/proto_docs/google/api/field_behavior.rb +59 -0
  19. data/proto_docs/google/api/resource.rb +283 -0
  20. data/proto_docs/google/cloud/networkconnectivity/v1alpha1/common.rb +56 -0
  21. data/proto_docs/google/cloud/networkconnectivity/v1alpha1/hub.rb +393 -0
  22. data/proto_docs/google/longrunning/operations.rb +150 -0
  23. data/proto_docs/google/protobuf/any.rb +138 -0
  24. data/proto_docs/google/protobuf/empty.rb +36 -0
  25. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  26. data/proto_docs/google/protobuf/timestamp.rb +120 -0
  27. data/proto_docs/google/rpc/status.rb +46 -0
  28. metadata +210 -0
@@ -0,0 +1,143 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 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 Cloud
22
+ module NetworkConnectivity
23
+ module V1alpha1
24
+ module HubService
25
+ # Path helper methods for the HubService API.
26
+ module Paths
27
+ ##
28
+ # Create a fully-qualified Hub resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/locations/global/hubs/{hub}`
33
+ #
34
+ # @param project [String]
35
+ # @param hub [String]
36
+ #
37
+ # @return [::String]
38
+ def hub_path project:, hub:
39
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
40
+
41
+ "projects/#{project}/locations/global/hubs/#{hub}"
42
+ end
43
+
44
+ ##
45
+ # Create a fully-qualified Instance resource string.
46
+ #
47
+ # The resource will be in the following format:
48
+ #
49
+ # `projects/{project}/zones/{zone}/instances/{instance}`
50
+ #
51
+ # @param project [String]
52
+ # @param zone [String]
53
+ # @param instance [String]
54
+ #
55
+ # @return [::String]
56
+ def instance_path project:, zone:, instance:
57
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
58
+ raise ::ArgumentError, "zone cannot contain /" if zone.to_s.include? "/"
59
+
60
+ "projects/#{project}/zones/#{zone}/instances/#{instance}"
61
+ end
62
+
63
+ ##
64
+ # Create a fully-qualified InterconnectAttachment resource string.
65
+ #
66
+ # The resource will be in the following format:
67
+ #
68
+ # `projects/{project}/regions/{region}/interconnectAttachments/{resource_id}`
69
+ #
70
+ # @param project [String]
71
+ # @param region [String]
72
+ # @param resource_id [String]
73
+ #
74
+ # @return [::String]
75
+ def interconnect_attachment_path project:, region:, resource_id:
76
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
77
+ raise ::ArgumentError, "region cannot contain /" if region.to_s.include? "/"
78
+
79
+ "projects/#{project}/regions/#{region}/interconnectAttachments/#{resource_id}"
80
+ end
81
+
82
+ ##
83
+ # Create a fully-qualified Location resource string.
84
+ #
85
+ # The resource will be in the following format:
86
+ #
87
+ # `projects/{project}/locations/{location}`
88
+ #
89
+ # @param project [String]
90
+ # @param location [String]
91
+ #
92
+ # @return [::String]
93
+ def location_path project:, location:
94
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
95
+
96
+ "projects/#{project}/locations/#{location}"
97
+ end
98
+
99
+ ##
100
+ # Create a fully-qualified Spoke resource string.
101
+ #
102
+ # The resource will be in the following format:
103
+ #
104
+ # `projects/{project}/locations/{location}/spokes/{spoke}`
105
+ #
106
+ # @param project [String]
107
+ # @param location [String]
108
+ # @param spoke [String]
109
+ #
110
+ # @return [::String]
111
+ def spoke_path project:, location:, spoke:
112
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
113
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
114
+
115
+ "projects/#{project}/locations/#{location}/spokes/#{spoke}"
116
+ end
117
+
118
+ ##
119
+ # Create a fully-qualified VpnTunnel resource string.
120
+ #
121
+ # The resource will be in the following format:
122
+ #
123
+ # `projects/{project}/regions/{region}/vpnTunnels/{resource_id}`
124
+ #
125
+ # @param project [String]
126
+ # @param region [String]
127
+ # @param resource_id [String]
128
+ #
129
+ # @return [::String]
130
+ def vpn_tunnel_path project:, region:, resource_id:
131
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
132
+ raise ::ArgumentError, "region cannot contain /" if region.to_s.include? "/"
133
+
134
+ "projects/#{project}/regions/#{region}/vpnTunnels/#{resource_id}"
135
+ end
136
+
137
+ extend self
138
+ end
139
+ end
140
+ end
141
+ end
142
+ end
143
+ end
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 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 Cloud
22
+ module NetworkConnectivity
23
+ module V1alpha1
24
+ VERSION = "0.1.0"
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,31 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/networkconnectivity/v1alpha1/common.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/protobuf/timestamp_pb'
8
+ require 'google/api/annotations_pb'
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_file("google/cloud/networkconnectivity/v1alpha1/common.proto", :syntax => :proto3) do
11
+ add_message "google.cloud.networkconnectivity.v1alpha1.OperationMetadata" do
12
+ optional :create_time, :message, 1, "google.protobuf.Timestamp"
13
+ optional :end_time, :message, 2, "google.protobuf.Timestamp"
14
+ optional :target, :string, 3
15
+ optional :verb, :string, 4
16
+ optional :status_message, :string, 5
17
+ optional :requested_cancellation, :bool, 6
18
+ optional :api_version, :string, 7
19
+ end
20
+ end
21
+ end
22
+
23
+ module Google
24
+ module Cloud
25
+ module NetworkConnectivity
26
+ module V1alpha1
27
+ OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.OperationMetadata").msgclass
28
+ end
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,126 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/networkconnectivity/v1alpha1/hub.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/api/client_pb'
8
+ require 'google/api/field_behavior_pb'
9
+ require 'google/api/resource_pb'
10
+ require 'google/longrunning/operations_pb'
11
+ require 'google/protobuf/field_mask_pb'
12
+ require 'google/protobuf/timestamp_pb'
13
+ Google::Protobuf::DescriptorPool.generated_pool.build do
14
+ add_file("google/cloud/networkconnectivity/v1alpha1/hub.proto", :syntax => :proto3) do
15
+ add_message "google.cloud.networkconnectivity.v1alpha1.Hub" do
16
+ optional :name, :string, 1
17
+ optional :create_time, :message, 2, "google.protobuf.Timestamp"
18
+ optional :update_time, :message, 3, "google.protobuf.Timestamp"
19
+ map :labels, :string, :string, 4
20
+ optional :description, :string, 5
21
+ repeated :spokes, :string, 6
22
+ optional :unique_id, :string, 8
23
+ end
24
+ add_message "google.cloud.networkconnectivity.v1alpha1.Spoke" do
25
+ optional :name, :string, 1
26
+ optional :create_time, :message, 2, "google.protobuf.Timestamp"
27
+ optional :update_time, :message, 3, "google.protobuf.Timestamp"
28
+ map :labels, :string, :string, 4
29
+ optional :description, :string, 5
30
+ optional :hub, :string, 6
31
+ repeated :linked_vpn_tunnels, :string, 12
32
+ repeated :linked_interconnect_attachments, :string, 13
33
+ repeated :linked_router_appliance_instances, :message, 14, "google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance"
34
+ optional :unique_id, :string, 11
35
+ end
36
+ add_message "google.cloud.networkconnectivity.v1alpha1.ListHubsRequest" do
37
+ optional :parent, :string, 1
38
+ optional :page_size, :int32, 2
39
+ optional :page_token, :string, 3
40
+ optional :filter, :string, 4
41
+ optional :order_by, :string, 5
42
+ end
43
+ add_message "google.cloud.networkconnectivity.v1alpha1.ListHubsResponse" do
44
+ repeated :hubs, :message, 1, "google.cloud.networkconnectivity.v1alpha1.Hub"
45
+ optional :next_page_token, :string, 2
46
+ repeated :unreachable, :string, 3
47
+ end
48
+ add_message "google.cloud.networkconnectivity.v1alpha1.GetHubRequest" do
49
+ optional :name, :string, 1
50
+ end
51
+ add_message "google.cloud.networkconnectivity.v1alpha1.CreateHubRequest" do
52
+ optional :parent, :string, 1
53
+ optional :hub_id, :string, 2
54
+ optional :hub, :message, 3, "google.cloud.networkconnectivity.v1alpha1.Hub"
55
+ optional :request_id, :string, 4
56
+ end
57
+ add_message "google.cloud.networkconnectivity.v1alpha1.UpdateHubRequest" do
58
+ optional :update_mask, :message, 1, "google.protobuf.FieldMask"
59
+ optional :hub, :message, 2, "google.cloud.networkconnectivity.v1alpha1.Hub"
60
+ optional :request_id, :string, 3
61
+ end
62
+ add_message "google.cloud.networkconnectivity.v1alpha1.DeleteHubRequest" do
63
+ optional :name, :string, 1
64
+ optional :request_id, :string, 2
65
+ end
66
+ add_message "google.cloud.networkconnectivity.v1alpha1.ListSpokesRequest" do
67
+ optional :parent, :string, 1
68
+ optional :page_size, :int32, 2
69
+ optional :page_token, :string, 3
70
+ optional :filter, :string, 4
71
+ optional :order_by, :string, 5
72
+ end
73
+ add_message "google.cloud.networkconnectivity.v1alpha1.ListSpokesResponse" do
74
+ repeated :spokes, :message, 1, "google.cloud.networkconnectivity.v1alpha1.Spoke"
75
+ optional :next_page_token, :string, 2
76
+ repeated :unreachable, :string, 3
77
+ end
78
+ add_message "google.cloud.networkconnectivity.v1alpha1.GetSpokeRequest" do
79
+ optional :name, :string, 1
80
+ end
81
+ add_message "google.cloud.networkconnectivity.v1alpha1.CreateSpokeRequest" do
82
+ optional :parent, :string, 1
83
+ optional :spoke_id, :string, 2
84
+ optional :spoke, :message, 3, "google.cloud.networkconnectivity.v1alpha1.Spoke"
85
+ optional :request_id, :string, 4
86
+ end
87
+ add_message "google.cloud.networkconnectivity.v1alpha1.UpdateSpokeRequest" do
88
+ optional :update_mask, :message, 1, "google.protobuf.FieldMask"
89
+ optional :spoke, :message, 2, "google.cloud.networkconnectivity.v1alpha1.Spoke"
90
+ optional :request_id, :string, 3
91
+ end
92
+ add_message "google.cloud.networkconnectivity.v1alpha1.DeleteSpokeRequest" do
93
+ optional :name, :string, 1
94
+ optional :request_id, :string, 2
95
+ end
96
+ add_message "google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance" do
97
+ optional :virtual_machine, :string, 1
98
+ optional :ip_address, :string, 3
99
+ optional :network_interface, :string, 2
100
+ end
101
+ end
102
+ end
103
+
104
+ module Google
105
+ module Cloud
106
+ module NetworkConnectivity
107
+ module V1alpha1
108
+ Hub = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.Hub").msgclass
109
+ Spoke = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.Spoke").msgclass
110
+ ListHubsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.ListHubsRequest").msgclass
111
+ ListHubsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.ListHubsResponse").msgclass
112
+ GetHubRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.GetHubRequest").msgclass
113
+ CreateHubRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.CreateHubRequest").msgclass
114
+ UpdateHubRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.UpdateHubRequest").msgclass
115
+ DeleteHubRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.DeleteHubRequest").msgclass
116
+ ListSpokesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.ListSpokesRequest").msgclass
117
+ ListSpokesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.ListSpokesResponse").msgclass
118
+ GetSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.GetSpokeRequest").msgclass
119
+ CreateSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.CreateSpokeRequest").msgclass
120
+ UpdateSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.UpdateSpokeRequest").msgclass
121
+ DeleteSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.DeleteSpokeRequest").msgclass
122
+ RouterApplianceInstance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance").msgclass
123
+ end
124
+ end
125
+ end
126
+ end
@@ -0,0 +1,65 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/networkconnectivity/v1alpha1/hub.proto for package 'Google.Cloud.NetworkConnectivity.V1alpha1'
3
+ # Original file comments:
4
+ # Copyright 2020 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/networkconnectivity/v1alpha1/hub_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module NetworkConnectivity
25
+ module V1alpha1
26
+ module HubService
27
+ # Connectivity Hub is a hub-and-spoke abstraction for network connectivity
28
+ # management in Google Cloud. The Hub aims to reduce operational complexity
29
+ # through a simple, centralized connectivity management model.
30
+ class Service
31
+
32
+ include GRPC::GenericService
33
+
34
+ self.marshal_class_method = :encode
35
+ self.unmarshal_class_method = :decode
36
+ self.service_name = 'google.cloud.networkconnectivity.v1alpha1.HubService'
37
+
38
+ # Lists Hubs in a given project and location.
39
+ rpc :ListHubs, ::Google::Cloud::NetworkConnectivity::V1alpha1::ListHubsRequest, ::Google::Cloud::NetworkConnectivity::V1alpha1::ListHubsResponse
40
+ # Gets details of a single Hub.
41
+ rpc :GetHub, ::Google::Cloud::NetworkConnectivity::V1alpha1::GetHubRequest, ::Google::Cloud::NetworkConnectivity::V1alpha1::Hub
42
+ # Creates a new Hub in a given project and location.
43
+ rpc :CreateHub, ::Google::Cloud::NetworkConnectivity::V1alpha1::CreateHubRequest, ::Google::Longrunning::Operation
44
+ # Updates the parameters of a single Hub.
45
+ rpc :UpdateHub, ::Google::Cloud::NetworkConnectivity::V1alpha1::UpdateHubRequest, ::Google::Longrunning::Operation
46
+ # Deletes a single Hub.
47
+ rpc :DeleteHub, ::Google::Cloud::NetworkConnectivity::V1alpha1::DeleteHubRequest, ::Google::Longrunning::Operation
48
+ # Lists Spokes in a given project and location.
49
+ rpc :ListSpokes, ::Google::Cloud::NetworkConnectivity::V1alpha1::ListSpokesRequest, ::Google::Cloud::NetworkConnectivity::V1alpha1::ListSpokesResponse
50
+ # Gets details of a single Spoke.
51
+ rpc :GetSpoke, ::Google::Cloud::NetworkConnectivity::V1alpha1::GetSpokeRequest, ::Google::Cloud::NetworkConnectivity::V1alpha1::Spoke
52
+ # Creates a new Spoke in a given project and location.
53
+ rpc :CreateSpoke, ::Google::Cloud::NetworkConnectivity::V1alpha1::CreateSpokeRequest, ::Google::Longrunning::Operation
54
+ # Updates the parameters of a single Spoke.
55
+ rpc :UpdateSpoke, ::Google::Cloud::NetworkConnectivity::V1alpha1::UpdateSpokeRequest, ::Google::Longrunning::Operation
56
+ # Deletes a single Spoke.
57
+ rpc :DeleteSpoke, ::Google::Cloud::NetworkConnectivity::V1alpha1::DeleteSpokeRequest, ::Google::Longrunning::Operation
58
+ end
59
+
60
+ Stub = Service.rpc_stub_class
61
+ end
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,4 @@
1
+ # Network Connectivity V1alpha1 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,59 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 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
+ # An indicator of the behavior of a given field (for example, that a field
23
+ # is required in requests, or given as output but ignored as input).
24
+ # This **does not** change the behavior in protocol buffers itself; it only
25
+ # denotes the behavior and may affect how API tooling handles the field.
26
+ #
27
+ # Note: This enum **may** receive new values in the future.
28
+ module FieldBehavior
29
+ # Conventional default for enums. Do not use this.
30
+ FIELD_BEHAVIOR_UNSPECIFIED = 0
31
+
32
+ # Specifically denotes a field as optional.
33
+ # While all fields in protocol buffers are optional, this may be specified
34
+ # for emphasis if appropriate.
35
+ OPTIONAL = 1
36
+
37
+ # Denotes a field as required.
38
+ # This indicates that the field **must** be provided as part of the request,
39
+ # and failure to do so will cause an error (usually `INVALID_ARGUMENT`).
40
+ REQUIRED = 2
41
+
42
+ # Denotes a field as output only.
43
+ # This indicates that the field is provided in responses, but including the
44
+ # field in a request does nothing (the server *must* ignore it and
45
+ # *must not* throw an error as a result of the field's presence).
46
+ OUTPUT_ONLY = 3
47
+
48
+ # Denotes a field as input only.
49
+ # This indicates that the field is provided in requests, and the
50
+ # corresponding field is not included in output.
51
+ INPUT_ONLY = 4
52
+
53
+ # Denotes a field as immutable.
54
+ # This indicates that the field may be set once in a request to create a
55
+ # resource, but may not be changed thereafter.
56
+ IMMUTABLE = 5
57
+ end
58
+ end
59
+ end