google-cloud-license_manager-v1 0.3.1 → 0.4.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4799c851a4c17abd689c2e25cc6d8c5aaaa7f1edc496496604ea3f7791e1c8c5
|
|
4
|
+
data.tar.gz: 0a83bd72e97a9907cf42e969d4d061bf801bb11a7657282f62b4e4b87599b4c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c05d0e5dd71e7022b61e393ccb86d75dfbf54ba08f8627cca80c528ade5f51a360b76d02703c3c186438c288805911e0bd3ee13fcf0649858abeb15f20f34f38
|
|
7
|
+
data.tar.gz: 826c2bb427646f6ec16b9ef02df6532203f525621dfe6ff48aa9fbd6015f5535d9c9c020bf5627626ad26f5f4f05d7165902aae37f4dabf2fce43a924b35e7c5
|
|
@@ -11,30 +11,8 @@ require 'google/protobuf/timestamp_pb'
|
|
|
11
11
|
|
|
12
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
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
|
|
14
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
|
38
16
|
|
|
39
17
|
module Google
|
|
40
18
|
module Cloud
|
|
@@ -18,32 +18,8 @@ require 'google/protobuf/timestamp_pb'
|
|
|
18
18
|
|
|
19
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
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
|
|
21
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
22
|
+
pool.add_serialized_file(descriptor_data)
|
|
47
23
|
|
|
48
24
|
module Google
|
|
49
25
|
module Cloud
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-license_manager-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -107,7 +107,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
107
107
|
requirements:
|
|
108
108
|
- - ">="
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: '3.
|
|
110
|
+
version: '3.2'
|
|
111
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
requirements:
|
|
113
113
|
- - ">="
|