google-cloud-license_manager-v1 0.a → 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 (37) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +154 -8
  5. data/lib/google/cloud/license_manager/v1/bindings_override.rb +75 -0
  6. data/lib/google/cloud/license_manager/v1/license_manager/client.rb +1831 -0
  7. data/lib/google/cloud/license_manager/v1/license_manager/credentials.rb +47 -0
  8. data/lib/google/cloud/license_manager/v1/license_manager/operations.rb +813 -0
  9. data/lib/google/cloud/license_manager/v1/license_manager/paths.rb +107 -0
  10. data/lib/google/cloud/license_manager/v1/license_manager/rest/client.rb +1722 -0
  11. data/lib/google/cloud/license_manager/v1/license_manager/rest/operations.rb +914 -0
  12. data/lib/google/cloud/license_manager/v1/license_manager/rest/service_stub.rb +878 -0
  13. data/lib/google/cloud/license_manager/v1/license_manager/rest.rb +54 -0
  14. data/lib/google/cloud/license_manager/v1/license_manager.rb +56 -0
  15. data/lib/google/cloud/license_manager/v1/rest.rb +38 -0
  16. data/lib/google/cloud/license_manager/v1/version.rb +7 -2
  17. data/lib/google/cloud/license_manager/v1.rb +45 -0
  18. data/lib/google/cloud/licensemanager/v1/api_entities_pb.rb +58 -0
  19. data/lib/google/cloud/licensemanager/v1/licensemanager_pb.rb +74 -0
  20. data/lib/google/cloud/licensemanager/v1/licensemanager_services_pb.rb +69 -0
  21. data/lib/google-cloud-license_manager-v1.rb +21 -0
  22. data/proto_docs/README.md +4 -0
  23. data/proto_docs/google/api/client.rb +473 -0
  24. data/proto_docs/google/api/field_behavior.rb +85 -0
  25. data/proto_docs/google/api/field_info.rb +88 -0
  26. data/proto_docs/google/api/launch_stage.rb +71 -0
  27. data/proto_docs/google/api/resource.rb +227 -0
  28. data/proto_docs/google/cloud/licensemanager/v1/api_entities.rb +297 -0
  29. data/proto_docs/google/cloud/licensemanager/v1/licensemanager.rb +400 -0
  30. data/proto_docs/google/longrunning/operations.rb +173 -0
  31. data/proto_docs/google/protobuf/any.rb +145 -0
  32. data/proto_docs/google/protobuf/duration.rb +98 -0
  33. data/proto_docs/google/protobuf/empty.rb +34 -0
  34. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  35. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  36. data/proto_docs/google/rpc/status.rb +48 -0
  37. metadata +84 -9
@@ -0,0 +1,54 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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
+ require "gapic/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/license_manager/v1/version"
24
+ require "google/cloud/license_manager/v1/bindings_override"
25
+
26
+ require "google/cloud/license_manager/v1/license_manager/credentials"
27
+ require "google/cloud/license_manager/v1/license_manager/paths"
28
+ require "google/cloud/license_manager/v1/license_manager/rest/operations"
29
+ require "google/cloud/license_manager/v1/license_manager/rest/client"
30
+
31
+ module Google
32
+ module Cloud
33
+ module LicenseManager
34
+ module V1
35
+ ##
36
+ # Service describing handlers for resources
37
+ #
38
+ # To load this service and instantiate a REST client:
39
+ #
40
+ # require "google/cloud/license_manager/v1/license_manager/rest"
41
+ # client = ::Google::Cloud::LicenseManager::V1::LicenseManager::Rest::Client.new
42
+ #
43
+ module LicenseManager
44
+ # Client for the REST transport
45
+ module Rest
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+
53
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
54
+ require "google/cloud/license_manager/v1/license_manager/rest/helpers" if ::File.file? helper_path
@@ -0,0 +1,56 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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
+ require "gapic/common"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/license_manager/v1/version"
24
+
25
+ require "google/cloud/license_manager/v1/license_manager/credentials"
26
+ require "google/cloud/license_manager/v1/license_manager/paths"
27
+ require "google/cloud/license_manager/v1/license_manager/operations"
28
+ require "google/cloud/license_manager/v1/license_manager/client"
29
+ require "google/cloud/license_manager/v1/license_manager/rest"
30
+
31
+ module Google
32
+ module Cloud
33
+ module LicenseManager
34
+ module V1
35
+ ##
36
+ # Service describing handlers for resources
37
+ #
38
+ # @example Load this service and instantiate a gRPC client
39
+ #
40
+ # require "google/cloud/license_manager/v1/license_manager"
41
+ # client = ::Google::Cloud::LicenseManager::V1::LicenseManager::Client.new
42
+ #
43
+ # @example Load this service and instantiate a REST client
44
+ #
45
+ # require "google/cloud/license_manager/v1/license_manager/rest"
46
+ # client = ::Google::Cloud::LicenseManager::V1::LicenseManager::Rest::Client.new
47
+ #
48
+ module LicenseManager
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
54
+
55
+ helper_path = ::File.join __dir__, "license_manager", "helpers.rb"
56
+ require "google/cloud/license_manager/v1/license_manager/helpers" if ::File.file? helper_path
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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
+ require "google/cloud/license_manager/v1/license_manager/rest"
20
+ require "google/cloud/license_manager/v1/bindings_override"
21
+ require "google/cloud/license_manager/v1/version"
22
+
23
+ module Google
24
+ module Cloud
25
+ module LicenseManager
26
+ ##
27
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
28
+ #
29
+ # @example
30
+ #
31
+ # require "google/cloud/license_manager/v1/rest"
32
+ # client = ::Google::Cloud::LicenseManager::V1::LicenseManager::Rest::Client.new
33
+ #
34
+ module V1
35
+ end
36
+ end
37
+ end
38
+ end
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright 2025 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
4
6
  # you may not use this file except in compliance with the License.
5
7
  # You may obtain a copy of the License at
6
8
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
9
+ # https://www.apache.org/licenses/LICENSE-2.0
8
10
  #
9
11
  # Unless required by applicable law or agreed to in writing, software
10
12
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -12,11 +14,14 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
15
20
  module Google
16
21
  module Cloud
17
22
  module LicenseManager
18
23
  module V1
19
- VERSION = "0.a"
24
+ VERSION = "0.1.0"
20
25
  end
21
26
  end
22
27
  end
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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
+ require "google/cloud/license_manager/v1/license_manager"
20
+ require "google/cloud/license_manager/v1/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module LicenseManager
25
+ ##
26
+ # API client module.
27
+ #
28
+ # @example Load this package, including all its services, and instantiate a gRPC client
29
+ #
30
+ # require "google/cloud/license_manager/v1"
31
+ # client = ::Google::Cloud::LicenseManager::V1::LicenseManager::Client.new
32
+ #
33
+ # @example Load this package, including all its services, and instantiate a REST client
34
+ #
35
+ # require "google/cloud/license_manager/v1"
36
+ # client = ::Google::Cloud::LicenseManager::V1::LicenseManager::Rest::Client.new
37
+ #
38
+ module V1
39
+ end
40
+ end
41
+ end
42
+ end
43
+
44
+ helper_path = ::File.join __dir__, "v1", "_helpers.rb"
45
+ require "google/cloud/license_manager/v1/_helpers" if ::File.file? helper_path
@@ -0,0 +1,58 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/licensemanager/v1/api_entities.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 = "\n1google/cloud/licensemanager/v1/api_entities.proto\x12\x1egoogle.cloud.licensemanager.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8b\x07\n\rConfiguration\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12>\n\x07product\x18\x06 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%licensemanager.googleapis.com/Product\x12\x46\n\x0clicense_type\x18\x07 \x01(\x0e\x32+.google.cloud.licensemanager.v1.LicenseTypeB\x03\xe0\x41\x02\x12N\n\x14\x63urrent_billing_info\x18\x08 \x01(\x0b\x32+.google.cloud.licensemanager.v1.BillingInfoB\x03\xe0\x41\x02\x12K\n\x11next_billing_info\x18\t \x01(\x0b\x32+.google.cloud.licensemanager.v1.BillingInfoB\x03\xe0\x41\x02\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\x12N\n\x06labels\x18\x04 \x03(\x0b\x32\x39.google.cloud.licensemanager.v1.Configuration.LabelsEntryB\x03\xe0\x41\x01\x12G\n\x05state\x18\n \x01(\x0e\x32\x33.google.cloud.licensemanager.v1.Configuration.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\"X\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATE_ACTIVE\x10\x01\x12\x13\n\x0fSTATE_SUSPENDED\x10\x02\x12\x11\n\rSTATE_DELETED\x10\x03:\x98\x01\xea\x41\x94\x01\n+licensemanager.googleapis.com/Configuration\x12\x46projects/{project}/locations/{location}/configurations/{configuration}*\x0e\x63onfigurations2\rconfiguration\"\xe6\x01\n\x0b\x42illingInfo\x12W\n\x12user_count_billing\x18\x01 \x01(\x0b\x32\x34.google.cloud.licensemanager.v1.UserCountBillingInfoB\x03\xe0\x41\x02H\x00\x12\x33\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x42\x16\n\x14\x63urrent_billing_info\"/\n\x14UserCountBillingInfo\x12\x17\n\nuser_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\"0\n\x0eUserCountUsage\x12\x1e\n\x11unique_user_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\"\xcd\x03\n\x07Product\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x14\n\x07version\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0fproduct_company\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x05state\x18\x04 \x01(\x0e\x32-.google.cloud.licensemanager.v1.Product.StateB\x03\xe0\x41\x03\x12\x10\n\x03sku\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x64isplay_name\x18\x07 \x01(\tB\x03\xe0\x41\x02\"v\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x16\n\x12STATE_PROVISIONING\x10\x01\x12\x11\n\rSTATE_RUNNING\x10\x02\x12\x15\n\x11STATE_TERMINATING\x10\x03\x12\x14\n\x10STATE_TERMINATED\x10\x04:y\xea\x41v\n%licensemanager.googleapis.com/Product\x12:projects/{project}/locations/{location}/products/{product}*\x08products2\x07product\"\x9b\x07\n\x08Instance\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\x12I\n\x06labels\x18\x04 \x03(\x0b\x32\x34.google.cloud.licensemanager.v1.Instance.LabelsEntryB\x03\xe0\x41\x01\x12\x42\n\x05state\x18\x05 \x01(\x0e\x32..google.cloud.licensemanager.v1.Instance.StateB\x03\xe0\x41\x03\x12\x13\n\x06region\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12`\n\x12product_activation\x18\x07 \x03(\x0b\x32?.google.cloud.licensemanager.v1.Instance.ProductActivationEntryB\x03\xe0\x41\x03\x12\x1f\n\x12license_version_id\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12H\n\x10\x63ompute_instance\x18\t \x01(\tB.\xe0\x41\x02\xfa\x41(\n&compute.googleapis.com/ComputeInstance\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1ai\n\x16ProductActivationEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0e\x32/.google.cloud.licensemanager.v1.ActivationState:\x02\x38\x01\"\x84\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07STAGING\x10\x02\x12\x0b\n\x07RUNNING\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\x0b\n\x07STOPPED\x10\x05\x12\x0e\n\nTERMINATED\x10\x06\x12\r\n\tREPAIRING\x10\x07:~\xea\x41{\n&licensemanager.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}*\tinstances2\x08instance\"Z\n\x05Usage\x12\x42\n\rlima_instance\x18\x01 \x01(\tB+\xfa\x41(\n&licensemanager.googleapis.com/Instance\x12\r\n\x05users\x18\x02 \x01(\x05*y\n\x0bLicenseType\x12\x1c\n\x18LICENSE_TYPE_UNSPECIFIED\x10\x00\x12#\n\x1fLICENSE_TYPE_PER_MONTH_PER_USER\x10\x01\x12\'\n#LICENSE_TYPE_BRING_YOUR_OWN_LICENSE\x10\x02*\xfe\x01\n\x0f\x41\x63tivationState\x12 \n\x1c\x41\x43TIVATION_STATE_UNSPECIFIED\x10\x00\x12\"\n\x1e\x41\x43TIVATION_STATE_KEY_REQUESTED\x10\x01\x12\x1f\n\x1b\x41\x43TIVATION_STATE_ACTIVATING\x10\x02\x12\x1e\n\x1a\x41\x43TIVATION_STATE_ACTIVATED\x10\x03\x12!\n\x1d\x41\x43TIVATION_STATE_DEACTIVATING\x10\x04\x12 \n\x1c\x41\x43TIVATION_STATE_DEACTIVATED\x10\x05\x12\x1f\n\x1b\x41\x43TIVATION_STATE_TERMINATED\x10\x06\x42\xea\x01\n\"com.google.cloud.licensemanager.v1B\x10\x41piEntitiesProtoP\x01ZJcloud.google.com/go/licensemanager/apiv1/licensemanagerpb;licensemanagerpb\xaa\x02\x1eGoogle.Cloud.LicenseManager.V1\xca\x02\x1eGoogle\\Cloud\\LicenseManager\\V1\xea\x02!Google::Cloud::LicenseManager::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
+ ["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 LicenseManager
42
+ module V1
43
+ Configuration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.Configuration").msgclass
44
+ Configuration::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.Configuration.State").enummodule
45
+ BillingInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.BillingInfo").msgclass
46
+ UserCountBillingInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.UserCountBillingInfo").msgclass
47
+ UserCountUsage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.UserCountUsage").msgclass
48
+ Product = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.Product").msgclass
49
+ Product::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.Product.State").enummodule
50
+ Instance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.Instance").msgclass
51
+ Instance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.Instance.State").enummodule
52
+ Usage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.Usage").msgclass
53
+ LicenseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.LicenseType").enummodule
54
+ ActivationState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.ActivationState").enummodule
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,74 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/licensemanager/v1/licensemanager.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/field_info_pb'
11
+ require 'google/api/resource_pb'
12
+ require 'google/cloud/licensemanager/v1/api_entities_pb'
13
+ require 'google/longrunning/operations_pb'
14
+ require 'google/protobuf/empty_pb'
15
+ require 'google/protobuf/field_mask_pb'
16
+ require 'google/protobuf/timestamp_pb'
17
+
18
+
19
+ descriptor_data = "\n3google/cloud/licensemanager/v1/licensemanager.proto\x12\x1egoogle.cloud.licensemanager.v1\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\x31google/cloud/licensemanager/v1/api_entities.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbd\x01\n\x19ListConfigurationsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+licensemanager.googleapis.com/Configuration\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\"\x91\x01\n\x1aListConfigurationsResponse\x12\x45\n\x0e\x63onfigurations\x18\x01 \x03(\x0b\x32-.google.cloud.licensemanager.v1.Configuration\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\\\n\x17GetConfigurationRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+licensemanager.googleapis.com/Configuration\"\xec\x01\n\x1a\x43reateConfigurationRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+licensemanager.googleapis.com/Configuration\x12\x1d\n\x10\x63onfiguration_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12I\n\rconfiguration\x18\x03 \x01(\x0b\x32-.google.cloud.licensemanager.v1.ConfigurationB\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\"\xbe\x01\n\x1aUpdateConfigurationRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12I\n\rconfiguration\x18\x02 \x01(\x0b\x32-.google.cloud.licensemanager.v1.ConfigurationB\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\"\x80\x01\n\x1a\x44\x65leteConfigurationRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+licensemanager.googleapis.com/Configuration\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xb3\x01\n\x14ListInstancesRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&licensemanager.googleapis.com/Instance\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\x15ListInstancesResponse\x12;\n\tinstances\x18\x01 \x03(\x0b\x32(.google.cloud.licensemanager.v1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"R\n\x12GetInstanceRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&licensemanager.googleapis.com/Instance\"\xd2\x01\n%QueryConfigurationLicenseUsageRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+licensemanager.googleapis.com/Configuration\x12\x33\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"\x7f\n&QueryConfigurationLicenseUsageResponse\x12J\n\x10user_count_usage\x18\x01 \x01(\x0b\x32..google.cloud.licensemanager.v1.UserCountUsageH\x00\x42\t\n\x07\x64\x65tails\"\x84\x01\n\x1e\x44\x65\x61\x63tivateConfigurationRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+licensemanager.googleapis.com/Configuration\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x84\x01\n\x1eReactivateConfigurationRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+licensemanager.googleapis.com/Configuration\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x9f\x02\n\x15\x41ggregateUsageRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+licensemanager.googleapis.com/Configuration\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\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x33\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x31\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"}\n\x16\x41ggregateUsageResponse\x12\x35\n\x06usages\x18\x01 \x03(\x0b\x32%.google.cloud.licensemanager.v1.Usage\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xb1\x01\n\x13ListProductsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%licensemanager.googleapis.com/Product\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\x14ListProductsResponse\x12\x39\n\x08products\x18\x01 \x03(\x0b\x32\'.google.cloud.licensemanager.v1.Product\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"P\n\x11GetProductRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%licensemanager.googleapis.com/Product\"\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\xa6\x17\n\x0eLicenseManager\x12\xd0\x01\n\x12ListConfigurations\x12\x39.google.cloud.licensemanager.v1.ListConfigurationsRequest\x1a:.google.cloud.licensemanager.v1.ListConfigurationsResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=projects/*/locations/*}/configurations\x12\xbd\x01\n\x10GetConfiguration\x12\x37.google.cloud.licensemanager.v1.GetConfigurationRequest\x1a-.google.cloud.licensemanager.v1.Configuration\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{name=projects/*/locations/*/configurations/*}\x12\x89\x02\n\x13\x43reateConfiguration\x12:.google.cloud.licensemanager.v1.CreateConfigurationRequest\x1a\x1d.google.longrunning.Operation\"\x96\x01\xca\x41\"\n\rConfiguration\x12\x11OperationMetadata\xda\x41%parent,configuration,configuration_id\x82\xd3\xe4\x93\x02\x43\"2/v1/{parent=projects/*/locations/*}/configurations:\rconfiguration\x12\x8b\x02\n\x13UpdateConfiguration\x12:.google.cloud.licensemanager.v1.UpdateConfigurationRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\xca\x41\"\n\rConfiguration\x12\x11OperationMetadata\xda\x41\x19\x63onfiguration,update_mask\x82\xd3\xe4\x93\x02Q2@/v1/{configuration.name=projects/*/locations/*/configurations/*}:\rconfiguration\x12\xe0\x01\n\x13\x44\x65leteConfiguration\x12:.google.cloud.licensemanager.v1.DeleteConfigurationRequest\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/*/configurations/*}\x12\xbc\x01\n\rListInstances\x12\x34.google.cloud.licensemanager.v1.ListInstancesRequest\x1a\x35.google.cloud.licensemanager.v1.ListInstancesResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/instances\x12\xa9\x01\n\x0bGetInstance\x12\x32.google.cloud.licensemanager.v1.GetInstanceRequest\x1a(.google.cloud.licensemanager.v1.Instance\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\x12\xee\x01\n\x17\x44\x65\x61\x63tivateConfiguration\x12>.google.cloud.licensemanager.v1.DeactivateConfigurationRequest\x1a\x1d.google.longrunning.Operation\"t\xca\x41\"\n\rConfiguration\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42\"=/v1/{name=projects/*/locations/*/configurations/*}:deactivate:\x01*\x12\xee\x01\n\x17ReactivateConfiguration\x12>.google.cloud.licensemanager.v1.ReactivateConfigurationRequest\x1a\x1d.google.longrunning.Operation\"t\xca\x41\"\n\rConfiguration\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42\"=/v1/{name=projects/*/locations/*/configurations/*}:reactivate:\x01*\x12\x98\x02\n\x1eQueryConfigurationLicenseUsage\x12\x45.google.cloud.licensemanager.v1.QueryConfigurationLicenseUsageRequest\x1a\x46.google.cloud.licensemanager.v1.QueryConfigurationLicenseUsageResponse\"g\xda\x41\x18name,start_time,end_time\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{name=projects/*/locations/*/configurations/*}:queryLicenseUsage\x12\xe5\x01\n\x0e\x41ggregateUsage\x12\x35.google.cloud.licensemanager.v1.AggregateUsageRequest\x1a\x36.google.cloud.licensemanager.v1.AggregateUsageResponse\"d\xda\x41\x18name,start_time,end_time\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{name=projects/*/locations/*/configurations/*}:aggregateUsage\x12\xb8\x01\n\x0cListProducts\x12\x33.google.cloud.licensemanager.v1.ListProductsRequest\x1a\x34.google.cloud.licensemanager.v1.ListProductsResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/products\x12\xa5\x01\n\nGetProduct\x12\x31.google.cloud.licensemanager.v1.GetProductRequest\x1a\'.google.cloud.licensemanager.v1.Product\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/products/*}\x1aQ\xca\x41\x1dlicensemanager.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xce\x02\n\"com.google.cloud.licensemanager.v1B\x13LicenseManagerProtoP\x01ZJcloud.google.com/go/licensemanager/apiv1/licensemanagerpb;licensemanagerpb\xaa\x02\x1eGoogle.Cloud.LicenseManager.V1\xca\x02\x1eGoogle\\Cloud\\LicenseManager\\V1\xea\x02!Google::Cloud::LicenseManager::V1\xea\x41^\n&compute.googleapis.com/ComputeInstance\x12\x34projects/{project}/zones/{zone}/instances/{instance}b\x06proto3"
20
+
21
+ pool = Google::Protobuf::DescriptorPool.generated_pool
22
+
23
+ begin
24
+ pool.add_serialized_file(descriptor_data)
25
+ rescue TypeError
26
+ # Compatibility code: will be removed in the next major version.
27
+ require 'google/protobuf/descriptor_pb'
28
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
29
+ parsed.clear_dependency
30
+ serialized = parsed.class.encode(parsed)
31
+ file = pool.add_serialized_file(serialized)
32
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
33
+ imports = [
34
+ ["google.cloud.licensemanager.v1.Configuration", "google/cloud/licensemanager/v1/api_entities.proto"],
35
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
36
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
37
+ ]
38
+ imports.each do |type_name, expected_filename|
39
+ import_file = pool.lookup(type_name).file_descriptor
40
+ if import_file.name != expected_filename
41
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
42
+ end
43
+ end
44
+ warn "Each proto file must use a consistent fully-qualified name."
45
+ warn "This will become an error in the next major version."
46
+ end
47
+
48
+ module Google
49
+ module Cloud
50
+ module LicenseManager
51
+ module V1
52
+ ListConfigurationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.ListConfigurationsRequest").msgclass
53
+ ListConfigurationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.ListConfigurationsResponse").msgclass
54
+ GetConfigurationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.GetConfigurationRequest").msgclass
55
+ CreateConfigurationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.CreateConfigurationRequest").msgclass
56
+ UpdateConfigurationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.UpdateConfigurationRequest").msgclass
57
+ DeleteConfigurationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.DeleteConfigurationRequest").msgclass
58
+ ListInstancesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.ListInstancesRequest").msgclass
59
+ ListInstancesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.ListInstancesResponse").msgclass
60
+ GetInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.GetInstanceRequest").msgclass
61
+ QueryConfigurationLicenseUsageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.QueryConfigurationLicenseUsageRequest").msgclass
62
+ QueryConfigurationLicenseUsageResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.QueryConfigurationLicenseUsageResponse").msgclass
63
+ DeactivateConfigurationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.DeactivateConfigurationRequest").msgclass
64
+ ReactivateConfigurationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.ReactivateConfigurationRequest").msgclass
65
+ AggregateUsageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.AggregateUsageRequest").msgclass
66
+ AggregateUsageResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.AggregateUsageResponse").msgclass
67
+ ListProductsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.ListProductsRequest").msgclass
68
+ ListProductsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.ListProductsResponse").msgclass
69
+ GetProductRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.GetProductRequest").msgclass
70
+ OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.licensemanager.v1.OperationMetadata").msgclass
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,69 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/licensemanager/v1/licensemanager.proto for package 'Google.Cloud.LicenseManager.V1'
3
+ # Original file comments:
4
+ # Copyright 2025 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/licensemanager/v1/licensemanager_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module LicenseManager
25
+ module V1
26
+ module LicenseManager
27
+ # Service describing handlers for resources
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.licensemanager.v1.LicenseManager'
35
+
36
+ # Lists Configurations in a given project and location.
37
+ rpc :ListConfigurations, ::Google::Cloud::LicenseManager::V1::ListConfigurationsRequest, ::Google::Cloud::LicenseManager::V1::ListConfigurationsResponse
38
+ # Gets details of a single Configuration.
39
+ rpc :GetConfiguration, ::Google::Cloud::LicenseManager::V1::GetConfigurationRequest, ::Google::Cloud::LicenseManager::V1::Configuration
40
+ # Creates a new Configuration in a given project and location.
41
+ rpc :CreateConfiguration, ::Google::Cloud::LicenseManager::V1::CreateConfigurationRequest, ::Google::Longrunning::Operation
42
+ # Updates the parameters of a single Configuration.
43
+ rpc :UpdateConfiguration, ::Google::Cloud::LicenseManager::V1::UpdateConfigurationRequest, ::Google::Longrunning::Operation
44
+ # Deletes a single Configuration.
45
+ rpc :DeleteConfiguration, ::Google::Cloud::LicenseManager::V1::DeleteConfigurationRequest, ::Google::Longrunning::Operation
46
+ # Lists Instances in a given project and location.
47
+ rpc :ListInstances, ::Google::Cloud::LicenseManager::V1::ListInstancesRequest, ::Google::Cloud::LicenseManager::V1::ListInstancesResponse
48
+ # Gets details of a single Instance.
49
+ rpc :GetInstance, ::Google::Cloud::LicenseManager::V1::GetInstanceRequest, ::Google::Cloud::LicenseManager::V1::Instance
50
+ # Deactivates the given configuration.
51
+ rpc :DeactivateConfiguration, ::Google::Cloud::LicenseManager::V1::DeactivateConfigurationRequest, ::Google::Longrunning::Operation
52
+ # Reactivates the given configuration.
53
+ rpc :ReactivateConfiguration, ::Google::Cloud::LicenseManager::V1::ReactivateConfigurationRequest, ::Google::Longrunning::Operation
54
+ # License Usage information for a Configuration.
55
+ rpc :QueryConfigurationLicenseUsage, ::Google::Cloud::LicenseManager::V1::QueryConfigurationLicenseUsageRequest, ::Google::Cloud::LicenseManager::V1::QueryConfigurationLicenseUsageResponse
56
+ # Aggregates Usage per Instance for a Configuration.
57
+ rpc :AggregateUsage, ::Google::Cloud::LicenseManager::V1::AggregateUsageRequest, ::Google::Cloud::LicenseManager::V1::AggregateUsageResponse
58
+ # Lists Products in a given project and location.
59
+ rpc :ListProducts, ::Google::Cloud::LicenseManager::V1::ListProductsRequest, ::Google::Cloud::LicenseManager::V1::ListProductsResponse
60
+ # Gets details of a single Product.
61
+ rpc :GetProduct, ::Google::Cloud::LicenseManager::V1::GetProductRequest, ::Google::Cloud::LicenseManager::V1::Product
62
+ end
63
+
64
+ Stub = Service.rpc_stub_class
65
+ end
66
+ end
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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/license_manager/v1"
@@ -0,0 +1,4 @@
1
+ # License Manager 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.