diff --git a/api_names_out.yaml b/api_names_out.yaml index d7b1e37cc..f1c53a8ef 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -18399,6 +18399,7 @@ "/cloudshell:v1/quotaUser": quota_user "/cloudshell:v1alpha1/AuthorizeEnvironmentRequest": authorize_environment_request "/cloudshell:v1alpha1/AuthorizeEnvironmentRequest/accessToken": access_token +"/cloudshell:v1alpha1/AuthorizeEnvironmentRequest/expireTime": expire_time "/cloudshell:v1alpha1/CreatePublicKeyRequest": create_public_key_request "/cloudshell:v1alpha1/CreatePublicKeyRequest/key": key "/cloudshell:v1alpha1/Empty": empty @@ -40411,6 +40412,7 @@ "/containeranalysis:v1beta1/GrafeasV1beta1PackageDetails/installation": installation "/containeranalysis:v1beta1/GrafeasV1beta1VulnerabilityDetails": grafeas_v1beta1_vulnerability_details "/containeranalysis:v1beta1/GrafeasV1beta1VulnerabilityDetails/cvssScore": cvss_score +"/containeranalysis:v1beta1/GrafeasV1beta1VulnerabilityDetails/effectiveSeverity": effective_severity "/containeranalysis:v1beta1/GrafeasV1beta1VulnerabilityDetails/longDescription": long_description "/containeranalysis:v1beta1/GrafeasV1beta1VulnerabilityDetails/packageIssue": package_issue "/containeranalysis:v1beta1/GrafeasV1beta1VulnerabilityDetails/packageIssue/package_issue": package_issue diff --git a/generated/google/apis/cloudfunctions_v1.rb b/generated/google/apis/cloudfunctions_v1.rb index 8deb87dac..36a83488c 100644 --- a/generated/google/apis/cloudfunctions_v1.rb +++ b/generated/google/apis/cloudfunctions_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/functions module CloudfunctionsV1 VERSION = 'V1' - REVISION = '20190214' + REVISION = '20190222' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudfunctions_v1/classes.rb b/generated/google/apis/cloudfunctions_v1/classes.rb index bc2de371b..4ccd93725 100644 --- a/generated/google/apis/cloudfunctions_v1/classes.rb +++ b/generated/google/apis/cloudfunctions_v1/classes.rb @@ -162,7 +162,7 @@ module Google # account. For example, `my-other-app@appspot.gserviceaccount.com`. # * `group:`emailid``: An email address that represents a Google group. # For example, `admins@example.com`. - # * `domain:`domain``: A Google Apps domain name that represents all the + # * `domain:`domain``: The G Suite domain (primary) that represents all the # users of that domain. For example, `google.com` or `example.com`. # Corresponds to the JSON property `members` # @return [Array] diff --git a/generated/google/apis/cloudshell_v1alpha1.rb b/generated/google/apis/cloudshell_v1alpha1.rb index 640d7bc4a..de9335dd0 100644 --- a/generated/google/apis/cloudshell_v1alpha1.rb +++ b/generated/google/apis/cloudshell_v1alpha1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/shell/docs/ module CloudshellV1alpha1 VERSION = 'V1alpha1' - REVISION = '20180809' + REVISION = '20190227' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudshell_v1alpha1/classes.rb b/generated/google/apis/cloudshell_v1alpha1/classes.rb index a277205f1..adc79753b 100644 --- a/generated/google/apis/cloudshell_v1alpha1/classes.rb +++ b/generated/google/apis/cloudshell_v1alpha1/classes.rb @@ -31,6 +31,12 @@ module Google # @return [String] attr_accessor :access_token + # The time when the token expires. If not set, defaults to one hour from when + # the server received the request. + # Corresponds to the JSON property `expireTime` + # @return [String] + attr_accessor :expire_time + def initialize(**args) update!(**args) end @@ -38,6 +44,7 @@ module Google # Update properties of this object def update!(**args) @access_token = args[:access_token] if args.key?(:access_token) + @expire_time = args[:expire_time] if args.key?(:expire_time) end end diff --git a/generated/google/apis/cloudshell_v1alpha1/representations.rb b/generated/google/apis/cloudshell_v1alpha1/representations.rb index d236626c1..083ed2976 100644 --- a/generated/google/apis/cloudshell_v1alpha1/representations.rb +++ b/generated/google/apis/cloudshell_v1alpha1/representations.rb @@ -86,6 +86,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :access_token, as: 'accessToken' + property :expire_time, as: 'expireTime' end end diff --git a/generated/google/apis/containeranalysis_v1beta1.rb b/generated/google/apis/containeranalysis_v1beta1.rb index e7803f1c2..16f5d8926 100644 --- a/generated/google/apis/containeranalysis_v1beta1.rb +++ b/generated/google/apis/containeranalysis_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/container-analysis/api/reference/rest/ module ContaineranalysisV1beta1 VERSION = 'V1beta1' - REVISION = '20190122' + REVISION = '20190222' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/containeranalysis_v1beta1/classes.rb b/generated/google/apis/containeranalysis_v1beta1/classes.rb index a5bba6e85..1ab5a8cee 100644 --- a/generated/google/apis/containeranalysis_v1beta1/classes.rb +++ b/generated/google/apis/containeranalysis_v1beta1/classes.rb @@ -390,7 +390,7 @@ module Google # account. For example, `my-other-app@appspot.gserviceaccount.com`. # * `group:`emailid``: An email address that represents a Google group. # For example, `admins@example.com`. - # * `domain:`domain``: A Google Apps domain name that represents all the + # * `domain:`domain``: The G Suite domain (primary) that represents all the # users of that domain. For example, `google.com` or `example.com`. # Corresponds to the JSON property `members` # @return [Array] @@ -1161,7 +1161,7 @@ module Google end end - # Per resource and severity counts of fixable and total vulnerabilites. + # Per resource and severity counts of fixable and total vulnerabilities. class FixableTotalByDigest include Google::Apis::Core::Hashable @@ -1428,6 +1428,13 @@ module Google # @return [Float] attr_accessor :cvss_score + # The distro assigned severity for this vulnerability when it is + # available, and note provider assigned severity when distro has not yet + # assigned a severity for this vulnerability. + # Corresponds to the JSON property `effectiveSeverity` + # @return [String] + attr_accessor :effective_severity + # Output only. A detailed description of this vulnerability. # Corresponds to the JSON property `longDescription` # @return [String] @@ -1467,6 +1474,7 @@ module Google # Update properties of this object def update!(**args) @cvss_score = args[:cvss_score] if args.key?(:cvss_score) + @effective_severity = args[:effective_severity] if args.key?(:effective_severity) @long_description = args[:long_description] if args.key?(:long_description) @package_issue = args[:package_issue] if args.key?(:package_issue) @related_urls = args[:related_urls] if args.key?(:related_urls) @@ -2017,6 +2025,7 @@ module Google # @return [Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation] attr_accessor :fixed_location + # Deprecated, use Details.effective_severity instead # The severity (e.g., distro assigned severity) for this vulnerability. # Corresponds to the JSON property `severityName` # @return [String] diff --git a/generated/google/apis/containeranalysis_v1beta1/representations.rb b/generated/google/apis/containeranalysis_v1beta1/representations.rb index dbba59541..971187ef2 100644 --- a/generated/google/apis/containeranalysis_v1beta1/representations.rb +++ b/generated/google/apis/containeranalysis_v1beta1/representations.rb @@ -830,6 +830,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :cvss_score, as: 'cvssScore' + property :effective_severity, as: 'effectiveSeverity' property :long_description, as: 'longDescription' collection :package_issue, as: 'packageIssue', class: Google::Apis::ContaineranalysisV1beta1::PackageIssue, decorator: Google::Apis::ContaineranalysisV1beta1::PackageIssue::Representation diff --git a/generated/google/apis/dlp_v2.rb b/generated/google/apis/dlp_v2.rb index 9653cd7e2..df1fadbc2 100644 --- a/generated/google/apis/dlp_v2.rb +++ b/generated/google/apis/dlp_v2.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/dlp/docs/ module DlpV2 VERSION = 'V2' - REVISION = '20190219' + REVISION = '20190226' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dlp_v2/classes.rb b/generated/google/apis/dlp_v2/classes.rb index 91ae10103..7d57efd68 100644 --- a/generated/google/apis/dlp_v2/classes.rb +++ b/generated/google/apis/dlp_v2/classes.rb @@ -2886,7 +2886,7 @@ module Google # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RequestedOptions] attr_accessor :requested_options - # A summary of the outcome of this inspect job. + # All result fields mentioned below are updated while the job is processing. # Corresponds to the JSON property `result` # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Result] attr_accessor :result @@ -4869,7 +4869,7 @@ module Google end end - # + # All result fields mentioned below are updated while the job is processing. class GooglePrivacyDlpV2Result include Google::Apis::Core::Hashable diff --git a/generated/google/apis/iam_v1.rb b/generated/google/apis/iam_v1.rb index 5c46c41be..50257dcf8 100644 --- a/generated/google/apis/iam_v1.rb +++ b/generated/google/apis/iam_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/iam/ module IamV1 VERSION = 'V1' - REVISION = '20190215' + REVISION = '20190222' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/iam_v1/classes.rb b/generated/google/apis/iam_v1/classes.rb index 535b82262..54c521573 100644 --- a/generated/google/apis/iam_v1/classes.rb +++ b/generated/google/apis/iam_v1/classes.rb @@ -203,7 +203,7 @@ module Google # account. For example, `my-other-app@appspot.gserviceaccount.com`. # * `group:`emailid``: An email address that represents a Google group. # For example, `admins@example.com`. - # * `domain:`domain``: A Google Apps domain name that represents all the + # * `domain:`domain``: The G Suite domain (primary) that represents all the # users of that domain. For example, `google.com` or `example.com`. # Corresponds to the JSON property `members` # @return [Array] diff --git a/generated/google/apis/iam_v1/service.rb b/generated/google/apis/iam_v1/service.rb index 7b00c46fb..97d14a8a7 100644 --- a/generated/google/apis/iam_v1/service.rb +++ b/generated/google/apis/iam_v1/service.rb @@ -251,7 +251,10 @@ module Google # @param [Boolean] show_deleted # Include Roles that have been deleted. # @param [String] view - # Optional view for the returned Role objects. + # Optional view for the returned Role objects. When `FULL` is specified, + # the `includedPermissions` field is returned, which includes a list of all + # permissions in the role. The default value is `BASIC`, which does not + # return the `includedPermissions` field. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -510,7 +513,10 @@ module Google # @param [Boolean] show_deleted # Include Roles that have been deleted. # @param [String] view - # Optional view for the returned Role objects. + # Optional view for the returned Role objects. When `FULL` is specified, + # the `includedPermissions` field is returned, which includes a list of all + # permissions in the role. The default value is `BASIC`, which does not + # return the `includedPermissions` field. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -719,8 +725,20 @@ module Google execute_or_queue_command(command, &block) end - # Returns the IAM access control policy for a + # Returns the Cloud IAM access control policy for a # ServiceAccount. + # Note: Service accounts are both + # [resources and identities](/iam/docs/service-accounts# + # service_account_permissions). + # This method treats the service account as a resource. It returns the Cloud + # IAM policy that reflects what members have access to the service account. + # This method does not return what resources the service account has access + # to. To see if a service account has access to a resource, call the + # `getIamPolicy` method on the target resource. For example, to view grants + # for a project, call the + # [projects.getIamPolicy](/resource-manager/reference/rest/v1/projects/ + # getIamPolicy) + # method. # @param [String] resource # REQUIRED: The resource for which the policy is being requested. # See the operation documentation for the appropriate value for this field. @@ -792,8 +810,22 @@ module Google execute_or_queue_command(command, &block) end - # Sets the IAM access control policy for a + # Sets the Cloud IAM access control policy for a # ServiceAccount. + # Note: Service accounts are both + # [resources and identities](/iam/docs/service-accounts# + # service_account_permissions). + # This method treats the service account as a resource. Use it to grant + # members access to the service account, such as when they need to + # impersonate it. + # This method does not grant the service account access to other resources, + # such as projects. To grant a service account access to resources, include + # the service account in the Cloud IAM policy for the desired resource, then + # call the appropriate `setIamPolicy` method on the target resource. For + # example, to grant a service account access to a project, call the + # [projects.setIamPolicy](/resource-manager/reference/rest/v1/projects/ + # setIamPolicy) + # method. # @param [String] resource # REQUIRED: The resource for which the policy is being specified. # See the operation documentation for the appropriate value for this field. @@ -983,6 +1015,8 @@ module Google execute_or_queue_command(command, &block) end + # Note: This method is in the process of being deprecated. Use + # PatchServiceAccount instead. # Updates a ServiceAccount. # Currently, only the following fields are updatable: # `display_name` . @@ -1221,7 +1255,10 @@ module Google # @param [Boolean] show_deleted # Include Roles that have been deleted. # @param [String] view - # Optional view for the returned Role objects. + # Optional view for the returned Role objects. When `FULL` is specified, + # the `includedPermissions` field is returned, which includes a list of all + # permissions in the role. The default value is `BASIC`, which does not + # return the `includedPermissions` field. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/reseller_v1.rb b/generated/google/apis/reseller_v1.rb index cca9ed26c..7224eca16 100644 --- a/generated/google/apis/reseller_v1.rb +++ b/generated/google/apis/reseller_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/google-apps/reseller/ module ResellerV1 VERSION = 'V1' - REVISION = '20170228' + REVISION = '20190228' # Manage users on your domain AUTH_APPS_ORDER = 'https://www.googleapis.com/auth/apps.order' diff --git a/generated/google/apis/reseller_v1/classes.rb b/generated/google/apis/reseller_v1/classes.rb index ee3fc78fc..3dc896b99 100644 --- a/generated/google/apis/reseller_v1/classes.rb +++ b/generated/google/apis/reseller_v1/classes.rb @@ -126,6 +126,7 @@ module Google # concepts. # Possible values are: # - ANNUAL_MONTHLY_PAY - The annual commitment plan with monthly payments + # Caution: ANNUAL_MONTHLY_PAY is returned as ANNUAL in all API responses. # - ANNUAL_YEARLY_PAY - The annual commitment plan with yearly payments # - FLEXIBLE - The flexible plan # - TRIAL - The 30-day free trial plan @@ -197,9 +198,10 @@ module Google # @return [String] attr_accessor :kind - # Customer contact phone number. This can be continuous numbers, with spaces, - # etc. But it must be a real phone number and not, for example, "123". See phone - # local format conventions. + # Customer contact phone number. Must start with "+" followed by the country + # code. The rest of the number can be contiguous numbers or respect the phone + # local format conventions, but it must be a real phone number and not, for + # example, "123". This field is silently ignored if invalid. # Corresponds to the JSON property `phoneNumber` # @return [String] attr_accessor :phone_number @@ -309,53 +311,37 @@ module Google class Seats include Google::Apis::Core::Hashable - # Identifies the resource as a subscription change plan request. Value: - # subscriptions#seats + # Identifies the resource as a subscription seat setting. Value: subscriptions# + # seats # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # Read-only field containing the current number of licensed seats for FLEXIBLE - # Google-Apps subscriptions and secondary subscriptions such as Google-Vault and - # Drive-storage. + # Read-only field containing the current number of users that are assigned a + # license for the product defined in skuId. This field's value is equivalent to + # the numerical count of users returned by the Enterprise License Manager API + # method: listForProductAndSku # Corresponds to the JSON property `licensedNumberOfSeats` # @return [Fixnum] attr_accessor :licensed_number_of_seats - # The maximumNumberOfSeats property is the maximum number of licenses that the - # customer can purchase. This property applies to plans other than the annual - # commitment plan. How a user's licenses are managed depends on the subscription' - # s payment plan: - # - annual commitment plan (with monthly or yearly payments) — For this plan, a - # reseller is invoiced on the number of user licenses in the numberOfSeats - # property. The maximumNumberOfSeats property is a read-only property in the API' - # s response. - # - flexible plan — For this plan, a reseller is invoiced on the actual number - # of users which is capped by the maximumNumberOfSeats. This is the maximum - # number of user licenses a customer has for user license provisioning. This - # quantity can be increased up to the maximum limit defined in the reseller's - # contract. And the minimum quantity is the current number of users in the - # customer account. - # - 30-day free trial plan — A subscription in a 30-day free trial is restricted - # to maximum 10 seats. + # This is a required property and is exclusive to subscriptions with FLEXIBLE or + # TRIAL plans. This property sets the maximum number of licensed users allowed + # on a subscription. This quantity can be increased up to the maximum limit + # defined in the reseller's contract. The minimum quantity is the current number + # of users in the customer account. Note: G Suite subscriptions automatically + # assign a license to every user. # Corresponds to the JSON property `maximumNumberOfSeats` # @return [Fixnum] attr_accessor :maximum_number_of_seats - # The numberOfSeats property holds the customer's number of user licenses. How a - # user's licenses are managed depends on the subscription's plan: - # - annual commitment plan (with monthly or yearly pay) — For this plan, a - # reseller is invoiced on the number of user licenses in the numberOfSeats - # property. This is the maximum number of user licenses that a reseller's - # customer can create. The reseller can add more licenses, but once set, the - # numberOfSeats can not be reduced until renewal. The reseller is invoiced based - # on the numberOfSeats value regardless of how many of these user licenses are - # provisioned users. - # - flexible plan — For this plan, a reseller is invoiced on the actual number - # of users which is capped by the maximumNumberOfSeats. The numberOfSeats - # property is not used in the request or response for flexible plan customers. - # - 30-day free trial plan — The numberOfSeats property is not used in the - # request or response for an account in a 30-day trial. + # This is a required property and is exclusive to subscriptions with + # ANNUAL_MONTHLY_PAY and ANNUAL_YEARLY_PAY plans. This property sets the maximum + # number of licenses assignable to users on a subscription. The reseller can add + # more licenses, but once set, the numberOfSeats cannot be reduced until renewal. + # The reseller is invoiced based on the numberOfSeats value regardless of how + # many of these user licenses are assigned. Note: G Suite subscriptions + # automatically assign a license to every user. # Corresponds to the JSON property `numberOfSeats` # @return [Fixnum] attr_accessor :number_of_seats @@ -536,6 +522,8 @@ module Google include Google::Apis::Core::Hashable # In this version of the API, annual commitment plan's interval is one year. + # Note: When billingMethod value is OFFLINE, the subscription property object + # plan.commitmentInterval is omitted in all API responses. # Corresponds to the JSON property `commitmentInterval` # @return [Google::Apis::ResellerV1::Subscription::Plan::CommitmentInterval] attr_accessor :commitment_interval @@ -552,7 +540,8 @@ module Google # The planName property is required. This is the name of the subscription's plan. # For more information about the Google payment plans, see the API concepts. # Possible values are: - # - ANNUAL_MONTHLY_PAY — The annual commitment plan with monthly payments + # - ANNUAL_MONTHLY_PAY — The annual commitment plan with monthly payments. + # Caution: ANNUAL_MONTHLY_PAY is returned as ANNUAL in all API responses. # - ANNUAL_YEARLY_PAY — The annual commitment plan with yearly payments # - FLEXIBLE — The flexible plan # - TRIAL — The 30-day free trial plan. A subscription in trial will be @@ -560,6 +549,8 @@ module Google # changePlan will assign a payment plan to a trial but will not activate the # plan. A trial will automatically begin its assigned payment plan after its # 30th free day or immediately after calling startPaidService. + # - FREE — The free plan is exclusive to the Cloud Identity SKU and does not + # incur any billing. # Corresponds to the JSON property `planName` # @return [String] attr_accessor :plan_name @@ -576,6 +567,8 @@ module Google end # In this version of the API, annual commitment plan's interval is one year. + # Note: When billingMethod value is OFFLINE, the subscription property object + # plan.commitmentInterval is omitted in all API responses. class CommitmentInterval include Google::Apis::Core::Hashable diff --git a/generated/google/apis/reseller_v1/service.rb b/generated/google/apis/reseller_v1/service.rb index 6f9e537f0..262b310b9 100644 --- a/generated/google/apis/reseller_v1/service.rb +++ b/generated/google/apis/reseller_v1/service.rb @@ -485,7 +485,7 @@ module Google execute_or_queue_command(command, &block) end - # Cancel, suspend or transfer a subscription to direct. + # Cancel or transfer a subscription to direct. # @param [String] customer_id # Either the customer's primary domain name or the customer's unique identifier. # If using the domain name, we do not recommend using a customerId as a key for diff --git a/generated/google/apis/serviceconsumermanagement_v1.rb b/generated/google/apis/serviceconsumermanagement_v1.rb index 9a486d735..e49e7fb62 100644 --- a/generated/google/apis/serviceconsumermanagement_v1.rb +++ b/generated/google/apis/serviceconsumermanagement_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/service-consumer-management/docs/overview module ServiceconsumermanagementV1 VERSION = 'V1' - REVISION = '20190209' + REVISION = '20190227' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/serviceconsumermanagement_v1/classes.rb b/generated/google/apis/serviceconsumermanagement_v1/classes.rb index 31cbd08eb..b469aa3b4 100644 --- a/generated/google/apis/serviceconsumermanagement_v1/classes.rb +++ b/generated/google/apis/serviceconsumermanagement_v1/classes.rb @@ -2553,46 +2553,7 @@ module Google end end - # Quota configuration helps to achieve fairness and budgeting in service - # usage. - # The quota configuration works this way: - # - The service configuration defines a set of metrics. - # - For API calls, the quota.metric_rules maps methods to metrics with - # corresponding costs. - # - The quota.limits defines limits on the metrics, which will be used for - # quota checks at runtime. - # An example quota configuration in yaml format: - # quota: - # limits: - # - name: apiWriteQpsPerProject - # metric: library.googleapis.com/write_calls - # unit: "1/min/`project`" # rate limit for consumer projects - # values: - # STANDARD: 10000 - # # The metric rules bind all methods to the read_calls metric, - # # except for the UpdateBook and DeleteBook methods. These two methods - # # are mapped to the write_calls metric, with the UpdateBook method - # # consuming at twice rate as the DeleteBook method. - # metric_rules: - # - selector: "*" - # metric_costs: - # library.googleapis.com/read_calls: 1 - # - selector: google.example.library.v1.LibraryService.UpdateBook - # metric_costs: - # library.googleapis.com/write_calls: 2 - # - selector: google.example.library.v1.LibraryService.DeleteBook - # metric_costs: - # library.googleapis.com/write_calls: 1 - # Corresponding Metric definition: - # metrics: - # - name: library.googleapis.com/read_calls - # display_name: Read requests - # metric_kind: DELTA - # value_type: INT64 - # - name: library.googleapis.com/write_calls - # display_name: Write requests - # metric_kind: DELTA - # value_type: INT64 + # class Quota include Google::Apis::Core::Hashable @@ -3104,46 +3065,7 @@ module Google # @return [String] attr_accessor :producer_project_id - # Quota configuration helps to achieve fairness and budgeting in service - # usage. - # The quota configuration works this way: - # - The service configuration defines a set of metrics. - # - For API calls, the quota.metric_rules maps methods to metrics with - # corresponding costs. - # - The quota.limits defines limits on the metrics, which will be used for - # quota checks at runtime. - # An example quota configuration in yaml format: - # quota: - # limits: - # - name: apiWriteQpsPerProject - # metric: library.googleapis.com/write_calls - # unit: "1/min/`project`" # rate limit for consumer projects - # values: - # STANDARD: 10000 - # # The metric rules bind all methods to the read_calls metric, - # # except for the UpdateBook and DeleteBook methods. These two methods - # # are mapped to the write_calls metric, with the UpdateBook method - # # consuming at twice rate as the DeleteBook method. - # metric_rules: - # - selector: "*" - # metric_costs: - # library.googleapis.com/read_calls: 1 - # - selector: google.example.library.v1.LibraryService.UpdateBook - # metric_costs: - # library.googleapis.com/write_calls: 2 - # - selector: google.example.library.v1.LibraryService.DeleteBook - # metric_costs: - # library.googleapis.com/write_calls: 1 - # Corresponding Metric definition: - # metrics: - # - name: library.googleapis.com/read_calls - # display_name: Read requests - # metric_kind: DELTA - # value_type: INT64 - # - name: library.googleapis.com/write_calls - # display_name: Write requests - # metric_kind: DELTA - # value_type: INT64 + # Quota configuration. # Corresponds to the JSON property `quota` # @return [Google::Apis::ServiceconsumermanagementV1::Quota] attr_accessor :quota diff --git a/generated/google/apis/servicenetworking_v1beta.rb b/generated/google/apis/servicenetworking_v1beta.rb index d87a95155..555ebab13 100644 --- a/generated/google/apis/servicenetworking_v1beta.rb +++ b/generated/google/apis/servicenetworking_v1beta.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started module ServicenetworkingV1beta VERSION = 'V1beta' - REVISION = '20190209' + REVISION = '20190227' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/servicenetworking_v1beta/classes.rb b/generated/google/apis/servicenetworking_v1beta/classes.rb index ef8fe5870..18e6fb92a 100644 --- a/generated/google/apis/servicenetworking_v1beta/classes.rb +++ b/generated/google/apis/servicenetworking_v1beta/classes.rb @@ -2499,46 +2499,7 @@ module Google end end - # Quota configuration helps to achieve fairness and budgeting in service - # usage. - # The quota configuration works this way: - # - The service configuration defines a set of metrics. - # - For API calls, the quota.metric_rules maps methods to metrics with - # corresponding costs. - # - The quota.limits defines limits on the metrics, which will be used for - # quota checks at runtime. - # An example quota configuration in yaml format: - # quota: - # limits: - # - name: apiWriteQpsPerProject - # metric: library.googleapis.com/write_calls - # unit: "1/min/`project`" # rate limit for consumer projects - # values: - # STANDARD: 10000 - # # The metric rules bind all methods to the read_calls metric, - # # except for the UpdateBook and DeleteBook methods. These two methods - # # are mapped to the write_calls metric, with the UpdateBook method - # # consuming at twice rate as the DeleteBook method. - # metric_rules: - # - selector: "*" - # metric_costs: - # library.googleapis.com/read_calls: 1 - # - selector: google.example.library.v1.LibraryService.UpdateBook - # metric_costs: - # library.googleapis.com/write_calls: 2 - # - selector: google.example.library.v1.LibraryService.DeleteBook - # metric_costs: - # library.googleapis.com/write_calls: 1 - # Corresponding Metric definition: - # metrics: - # - name: library.googleapis.com/read_calls - # display_name: Read requests - # metric_kind: DELTA - # value_type: INT64 - # - name: library.googleapis.com/write_calls - # display_name: Write requests - # metric_kind: DELTA - # value_type: INT64 + # class Quota include Google::Apis::Core::Hashable @@ -3068,46 +3029,7 @@ module Google # @return [String] attr_accessor :producer_project_id - # Quota configuration helps to achieve fairness and budgeting in service - # usage. - # The quota configuration works this way: - # - The service configuration defines a set of metrics. - # - For API calls, the quota.metric_rules maps methods to metrics with - # corresponding costs. - # - The quota.limits defines limits on the metrics, which will be used for - # quota checks at runtime. - # An example quota configuration in yaml format: - # quota: - # limits: - # - name: apiWriteQpsPerProject - # metric: library.googleapis.com/write_calls - # unit: "1/min/`project`" # rate limit for consumer projects - # values: - # STANDARD: 10000 - # # The metric rules bind all methods to the read_calls metric, - # # except for the UpdateBook and DeleteBook methods. These two methods - # # are mapped to the write_calls metric, with the UpdateBook method - # # consuming at twice rate as the DeleteBook method. - # metric_rules: - # - selector: "*" - # metric_costs: - # library.googleapis.com/read_calls: 1 - # - selector: google.example.library.v1.LibraryService.UpdateBook - # metric_costs: - # library.googleapis.com/write_calls: 2 - # - selector: google.example.library.v1.LibraryService.DeleteBook - # metric_costs: - # library.googleapis.com/write_calls: 1 - # Corresponding Metric definition: - # metrics: - # - name: library.googleapis.com/read_calls - # display_name: Read requests - # metric_kind: DELTA - # value_type: INT64 - # - name: library.googleapis.com/write_calls - # display_name: Write requests - # metric_kind: DELTA - # value_type: INT64 + # Quota configuration. # Corresponds to the JSON property `quota` # @return [Google::Apis::ServicenetworkingV1beta::Quota] attr_accessor :quota diff --git a/generated/google/apis/serviceusage_v1.rb b/generated/google/apis/serviceusage_v1.rb index 6667cca5d..1c4904cbe 100644 --- a/generated/google/apis/serviceusage_v1.rb +++ b/generated/google/apis/serviceusage_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/service-usage/ module ServiceusageV1 VERSION = 'V1' - REVISION = '20190209' + REVISION = '20190227' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/serviceusage_v1/classes.rb b/generated/google/apis/serviceusage_v1/classes.rb index e6ac21f8b..2052f401e 100644 --- a/generated/google/apis/serviceusage_v1/classes.rb +++ b/generated/google/apis/serviceusage_v1/classes.rb @@ -1596,46 +1596,7 @@ module Google # @return [String] attr_accessor :producer_project_id - # Quota configuration helps to achieve fairness and budgeting in service - # usage. - # The quota configuration works this way: - # - The service configuration defines a set of metrics. - # - For API calls, the quota.metric_rules maps methods to metrics with - # corresponding costs. - # - The quota.limits defines limits on the metrics, which will be used for - # quota checks at runtime. - # An example quota configuration in yaml format: - # quota: - # limits: - # - name: apiWriteQpsPerProject - # metric: library.googleapis.com/write_calls - # unit: "1/min/`project`" # rate limit for consumer projects - # values: - # STANDARD: 10000 - # # The metric rules bind all methods to the read_calls metric, - # # except for the UpdateBook and DeleteBook methods. These two methods - # # are mapped to the write_calls metric, with the UpdateBook method - # # consuming at twice rate as the DeleteBook method. - # metric_rules: - # - selector: "*" - # metric_costs: - # library.googleapis.com/read_calls: 1 - # - selector: google.example.library.v1.LibraryService.UpdateBook - # metric_costs: - # library.googleapis.com/write_calls: 2 - # - selector: google.example.library.v1.LibraryService.DeleteBook - # metric_costs: - # library.googleapis.com/write_calls: 1 - # Corresponding Metric definition: - # metrics: - # - name: library.googleapis.com/read_calls - # display_name: Read requests - # metric_kind: DELTA - # value_type: INT64 - # - name: library.googleapis.com/write_calls - # display_name: Write requests - # metric_kind: DELTA - # value_type: INT64 + # Quota configuration. # Corresponds to the JSON property `quota` # @return [Google::Apis::ServiceusageV1::Quota] attr_accessor :quota @@ -1875,46 +1836,7 @@ module Google # @return [String] attr_accessor :name - # Quota configuration helps to achieve fairness and budgeting in service - # usage. - # The quota configuration works this way: - # - The service configuration defines a set of metrics. - # - For API calls, the quota.metric_rules maps methods to metrics with - # corresponding costs. - # - The quota.limits defines limits on the metrics, which will be used for - # quota checks at runtime. - # An example quota configuration in yaml format: - # quota: - # limits: - # - name: apiWriteQpsPerProject - # metric: library.googleapis.com/write_calls - # unit: "1/min/`project`" # rate limit for consumer projects - # values: - # STANDARD: 10000 - # # The metric rules bind all methods to the read_calls metric, - # # except for the UpdateBook and DeleteBook methods. These two methods - # # are mapped to the write_calls metric, with the UpdateBook method - # # consuming at twice rate as the DeleteBook method. - # metric_rules: - # - selector: "*" - # metric_costs: - # library.googleapis.com/read_calls: 1 - # - selector: google.example.library.v1.LibraryService.UpdateBook - # metric_costs: - # library.googleapis.com/write_calls: 2 - # - selector: google.example.library.v1.LibraryService.DeleteBook - # metric_costs: - # library.googleapis.com/write_calls: 1 - # Corresponding Metric definition: - # metrics: - # - name: library.googleapis.com/read_calls - # display_name: Read requests - # metric_kind: DELTA - # value_type: INT64 - # - name: library.googleapis.com/write_calls - # display_name: Write requests - # metric_kind: DELTA - # value_type: INT64 + # Quota configuration. # Corresponds to the JSON property `quota` # @return [Google::Apis::ServiceusageV1::Quota] attr_accessor :quota @@ -3242,46 +3164,7 @@ module Google end end - # Quota configuration helps to achieve fairness and budgeting in service - # usage. - # The quota configuration works this way: - # - The service configuration defines a set of metrics. - # - For API calls, the quota.metric_rules maps methods to metrics with - # corresponding costs. - # - The quota.limits defines limits on the metrics, which will be used for - # quota checks at runtime. - # An example quota configuration in yaml format: - # quota: - # limits: - # - name: apiWriteQpsPerProject - # metric: library.googleapis.com/write_calls - # unit: "1/min/`project`" # rate limit for consumer projects - # values: - # STANDARD: 10000 - # # The metric rules bind all methods to the read_calls metric, - # # except for the UpdateBook and DeleteBook methods. These two methods - # # are mapped to the write_calls metric, with the UpdateBook method - # # consuming at twice rate as the DeleteBook method. - # metric_rules: - # - selector: "*" - # metric_costs: - # library.googleapis.com/read_calls: 1 - # - selector: google.example.library.v1.LibraryService.UpdateBook - # metric_costs: - # library.googleapis.com/write_calls: 2 - # - selector: google.example.library.v1.LibraryService.DeleteBook - # metric_costs: - # library.googleapis.com/write_calls: 1 - # Corresponding Metric definition: - # metrics: - # - name: library.googleapis.com/read_calls - # display_name: Read requests - # metric_kind: DELTA - # value_type: INT64 - # - name: library.googleapis.com/write_calls - # display_name: Write requests - # metric_kind: DELTA - # value_type: INT64 + # class Quota include Google::Apis::Core::Hashable diff --git a/generated/google/apis/serviceusage_v1beta1.rb b/generated/google/apis/serviceusage_v1beta1.rb index 64081533b..791ae8727 100644 --- a/generated/google/apis/serviceusage_v1beta1.rb +++ b/generated/google/apis/serviceusage_v1beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/service-usage/ module ServiceusageV1beta1 VERSION = 'V1beta1' - REVISION = '20190209' + REVISION = '20190227' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/serviceusage_v1beta1/classes.rb b/generated/google/apis/serviceusage_v1beta1/classes.rb index c6b8fa00a..8da23cd38 100644 --- a/generated/google/apis/serviceusage_v1beta1/classes.rb +++ b/generated/google/apis/serviceusage_v1beta1/classes.rb @@ -1572,46 +1572,7 @@ module Google # @return [String] attr_accessor :producer_project_id - # Quota configuration helps to achieve fairness and budgeting in service - # usage. - # The quota configuration works this way: - # - The service configuration defines a set of metrics. - # - For API calls, the quota.metric_rules maps methods to metrics with - # corresponding costs. - # - The quota.limits defines limits on the metrics, which will be used for - # quota checks at runtime. - # An example quota configuration in yaml format: - # quota: - # limits: - # - name: apiWriteQpsPerProject - # metric: library.googleapis.com/write_calls - # unit: "1/min/`project`" # rate limit for consumer projects - # values: - # STANDARD: 10000 - # # The metric rules bind all methods to the read_calls metric, - # # except for the UpdateBook and DeleteBook methods. These two methods - # # are mapped to the write_calls metric, with the UpdateBook method - # # consuming at twice rate as the DeleteBook method. - # metric_rules: - # - selector: "*" - # metric_costs: - # library.googleapis.com/read_calls: 1 - # - selector: google.example.library.v1.LibraryService.UpdateBook - # metric_costs: - # library.googleapis.com/write_calls: 2 - # - selector: google.example.library.v1.LibraryService.DeleteBook - # metric_costs: - # library.googleapis.com/write_calls: 1 - # Corresponding Metric definition: - # metrics: - # - name: library.googleapis.com/read_calls - # display_name: Read requests - # metric_kind: DELTA - # value_type: INT64 - # - name: library.googleapis.com/write_calls - # display_name: Write requests - # metric_kind: DELTA - # value_type: INT64 + # Quota configuration. # Corresponds to the JSON property `quota` # @return [Google::Apis::ServiceusageV1beta1::Quota] attr_accessor :quota @@ -1851,46 +1812,7 @@ module Google # @return [String] attr_accessor :name - # Quota configuration helps to achieve fairness and budgeting in service - # usage. - # The quota configuration works this way: - # - The service configuration defines a set of metrics. - # - For API calls, the quota.metric_rules maps methods to metrics with - # corresponding costs. - # - The quota.limits defines limits on the metrics, which will be used for - # quota checks at runtime. - # An example quota configuration in yaml format: - # quota: - # limits: - # - name: apiWriteQpsPerProject - # metric: library.googleapis.com/write_calls - # unit: "1/min/`project`" # rate limit for consumer projects - # values: - # STANDARD: 10000 - # # The metric rules bind all methods to the read_calls metric, - # # except for the UpdateBook and DeleteBook methods. These two methods - # # are mapped to the write_calls metric, with the UpdateBook method - # # consuming at twice rate as the DeleteBook method. - # metric_rules: - # - selector: "*" - # metric_costs: - # library.googleapis.com/read_calls: 1 - # - selector: google.example.library.v1.LibraryService.UpdateBook - # metric_costs: - # library.googleapis.com/write_calls: 2 - # - selector: google.example.library.v1.LibraryService.DeleteBook - # metric_costs: - # library.googleapis.com/write_calls: 1 - # Corresponding Metric definition: - # metrics: - # - name: library.googleapis.com/read_calls - # display_name: Read requests - # metric_kind: DELTA - # value_type: INT64 - # - name: library.googleapis.com/write_calls - # display_name: Write requests - # metric_kind: DELTA - # value_type: INT64 + # Quota configuration. # Corresponds to the JSON property `quota` # @return [Google::Apis::ServiceusageV1beta1::Quota] attr_accessor :quota @@ -3218,46 +3140,7 @@ module Google end end - # Quota configuration helps to achieve fairness and budgeting in service - # usage. - # The quota configuration works this way: - # - The service configuration defines a set of metrics. - # - For API calls, the quota.metric_rules maps methods to metrics with - # corresponding costs. - # - The quota.limits defines limits on the metrics, which will be used for - # quota checks at runtime. - # An example quota configuration in yaml format: - # quota: - # limits: - # - name: apiWriteQpsPerProject - # metric: library.googleapis.com/write_calls - # unit: "1/min/`project`" # rate limit for consumer projects - # values: - # STANDARD: 10000 - # # The metric rules bind all methods to the read_calls metric, - # # except for the UpdateBook and DeleteBook methods. These two methods - # # are mapped to the write_calls metric, with the UpdateBook method - # # consuming at twice rate as the DeleteBook method. - # metric_rules: - # - selector: "*" - # metric_costs: - # library.googleapis.com/read_calls: 1 - # - selector: google.example.library.v1.LibraryService.UpdateBook - # metric_costs: - # library.googleapis.com/write_calls: 2 - # - selector: google.example.library.v1.LibraryService.DeleteBook - # metric_costs: - # library.googleapis.com/write_calls: 1 - # Corresponding Metric definition: - # metrics: - # - name: library.googleapis.com/read_calls - # display_name: Read requests - # metric_kind: DELTA - # value_type: INT64 - # - name: library.googleapis.com/write_calls - # display_name: Write requests - # metric_kind: DELTA - # value_type: INT64 + # class Quota include Google::Apis::Core::Hashable @@ -3533,46 +3416,7 @@ module Google # @return [String] attr_accessor :name - # Quota configuration helps to achieve fairness and budgeting in service - # usage. - # The quota configuration works this way: - # - The service configuration defines a set of metrics. - # - For API calls, the quota.metric_rules maps methods to metrics with - # corresponding costs. - # - The quota.limits defines limits on the metrics, which will be used for - # quota checks at runtime. - # An example quota configuration in yaml format: - # quota: - # limits: - # - name: apiWriteQpsPerProject - # metric: library.googleapis.com/write_calls - # unit: "1/min/`project`" # rate limit for consumer projects - # values: - # STANDARD: 10000 - # # The metric rules bind all methods to the read_calls metric, - # # except for the UpdateBook and DeleteBook methods. These two methods - # # are mapped to the write_calls metric, with the UpdateBook method - # # consuming at twice rate as the DeleteBook method. - # metric_rules: - # - selector: "*" - # metric_costs: - # library.googleapis.com/read_calls: 1 - # - selector: google.example.library.v1.LibraryService.UpdateBook - # metric_costs: - # library.googleapis.com/write_calls: 2 - # - selector: google.example.library.v1.LibraryService.DeleteBook - # metric_costs: - # library.googleapis.com/write_calls: 1 - # Corresponding Metric definition: - # metrics: - # - name: library.googleapis.com/read_calls - # display_name: Read requests - # metric_kind: DELTA - # value_type: INT64 - # - name: library.googleapis.com/write_calls - # display_name: Write requests - # metric_kind: DELTA - # value_type: INT64 + # Quota configuration. # Corresponds to the JSON property `quota` # @return [Google::Apis::ServiceusageV1beta1::Quota] attr_accessor :quota diff --git a/generated/google/apis/storagetransfer_v1.rb b/generated/google/apis/storagetransfer_v1.rb index 13c3f987f..11f54b060 100644 --- a/generated/google/apis/storagetransfer_v1.rb +++ b/generated/google/apis/storagetransfer_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/storage-transfer/docs module StoragetransferV1 VERSION = 'V1' - REVISION = '20190219' + REVISION = '20190226' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/storagetransfer_v1/classes.rb b/generated/google/apis/storagetransfer_v1/classes.rb index 367ecb079..0fd1dbbda 100644 --- a/generated/google/apis/storagetransfer_v1/classes.rb +++ b/generated/google/apis/storagetransfer_v1/classes.rb @@ -353,7 +353,8 @@ module Google end end - # Conditions that determine which objects will be transferred. + # Conditions that determine which objects will be transferred. Applies only + # to S3 and GCS objects. class ObjectConditions include Google::Apis::Core::Hashable @@ -394,19 +395,24 @@ module Google # @return [Array] attr_accessor :include_prefixes - # `maxTimeElapsedSinceLastModification` is the complement to - # `minTimeElapsedSinceLastModification`. + # If specified, only objects with a `lastModificationTime` on or after + # `NOW` - `maxTimeElapsedSinceLastModification` and objects that don't have + # a `lastModificationTime` are transferred. + # Note that `NOW` refers to the creation time of the transfer job, and + # `lastModificationTime` refers to the time of the last change to the + # object's content or metadata. Specifically, this would be the `updated` + # property of GCS objects and the `LastModified` field of S3 objects. # Corresponds to the JSON property `maxTimeElapsedSinceLastModification` # @return [String] attr_accessor :max_time_elapsed_since_last_modification - # If unspecified, `minTimeElapsedSinceLastModification` takes a zero value - # and `maxTimeElapsedSinceLastModification` takes the maximum possible - # value of Duration. Objects that satisfy the object conditions - # must either have a `lastModificationTime` greater or equal to - # `NOW` - `maxTimeElapsedSinceLastModification` and less than - # `NOW` - `minTimeElapsedSinceLastModification`, or not have a - # `lastModificationTime`. + # If specified, only objects with a `lastModificationTime` before + # `NOW` - `minTimeElapsedSinceLastModification` and objects that don't have a + # `lastModificationTime` are transferred. + # Note that `NOW` refers to the creation time of the transfer job, and + # `lastModificationTime` refers to the time of the last change to the + # object's content or metadata. Specifically, this would be the `updated` + # property of GCS objects and the `LastModified` field of S3 objects. # Corresponds to the JSON property `minTimeElapsedSinceLastModification` # @return [String] attr_accessor :min_time_elapsed_since_last_modification @@ -1064,7 +1070,8 @@ module Google # @return [Google::Apis::StoragetransferV1::HttpData] attr_accessor :http_data_source - # Conditions that determine which objects will be transferred. + # Conditions that determine which objects will be transferred. Applies only + # to S3 and GCS objects. # Corresponds to the JSON property `objectConditions` # @return [Google::Apis::StoragetransferV1::ObjectConditions] attr_accessor :object_conditions