Packages
google_api_service_usage
0.12.0
0.27.0
0.26.0
0.25.0
0.24.0
0.23.1
0.23.0
0.22.0
0.21.0
0.20.0
0.19.1
0.19.0
0.18.5
0.18.4
0.18.3
0.18.2
0.18.1
0.18.0
0.17.1
0.17.0
0.16.0
0.15.1
0.15.0
0.14.1
0.14.0
0.13.4
0.13.3
0.13.2
0.13.1
0.13.0
0.12.2
0.12.1
0.12.0
0.11.4
0.11.3
0.11.2
0.11.1
0.11.0
0.10.0
0.9.1
0.9.0
0.8.0
0.7.2
0.7.1
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
Service Usage API client library. Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use.
Current section
49 Versions
Jump to
Current section
49 Versions
Compare versions
5
files changed
+100
additions
-88
deletions
| @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding | |
| 11 11 | |
| 12 12 | ```elixir |
| 13 13 | def deps do |
| 14 | - [{:google_api_service_usage, "~> 0.11"}] |
| 14 | + [{:google_api_service_usage, "~> 0.12"}] |
| 15 15 | end |
| 16 16 | ``` |
| @@ -6,93 +6,93 @@ | |
| 6 6 | {<<"files">>, |
| 7 7 | [<<"lib">>,<<"lib/google_api">>,<<"lib/google_api/service_usage">>, |
| 8 8 | <<"lib/google_api/service_usage/v1">>, |
| 9 | + <<"lib/google_api/service_usage/v1/model">>, |
| 10 | + <<"lib/google_api/service_usage/v1/model/metric_rule.ex">>, |
| 11 | + <<"lib/google_api/service_usage/v1/model/google_api_serviceusage_v1_service_config.ex">>, |
| 12 | + <<"lib/google_api/service_usage/v1/model/documentation.ex">>, |
| 13 | + <<"lib/google_api/service_usage/v1/model/batch_get_services_response.ex">>, |
| 14 | + <<"lib/google_api/service_usage/v1/model/page.ex">>, |
| 15 | + <<"lib/google_api/service_usage/v1/model/enum_value.ex">>, |
| 16 | + <<"lib/google_api/service_usage/v1/model/http_rule.ex">>, |
| 17 | + <<"lib/google_api/service_usage/v1/model/control.ex">>, |
| 18 | + <<"lib/google_api/service_usage/v1/model/backend.ex">>, |
| 19 | + <<"lib/google_api/service_usage/v1/model/source_context.ex">>, |
| 20 | + <<"lib/google_api/service_usage/v1/model/o_auth_requirements.ex">>, |
| 21 | + <<"lib/google_api/service_usage/v1/model/service_identity.ex">>, |
| 22 | + <<"lib/google_api/service_usage/v1/model/log_descriptor.ex">>, |
| 23 | + <<"lib/google_api/service_usage/v1/model/context.ex">>, |
| 24 | + <<"lib/google_api/service_usage/v1/model/google_api_service_identity.ex">>, |
| 25 | + <<"lib/google_api/service_usage/v1/model/enable_failure.ex">>, |
| 26 | + <<"lib/google_api/service_usage/v1/model/google_api_serviceusage_v1_operation_metadata.ex">>, |
| 27 | + <<"lib/google_api/service_usage/v1/model/disable_service_response.ex">>, |
| 28 | + <<"lib/google_api/service_usage/v1/model/system_parameter.ex">>, |
| 29 | + <<"lib/google_api/service_usage/v1/model/mixin.ex">>, |
| 30 | + <<"lib/google_api/service_usage/v1/model/import_admin_overrides_response.ex">>, |
| 31 | + <<"lib/google_api/service_usage/v1/model/monitored_resource_descriptor.ex">>, |
| 32 | + <<"lib/google_api/service_usage/v1/model/disable_service_request.ex">>, |
| 33 | + <<"lib/google_api/service_usage/v1/model/authentication_rule.ex">>, |
| 34 | + <<"lib/google_api/service_usage/v1/model/status.ex">>, |
| 35 | + <<"lib/google_api/service_usage/v1/model/quota.ex">>, |
| 36 | + <<"lib/google_api/service_usage/v1/model/source_info.ex">>, |
| 37 | + <<"lib/google_api/service_usage/v1/model/system_parameters.ex">>, |
| 38 | + <<"lib/google_api/service_usage/v1/model/admin_quota_policy.ex">>, |
| 39 | + <<"lib/google_api/service_usage/v1/model/google_api_serviceusage_v1_service.ex">>, |
| 40 | + <<"lib/google_api/service_usage/v1/model/http.ex">>, |
| 41 | + <<"lib/google_api/service_usage/v1/model/list_operations_response.ex">>, |
| 42 | + <<"lib/google_api/service_usage/v1/model/jwt_location.ex">>, |
| 43 | + <<"lib/google_api/service_usage/v1/model/custom_error_rule.ex">>, |
| 44 | + <<"lib/google_api/service_usage/v1/model/enable_service_response.ex">>, |
| 45 | + <<"lib/google_api/service_usage/v1/model/operation_metadata.ex">>, |
| 46 | + <<"lib/google_api/service_usage/v1/model/field.ex">>, |
| 47 | + <<"lib/google_api/service_usage/v1/model/empty.ex">>, |
| 48 | + <<"lib/google_api/service_usage/v1/model/operation.ex">>, |
| 49 | + <<"lib/google_api/service_usage/v1/model/usage_rule.ex">>, |
| 50 | + <<"lib/google_api/service_usage/v1/model/custom_http_pattern.ex">>, |
| 51 | + <<"lib/google_api/service_usage/v1/model/google_api_serviceusage_v1beta1_get_service_identity_response.ex">>, |
| 52 | + <<"lib/google_api/service_usage/v1/model/logging.ex">>, |
| 53 | + <<"lib/google_api/service_usage/v1/model/cancel_operation_request.ex">>, |
| 54 | + <<"lib/google_api/service_usage/v1/model/label_descriptor.ex">>, |
| 55 | + <<"lib/google_api/service_usage/v1/model/import_admin_quota_policies_response.ex">>, |
| 56 | + <<"lib/google_api/service_usage/v1/model/batch_enable_services_request.ex">>, |
| 57 | + <<"lib/google_api/service_usage/v1/model/api.ex">>, |
| 58 | + <<"lib/google_api/service_usage/v1/model/backend_rule.ex">>, |
| 59 | + <<"lib/google_api/service_usage/v1/model/monitoring_destination.ex">>, |
| 60 | + <<"lib/google_api/service_usage/v1/model/list_services_response.ex">>, |
| 61 | + <<"lib/google_api/service_usage/v1/model/type.ex">>, |
| 62 | + <<"lib/google_api/service_usage/v1/model/method.ex">>, |
| 63 | + <<"lib/google_api/service_usage/v1/model/auth_requirement.ex">>, |
| 64 | + <<"lib/google_api/service_usage/v1/model/metric_descriptor.ex">>, |
| 65 | + <<"lib/google_api/service_usage/v1/model/option.ex">>, |
| 66 | + <<"lib/google_api/service_usage/v1/model/billing.ex">>, |
| 67 | + <<"lib/google_api/service_usage/v1/model/enable_service_request.ex">>, |
| 68 | + <<"lib/google_api/service_usage/v1/model/batch_enable_services_response.ex">>, |
| 69 | + <<"lib/google_api/service_usage/v1/model/logging_destination.ex">>, |
| 70 | + <<"lib/google_api/service_usage/v1/model/batch_create_consumer_overrides_response.ex">>, |
| 71 | + <<"lib/google_api/service_usage/v1/model/batch_create_admin_overrides_response.ex">>, |
| 72 | + <<"lib/google_api/service_usage/v1/model/context_rule.ex">>, |
| 73 | + <<"lib/google_api/service_usage/v1/model/monitoring.ex">>, |
| 74 | + <<"lib/google_api/service_usage/v1/model/authentication.ex">>, |
| 75 | + <<"lib/google_api/service_usage/v1/model/quota_override.ex">>, |
| 76 | + <<"lib/google_api/service_usage/v1/model/usage.ex">>, |
| 77 | + <<"lib/google_api/service_usage/v1/model/import_consumer_overrides_response.ex">>, |
| 78 | + <<"lib/google_api/service_usage/v1/model/enum.ex">>, |
| 79 | + <<"lib/google_api/service_usage/v1/model/endpoint.ex">>, |
| 80 | + <<"lib/google_api/service_usage/v1/model/auth_provider.ex">>, |
| 81 | + <<"lib/google_api/service_usage/v1/model/google_api_service.ex">>, |
| 82 | + <<"lib/google_api/service_usage/v1/model/custom_error.ex">>, |
| 83 | + <<"lib/google_api/service_usage/v1/model/quota_limit.ex">>, |
| 84 | + <<"lib/google_api/service_usage/v1/model/google_api_serviceusage_v1beta1_service_identity.ex">>, |
| 85 | + <<"lib/google_api/service_usage/v1/model/documentation_rule.ex">>, |
| 86 | + <<"lib/google_api/service_usage/v1/model/system_parameter_rule.ex">>, |
| 87 | + <<"lib/google_api/service_usage/v1/model/metric_descriptor_metadata.ex">>, |
| 88 | + <<"lib/google_api/service_usage/v1/model/billing_destination.ex">>, |
| 89 | + <<"lib/google_api/service_usage/v1/model/get_service_identity_response.ex">>, |
| 90 | + <<"lib/google_api/service_usage/v1/metadata.ex">>, |
| 9 91 | <<"lib/google_api/service_usage/v1/api">>, |
| 10 92 | <<"lib/google_api/service_usage/v1/api/operations.ex">>, |
| 11 93 | <<"lib/google_api/service_usage/v1/api/services.ex">>, |
| 12 | - <<"lib/google_api/service_usage/v1/metadata.ex">>, |
| 13 | - <<"lib/google_api/service_usage/v1/connection.ex">>, |
| 14 | - <<"lib/google_api/service_usage/v1/model">>, |
| 15 | - <<"lib/google_api/service_usage/v1/model/o_auth_requirements.ex">>, |
| 16 | - <<"lib/google_api/service_usage/v1/model/type.ex">>, |
| 17 | - <<"lib/google_api/service_usage/v1/model/method.ex">>, |
| 18 | - <<"lib/google_api/service_usage/v1/model/page.ex">>, |
| 19 | - <<"lib/google_api/service_usage/v1/model/jwt_location.ex">>, |
| 20 | - <<"lib/google_api/service_usage/v1/model/status.ex">>, |
| 21 | - <<"lib/google_api/service_usage/v1/model/billing.ex">>, |
| 22 | - <<"lib/google_api/service_usage/v1/model/log_descriptor.ex">>, |
| 23 | - <<"lib/google_api/service_usage/v1/model/enum.ex">>, |
| 24 | - <<"lib/google_api/service_usage/v1/model/empty.ex">>, |
| 25 | - <<"lib/google_api/service_usage/v1/model/google_api_serviceusage_v1beta1_get_service_identity_response.ex">>, |
| 26 | - <<"lib/google_api/service_usage/v1/model/http_rule.ex">>, |
| 27 | - <<"lib/google_api/service_usage/v1/model/list_services_response.ex">>, |
| 28 | - <<"lib/google_api/service_usage/v1/model/custom_error.ex">>, |
| 29 | - <<"lib/google_api/service_usage/v1/model/label_descriptor.ex">>, |
| 30 | - <<"lib/google_api/service_usage/v1/model/logging_destination.ex">>, |
| 31 | - <<"lib/google_api/service_usage/v1/model/context_rule.ex">>, |
| 32 | - <<"lib/google_api/service_usage/v1/model/field.ex">>, |
| 33 | - <<"lib/google_api/service_usage/v1/model/usage.ex">>, |
| 34 | - <<"lib/google_api/service_usage/v1/model/batch_get_services_response.ex">>, |
| 35 | - <<"lib/google_api/service_usage/v1/model/mixin.ex">>, |
| 36 | - <<"lib/google_api/service_usage/v1/model/disable_service_response.ex">>, |
| 37 | - <<"lib/google_api/service_usage/v1/model/quota_override.ex">>, |
| 38 | - <<"lib/google_api/service_usage/v1/model/batch_enable_services_request.ex">>, |
| 39 | - <<"lib/google_api/service_usage/v1/model/api.ex">>, |
| 40 | - <<"lib/google_api/service_usage/v1/model/monitored_resource_descriptor.ex">>, |
| 41 | - <<"lib/google_api/service_usage/v1/model/enum_value.ex">>, |
| 42 | - <<"lib/google_api/service_usage/v1/model/documentation.ex">>, |
| 43 | - <<"lib/google_api/service_usage/v1/model/backend.ex">>, |
| 44 | - <<"lib/google_api/service_usage/v1/model/enable_failure.ex">>, |
| 45 | - <<"lib/google_api/service_usage/v1/model/quota_limit.ex">>, |
| 46 | - <<"lib/google_api/service_usage/v1/model/list_operations_response.ex">>, |
| 47 | - <<"lib/google_api/service_usage/v1/model/admin_quota_policy.ex">>, |
| 48 | - <<"lib/google_api/service_usage/v1/model/endpoint.ex">>, |
| 49 | - <<"lib/google_api/service_usage/v1/model/get_service_identity_response.ex">>, |
| 50 | - <<"lib/google_api/service_usage/v1/model/batch_create_consumer_overrides_response.ex">>, |
| 51 | - <<"lib/google_api/service_usage/v1/model/authentication.ex">>, |
| 52 | - <<"lib/google_api/service_usage/v1/model/documentation_rule.ex">>, |
| 53 | - <<"lib/google_api/service_usage/v1/model/logging.ex">>, |
| 54 | - <<"lib/google_api/service_usage/v1/model/source_info.ex">>, |
| 55 | - <<"lib/google_api/service_usage/v1/model/metric_descriptor.ex">>, |
| 56 | - <<"lib/google_api/service_usage/v1/model/monitoring.ex">>, |
| 57 | - <<"lib/google_api/service_usage/v1/model/source_context.ex">>, |
| 58 | - <<"lib/google_api/service_usage/v1/model/batch_create_admin_overrides_response.ex">>, |
| 59 | - <<"lib/google_api/service_usage/v1/model/import_admin_overrides_response.ex">>, |
| 60 | - <<"lib/google_api/service_usage/v1/model/backend_rule.ex">>, |
| 61 | - <<"lib/google_api/service_usage/v1/model/system_parameters.ex">>, |
| 62 | - <<"lib/google_api/service_usage/v1/model/google_api_serviceusage_v1_service.ex">>, |
| 63 | - <<"lib/google_api/service_usage/v1/model/auth_provider.ex">>, |
| 64 | - <<"lib/google_api/service_usage/v1/model/google_api_serviceusage_v1_operation_metadata.ex">>, |
| 65 | - <<"lib/google_api/service_usage/v1/model/http.ex">>, |
| 66 | - <<"lib/google_api/service_usage/v1/model/service_identity.ex">>, |
| 67 | - <<"lib/google_api/service_usage/v1/model/usage_rule.ex">>, |
| 68 | - <<"lib/google_api/service_usage/v1/model/cancel_operation_request.ex">>, |
| 69 | - <<"lib/google_api/service_usage/v1/model/context.ex">>, |
| 70 | - <<"lib/google_api/service_usage/v1/model/disable_service_request.ex">>, |
| 71 | - <<"lib/google_api/service_usage/v1/model/option.ex">>, |
| 72 | - <<"lib/google_api/service_usage/v1/model/operation.ex">>, |
| 73 | - <<"lib/google_api/service_usage/v1/model/enable_service_request.ex">>, |
| 74 | - <<"lib/google_api/service_usage/v1/model/system_parameter_rule.ex">>, |
| 75 | - <<"lib/google_api/service_usage/v1/model/metric_descriptor_metadata.ex">>, |
| 76 | - <<"lib/google_api/service_usage/v1/model/google_api_service.ex">>, |
| 77 | - <<"lib/google_api/service_usage/v1/model/monitoring_destination.ex">>, |
| 78 | - <<"lib/google_api/service_usage/v1/model/metric_rule.ex">>, |
| 79 | - <<"lib/google_api/service_usage/v1/model/batch_enable_services_response.ex">>, |
| 80 | - <<"lib/google_api/service_usage/v1/model/import_admin_quota_policies_response.ex">>, |
| 81 | - <<"lib/google_api/service_usage/v1/model/google_api_serviceusage_v1_service_config.ex">>, |
| 82 | - <<"lib/google_api/service_usage/v1/model/google_api_serviceusage_v1beta1_service_identity.ex">>, |
| 83 | - <<"lib/google_api/service_usage/v1/model/import_consumer_overrides_response.ex">>, |
| 84 | - <<"lib/google_api/service_usage/v1/model/custom_http_pattern.ex">>, |
| 85 | - <<"lib/google_api/service_usage/v1/model/custom_error_rule.ex">>, |
| 86 | - <<"lib/google_api/service_usage/v1/model/google_api_service_identity.ex">>, |
| 87 | - <<"lib/google_api/service_usage/v1/model/authentication_rule.ex">>, |
| 88 | - <<"lib/google_api/service_usage/v1/model/quota.ex">>, |
| 89 | - <<"lib/google_api/service_usage/v1/model/auth_requirement.ex">>, |
| 90 | - <<"lib/google_api/service_usage/v1/model/control.ex">>, |
| 91 | - <<"lib/google_api/service_usage/v1/model/system_parameter.ex">>, |
| 92 | - <<"lib/google_api/service_usage/v1/model/operation_metadata.ex">>, |
| 93 | - <<"lib/google_api/service_usage/v1/model/enable_service_response.ex">>, |
| 94 | - <<"lib/google_api/service_usage/v1/model/billing_destination.ex">>, |
| 95 | - <<"mix.exs">>,<<"README.md">>,<<"LICENSE">>]}. |
| 94 | + <<"lib/google_api/service_usage/v1/connection.ex">>,<<"mix.exs">>, |
| 95 | + <<"README.md">>,<<"LICENSE">>]}. |
| 96 96 | {<<"licenses">>,[<<"Apache 2.0">>]}. |
| 97 97 | {<<"links">>, |
| 98 98 | [{<<"GitHub">>, |
| @@ -105,4 +105,4 @@ | |
| 105 105 | {<<"optional">>,false}, |
| 106 106 | {<<"repository">>,<<"hexpm">>}, |
| 107 107 | {<<"requirement">>,<<"~> 0.4">>}]]}. |
| 108 | - {<<"version">>,<<"0.11.4">>}. |
| 108 | + {<<"version">>,<<"0.12.0">>}. |
| @@ -20,7 +20,7 @@ defmodule GoogleApi.ServiceUsage.V1 do | |
| 20 20 | API client metadata for GoogleApi.ServiceUsage.V1. |
| 21 21 | """ |
| 22 22 | |
| 23 | - @discovery_revision "20200818" |
| 23 | + @discovery_revision "20200824" |
| 24 24 | |
| 25 25 | def discovery_revision(), do: @discovery_revision |
| 26 26 | end |
| @@ -25,6 +25,8 @@ defmodule GoogleApi.ServiceUsage.V1.Model.GoogleApiServiceusageV1ServiceConfig d | |
| 25 25 | * `authentication` (*type:* `GoogleApi.ServiceUsage.V1.Model.Authentication.t`, *default:* `nil`) - Auth configuration. Contains only the OAuth rules. |
| 26 26 | * `documentation` (*type:* `GoogleApi.ServiceUsage.V1.Model.Documentation.t`, *default:* `nil`) - Additional API documentation. Contains only the summary and the documentation URL. |
| 27 27 | * `endpoints` (*type:* `list(GoogleApi.ServiceUsage.V1.Model.Endpoint.t)`, *default:* `nil`) - Configuration for network endpoints. Contains only the names and aliases of the endpoints. |
| 28 | + * `monitoredResources` (*type:* `list(GoogleApi.ServiceUsage.V1.Model.MonitoredResourceDescriptor.t)`, *default:* `nil`) - Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations. |
| 29 | + * `monitoring` (*type:* `GoogleApi.ServiceUsage.V1.Model.Monitoring.t`, *default:* `nil`) - Monitoring configuration. This should not include the 'producer_destinations' field. |
| 28 30 | * `name` (*type:* `String.t`, *default:* `nil`) - The DNS address at which this service is available. An example DNS address would be: `calendar.googleapis.com`. |
| 29 31 | * `quota` (*type:* `GoogleApi.ServiceUsage.V1.Model.Quota.t`, *default:* `nil`) - Quota configuration. |
| 30 32 | * `title` (*type:* `String.t`, *default:* `nil`) - The product title for this service. |
| @@ -38,6 +40,9 @@ defmodule GoogleApi.ServiceUsage.V1.Model.GoogleApiServiceusageV1ServiceConfig d | |
| 38 40 | :authentication => GoogleApi.ServiceUsage.V1.Model.Authentication.t(), |
| 39 41 | :documentation => GoogleApi.ServiceUsage.V1.Model.Documentation.t(), |
| 40 42 | :endpoints => list(GoogleApi.ServiceUsage.V1.Model.Endpoint.t()), |
| 43 | + :monitoredResources => |
| 44 | + list(GoogleApi.ServiceUsage.V1.Model.MonitoredResourceDescriptor.t()), |
| 45 | + :monitoring => GoogleApi.ServiceUsage.V1.Model.Monitoring.t(), |
| 41 46 | :name => String.t(), |
| 42 47 | :quota => GoogleApi.ServiceUsage.V1.Model.Quota.t(), |
| 43 48 | :title => String.t(), |
| @@ -48,6 +53,13 @@ defmodule GoogleApi.ServiceUsage.V1.Model.GoogleApiServiceusageV1ServiceConfig d | |
| 48 53 | field(:authentication, as: GoogleApi.ServiceUsage.V1.Model.Authentication) |
| 49 54 | field(:documentation, as: GoogleApi.ServiceUsage.V1.Model.Documentation) |
| 50 55 | field(:endpoints, as: GoogleApi.ServiceUsage.V1.Model.Endpoint, type: :list) |
| 56 | + |
| 57 | + field(:monitoredResources, |
| 58 | + as: GoogleApi.ServiceUsage.V1.Model.MonitoredResourceDescriptor, |
| 59 | + type: :list |
| 60 | + ) |
| 61 | + |
| 62 | + field(:monitoring, as: GoogleApi.ServiceUsage.V1.Model.Monitoring) |
| 51 63 | field(:name) |
| 52 64 | field(:quota, as: GoogleApi.ServiceUsage.V1.Model.Quota) |
| 53 65 | field(:title) |
| @@ -18,7 +18,7 @@ | |
| 18 18 | defmodule GoogleApi.ServiceUsage.Mixfile do |
| 19 19 | use Mix.Project |
| 20 20 | |
| 21 | - @version "0.11.4" |
| 21 | + @version "0.12.0" |
| 22 22 | |
| 23 23 | def project() do |
| 24 24 | [ |