diff --git a/api_names_out.yaml b/api_names_out.yaml index d18bd3683..088810bcd 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -136898,6 +136898,7 @@ "/tpu:v1/Node/serviceAccount": service_account "/tpu:v1/Node/state": state "/tpu:v1/Node/tensorflowVersion": tensorflow_version +"/tpu:v1/Node/useServiceNetworking": use_service_networking "/tpu:v1/Operation": operation "/tpu:v1/Operation/done": done "/tpu:v1/Operation/error": error @@ -137047,6 +137048,7 @@ "/tpu:v1alpha1/Node/serviceAccount": service_account "/tpu:v1alpha1/Node/state": state "/tpu:v1alpha1/Node/tensorflowVersion": tensorflow_version +"/tpu:v1alpha1/Node/useServiceNetworking": use_service_networking "/tpu:v1alpha1/Operation": operation "/tpu:v1alpha1/Operation/done": done "/tpu:v1alpha1/Operation/error": error diff --git a/generated/google/apis/artifactregistry_v1beta1.rb b/generated/google/apis/artifactregistry_v1beta1.rb index 192ee7e37..704e9b6ae 100644 --- a/generated/google/apis/artifactregistry_v1beta1.rb +++ b/generated/google/apis/artifactregistry_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/artifacts/docs/ module ArtifactregistryV1beta1 VERSION = 'V1beta1' - REVISION = '20200701' + REVISION = '20200807' # 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/artifactregistry_v1beta1/classes.rb b/generated/google/apis/artifactregistry_v1beta1/classes.rb index 5132b4cf7..130426d3e 100644 --- a/generated/google/apis/artifactregistry_v1beta1/classes.rb +++ b/generated/google/apis/artifactregistry_v1beta1/classes.rb @@ -26,69 +26,57 @@ module Google class Binding include Google::Apis::Core::Hashable - # Represents a textual expression in the Common Expression Language (CEL) - # syntax. CEL is a C-like expression language. The syntax and semantics of CEL - # are documented at https://github.com/google/cel-spec. - # Example (Comparison): - # title: "Summary size limit" - # description: "Determines if a summary is less than 100 chars" - # expression: "document.summary.size() < 100" - # Example (Equality): - # title: "Requestor is owner" - # description: "Determines if requestor is the document owner" - # expression: "document.owner == request.auth.claims.email" - # Example (Logic): - # title: "Public documents" - # description: "Determine whether the document should be publicly visible" - # expression: "document.type != 'private' && document.type != 'internal'" - # Example (Data Manipulation): - # title: "Notification string" - # description: "Create a notification string with a timestamp." - # expression: "'New message received at ' + string(document.create_time)" - # The exact variables and functions that may be referenced within an expression - # are determined by the service that evaluates it. See the service - # documentation for additional information. + # Represents a textual expression in the Common Expression Language (CEL) syntax. + # CEL is a C-like expression language. The syntax and semantics of CEL are + # documented at https://github.com/google/cel-spec. Example (Comparison): title: + # "Summary size limit" description: "Determines if a summary is less than 100 + # chars" expression: "document.summary.size() < 100" Example (Equality): title: " + # Requestor is owner" description: "Determines if requestor is the document + # owner" expression: "document.owner == request.auth.claims.email" Example ( + # Logic): title: "Public documents" description: "Determine whether the document + # should be publicly visible" expression: "document.type != 'private' && + # document.type != 'internal'" Example (Data Manipulation): title: "Notification + # string" description: "Create a notification string with a timestamp." + # expression: "'New message received at ' + string(document.create_time)" The + # exact variables and functions that may be referenced within an expression are + # determined by the service that evaluates it. See the service documentation for + # additional information. # Corresponds to the JSON property `condition` # @return [Google::Apis::ArtifactregistryV1beta1::Expr] attr_accessor :condition - # Specifies the identities requesting access for a Cloud Platform resource. - # `members` can have the following values: - # * `allUsers`: A special identifier that represents anyone who is - # on the internet; with or without a Google account. - # * `allAuthenticatedUsers`: A special identifier that represents anyone - # who is authenticated with a Google account or a service account. - # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@example.com` . - # * `serviceAccount:`emailid``: An email address that represents a service - # account. For example, `my-other-app@appspot.gserviceaccount.com`. - # * `group:`emailid``: An email address that represents a Google group. - # For example, `admins@example.com`. - # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique - # identifier) representing a user that has been recently deleted. For - # example, `alice@example.com?uid=123456789012345678901`. If the user is - # recovered, this value reverts to `user:`emailid`` and the recovered user - # retains the role in the binding. - # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus - # unique identifier) representing a service account that has been recently - # deleted. For example, - # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. - # If the service account is undeleted, this value reverts to - # `serviceAccount:`emailid`` and the undeleted service account retains the - # role in the binding. - # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique - # identifier) representing a Google group that has been recently - # deleted. For example, `admins@example.com?uid=123456789012345678901`. If - # the group is recovered, this value reverts to `group:`emailid`` and the - # recovered group retains the role in the binding. - # * `domain:`domain``: The G Suite domain (primary) that represents all the - # users of that domain. For example, `google.com` or `example.com`. + # Specifies the identities requesting access for a Cloud Platform resource. ` + # members` can have the following values: * `allUsers`: A special identifier + # that represents anyone who is on the internet; with or without a Google + # account. * `allAuthenticatedUsers`: A special identifier that represents + # anyone who is authenticated with a Google account or a service account. * ` + # user:`emailid``: An email address that represents a specific Google account. + # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email + # address that represents a service account. For example, `my-other-app@appspot. + # gserviceaccount.com`. * `group:`emailid``: An email address that represents a + # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid= + # `uniqueid``: An email address (plus unique identifier) representing a user + # that has been recently deleted. For example, `alice@example.com?uid= + # 123456789012345678901`. If the user is recovered, this value reverts to `user:` + # emailid`` and the recovered user retains the role in the binding. * `deleted: + # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique + # identifier) representing a service account that has been recently deleted. For + # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. + # If the service account is undeleted, this value reverts to `serviceAccount:` + # emailid`` and the undeleted service account retains the role in the binding. * + # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique + # identifier) representing a Google group that has been recently deleted. For + # example, `admins@example.com?uid=123456789012345678901`. If the group is + # recovered, this value reverts to `group:`emailid`` and the recovered group + # retains the role in the binding. * `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] attr_accessor :members - # Role that is assigned to `members`. - # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor` + # , or `roles/owner`. # Corresponds to the JSON property `role` # @return [String] attr_accessor :role @@ -105,13 +93,11 @@ module Google end end - # A generic empty message that you can re-use to avoid defining duplicated - # empty messages in your APIs. A typical example is to use it as the request - # or the response type of an API method. For instance: - # service Foo ` - # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - # ` - # The JSON representation for `Empty` is empty JSON object ````. + # A generic empty message that you can re-use to avoid defining duplicated empty + # messages in your APIs. A typical example is to use it as the request or the + # response type of an API method. For instance: service Foo ` rpc Bar(google. + # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for + # `Empty` is empty JSON object ````. class Empty include Google::Apis::Core::Hashable @@ -124,52 +110,43 @@ module Google end end - # Represents a textual expression in the Common Expression Language (CEL) - # syntax. CEL is a C-like expression language. The syntax and semantics of CEL - # are documented at https://github.com/google/cel-spec. - # Example (Comparison): - # title: "Summary size limit" - # description: "Determines if a summary is less than 100 chars" - # expression: "document.summary.size() < 100" - # Example (Equality): - # title: "Requestor is owner" - # description: "Determines if requestor is the document owner" - # expression: "document.owner == request.auth.claims.email" - # Example (Logic): - # title: "Public documents" - # description: "Determine whether the document should be publicly visible" - # expression: "document.type != 'private' && document.type != 'internal'" - # Example (Data Manipulation): - # title: "Notification string" - # description: "Create a notification string with a timestamp." - # expression: "'New message received at ' + string(document.create_time)" - # The exact variables and functions that may be referenced within an expression - # are determined by the service that evaluates it. See the service - # documentation for additional information. + # Represents a textual expression in the Common Expression Language (CEL) syntax. + # CEL is a C-like expression language. The syntax and semantics of CEL are + # documented at https://github.com/google/cel-spec. Example (Comparison): title: + # "Summary size limit" description: "Determines if a summary is less than 100 + # chars" expression: "document.summary.size() < 100" Example (Equality): title: " + # Requestor is owner" description: "Determines if requestor is the document + # owner" expression: "document.owner == request.auth.claims.email" Example ( + # Logic): title: "Public documents" description: "Determine whether the document + # should be publicly visible" expression: "document.type != 'private' && + # document.type != 'internal'" Example (Data Manipulation): title: "Notification + # string" description: "Create a notification string with a timestamp." + # expression: "'New message received at ' + string(document.create_time)" The + # exact variables and functions that may be referenced within an expression are + # determined by the service that evaluates it. See the service documentation for + # additional information. class Expr include Google::Apis::Core::Hashable - # Optional. Description of the expression. This is a longer text which - # describes the expression, e.g. when hovered over it in a UI. + # Optional. Description of the expression. This is a longer text which describes + # the expression, e.g. when hovered over it in a UI. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # Textual representation of an expression in Common Expression Language - # syntax. + # Textual representation of an expression in Common Expression Language syntax. # Corresponds to the JSON property `expression` # @return [String] attr_accessor :expression - # Optional. String indicating the location of the expression for error - # reporting, e.g. a file name and a position in the file. + # Optional. String indicating the location of the expression for error reporting, + # e.g. a file name and a position in the file. # Corresponds to the JSON property `location` # @return [String] attr_accessor :location - # Optional. Title for the expression, i.e. a short string describing - # its purpose. This can be used e.g. in UIs which allow to enter the - # expression. + # Optional. Title for the expression, i.e. a short string describing its purpose. + # This can be used e.g. in UIs which allow to enter the expression. # Corresponds to the JSON property `title` # @return [String] attr_accessor :title @@ -201,8 +178,8 @@ module Google # @return [Array] attr_accessor :hashes - # The name of the file, for example: - # "projects/p1/locations/us-central1/repositories/repo1/files/a/b/c.txt". + # The name of the file, for example: "projects/p1/locations/us-central1/ + # repositories/repo1/files/a/b/c.txt". # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -241,12 +218,12 @@ module Google class GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo include Google::Apis::Core::Hashable - # The `Status` type defines a logical error model that is suitable for - # different programming environments, including REST APIs and RPC APIs. It is - # used by [gRPC](https://github.com/grpc). Each `Status` message contains - # three pieces of data: error code, error message, and error details. - # You can find out more about this error model and how to work with it in the - # [API Design Guide](https://cloud.google.com/apis/design/errors). + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of + # data: error code, error message, and error details. You can find out more + # about this error model and how to work with it in the [API Design Guide](https: + # //cloud.google.com/apis/design/errors). # Corresponds to the JSON property `error` # @return [Google::Apis::ArtifactregistryV1beta1::Status] attr_accessor :error @@ -325,8 +302,8 @@ module Google # @return [String] attr_accessor :display_name - # The name of the package, for example: - # "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1". + # The name of the package, for example: "projects/p1/locations/us-central1/ + # repositories/repo1/packages/pkg1". # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -385,8 +362,8 @@ module Google # @return [Array] attr_accessor :files - # The token to retrieve the next page of files, or empty if there are no - # more files to return. + # The token to retrieve the next page of files, or empty if there are no more + # files to return. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -456,8 +433,8 @@ module Google class ListPackagesResponse include Google::Apis::Core::Hashable - # The token to retrieve the next page of packages, or empty if there are no - # more packages to return. + # The token to retrieve the next page of packages, or empty if there are no more + # packages to return. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -482,8 +459,8 @@ module Google class ListRepositoriesResponse include Google::Apis::Core::Hashable - # The token to retrieve the next page of repositories, or empty if there are - # no more repositories to return. + # The token to retrieve the next page of repositories, or empty if there are no + # more repositories to return. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -508,8 +485,8 @@ module Google class ListTagsResponse include Google::Apis::Core::Hashable - # The token to retrieve the next page of tags, or empty if there are no - # more tags to return. + # The token to retrieve the next page of tags, or empty if there are no more + # tags to return. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -534,8 +511,8 @@ module Google class ListVersionsResponse include Google::Apis::Core::Hashable - # The token to retrieve the next page of versions, or empty if there are no - # more versions to return. + # The token to retrieve the next page of versions, or empty if there are no more + # versions to return. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -560,14 +537,14 @@ module Google class Location include Google::Apis::Core::Hashable - # The friendly name for this location, typically a nearby city name. - # For example, "Tokyo". + # The friendly name for this location, typically a nearby city name. For example, + # "Tokyo". # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name - # Cross-service attributes for the location. For example - # `"cloud.googleapis.com/region": "us-east1"` + # Cross-service attributes for the location. For example `"cloud.googleapis.com/ + # region": "us-east1"` # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels @@ -583,8 +560,8 @@ module Google # @return [Hash] attr_accessor :metadata - # Resource name for the location, which may vary between implementations. - # For example: `"projects/example-project/locations/us-east1"` + # Resource name for the location, which may vary between implementations. For + # example: `"projects/example-project/locations/us-east1"` # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -608,47 +585,45 @@ module Google class Operation include Google::Apis::Core::Hashable - # If the value is `false`, it means the operation is still in progress. - # If `true`, the operation is completed, and either `error` or `response` is - # available. + # If the value is `false`, it means the operation is still in progress. If `true` + # , the operation is completed, and either `error` or `response` is available. # Corresponds to the JSON property `done` # @return [Boolean] attr_accessor :done alias_method :done?, :done - # The `Status` type defines a logical error model that is suitable for - # different programming environments, including REST APIs and RPC APIs. It is - # used by [gRPC](https://github.com/grpc). Each `Status` message contains - # three pieces of data: error code, error message, and error details. - # You can find out more about this error model and how to work with it in the - # [API Design Guide](https://cloud.google.com/apis/design/errors). + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of + # data: error code, error message, and error details. You can find out more + # about this error model and how to work with it in the [API Design Guide](https: + # //cloud.google.com/apis/design/errors). # Corresponds to the JSON property `error` # @return [Google::Apis::ArtifactregistryV1beta1::Status] attr_accessor :error - # Service-specific metadata associated with the operation. It typically - # contains progress information and common metadata such as create time. - # Some services might not provide such metadata. Any method that returns a - # long-running operation should document the metadata type, if any. + # Service-specific metadata associated with the operation. It typically contains + # progress information and common metadata such as create time. Some services + # might not provide such metadata. Any method that returns a long-running + # operation should document the metadata type, if any. # Corresponds to the JSON property `metadata` # @return [Hash] attr_accessor :metadata # The server-assigned name, which is only unique within the same service that - # originally returns it. If you use the default HTTP mapping, the - # `name` should be a resource name ending with `operations/`unique_id``. + # originally returns it. If you use the default HTTP mapping, the `name` should + # be a resource name ending with `operations/`unique_id``. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # The normal response of the operation in case of success. If the original - # method returns no data on success, such as `Delete`, the response is - # `google.protobuf.Empty`. If the original method is standard - # `Get`/`Create`/`Update`, the response should be the resource. For other - # methods, the response should have the type `XxxResponse`, where `Xxx` - # is the original method name. For example, if the original method name - # is `TakeSnapshot()`, the inferred response type is - # `TakeSnapshotResponse`. + # The normal response of the operation in case of success. If the original + # method returns no data on success, such as `Delete`, the response is `google. + # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, + # the response should be the resource. For other methods, the response should + # have the type `XxxResponse`, where `Xxx` is the original method name. For + # example, if the original method name is `TakeSnapshot()`, the inferred + # response type is `TakeSnapshotResponse`. # Corresponds to the JSON property `response` # @return [Hash] attr_accessor :response @@ -681,8 +656,8 @@ module Google # @return [String] attr_accessor :display_name - # The name of the package, for example: - # "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1". + # The name of the package, for example: "projects/p1/locations/us-central1/ + # repositories/repo1/packages/pkg1". # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -707,111 +682,73 @@ module Google end # An Identity and Access Management (IAM) policy, which specifies access - # controls for Google Cloud resources. - # A `Policy` is a collection of `bindings`. A `binding` binds one or more - # `members` to a single `role`. Members can be user accounts, service accounts, - # Google groups, and domains (such as G Suite). A `role` is a named list of - # permissions; each `role` can be an IAM predefined role or a user-created - # custom role. - # For some types of Google Cloud resources, a `binding` can also specify a - # `condition`, which is a logical expression that allows access to a resource - # only if the expression evaluates to `true`. A condition can add constraints - # based on attributes of the request, the resource, or both. To learn which - # resources support conditions in their IAM policies, see the - # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- - # policies). - # **JSON example:** - # ` - # "bindings": [ - # ` - # "role": "roles/resourcemanager.organizationAdmin", - # "members": [ - # "user:mike@example.com", - # "group:admins@example.com", - # "domain:google.com", - # "serviceAccount:my-project-id@appspot.gserviceaccount.com" - # ] - # `, - # ` - # "role": "roles/resourcemanager.organizationViewer", - # "members": [ - # "user:eve@example.com" - # ], - # "condition": ` - # "title": "expirable access", - # "description": "Does not grant access after Sep 2020", - # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z') - # ", - # ` - # ` - # ], - # "etag": "BwWWja0YfJA=", - # "version": 3 - # ` - # **YAML example:** - # bindings: - # - members: - # - user:mike@example.com - # - group:admins@example.com - # - domain:google.com - # - serviceAccount:my-project-id@appspot.gserviceaccount.com - # role: roles/resourcemanager.organizationAdmin - # - members: - # - user:eve@example.com - # role: roles/resourcemanager.organizationViewer - # condition: - # title: expirable access - # description: Does not grant access after Sep 2020 - # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - # - etag: BwWWja0YfJA= - # - version: 3 - # For a description of IAM and its features, see the - # [IAM documentation](https://cloud.google.com/iam/docs/). + # controls for Google Cloud resources. A `Policy` is a collection of `bindings`. + # A `binding` binds one or more `members` to a single `role`. Members can be + # user accounts, service accounts, Google groups, and domains (such as G Suite). + # A `role` is a named list of permissions; each `role` can be an IAM predefined + # role or a user-created custom role. For some types of Google Cloud resources, + # a `binding` can also specify a `condition`, which is a logical expression that + # allows access to a resource only if the expression evaluates to `true`. A + # condition can add constraints based on attributes of the request, the resource, + # or both. To learn which resources support conditions in their IAM policies, + # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/ + # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/ + # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", " + # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@ + # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager. + # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` " + # title": "expirable access", "description": "Does not grant access after Sep + # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", ` + # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: - + # members: - user:mike@example.com - group:admins@example.com - domain:google. + # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/ + # resourcemanager.organizationAdmin - members: - user:eve@example.com role: + # roles/resourcemanager.organizationViewer condition: title: expirable access + # description: Does not grant access after Sep 2020 expression: request.time < + # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a + # description of IAM and its features, see the [IAM documentation](https://cloud. + # google.com/iam/docs/). class Policy include Google::Apis::Core::Hashable - # Associates a list of `members` to a `role`. Optionally, may specify a - # `condition` that determines how and when the `bindings` are applied. Each - # of the `bindings` must contain at least one member. + # Associates a list of `members` to a `role`. Optionally, may specify a ` + # condition` that determines how and when the `bindings` are applied. Each of + # the `bindings` must contain at least one member. # Corresponds to the JSON property `bindings` # @return [Array] attr_accessor :bindings - # `etag` is used for optimistic concurrency control as a way to help - # prevent simultaneous updates of a policy from overwriting each other. - # It is strongly suggested that systems make use of the `etag` in the - # read-modify-write cycle to perform policy updates in order to avoid race - # conditions: An `etag` is returned in the response to `getIamPolicy`, and - # systems are expected to put that etag in the request to `setIamPolicy` to - # ensure that their change will be applied to the same version of the policy. - # **Important:** If you use IAM Conditions, you must include the `etag` field - # whenever you call `setIamPolicy`. If you omit this field, then IAM allows - # you to overwrite a version `3` policy with a version `1` policy, and all of - # the conditions in the version `3` policy are lost. + # `etag` is used for optimistic concurrency control as a way to help prevent + # simultaneous updates of a policy from overwriting each other. It is strongly + # suggested that systems make use of the `etag` in the read-modify-write cycle + # to perform policy updates in order to avoid race conditions: An `etag` is + # returned in the response to `getIamPolicy`, and systems are expected to put + # that etag in the request to `setIamPolicy` to ensure that their change will be + # applied to the same version of the policy. **Important:** If you use IAM + # Conditions, you must include the `etag` field whenever you call `setIamPolicy`. + # If you omit this field, then IAM allows you to overwrite a version `3` policy + # with a version `1` policy, and all of the conditions in the version `3` policy + # are lost. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] attr_accessor :etag - # Specifies the format of the policy. - # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value - # are rejected. - # Any operation that affects conditional role bindings must specify version - # `3`. This requirement applies to the following operations: - # * Getting a policy that includes a conditional role binding - # * Adding a conditional role binding to a policy - # * Changing a conditional role binding in a policy - # * Removing any role binding, with or without a condition, from a policy - # that includes conditions - # **Important:** If you use IAM Conditions, you must include the `etag` field - # whenever you call `setIamPolicy`. If you omit this field, then IAM allows - # you to overwrite a version `3` policy with a version `1` policy, and all of - # the conditions in the version `3` policy are lost. - # If a policy does not include any conditions, operations on that policy may - # specify any valid version or leave the field unset. - # To learn which resources support conditions in their IAM policies, see the - # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- - # policies). + # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. + # Requests that specify an invalid value are rejected. Any operation that + # affects conditional role bindings must specify version `3`. This requirement + # applies to the following operations: * Getting a policy that includes a + # conditional role binding * Adding a conditional role binding to a policy * + # Changing a conditional role binding in a policy * Removing any role binding, + # with or without a condition, from a policy that includes conditions ** + # Important:** If you use IAM Conditions, you must include the `etag` field + # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you + # to overwrite a version `3` policy with a version `1` policy, and all of the + # conditions in the version `3` policy are lost. If a policy does not include + # any conditions, operations on that policy may specify any valid version or + # leave the field unset. To learn which resources support conditions in their + # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/ + # conditions/resource-policies). # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -847,25 +784,24 @@ module Google # @return [String] attr_accessor :format - # The Cloud KMS resource name of the customer managed encryption key that’s - # used to encrypt the contents of the Repository. Has the form: - # `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. - # This value may not be changed after the Repository has been created. + # The Cloud KMS resource name of the customer managed encryption key that’s used + # to encrypt the contents of the Repository. Has the form: `projects/my-project/ + # locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be + # changed after the Repository has been created. # Corresponds to the JSON property `kmsKeyName` # @return [String] attr_accessor :kms_key_name - # Labels with user-defined metadata. - # This field may contain up to 64 entries. Label keys and values may be no - # longer than 63 characters. Label keys must begin with a lowercase letter - # and may only contain lowercase letters, numeric characters, underscores, - # and dashes. + # Labels with user-defined metadata. This field may contain up to 64 entries. + # Label keys and values may be no longer than 63 characters. Label keys must + # begin with a lowercase letter and may only contain lowercase letters, numeric + # characters, underscores, and dashes. # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels - # The name of the repository, for example: - # "projects/p1/locations/us-central1/repositories/repo1". + # The name of the repository, for example: "projects/p1/locations/us-central1/ + # repositories/repo1". # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -896,66 +832,32 @@ module Google include Google::Apis::Core::Hashable # An Identity and Access Management (IAM) policy, which specifies access - # controls for Google Cloud resources. - # A `Policy` is a collection of `bindings`. A `binding` binds one or more - # `members` to a single `role`. Members can be user accounts, service accounts, - # Google groups, and domains (such as G Suite). A `role` is a named list of - # permissions; each `role` can be an IAM predefined role or a user-created - # custom role. - # For some types of Google Cloud resources, a `binding` can also specify a - # `condition`, which is a logical expression that allows access to a resource - # only if the expression evaluates to `true`. A condition can add constraints - # based on attributes of the request, the resource, or both. To learn which - # resources support conditions in their IAM policies, see the - # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- - # policies). - # **JSON example:** - # ` - # "bindings": [ - # ` - # "role": "roles/resourcemanager.organizationAdmin", - # "members": [ - # "user:mike@example.com", - # "group:admins@example.com", - # "domain:google.com", - # "serviceAccount:my-project-id@appspot.gserviceaccount.com" - # ] - # `, - # ` - # "role": "roles/resourcemanager.organizationViewer", - # "members": [ - # "user:eve@example.com" - # ], - # "condition": ` - # "title": "expirable access", - # "description": "Does not grant access after Sep 2020", - # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z') - # ", - # ` - # ` - # ], - # "etag": "BwWWja0YfJA=", - # "version": 3 - # ` - # **YAML example:** - # bindings: - # - members: - # - user:mike@example.com - # - group:admins@example.com - # - domain:google.com - # - serviceAccount:my-project-id@appspot.gserviceaccount.com - # role: roles/resourcemanager.organizationAdmin - # - members: - # - user:eve@example.com - # role: roles/resourcemanager.organizationViewer - # condition: - # title: expirable access - # description: Does not grant access after Sep 2020 - # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - # - etag: BwWWja0YfJA= - # - version: 3 - # For a description of IAM and its features, see the - # [IAM documentation](https://cloud.google.com/iam/docs/). + # controls for Google Cloud resources. A `Policy` is a collection of `bindings`. + # A `binding` binds one or more `members` to a single `role`. Members can be + # user accounts, service accounts, Google groups, and domains (such as G Suite). + # A `role` is a named list of permissions; each `role` can be an IAM predefined + # role or a user-created custom role. For some types of Google Cloud resources, + # a `binding` can also specify a `condition`, which is a logical expression that + # allows access to a resource only if the expression evaluates to `true`. A + # condition can add constraints based on attributes of the request, the resource, + # or both. To learn which resources support conditions in their IAM policies, + # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/ + # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/ + # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", " + # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@ + # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager. + # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` " + # title": "expirable access", "description": "Does not grant access after Sep + # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", ` + # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: - + # members: - user:mike@example.com - group:admins@example.com - domain:google. + # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/ + # resourcemanager.organizationAdmin - members: - user:eve@example.com role: + # roles/resourcemanager.organizationViewer condition: title: expirable access + # description: Does not grant access after Sep 2020 expression: request.time < + # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a + # description of IAM and its features, see the [IAM documentation](https://cloud. + # google.com/iam/docs/). # Corresponds to the JSON property `policy` # @return [Google::Apis::ArtifactregistryV1beta1::Policy] attr_accessor :policy @@ -970,12 +872,12 @@ module Google end end - # The `Status` type defines a logical error model that is suitable for - # different programming environments, including REST APIs and RPC APIs. It is - # used by [gRPC](https://github.com/grpc). Each `Status` message contains - # three pieces of data: error code, error message, and error details. - # You can find out more about this error model and how to work with it in the - # [API Design Guide](https://cloud.google.com/apis/design/errors). + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of + # data: error code, error message, and error details. You can find out more + # about this error model and how to work with it in the [API Design Guide](https: + # //cloud.google.com/apis/design/errors). class Status include Google::Apis::Core::Hashable @@ -984,15 +886,15 @@ module Google # @return [Fixnum] attr_accessor :code - # A list of messages that carry the error details. There is a common set of + # A list of messages that carry the error details. There is a common set of # message types for APIs to use. # Corresponds to the JSON property `details` # @return [Array>] attr_accessor :details - # A developer-facing error message, which should be in English. Any - # user-facing error message should be localized and sent in the - # google.rpc.Status.details field, or localized by the client. + # A developer-facing error message, which should be in English. Any user-facing + # error message should be localized and sent in the google.rpc.Status.details + # field, or localized by the client. # Corresponds to the JSON property `message` # @return [String] attr_accessor :message @@ -1009,20 +911,19 @@ module Google end end - # Tags point to a version and represent an alternative name that can be used - # to access the version. + # Tags point to a version and represent an alternative name that can be used to + # access the version. class Tag include Google::Apis::Core::Hashable - # The name of the tag, for example: - # "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". + # The name of the tag, for example: "projects/p1/locations/us-central1/ + # repositories/repo1/packages/pkg1/tags/tag1". # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # The name of the version the tag refers to, for example: - # "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/ - # sha256:5243811" + # The name of the version the tag refers to, for example: "projects/p1/locations/ + # us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811" # Corresponds to the JSON property `version` # @return [String] attr_accessor :version @@ -1042,10 +943,9 @@ module Google class TestIamPermissionsRequest include Google::Apis::Core::Hashable - # The set of permissions to check for the `resource`. Permissions with - # wildcards (such as '*' or 'storage.*') are not allowed. For more - # information see - # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + # The set of permissions to check for the `resource`. Permissions with wildcards + # (such as '*' or 'storage.*') are not allowed. For more information see [IAM + # Overview](https://cloud.google.com/iam/docs/overview#permissions). # Corresponds to the JSON property `permissions` # @return [Array] attr_accessor :permissions @@ -1064,8 +964,7 @@ module Google class TestIamPermissionsResponse include Google::Apis::Core::Hashable - # A subset of `TestPermissionsRequest.permissions` that the caller is - # allowed. + # A subset of `TestPermissionsRequest.permissions` that the caller is allowed. # Corresponds to the JSON property `permissions` # @return [Array] attr_accessor :permissions @@ -1080,9 +979,9 @@ module Google end end - # The body of a version resource. A version resource represents a - # collection of components, such as files and other data. This may correspond - # to a version in many package management schemes. + # The body of a version resource. A version resource represents a collection of + # components, such as files and other data. This may correspond to a version in + # many package management schemes. class Version include Google::Apis::Core::Hashable @@ -1096,9 +995,8 @@ module Google # @return [String] attr_accessor :description - # The name of the version, for example: - # "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/ - # art1". + # The name of the version, for example: "projects/p1/locations/us-central1/ + # repositories/repo1/packages/pkg1/versions/art1". # Corresponds to the JSON property `name` # @return [String] attr_accessor :name diff --git a/generated/google/apis/artifactregistry_v1beta1/service.rb b/generated/google/apis/artifactregistry_v1beta1/service.rb index c62bc2f5f..c44267105 100644 --- a/generated/google/apis/artifactregistry_v1beta1/service.rb +++ b/generated/google/apis/artifactregistry_v1beta1/service.rb @@ -117,9 +117,8 @@ module Google execute_or_queue_command(command, &block) end - # Gets the latest state of a long-running operation. Clients can use this - # method to poll the operation result at intervals as recommended by the API - # service. + # Gets the latest state of a long-running operation. Clients can use this method + # to poll the operation result at intervals as recommended by the API service. # @param [String] name # The name of the operation resource. # @param [String] fields @@ -149,15 +148,14 @@ module Google execute_or_queue_command(command, &block) end - # Lists operations that match the specified filter in the request. If the - # server doesn't support this method, it returns `UNIMPLEMENTED`. - # NOTE: the `name` binding allows API services to override the binding - # to use different resource name schemes, such as `users/*/operations`. To - # override the binding, API services can add a binding such as - # `"/v1/`name=users/*`/operations"` to their service configuration. - # For backwards compatibility, the default name includes the operations - # collection id, however overriding users must ensure the name binding - # is the parent resource, without the operations collection id. + # Lists operations that match the specified filter in the request. If the server + # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` + # binding allows API services to override the binding to use different resource + # name schemes, such as `users/*/operations`. To override the binding, API + # services can add a binding such as `"/v1/`name=users/*`/operations"` to their + # service configuration. For backwards compatibility, the default name includes + # the operations collection id, however overriding users must ensure the name + # binding is the parent resource, without the operations collection id. # @param [String] name # The name of the operation's parent resource. # @param [String] filter @@ -196,8 +194,8 @@ module Google execute_or_queue_command(command, &block) end - # Creates a repository. The returned Operation will finish once the - # repository has been created. Its response will be the created Repository. + # Creates a repository. The returned Operation will finish once the repository + # has been created. Its response will be the created Repository. # @param [String] parent # The name of the parent resource where the repository will be created. # @param [Google::Apis::ArtifactregistryV1beta1::Repository] repository_object @@ -297,18 +295,16 @@ module Google # Gets the IAM policy for a given resource. # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy is being requested. See the + # operation documentation for the appropriate value for this field. # @param [Fixnum] options_requested_policy_version - # Optional. The policy format version to be returned. - # Valid values are 0, 1, and 3. Requests specifying an invalid value will be - # rejected. - # Requests for policies with any conditional bindings must specify version 3. - # Policies without any conditional bindings may specify any valid value or - # leave the field unset. - # To learn which resources support conditions in their IAM policies, see the - # [IAM - # documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + # Optional. The policy format version to be returned. Valid values are 0, 1, and + # 3. Requests specifying an invalid value will be rejected. Requests for + # policies with any conditional bindings must specify version 3. Policies + # without any conditional bindings may specify any valid value or leave the + # field unset. To learn which resources support conditions in their IAM policies, + # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/ + # resource-policies). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -375,12 +371,11 @@ module Google # Updates a repository. # @param [String] name - # The name of the repository, for example: - # "projects/p1/locations/us-central1/repositories/repo1". + # The name of the repository, for example: "projects/p1/locations/us-central1/ + # repositories/repo1". # @param [Google::Apis::ArtifactregistryV1beta1::Repository] repository_object # @param [String] update_mask - # The update mask applies to the resource. For the `FieldMask` definition, - # see + # The update mask applies to the resource. For the `FieldMask` definition, see # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf# # fieldmask # @param [String] fields @@ -415,8 +410,8 @@ module Google # Updates the IAM policy for a given resource. # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy is being specified. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::ArtifactregistryV1beta1::SetIamPolicyRequest] set_iam_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -449,8 +444,8 @@ module Google # Tests if the caller has a list of permissions on a resource. # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy detail is being requested. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::ArtifactregistryV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -515,17 +510,12 @@ module Google # @param [String] parent # The name of the parent resource whose files will be listed. # @param [String] filter - # An expression for filtering the results of the request. Filter rules are - # case insensitive. The fields eligible for filtering are: - # * `name` - # * `owner` - # An example of using a filter: - # * `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"` - - # -> Files with an - # ID starting with "a/b/". - # * `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/ - # versions/1.0"` --> - # Files owned by the version `1.0` in package `pkg1`. + # An expression for filtering the results of the request. Filter rules are case + # insensitive. The fields eligible for filtering are: * `name` * `owner` An + # example of using a filter: * `name="projects/p1/locations/us-central1/ + # repositories/repo1/files/a/b/*"` --> Files with an ID starting with "a/b/". * ` + # owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/ + # versions/1.0"` --> Files owned by the version `1.0` in package `pkg1`. # @param [Fixnum] page_size # The maximum number of files to return. # @param [String] page_token @@ -757,13 +747,11 @@ module Google # @param [String] parent # The name of the parent resource whose tags will be listed. # @param [String] filter - # An expression for filtering the results of the request. Filter rules are - # case insensitive. The fields eligible for filtering are: - # * `version` - # An example of using a filter: - # * `version="projects/p1/locations/us-central1/repositories/repo1/packages/ - # pkg1/versions/1.0"` - # --> Tags that are applied to the version `1.0` in package `pkg1`. + # An expression for filtering the results of the request. Filter rules are case + # insensitive. The fields eligible for filtering are: * `version` An example of + # using a filter: * `version="projects/p1/locations/us-central1/repositories/ + # repo1/packages/pkg1/versions/1.0"` --> Tags that are applied to the version `1. + # 0` in package `pkg1`. # @param [Fixnum] page_size # The maximum number of tags to return. # @param [String] page_token @@ -800,12 +788,11 @@ module Google # Updates a tag. # @param [String] name - # The name of the tag, for example: - # "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". + # The name of the tag, for example: "projects/p1/locations/us-central1/ + # repositories/repo1/packages/pkg1/tags/tag1". # @param [Google::Apis::ArtifactregistryV1beta1::Tag] tag_object # @param [String] update_mask - # The update mask applies to the resource. For the `FieldMask` definition, - # see + # The update mask applies to the resource. For the `FieldMask` definition, see # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf# # fieldmask # @param [String] fields @@ -838,8 +825,8 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a version and all of its content. The returned operation will - # complete once the version has been deleted. + # Deletes a version and all of its content. The returned operation will complete + # once the version has been deleted. # @param [String] name # The name of the version to delete. # @param [Boolean] force diff --git a/generated/google/apis/clouddebugger_v2.rb b/generated/google/apis/clouddebugger_v2.rb index 52f5245f5..621edd112 100644 --- a/generated/google/apis/clouddebugger_v2.rb +++ b/generated/google/apis/clouddebugger_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/debugger module ClouddebuggerV2 VERSION = 'V2' - REVISION = '20200501' + REVISION = '20200807' # 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/clouddebugger_v2/classes.rb b/generated/google/apis/clouddebugger_v2/classes.rb index 368dc4fc6..9815ffdf6 100644 --- a/generated/google/apis/clouddebugger_v2/classes.rb +++ b/generated/google/apis/clouddebugger_v2/classes.rb @@ -48,26 +48,26 @@ module Google end # ------------------------------------------------------------------------------ - # ## Breakpoint (the resource) - # Represents the breakpoint specification, status and results. + # ## Breakpoint (the resource) Represents the breakpoint specification, status + # and results. class Breakpoint include Google::Apis::Core::Hashable - # Action that the agent should perform when the code at the - # breakpoint location is hit. + # Action that the agent should perform when the code at the breakpoint location + # is hit. # Corresponds to the JSON property `action` # @return [String] attr_accessor :action - # The deadline for the breakpoint to stay in CANARY_ACTIVE state. The value - # is meaningless when the breakpoint is not in CANARY_ACTIVE state. + # The deadline for the breakpoint to stay in CANARY_ACTIVE state. The value is + # meaningless when the breakpoint is not in CANARY_ACTIVE state. # Corresponds to the JSON property `canaryExpireTime` # @return [String] attr_accessor :canary_expire_time - # Condition that triggers the breakpoint. - # The condition is a compound boolean expression composed using expressions - # in a programming language at the source location. + # Condition that triggers the breakpoint. The condition is a compound boolean + # expression composed using expressions in a programming language at the source + # location. # Corresponds to the JSON property `condition` # @return [String] attr_accessor :condition @@ -77,27 +77,25 @@ module Google # @return [String] attr_accessor :create_time - # Values of evaluated expressions at breakpoint time. - # The evaluated expressions appear in exactly the same order they - # are listed in the `expressions` field. - # The `name` field holds the original expression text, the `value` or - # `members` field holds the result of the evaluated expression. - # If the expression cannot be evaluated, the `status` inside the `Variable` - # will indicate an error and contain the error text. + # Values of evaluated expressions at breakpoint time. The evaluated expressions + # appear in exactly the same order they are listed in the `expressions` field. + # The `name` field holds the original expression text, the `value` or `members` + # field holds the result of the evaluated expression. If the expression cannot + # be evaluated, the `status` inside the `Variable` will indicate an error and + # contain the error text. # Corresponds to the JSON property `evaluatedExpressions` # @return [Array] attr_accessor :evaluated_expressions - # List of read-only expressions to evaluate at the breakpoint location. - # The expressions are composed using expressions in the programming language - # at the source location. If the breakpoint action is `LOG`, the evaluated - # expressions are included in log statements. + # List of read-only expressions to evaluate at the breakpoint location. The + # expressions are composed using expressions in the programming language at the + # source location. If the breakpoint action is `LOG`, the evaluated expressions + # are included in log statements. # Corresponds to the JSON property `expressions` # @return [Array] attr_accessor :expressions - # Time this breakpoint was finalized as seen by the server in seconds - # resolution. + # Time this breakpoint was finalized as seen by the server in seconds resolution. # Corresponds to the JSON property `finalTime` # @return [String] attr_accessor :final_time @@ -107,15 +105,15 @@ module Google # @return [String] attr_accessor :id - # When true, indicates that this is a final result and the - # breakpoint state will not change from here on. + # When true, indicates that this is a final result and the breakpoint state will + # not change from here on. # Corresponds to the JSON property `isFinalState` # @return [Boolean] attr_accessor :is_final_state alias_method :is_final_state?, :is_final_state - # A set of custom breakpoint properties, populated by the agent, to be - # displayed to the user. + # A set of custom breakpoint properties, populated by the agent, to be displayed + # to the user. # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels @@ -130,13 +128,12 @@ module Google # @return [String] attr_accessor :log_level - # Only relevant when action is `LOG`. Defines the message to log when - # the breakpoint hits. The message may include parameter placeholders `$0`, - # `$1`, etc. These placeholders are replaced with the evaluated value - # of the appropriate expression. Expressions not referenced in - # `log_message_format` are not logged. - # Example: `Message received, id = $0, count = $1` with - # `expressions` = `[ message.id, message.count ]`. + # Only relevant when action is `LOG`. Defines the message to log when the + # breakpoint hits. The message may include parameter placeholders `$0`, `$1`, + # etc. These placeholders are replaced with the evaluated value of the + # appropriate expression. Expressions not referenced in `log_message_format` are + # not logged. Example: `Message received, id = $0, count = $1` with `expressions` + # = `[ message.id, message.count ]`. # Corresponds to the JSON property `logMessageFormat` # @return [String] attr_accessor :log_message_format @@ -152,11 +149,10 @@ module Google # @return [String] attr_accessor :state - # Represents a contextual status message. - # The message can indicate an error or informational status, and refer to - # specific parts of the containing object. - # For example, the `Breakpoint.status` field can indicate an error referring - # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. + # Represents a contextual status message. The message can indicate an error or + # informational status, and refer to specific parts of the containing object. + # For example, the `Breakpoint.status` field can indicate an error referring to + # the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. # Corresponds to the JSON property `status` # @return [Google::Apis::ClouddebuggerV2::StatusMessage] attr_accessor :status @@ -167,16 +163,15 @@ module Google attr_accessor :user_email # The `variable_table` exists to aid with computation, memory and network - # traffic optimization. It enables storing a variable once and reference - # it from multiple variables, including variables stored in the - # `variable_table` itself. - # For example, the same `this` object, which may appear at many levels of - # the stack, can have all of its data stored once in this table. The - # stack frame variables then would hold only a reference to it. - # The variable `var_table_index` field is an index into this repeated field. - # The stored objects are nameless and get their name from the referencing - # variable. The effective variable is a merge of the referencing variable - # and the referenced variable. + # traffic optimization. It enables storing a variable once and reference it from + # multiple variables, including variables stored in the `variable_table` itself. + # For example, the same `this` object, which may appear at many levels of the + # stack, can have all of its data stored once in this table. The stack frame + # variables then would hold only a reference to it. The variable ` + # var_table_index` field is an index into this repeated field. The stored + # objects are nameless and get their name from the referencing variable. The + # effective variable is a merge of the referencing variable and the referenced + # variable. # Corresponds to the JSON property `variableTable` # @return [Array] attr_accessor :variable_table @@ -208,8 +203,8 @@ module Google end end - # A CloudRepoSourceContext denotes a particular revision in a cloud - # repo (a repo hosted by the Google Cloud Platform). + # A CloudRepoSourceContext denotes a particular revision in a cloud repo (a repo + # hosted by the Google Cloud Platform). class CloudRepoSourceContext include Google::Apis::Core::Hashable @@ -246,14 +241,14 @@ module Google end end - # A CloudWorkspaceId is a unique identifier for a cloud workspace. - # A cloud workspace is a place associated with a repo where modified files - # can be stored before they are committed. + # A CloudWorkspaceId is a unique identifier for a cloud workspace. A cloud + # workspace is a place associated with a repo where modified files can be stored + # before they are committed. class CloudWorkspaceId include Google::Apis::Core::Hashable - # The unique name of the workspace within the repo. This is the name - # chosen by the client in the Source API's CreateWorkspace method. + # The unique name of the workspace within the repo. This is the name chosen by + # the client in the Source API's CreateWorkspace method. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -278,15 +273,15 @@ module Google class CloudWorkspaceSourceContext include Google::Apis::Core::Hashable - # The ID of the snapshot. - # An empty snapshot_id refers to the most recent snapshot. + # The ID of the snapshot. An empty snapshot_id refers to the most recent + # snapshot. # Corresponds to the JSON property `snapshotId` # @return [String] attr_accessor :snapshot_id - # A CloudWorkspaceId is a unique identifier for a cloud workspace. - # A cloud workspace is a place associated with a repo where modified files - # can be stored before they are committed. + # A CloudWorkspaceId is a unique identifier for a cloud workspace. A cloud + # workspace is a place associated with a repo where modified files can be stored + # before they are committed. # Corresponds to the JSON property `workspaceId` # @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceId] attr_accessor :workspace_id @@ -304,15 +299,14 @@ module Google # Represents the debugged application. The application may include one or more # replicated processes executing the same code. Each of these processes is - # attached with a debugger agent, carrying out the debugging commands. - # Agents attached to the same debuggee identify themselves as such by using - # exactly the same Debuggee message value when registering. + # attached with a debugger agent, carrying out the debugging commands. Agents + # attached to the same debuggee identify themselves as such by using exactly the + # same Debuggee message value when registering. class Debuggee include Google::Apis::Core::Hashable - # Version ID of the agent. - # Schema: `domain/language-platform/vmajor.minor` (for example - # `google.com/java-gcp/v1.1`). + # Version ID of the agent. Schema: `domain/language-platform/vmajor.minor` (for + # example `google.com/java-gcp/v1.1`). # Corresponds to the JSON property `agentVersion` # @return [String] attr_accessor :agent_version @@ -322,9 +316,8 @@ module Google # @return [String] attr_accessor :canary_mode - # Human readable description of the debuggee. - # Including a human-readable project name, environment name and version - # information is recommended. + # Human readable description of the debuggee. Including a human-readable project + # name, environment name and version information is recommended. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description @@ -340,8 +333,8 @@ module Google # @return [String] attr_accessor :id - # If set to `true`, indicates that the agent should disable itself and - # detach from the debuggee. + # If set to `true`, indicates that the agent should disable itself and detach + # from the debuggee. # Corresponds to the JSON property `isDisabled` # @return [Boolean] attr_accessor :is_disabled @@ -354,14 +347,14 @@ module Google attr_accessor :is_inactive alias_method :is_inactive?, :is_inactive - # A set of custom debuggee properties, populated by the agent, to be - # displayed to the user. + # A set of custom debuggee properties, populated by the agent, to be displayed + # to the user. # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels - # Project the debuggee is associated with. - # Use project number or id when registering a Google Cloud Platform project. + # Project the debuggee is associated with. Use project number or id when + # registering a Google Cloud Platform project. # Corresponds to the JSON property `project` # @return [String] attr_accessor :project @@ -372,21 +365,20 @@ module Google # @return [Array] attr_accessor :source_contexts - # Represents a contextual status message. - # The message can indicate an error or informational status, and refer to - # specific parts of the containing object. - # For example, the `Breakpoint.status` field can indicate an error referring - # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. + # Represents a contextual status message. The message can indicate an error or + # informational status, and refer to specific parts of the containing object. + # For example, the `Breakpoint.status` field can indicate an error referring to + # the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. # Corresponds to the JSON property `status` # @return [Google::Apis::ClouddebuggerV2::StatusMessage] attr_accessor :status - # Uniquifier to further distinguish the application. - # It is possible that different applications might have identical values in - # the debuggee message, thus, incorrectly identified as a single application - # by the Controller service. This field adds salt to further distinguish the - # application. Agents should consider seeding this field with value that - # identifies the code, binary, configuration and environment. + # Uniquifier to further distinguish the application. It is possible that + # different applications might have identical values in the debuggee message, + # thus, incorrectly identified as a single application by the Controller service. + # This field adds salt to further distinguish the application. Agents should + # consider seeding this field with value that identifies the code, binary, + # configuration and environment. # Corresponds to the JSON property `uniquifier` # @return [String] attr_accessor :uniquifier @@ -412,13 +404,11 @@ module Google end end - # A generic empty message that you can re-use to avoid defining duplicated - # empty messages in your APIs. A typical example is to use it as the request - # or the response type of an API method. For instance: - # service Foo ` - # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - # ` - # The JSON representation for `Empty` is empty JSON object ````. + # A generic empty message that you can re-use to avoid defining duplicated empty + # messages in your APIs. A typical example is to use it as the request or the + # response type of an API method. For instance: service Foo ` rpc Bar(google. + # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for + # `Empty` is empty JSON object ````. class Empty include Google::Apis::Core::Hashable @@ -431,8 +421,8 @@ module Google end end - # An ExtendedSourceContext is a SourceContext combined with additional - # details describing the context. + # An ExtendedSourceContext is a SourceContext combined with additional details + # describing the context. class ExtendedSourceContext include Google::Apis::Core::Hashable @@ -462,13 +452,11 @@ module Google class FormatMessage include Google::Apis::Core::Hashable - # Format template for the message. The `format` uses placeholders `$0`, - # `$1`, etc. to reference parameters. `$$` can be used to denote the `$` - # character. - # Examples: - # * `Failed to load '$0' which helps debug $1 the first time it - # is loaded. Again, $0 is very important.` - # * `Please pay $$10 to use $0 instead of $1.` + # Format template for the message. The `format` uses placeholders `$0`, `$1`, + # etc. to reference parameters. `$$` can be used to denote the `$` character. + # Examples: * `Failed to load '$0' which helps debug $1 the first time it is + # loaded. Again, $0 is very important.` * `Please pay $$10 to use $0 instead of $ + # 1.` # Corresponds to the JSON property `format` # @return [String] attr_accessor :format @@ -503,9 +491,8 @@ module Google # @return [String] attr_accessor :alias_name - # The full project name within the host. Projects may be nested, so - # "project/subproject" is a valid project name. - # The "repo name" is hostURI/project. + # The full project name within the host. Projects may be nested, so "project/ + # subproject" is a valid project name. The "repo name" is hostURI/project. # Corresponds to the JSON property `gerritProject` # @return [String] attr_accessor :gerrit_project @@ -539,8 +526,8 @@ module Google include Google::Apis::Core::Hashable # ------------------------------------------------------------------------------ - # ## Breakpoint (the resource) - # Represents the breakpoint specification, status and results. + # ## Breakpoint (the resource) Represents the breakpoint specification, status + # and results. # Corresponds to the JSON property `breakpoint` # @return [Google::Apis::ClouddebuggerV2::Breakpoint] attr_accessor :breakpoint @@ -560,8 +547,7 @@ module Google class GitSourceContext include Google::Apis::Core::Hashable - # Git commit hash. - # required. + # Git commit hash. required. # Corresponds to the JSON property `revisionId` # @return [String] attr_accessor :revision_id @@ -586,21 +572,21 @@ module Google class ListActiveBreakpointsResponse include Google::Apis::Core::Hashable - # List of all active breakpoints. - # The fields `id` and `location` are guaranteed to be set on each breakpoint. + # List of all active breakpoints. The fields `id` and `location` are guaranteed + # to be set on each breakpoint. # Corresponds to the JSON property `breakpoints` # @return [Array] attr_accessor :breakpoints - # A token that can be used in the next method call to block until - # the list of breakpoints changes. + # A token that can be used in the next method call to block until the list of + # breakpoints changes. # Corresponds to the JSON property `nextWaitToken` # @return [String] attr_accessor :next_wait_token - # If set to `true`, indicates that there is no change to the - # list of active breakpoints and the server-selected timeout has expired. - # The `breakpoints` field would be empty and should be ignored. + # If set to `true`, indicates that there is no change to the list of active + # breakpoints and the server-selected timeout has expired. The `breakpoints` + # field would be empty and should be ignored. # Corresponds to the JSON property `waitExpired` # @return [Boolean] attr_accessor :wait_expired @@ -622,16 +608,16 @@ module Google class ListBreakpointsResponse include Google::Apis::Core::Hashable - # List of breakpoints matching the request. - # The fields `id` and `location` are guaranteed to be set on each breakpoint. - # The fields: `stack_frames`, `evaluated_expressions` and `variable_table` - # are cleared on each breakpoint regardless of its status. + # List of breakpoints matching the request. The fields `id` and `location` are + # guaranteed to be set on each breakpoint. The fields: `stack_frames`, ` + # evaluated_expressions` and `variable_table` are cleared on each breakpoint + # regardless of its status. # Corresponds to the JSON property `breakpoints` # @return [Array] attr_accessor :breakpoints - # A wait token that can be used in the next call to `list` (REST) or - # `ListBreakpoints` (RPC) to block until the list of breakpoints has changes. + # A wait token that can be used in the next call to `list` (REST) or ` + # ListBreakpoints` (RPC) to block until the list of breakpoints has changes. # Corresponds to the JSON property `nextWaitToken` # @return [String] attr_accessor :next_wait_token @@ -651,10 +637,9 @@ module Google class ListDebuggeesResponse include Google::Apis::Core::Hashable - # List of debuggees accessible to the calling user. - # The fields `debuggee.id` and `description` are guaranteed to be set. - # The `description` field is a human readable field provided by agents and - # can be displayed to users. + # List of debuggees accessible to the calling user. The fields `debuggee.id` and + # `description` are guaranteed to be set. The `description` field is a human + # readable field provided by agents and can be displayed to users. # Corresponds to the JSON property `debuggees` # @return [Array] attr_accessor :debuggees @@ -669,8 +654,8 @@ module Google end end - # Selects a repo using a Google Cloud Platform project ID - # (e.g. winged-cargo-31) and a repo name within that project. + # Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31) + # and a repo name within that project. class ProjectRepoId include Google::Apis::Core::Hashable @@ -701,9 +686,9 @@ module Google # Represents the debugged application. The application may include one or more # replicated processes executing the same code. Each of these processes is - # attached with a debugger agent, carrying out the debugging commands. - # Agents attached to the same debuggee identify themselves as such by using - # exactly the same Debuggee message value when registering. + # attached with a debugger agent, carrying out the debugging commands. Agents + # attached to the same debuggee identify themselves as such by using exactly the + # same Debuggee message value when registering. # Corresponds to the JSON property `debuggee` # @return [Google::Apis::ClouddebuggerV2::Debuggee] attr_accessor :debuggee @@ -722,17 +707,17 @@ module Google class RegisterDebuggeeResponse include Google::Apis::Core::Hashable - # A unique ID generated for the agent. - # Each RegisterDebuggee request will generate a new agent ID. + # A unique ID generated for the agent. Each RegisterDebuggee request will + # generate a new agent ID. # Corresponds to the JSON property `agentId` # @return [String] attr_accessor :agent_id # Represents the debugged application. The application may include one or more # replicated processes executing the same code. Each of these processes is - # attached with a debugger agent, carrying out the debugging commands. - # Agents attached to the same debuggee identify themselves as such by using - # exactly the same Debuggee message value when registering. + # attached with a debugger agent, carrying out the debugging commands. Agents + # attached to the same debuggee identify themselves as such by using exactly the + # same Debuggee message value when registering. # Corresponds to the JSON property `debuggee` # @return [Google::Apis::ClouddebuggerV2::Debuggee] attr_accessor :debuggee @@ -752,8 +737,8 @@ module Google class RepoId include Google::Apis::Core::Hashable - # Selects a repo using a Google Cloud Platform project ID - # (e.g. winged-cargo-31) and a repo name within that project. + # Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31) + # and a repo name within that project. # Corresponds to the JSON property `projectRepoId` # @return [Google::Apis::ClouddebuggerV2::ProjectRepoId] attr_accessor :project_repo_id @@ -779,8 +764,8 @@ module Google include Google::Apis::Core::Hashable # ------------------------------------------------------------------------------ - # ## Breakpoint (the resource) - # Represents the breakpoint specification, status and results. + # ## Breakpoint (the resource) Represents the breakpoint specification, status + # and results. # Corresponds to the JSON property `breakpoint` # @return [Google::Apis::ClouddebuggerV2::Breakpoint] attr_accessor :breakpoint @@ -800,8 +785,8 @@ module Google class SourceContext include Google::Apis::Core::Hashable - # A CloudRepoSourceContext denotes a particular revision in a cloud - # repo (a repo hosted by the Google Cloud Platform). + # A CloudRepoSourceContext denotes a particular revision in a cloud repo (a repo + # hosted by the Google Cloud Platform). # Corresponds to the JSON property `cloudRepo` # @return [Google::Apis::ClouddebuggerV2::CloudRepoSourceContext] attr_accessor :cloud_repo @@ -839,9 +824,8 @@ module Google class SourceLocation include Google::Apis::Core::Hashable - # Column within a line. The first column in a line as the value `1`. - # Agents that do not support setting breakpoints on specific columns ignore - # this field. + # Column within a line. The first column in a line as the value `1`. Agents that + # do not support setting breakpoints on specific columns ignore this field. # Corresponds to the JSON property `column` # @return [Fixnum] attr_accessor :column @@ -872,8 +856,8 @@ module Google class StackFrame include Google::Apis::Core::Hashable - # Set of arguments passed to this function. - # Note that this might not be populated for all stack frames. + # Set of arguments passed to this function. Note that this might not be + # populated for all stack frames. # Corresponds to the JSON property `arguments` # @return [Array] attr_accessor :arguments @@ -883,8 +867,8 @@ module Google # @return [String] attr_accessor :function - # Set of local variables at the stack frame location. - # Note that this might not be populated for all stack frames. + # Set of local variables at the stack frame location. Note that this might not + # be populated for all stack frames. # Corresponds to the JSON property `locals` # @return [Array] attr_accessor :locals @@ -907,11 +891,10 @@ module Google end end - # Represents a contextual status message. - # The message can indicate an error or informational status, and refer to - # specific parts of the containing object. - # For example, the `Breakpoint.status` field can indicate an error referring - # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. + # Represents a contextual status message. The message can indicate an error or + # informational status, and refer to specific parts of the containing object. + # For example, the `Breakpoint.status` field can indicate an error referring to + # the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. class StatusMessage include Google::Apis::Core::Hashable @@ -948,8 +931,8 @@ module Google include Google::Apis::Core::Hashable # ------------------------------------------------------------------------------ - # ## Breakpoint (the resource) - # Represents the breakpoint specification, status and results. + # ## Breakpoint (the resource) Represents the breakpoint specification, status + # and results. # Corresponds to the JSON property `breakpoint` # @return [Google::Apis::ClouddebuggerV2::Breakpoint] attr_accessor :breakpoint @@ -964,8 +947,8 @@ module Google end end - # Response for updating an active breakpoint. - # The message is defined to allow future extensions. + # Response for updating an active breakpoint. The message is defined to allow + # future extensions. class UpdateActiveBreakpointResponse include Google::Apis::Core::Hashable @@ -978,88 +961,39 @@ module Google end end - # Represents a variable or an argument possibly of a compound object type. - # Note how the following variables are represented: - # 1) A simple variable: - # int x = 5 - # ` name: "x", value: "5", type: "int" ` // Captured variable - # 2) A compound object: - # struct T ` - # int m1; - # int m2; - # `; - # T x = ` 3, 7 `; - # ` // Captured variable - # name: "x", - # type: "T", - # members ` name: "m1", value: "3", type: "int" `, - # members ` name: "m2", value: "7", type: "int" ` - # ` - # 3) A pointer where the pointee was captured: - # T x = ` 3, 7 `; - # T* p = &x; - # ` // Captured variable - # name: "p", - # type: "T*", - # value: "0x00500500", - # members ` name: "m1", value: "3", type: "int" `, - # members ` name: "m2", value: "7", type: "int" ` - # ` - # 4) A pointer where the pointee was not captured: - # T* p = new T; - # ` // Captured variable - # name: "p", - # type: "T*", - # value: "0x00400400" - # status ` is_error: true, description ` format: "unavailable" ` ` - # ` - # The status should describe the reason for the missing value, - # such as ``, ``, ``. - # Note that a null pointer should not have members. - # 5) An unnamed value: - # int* p = new int(7); - # ` // Captured variable - # name: "p", - # value: "0x00500500", - # type: "int*", - # members ` value: "7", type: "int" ` ` - # 6) An unnamed pointer where the pointee was not captured: - # int* p = new int(7); - # int** pp = &p; - # ` // Captured variable - # name: "pp", - # value: "0x00500500", - # type: "int**", - # members ` - # value: "0x00400400", - # type: "int*" - # status ` - # is_error: true, - # description: ` format: "unavailable" ` ` - # ` - # ` - # ` - # To optimize computation, memory and network traffic, variables that - # repeat in the output multiple times can be stored once in a shared - # variable table and be referenced using the `var_table_index` field. The - # variables stored in the shared table are nameless and are essentially - # a partition of the complete variable. To reconstruct the complete - # variable, merge the referencing variable with the referenced variable. - # When using the shared variable table, the following variables: - # T x = ` 3, 7 `; - # T* p = &x; - # T& r = x; - # ` name: "x", var_table_index: 3, type: "T" ` // Captured variables - # ` name: "p", value "0x00500500", type="T*", var_table_index: 3 ` - # ` name: "r", type="T&", var_table_index: 3 ` - # ` // Shared variable table entry #3: - # members ` name: "m1", value: "3", type: "int" `, - # members ` name: "m2", value: "7", type: "int" ` - # ` - # Note that the pointer address is stored with the referencing variable - # and not with the referenced variable. This allows the referenced variable - # to be shared between pointers and references. - # The type field is optional. The debugger agent may or may not support it. + # Represents a variable or an argument possibly of a compound object type. Note + # how the following variables are represented: 1) A simple variable: int x = 5 ` + # name: "x", value: "5", type: "int" ` // Captured variable 2) A compound object: + # struct T ` int m1; int m2; `; T x = ` 3, 7 `; ` // Captured variable name: "x" + # , type: "T", members ` name: "m1", value: "3", type: "int" `, members ` name: " + # m2", value: "7", type: "int" ` ` 3) A pointer where the pointee was captured: + # T x = ` 3, 7 `; T* p = &x; ` // Captured variable name: "p", type: "T*", value: + # "0x00500500", members ` name: "m1", value: "3", type: "int" `, members ` name: + # "m2", value: "7", type: "int" ` ` 4) A pointer where the pointee was not + # captured: T* p = new T; ` // Captured variable name: "p", type: "T*", value: " + # 0x00400400" status ` is_error: true, description ` format: "unavailable" ` ` ` + # The status should describe the reason for the missing value, such as ``, ``, `` + # . Note that a null pointer should not have members. 5) An unnamed value: int* + # p = new int(7); ` // Captured variable name: "p", value: "0x00500500", type: " + # int*", members ` value: "7", type: "int" ` ` 6) An unnamed pointer where the + # pointee was not captured: int* p = new int(7); int** pp = &p; ` // Captured + # variable name: "pp", value: "0x00500500", type: "int**", members ` value: " + # 0x00400400", type: "int*" status ` is_error: true, description: ` format: " + # unavailable" ` ` ` ` ` To optimize computation, memory and network traffic, + # variables that repeat in the output multiple times can be stored once in a + # shared variable table and be referenced using the `var_table_index` field. The + # variables stored in the shared table are nameless and are essentially a + # partition of the complete variable. To reconstruct the complete variable, + # merge the referencing variable with the referenced variable. When using the + # shared variable table, the following variables: T x = ` 3, 7 `; T* p = &x; T& + # r = x; ` name: "x", var_table_index: 3, type: "T" ` // Captured variables ` + # name: "p", value "0x00500500", type="T*", var_table_index: 3 ` ` name: "r", + # type="T&", var_table_index: 3 ` ` // Shared variable table entry #3: members ` + # name: "m1", value: "3", type: "int" `, members ` name: "m2", value: "7", type: + # "int" ` ` Note that the pointer address is stored with the referencing + # variable and not with the referenced variable. This allows the referenced + # variable to be shared between pointers and references. The type field is + # optional. The debugger agent may or may not support it. class Variable include Google::Apis::Core::Hashable @@ -1073,19 +1007,18 @@ module Google # @return [String] attr_accessor :name - # Represents a contextual status message. - # The message can indicate an error or informational status, and refer to - # specific parts of the containing object. - # For example, the `Breakpoint.status` field can indicate an error referring - # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. + # Represents a contextual status message. The message can indicate an error or + # informational status, and refer to specific parts of the containing object. + # For example, the `Breakpoint.status` field can indicate an error referring to + # the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. # Corresponds to the JSON property `status` # @return [Google::Apis::ClouddebuggerV2::StatusMessage] attr_accessor :status - # Variable type (e.g. `MyClass`). If the variable is split with - # `var_table_index`, `type` goes next to `value`. The interpretation of - # a type is agent specific. It is recommended to include the dynamic type - # rather than a static type of an object. + # Variable type (e.g. `MyClass`). If the variable is split with `var_table_index` + # , `type` goes next to `value`. The interpretation of a type is agent specific. + # It is recommended to include the dynamic type rather than a static type of an + # object. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -1095,9 +1028,9 @@ module Google # @return [String] attr_accessor :value - # Reference to a variable in the shared variable table. More than - # one variable can reference the same variable in the table. The - # `var_table_index` field is an index into `variable_table` in Breakpoint. + # Reference to a variable in the shared variable table. More than one variable + # can reference the same variable in the table. The `var_table_index` field is + # an index into `variable_table` in Breakpoint. # Corresponds to the JSON property `varTableIndex` # @return [Fixnum] attr_accessor :var_table_index diff --git a/generated/google/apis/clouddebugger_v2/service.rb b/generated/google/apis/clouddebugger_v2/service.rb index bcdd3d339..99c06efa1 100644 --- a/generated/google/apis/clouddebugger_v2/service.rb +++ b/generated/google/apis/clouddebugger_v2/service.rb @@ -48,13 +48,12 @@ module Google @batch_path = 'batch' end - # Registers the debuggee with the controller service. - # All agents attached to the same application must call this method with - # exactly the same request content to get back the same stable `debuggee_id`. - # Agents should call this method again whenever `google.rpc.Code.NOT_FOUND` - # is returned from any controller method. - # This protocol allows the controller service to disable debuggees, recover - # from data loss, or change the `debuggee_id` format. Agents must handle + # Registers the debuggee with the controller service. All agents attached to the + # same application must call this method with exactly the same request content + # to get back the same stable `debuggee_id`. Agents should call this method + # again whenever `google.rpc.Code.NOT_FOUND` is returned from any controller + # method. This protocol allows the controller service to disable debuggees, + # recover from data loss, or change the `debuggee_id` format. Agents must handle # `debuggee_id` value changing upon re-registration. # @param [Google::Apis::ClouddebuggerV2::RegisterDebuggeeRequest] register_debuggee_request_object # @param [String] fields @@ -85,33 +84,29 @@ module Google execute_or_queue_command(command, &block) end - # Returns the list of all active breakpoints for the debuggee. - # The breakpoint specification (`location`, `condition`, and `expressions` - # fields) is semantically immutable, although the field values may - # change. For example, an agent may update the location line number - # to reflect the actual line where the breakpoint was set, but this - # doesn't change the breakpoint semantics. - # This means that an agent does not need to check if a breakpoint has changed - # when it encounters the same breakpoint on a successive call. - # Moreover, an agent should remember the breakpoints that are completed - # until the controller removes them from the active list to avoid - # setting those breakpoints again. + # Returns the list of all active breakpoints for the debuggee. The breakpoint + # specification (`location`, `condition`, and `expressions` fields) is + # semantically immutable, although the field values may change. For example, an + # agent may update the location line number to reflect the actual line where the + # breakpoint was set, but this doesn't change the breakpoint semantics. This + # means that an agent does not need to check if a breakpoint has changed when it + # encounters the same breakpoint on a successive call. Moreover, an agent should + # remember the breakpoints that are completed until the controller removes them + # from the active list to avoid setting those breakpoints again. # @param [String] debuggee_id # Required. Identifies the debuggee. # @param [String] agent_id - # Identifies the agent. - # This is the ID returned in the RegisterDebuggee response. + # Identifies the agent. This is the ID returned in the RegisterDebuggee response. # @param [Boolean] success_on_timeout - # If set to `true` (recommended), returns `google.rpc.Code.OK` status and - # sets the `wait_expired` response field to `true` when the server-selected - # timeout has expired. - # If set to `false` (deprecated), returns `google.rpc.Code.ABORTED` status - # when the server-selected timeout has expired. + # If set to `true` (recommended), returns `google.rpc.Code.OK` status and sets + # the `wait_expired` response field to `true` when the server-selected timeout + # has expired. If set to `false` (deprecated), returns `google.rpc.Code.ABORTED` + # status when the server-selected timeout has expired. # @param [String] wait_token - # A token that, if specified, blocks the method call until the list - # of active breakpoints has changed, or a server-selected timeout has - # expired. The value should be set from the `next_wait_token` field in - # the last response. The initial value should be set to `"init"`. + # A token that, if specified, blocks the method call until the list of active + # breakpoints has changed, or a server-selected timeout has expired. The value + # should be set from the `next_wait_token` field in the last response. The + # initial value should be set to `"init"`. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -142,13 +137,12 @@ module Google execute_or_queue_command(command, &block) end - # Updates the breakpoint state or mutable fields. - # The entire Breakpoint message must be sent back to the controller service. - # Updates to active breakpoint fields are only allowed if the new value - # does not change the breakpoint specification. Updates to the `location`, - # `condition` and `expressions` fields should not alter the breakpoint - # semantics. These may only make changes such as canonicalizing a value - # or snapping the location to the correct line of code. + # Updates the breakpoint state or mutable fields. The entire Breakpoint message + # must be sent back to the controller service. Updates to active breakpoint + # fields are only allowed if the new value does not change the breakpoint + # specification. Updates to the `location`, `condition` and `expressions` fields + # should not alter the breakpoint semantics. These may only make changes such as + # canonicalizing a value or snapping the location to the correct line of code. # @param [String] debuggee_id # Required. Identifies the debuggee being debugged. # @param [String] id @@ -186,11 +180,11 @@ module Google # Lists all the debuggees that the user has access to. # @param [String] client_version - # Required. The client version making the call. - # Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). + # Required. The client version making the call. Schema: `domain/type/version` (e. + # g., `google.com/intellij/v1`). # @param [Boolean] include_inactive - # When set to `true`, the result includes all debuggees. Otherwise, the - # result includes only debuggees that are active. + # When set to `true`, the result includes all debuggees. Otherwise, the result + # includes only debuggees that are active. # @param [String] project # Required. Project number of a Google Cloud project whose debuggees to list. # @param [String] fields @@ -228,8 +222,8 @@ module Google # @param [String] breakpoint_id # Required. ID of the breakpoint to delete. # @param [String] client_version - # Required. The client version making the call. - # Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). + # Required. The client version making the call. Schema: `domain/type/version` (e. + # g., `google.com/intellij/v1`). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -265,8 +259,8 @@ module Google # @param [String] breakpoint_id # Required. ID of the breakpoint to get. # @param [String] client_version - # Required. The client version making the call. - # Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). + # Required. The client version making the call. Schema: `domain/type/version` (e. + # g., `google.com/intellij/v1`). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -302,23 +296,23 @@ module Google # @param [String] action_value # Only breakpoints with the specified action will pass the filter. # @param [String] client_version - # Required. The client version making the call. - # Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). + # Required. The client version making the call. Schema: `domain/type/version` (e. + # g., `google.com/intellij/v1`). # @param [Boolean] include_all_users - # When set to `true`, the response includes the list of breakpoints set by - # any user. Otherwise, it includes only breakpoints set by the caller. + # When set to `true`, the response includes the list of breakpoints set by any + # user. Otherwise, it includes only breakpoints set by the caller. # @param [Boolean] include_inactive - # When set to `true`, the response includes active and inactive - # breakpoints. Otherwise, it includes only active breakpoints. + # When set to `true`, the response includes active and inactive breakpoints. + # Otherwise, it includes only active breakpoints. # @param [Boolean] strip_results - # This field is deprecated. The following fields are always stripped out of - # the result: `stack_frames`, `evaluated_expressions` and `variable_table`. + # This field is deprecated. The following fields are always stripped out of the + # result: `stack_frames`, `evaluated_expressions` and `variable_table`. # @param [String] wait_token - # A wait token that, if specified, blocks the call until the breakpoints - # list has changed, or a server selected timeout has expired. The value - # should be set from the last response. The error code - # `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which - # should be called again with the same `wait_token`. + # A wait token that, if specified, blocks the call until the breakpoints list + # has changed, or a server selected timeout has expired. The value should be set + # from the last response. The error code `google.rpc.Code.ABORTED` (RPC) is + # returned on wait timeout, which should be called again with the same ` + # wait_token`. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -359,8 +353,8 @@ module Google # @param [String] canary_option # The canary option set by the user upon setting breakpoint. # @param [String] client_version - # Required. The client version making the call. - # Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). + # Required. The client version making the call. Schema: `domain/type/version` (e. + # g., `google.com/intellij/v1`). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/tpu_v1.rb b/generated/google/apis/tpu_v1.rb index 491d08618..98e0dd06d 100644 --- a/generated/google/apis/tpu_v1.rb +++ b/generated/google/apis/tpu_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/tpu/ module TpuV1 VERSION = 'V1' - REVISION = '20200728' + REVISION = '20200814' # 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/tpu_v1/classes.rb b/generated/google/apis/tpu_v1/classes.rb index a2b3d1382..fdaa15a5b 100644 --- a/generated/google/apis/tpu_v1/classes.rb +++ b/generated/google/apis/tpu_v1/classes.rb @@ -379,6 +379,16 @@ module Google # @return [String] attr_accessor :tensorflow_version + # Whether the VPC peering for the node is set up through Service Networking API. + # The VPC Peering should be set up before provisioning the node. If this field + # is set, cidr_block field should not be specified. If the network, that you + # want to peer the TPU Node to, is Shared VPC networks, the node must be created + # with this this field enabled. + # Corresponds to the JSON property `useServiceNetworking` + # @return [Boolean] + attr_accessor :use_service_networking + alias_method :use_service_networking?, :use_service_networking + def initialize(**args) update!(**args) end @@ -401,6 +411,7 @@ module Google @service_account = args[:service_account] if args.key?(:service_account) @state = args[:state] if args.key?(:state) @tensorflow_version = args[:tensorflow_version] if args.key?(:tensorflow_version) + @use_service_networking = args[:use_service_networking] if args.key?(:use_service_networking) end end diff --git a/generated/google/apis/tpu_v1/representations.rb b/generated/google/apis/tpu_v1/representations.rb index 98d54aee8..148a4513d 100644 --- a/generated/google/apis/tpu_v1/representations.rb +++ b/generated/google/apis/tpu_v1/representations.rb @@ -232,6 +232,7 @@ module Google property :service_account, as: 'serviceAccount' property :state, as: 'state' property :tensorflow_version, as: 'tensorflowVersion' + property :use_service_networking, as: 'useServiceNetworking' end end diff --git a/generated/google/apis/tpu_v1alpha1.rb b/generated/google/apis/tpu_v1alpha1.rb index 3b6b8c62f..a8ac112b8 100644 --- a/generated/google/apis/tpu_v1alpha1.rb +++ b/generated/google/apis/tpu_v1alpha1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/tpu/ module TpuV1alpha1 VERSION = 'V1alpha1' - REVISION = '20200728' + REVISION = '20200814' # 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/tpu_v1alpha1/classes.rb b/generated/google/apis/tpu_v1alpha1/classes.rb index 22e79b9d1..4a7f40a6c 100644 --- a/generated/google/apis/tpu_v1alpha1/classes.rb +++ b/generated/google/apis/tpu_v1alpha1/classes.rb @@ -379,6 +379,16 @@ module Google # @return [String] attr_accessor :tensorflow_version + # Whether the VPC peering for the node is set up through Service Networking API. + # The VPC Peering should be set up before provisioning the node. If this field + # is set, cidr_block field should not be specified. If the network, that you + # want to peer the TPU Node to, is Shared VPC networks, the node must be created + # with this this field enabled. + # Corresponds to the JSON property `useServiceNetworking` + # @return [Boolean] + attr_accessor :use_service_networking + alias_method :use_service_networking?, :use_service_networking + def initialize(**args) update!(**args) end @@ -401,6 +411,7 @@ module Google @service_account = args[:service_account] if args.key?(:service_account) @state = args[:state] if args.key?(:state) @tensorflow_version = args[:tensorflow_version] if args.key?(:tensorflow_version) + @use_service_networking = args[:use_service_networking] if args.key?(:use_service_networking) end end diff --git a/generated/google/apis/tpu_v1alpha1/representations.rb b/generated/google/apis/tpu_v1alpha1/representations.rb index 4be024d07..297447d29 100644 --- a/generated/google/apis/tpu_v1alpha1/representations.rb +++ b/generated/google/apis/tpu_v1alpha1/representations.rb @@ -232,6 +232,7 @@ module Google property :service_account, as: 'serviceAccount' property :state, as: 'state' property :tensorflow_version, as: 'tensorflowVersion' + property :use_service_networking, as: 'useServiceNetworking' end end