diff --git a/generated/google/apis/bigquery_v2.rb b/generated/google/apis/bigquery_v2.rb index ae5f3a72d..92604d779 100644 --- a/generated/google/apis/bigquery_v2.rb +++ b/generated/google/apis/bigquery_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigqueryV2 VERSION = 'V2' - REVISION = '20190907' + REVISION = '20190917' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquery_v2/classes.rb b/generated/google/apis/bigquery_v2/classes.rb index a24a01989..1fec66d44 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -2969,6 +2969,11 @@ module Google # @return [String] attr_accessor :reservation_id + # [Output-only] Statistics for a child job of a script. + # Corresponds to the JSON property `scriptStatistics` + # @return [Google::Apis::BigqueryV2::ScriptStatistics] + attr_accessor :script_statistics + # [Output-only] Start time of this job, in milliseconds since the epoch. This # field will be present when the job transitions from the PENDING state to # either RUNNING or DONE. @@ -3004,6 +3009,7 @@ module Google @quota_deferments = args[:quota_deferments] if args.key?(:quota_deferments) @reservation_usage = args[:reservation_usage] if args.key?(:reservation_usage) @reservation_id = args[:reservation_id] if args.key?(:reservation_id) + @script_statistics = args[:script_statistics] if args.key?(:script_statistics) @start_time = args[:start_time] if args.key?(:start_time) @total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed) @total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms) @@ -4442,6 +4448,82 @@ module Google end end + # + class ScriptStackFrame + include Google::Apis::Core::Hashable + + # [Output-only] One-based end column. + # Corresponds to the JSON property `endColumn` + # @return [Fixnum] + attr_accessor :end_column + + # [Output-only] One-based end line. + # Corresponds to the JSON property `endLine` + # @return [Fixnum] + attr_accessor :end_line + + # [Output-only] Name of the active procedure, empty if in a top-level script. + # Corresponds to the JSON property `procedureId` + # @return [String] + attr_accessor :procedure_id + + # [Output-only] One-based start column. + # Corresponds to the JSON property `startColumn` + # @return [Fixnum] + attr_accessor :start_column + + # [Output-only] One-based start line. + # Corresponds to the JSON property `startLine` + # @return [Fixnum] + attr_accessor :start_line + + # [Output-only] Text of the current statement/expression. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_column = args[:end_column] if args.key?(:end_column) + @end_line = args[:end_line] if args.key?(:end_line) + @procedure_id = args[:procedure_id] if args.key?(:procedure_id) + @start_column = args[:start_column] if args.key?(:start_column) + @start_line = args[:start_line] if args.key?(:start_line) + @text = args[:text] if args.key?(:text) + end + end + + # + class ScriptStatistics + include Google::Apis::Core::Hashable + + # [Output-only] Whether this child job was a statement or expression. + # Corresponds to the JSON property `evaluationKind` + # @return [String] + attr_accessor :evaluation_kind + + # Stack trace showing the line/column/procedure name of each frame on the stack + # at the point where the current evaluation happened. The leaf frame is first, + # the primary script is last. Never empty. + # Corresponds to the JSON property `stackFrames` + # @return [Array] + attr_accessor :stack_frames + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @evaluation_kind = args[:evaluation_kind] if args.key?(:evaluation_kind) + @stack_frames = args[:stack_frames] if args.key?(:stack_frames) + end + end + # The type of a variable, e.g., a function argument. # Examples: # INT64: `type_kind="INT64"` diff --git a/generated/google/apis/bigquery_v2/representations.rb b/generated/google/apis/bigquery_v2/representations.rb index 2ee3a22c9..c4ba47f19 100644 --- a/generated/google/apis/bigquery_v2/representations.rb +++ b/generated/google/apis/bigquery_v2/representations.rb @@ -502,6 +502,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ScriptStackFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ScriptStatistics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class StandardSqlDataType class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1321,6 +1333,8 @@ module Google collection :reservation_usage, as: 'reservationUsage', class: Google::Apis::BigqueryV2::JobStatistics::ReservationUsage, decorator: Google::Apis::BigqueryV2::JobStatistics::ReservationUsage::Representation property :reservation_id, as: 'reservation_id' + property :script_statistics, as: 'scriptStatistics', class: Google::Apis::BigqueryV2::ScriptStatistics, decorator: Google::Apis::BigqueryV2::ScriptStatistics::Representation + property :start_time, :numeric_string => true, as: 'startTime' property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed' property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs' @@ -1701,6 +1715,27 @@ module Google end end + class ScriptStackFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_column, as: 'endColumn' + property :end_line, as: 'endLine' + property :procedure_id, as: 'procedureId' + property :start_column, as: 'startColumn' + property :start_line, as: 'startLine' + property :text, as: 'text' + end + end + + class ScriptStatistics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :evaluation_kind, as: 'evaluationKind' + collection :stack_frames, as: 'stackFrames', class: Google::Apis::BigqueryV2::ScriptStackFrame, decorator: Google::Apis::BigqueryV2::ScriptStackFrame::Representation + + end + end + class StandardSqlDataType # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb b/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb index 5b0e759f2..f27b9b073 100644 --- a/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +++ b/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/private-catalog/ module CloudprivatecatalogproducerV1beta1 VERSION = 'V1beta1' - REVISION = '20190907' + REVISION = '20190921' # 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/cloudprivatecatalogproducer_v1beta1/classes.rb b/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb index cbe689ef4..ada6f1300 100644 --- a/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +++ b/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb @@ -747,25 +747,34 @@ module Google # Defines an Identity and Access Management (IAM) policy. It is used to # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service accounts. A `role` is a named list of permissions - # defined by IAM. + # 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 (defined by IAM or configured by users). A `binding` can + # optionally specify a `condition`, which is a logic expression that further + # constrains the role binding based on attributes about the request and/or + # target resource. # **JSON Example** # ` # "bindings": [ # ` - # "role": "roles/owner", + # "role": "roles/resourcemanager.organizationAdmin", # "members": [ # "user:mike@example.com", # "group:admins@example.com", # "domain:google.com", - # "serviceAccount:my-other-app@appspot.gserviceaccount.com" + # "serviceAccount:my-project-id@appspot.gserviceaccount.com" # ] # `, # ` - # "role": "roles/viewer", - # "members": ["user:sean@example.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')", + # ` # ` # ] # ` @@ -775,11 +784,15 @@ module Google # - user:mike@example.com # - group:admins@example.com # - domain:google.com - # - serviceAccount:my-other-app@appspot.gserviceaccount.com - # role: roles/owner + # - serviceAccount:my-project-id@appspot.gserviceaccount.com + # role: roles/resourcemanager.organizationAdmin # - members: - # - user:sean@example.com - # role: roles/viewer + # - 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') # For a description of IAM and its features, see the # [IAM developer's guide](https://cloud.google.com/iam/docs). class GoogleIamV1Policy @@ -790,7 +803,8 @@ module Google # @return [Array] attr_accessor :audit_configs - # Associates a list of `members` to a `role`. + # Associates a list of `members` to a `role`. Optionally may specify a + # `condition` that determines when binding is in effect. # `bindings` with no members will result in an error. # Corresponds to the JSON property `bindings` # @return [Array] @@ -804,7 +818,9 @@ module Google # 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. # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten. + # policy is overwritten. Due to blind-set semantics of an etag-less policy, + # 'setIamPolicy' will not fail even if either of incoming or stored policy + # does not meet the version requirements. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -813,9 +829,13 @@ module Google # Specifies the format of the policy. # Valid values are 0, 1, and 3. Requests specifying an invalid value will be # rejected. - # Policies with any conditional bindings must specify version 3. Policies - # without any conditional bindings may specify any valid value or leave the - # field unset. + # Operations affecting conditional bindings must specify version 3. This can + # be either setting a conditional policy, modifying a conditional binding, + # or removing a conditional binding from the stored conditional policy. + # Operations on non-conditional policies may specify any valid value or + # leave the field unset. + # If no etag is provided in the call to `setIamPolicy`, any version + # compliance checks on the incoming and/or stored policy is skipped. # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -839,25 +859,34 @@ module Google # Defines an Identity and Access Management (IAM) policy. It is used to # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service accounts. A `role` is a named list of permissions - # defined by IAM. + # 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 (defined by IAM or configured by users). A `binding` can + # optionally specify a `condition`, which is a logic expression that further + # constrains the role binding based on attributes about the request and/or + # target resource. # **JSON Example** # ` # "bindings": [ # ` - # "role": "roles/owner", + # "role": "roles/resourcemanager.organizationAdmin", # "members": [ # "user:mike@example.com", # "group:admins@example.com", # "domain:google.com", - # "serviceAccount:my-other-app@appspot.gserviceaccount.com" + # "serviceAccount:my-project-id@appspot.gserviceaccount.com" # ] # `, # ` - # "role": "roles/viewer", - # "members": ["user:sean@example.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')", + # ` # ` # ] # ` @@ -867,11 +896,15 @@ module Google # - user:mike@example.com # - group:admins@example.com # - domain:google.com - # - serviceAccount:my-other-app@appspot.gserviceaccount.com - # role: roles/owner + # - serviceAccount:my-project-id@appspot.gserviceaccount.com + # role: roles/resourcemanager.organizationAdmin # - members: - # - user:sean@example.com - # role: roles/viewer + # - 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') # For a description of IAM and its features, see the # [IAM developer's guide](https://cloud.google.com/iam/docs). # Corresponds to the JSON property `policy` diff --git a/generated/google/apis/commentanalyzer_v1alpha1.rb b/generated/google/apis/commentanalyzer_v1alpha1.rb index b87df0fef..856195dd7 100644 --- a/generated/google/apis/commentanalyzer_v1alpha1.rb +++ b/generated/google/apis/commentanalyzer_v1alpha1.rb @@ -30,7 +30,7 @@ module Google # @see https://github.com/conversationai/perspectiveapi/blob/master/README.md module CommentanalyzerV1alpha1 VERSION = 'V1alpha1' - REVISION = '20190901' + REVISION = '20190922' # View your email address AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' diff --git a/generated/google/apis/commentanalyzer_v1alpha1/classes.rb b/generated/google/apis/commentanalyzer_v1alpha1/classes.rb index 92ad7917d..3c24b4c72 100644 --- a/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +++ b/generated/google/apis/commentanalyzer_v1alpha1/classes.rb @@ -76,16 +76,13 @@ module Google # Specification of requested attributes. The AttributeParameters serve as # configuration for each associated attribute. The map keys are attribute - # names. The following attributes are available: - # "ATTACK_ON_AUTHOR" - Attack on author of original article or post. - # "ATTACK_ON_COMMENTER" - Attack on fellow commenter. - # "ATTACK_ON_PUBLISHER" - Attack on publisher of article/post. - # "INCOHERENT" - Difficult to understand, nonsensical. - # "INFLAMMATORY" - Intending to provoke or inflame. - # "OBSCENE" - Obscene, such as cursing. - # "OFF_TOPIC" - Not related to the original topic. - # "SPAM" - Commercial/advertising spam content. - # "UNSUBSTANTIAL" - Trivial. + # names. The available attributes may be different on each RFE installation, + # and can be seen by calling ListAttributes (see above). + # For the prod installation, known as Perspective API, at + # blade:commentanalyzer-esf and commentanalyzer.googleapis.com, see + # go/checker-models (internal) and + # https://github.com/conversationai/perspectiveapi/blob/master/api_reference.md# + # models. # Corresponds to the JSON property `requestedAttributes` # @return [Hash] attr_accessor :requested_attributes diff --git a/generated/google/apis/healthcare_v1beta1/classes.rb b/generated/google/apis/healthcare_v1beta1/classes.rb index d9afb0215..21e75c855 100644 --- a/generated/google/apis/healthcare_v1beta1/classes.rb +++ b/generated/google/apis/healthcare_v1beta1/classes.rb @@ -266,7 +266,7 @@ module Google # The default timezone used by this dataset. Must be a either a valid IANA # time zone name such as "America/New_York" or empty, which defaults to UTC. - # This is used for parsing times in resources, such as HL7 messages, where no + # This is used for parsing times in resources (e.g., HL7 messages) where no # explicit timezone is specified. # Corresponds to the JSON property `timeZone` # @return [String] @@ -318,12 +318,12 @@ module Google # @return [Google::Apis::HealthcareV1beta1::DicomConfig] attr_accessor :dicom - # Specifies how to handle de-identification of a FHIR store. + # Specifies how de-identification of a FHIR store should be handled. # Corresponds to the JSON property `fhir` # @return [Google::Apis::HealthcareV1beta1::FhirConfig] attr_accessor :fhir - # Specifies how to handle de-identification of image pixels. + # Specifies how de-identification of image pixel should be handled. # Corresponds to the JSON property `image` # @return [Google::Apis::HealthcareV1beta1::ImageConfig] attr_accessor :image @@ -359,7 +359,8 @@ module Google # @return [Google::Apis::HealthcareV1beta1::DeidentifyConfig] attr_accessor :config - # The name of the dataset resource to create and write the redacted data to. + # The name of the dataset resource to create and write the redacted data to + # (e.g., # * The destination dataset must not exist. # * The destination dataset must be in the same project as the source # dataset. De-identifying data across multiple projects is not supported. @@ -382,12 +383,12 @@ module Google class DeidentifyErrorDetails include Google::Apis::Core::Hashable - # Number of resources that failed to process. + # Number of resources failed to process. # Corresponds to the JSON property `failureResourceCount` # @return [Fixnum] attr_accessor :failure_resource_count - # Number of stores that failed to process. + # Number of stores failed to process. # Corresponds to the JSON property `failureStoreCount` # @return [Fixnum] attr_accessor :failure_store_count @@ -419,14 +420,6 @@ module Google class DeidentifySummary include Google::Apis::Core::Hashable - # Number of resources that failed to process. - # The failures might be caused by: - # * Invalid user input data - # * Transient errors that could be skipped - # Corresponds to the JSON property `failureResourceCount` - # @return [Fixnum] - attr_accessor :failure_resource_count - # Number of resources successfully processed. # Corresponds to the JSON property `successResourceCount` # @return [Fixnum] @@ -443,7 +436,6 @@ module Google # Update properties of this object def update!(**args) - @failure_resource_count = args[:failure_resource_count] if args.key?(:failure_resource_count) @success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count) @success_store_count = args[:success_store_count] if args.key?(:success_store_count) end @@ -519,7 +511,7 @@ module Google # @return [String] attr_accessor :name - # Specifies where to send notifications upon changes to a data store. + # Specifies where notifications should be sent upon changes to a data store. # Corresponds to the JSON property `notificationConfig` # @return [Google::Apis::HealthcareV1beta1::NotificationConfig] attr_accessor :notification_config @@ -588,20 +580,20 @@ module Google end # Exports data from the specified DICOM store. - # If a given resource, such as a DICOM object with the same SOPInstance UID, + # If a given resource (e.g., a DICOM object with the same SOPInstance UID) # already exists in the output, it is overwritten with the version # in the source dataset. - # Exported DICOM data persists when the DICOM store from which it was + # Exported DICOM data will persist when the DICOM store from which it was # exported is deleted. class ExportDicomDataRequest include Google::Apis::Core::Hashable - # The BigQuery table where the server writes the output. + # The BigQuery table where the output should be written. # Corresponds to the JSON property `bigqueryDestination` # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomBigQueryDestination] attr_accessor :bigquery_destination - # The Cloud Storage location where the server writes the output and the export + # The Cloud Storage location where the output should be written, and the export # configuration. # Corresponds to the JSON property `gcsDestination` # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomGcsDestination] @@ -690,12 +682,12 @@ module Google end end - # Specifies how to handle de-identification of a FHIR store. + # Specifies how de-identification of a FHIR store should be handled. class FhirConfig include Google::Apis::Core::Hashable # Specifies FHIR paths to match and how to transform them. Any field that - # is not matched by a FieldMetadata is passed through to the output + # is not matched by a FieldMetadata will be passed through to the output # dataset unmodified. All extensions are removed in the output. # Corresponds to the JSON property `fieldMetadataList` # @return [Array] @@ -717,12 +709,12 @@ module Google # Whether to disable referential integrity in this FHIR store. This field is # immutable after FHIR store creation. - # The default value is false, meaning that the API enforces referential - # integrity and fails the requests that result in inconsistent state in + # The default value is false, meaning that the API will enforce referential + # integrity and fail the requests that will result in inconsistent state in # the FHIR store. - # When this field is set to true, the API skips referential integrity - # checks. Consequently, operations that rely on references, such as - # GetPatientEverything, do not return all the results if broken references + # When this field is set to true, the API will skip referential integrity + # check. Consequently, operations that rely on references, such as + # GetPatientEverything, will not return all the results if broken references # exist. # Corresponds to the JSON property `disableReferentialIntegrity` # @return [Boolean] @@ -731,25 +723,35 @@ module Google # Whether to disable resource versioning for this FHIR store. This field can # not be changed after the creation of FHIR store. - # If set to false, which is the default behavior, all write operations + # If set to false, which is the default behavior, all write operations will # cause historical versions to be recorded automatically. The historical # versions can be fetched through the history APIs, but cannot be updated. - # If set to true, no historical versions are kept. The server sends - # errors for attempts to read the historical versions. + # If set to true, no historical versions will be kept. The server will send + # back errors for attempts to read the historical versions. # Corresponds to the JSON property `disableResourceVersioning` # @return [Boolean] attr_accessor :disable_resource_versioning alias_method :disable_resource_versioning?, :disable_resource_versioning + # Whether to allow the bulk import API to accept history bundles and directly + # insert historical resource versions into the FHIR store. Importing resource + # histories creates resource interactions that appear to have occurred in the + # past, which clients may not want to allow. If set to false, history bundles + # within an import will fail with an error. + # Corresponds to the JSON property `enableHistoryImport` + # @return [Boolean] + attr_accessor :enable_history_import + alias_method :enable_history_import?, :enable_history_import + # Whether this FHIR store has the [updateCreate # capability](https://www.hl7.org/fhir/capabilitystatement-definitions.html# # CapabilityStatement.rest.resource.updateCreate). # This determines if the client can use an Update operation to create a new # resource with a client-specified ID. If false, all IDs are server-assigned - # through the Create operation and attempts to update a non-existent resource - # return errors. Please treat the audit logs with appropriate levels of + # through the Create operation and attempts to Update a non-existent resource + # will return errors. Please treat the audit logs with appropriate levels of # care if client-specified resource IDs contain sensitive data such as - # patient identifiers, those IDs are part of the FHIR resource path + # patient identifiers, those IDs will be part of the FHIR resource path # recorded in Cloud audit logs and Cloud Pub/Sub notifications. # Corresponds to the JSON property `enableUpdateCreate` # @return [Boolean] @@ -775,7 +777,7 @@ module Google # @return [String] attr_accessor :name - # Specifies where to send notifications upon changes to a data store. + # Specifies where notifications should be sent upon changes to a data store. # Corresponds to the JSON property `notificationConfig` # @return [Google::Apis::HealthcareV1beta1::NotificationConfig] attr_accessor :notification_config @@ -788,6 +790,7 @@ module Google def update!(**args) @disable_referential_integrity = args[:disable_referential_integrity] if args.key?(:disable_referential_integrity) @disable_resource_versioning = args[:disable_resource_versioning] if args.key?(:disable_resource_versioning) + @enable_history_import = args[:enable_history_import] if args.key?(:enable_history_import) @enable_update_create = args[:enable_update_create] if args.key?(:enable_update_create) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @@ -809,8 +812,8 @@ module Google # period-separated list where each component is either a field name or # FHIR type name, for example: Patient, HumanName. # For "choice" types (those defined in the FHIR spec with the form: - # field[x]) we use two separate components. For example, - # "deceasedAge.unit" is matched by "Deceased.Age.unit". + # field[x]) we use two separate components. e.g. "deceasedAge.unit" is + # matched by "Deceased.Age.unit". # Supported types are: AdministrativeGenderCode, Code, Date, DateTime, # Decimal, HumanName, Id, LanguageCode, Markdown, MimeTypeCode, Oid, # String, Uri, Uuid, Xhtml. @@ -829,12 +832,12 @@ module Google end end - # The BigQuery table where the server writes the output. + # The BigQuery table where the output should be written. class GoogleCloudHealthcareV1beta1DicomBigQueryDestination include Google::Apis::Core::Hashable # If the destination table already exists and this flag is `TRUE`, the table - # is overwritten by the contents of the DICOM store. If the flag is not + # will be overwritten by the contents of the DICOM store. If the flag is not # set and the destination table already exists, the export call returns an # error. # Corresponds to the JSON property `force` @@ -859,31 +862,31 @@ module Google end end - # The Cloud Storage location where the server writes the output and the export + # The Cloud Storage location where the output should be written, and the export # configuration. class GoogleCloudHealthcareV1beta1DicomGcsDestination include Google::Apis::Core::Hashable # MIME types supported by DICOM spec. - # Each file is written in the following format: + # Each file will be written in the following format: # `.../`study_id`/`series_id`/`instance_id`[/`frame_number`].`extension`` - # The frame_number component exists only for multi-frame instances. + # The frame_number component will exist only for multi-frame instances. # Refer to the DICOM conformance statement for permissible MIME types: # https://cloud.google.com/healthcare/docs/dicom#wado-rs - # The following extensions are used for output files: + # The following extensions will be used for output files: # application/dicom -> .dcm # image/jpeg -> .jpg # image/png -> .png - # If unspecified, the instances are exported in their original + # If unspecified, the instances will be exported in their original # DICOM format. # Corresponds to the JSON property `mimeType` # @return [String] attr_accessor :mime_type # The Cloud Storage destination to export to. - # URI for a Cloud Storage directory where the server writes the result files, - # in the format `gs://`bucket-id`/`path/to/destination/dir``). If there is no - # trailing slash, the service appends one when composing the object path. + # URI for a Cloud Storage directory where result files should be written (in + # the format `gs://`bucket-id`/`path/to/destination/dir``). If there is no + # trailing slash, the service will append one when composing the object path. # The user is responsible for creating the Cloud Storage bucket referenced in # `uri_prefix`. # Corresponds to the JSON property `uriPrefix` @@ -1202,7 +1205,7 @@ module Google # @return [String] attr_accessor :name - # Specifies where to send notifications upon changes to a data store. + # Specifies where notifications should be sent upon changes to a data store. # Corresponds to the JSON property `notificationConfig` # @return [Google::Apis::HealthcareV1beta1::NotificationConfig] attr_accessor :notification_config @@ -1287,7 +1290,7 @@ module Google end end - # Specifies how to handle de-identification of image pixels. + # Specifies how de-identification of image pixel should be handled. class ImageConfig include Google::Apis::Core::Hashable @@ -1311,8 +1314,8 @@ module Google include Google::Apis::Core::Hashable # Deprecated. Use only for debugging purposes. - # Contains sample errors encountered in imports of individual resources. - # For example, a Cloud Storage object. + # Contains sample errors encountered in imports of individual resources + # (for example, a Cloud Storage object). # Corresponds to the JSON property `sampleErrors` # @return [Array] attr_accessor :sample_errors @@ -1329,8 +1332,8 @@ module Google # Imports data into the specified DICOM store. # Returns an error if any of the files to import are not DICOM files. This - # API accepts duplicate DICOM instances by ignoring the newly-pushed instance. - # It does not overwrite. + # API will accept duplicate DICOM instances, by simply ignoring the newly + # pushed instance (it will not overwrite). class ImportDicomDataRequest include Google::Apis::Core::Hashable @@ -1405,8 +1408,8 @@ module Google # @return [Array] attr_accessor :info_types - # Define how to redact sensitive values. Default behaviour is erase. - # For example, "My name is Jake." becomes "My name is ." + # Define how to redact sensitive values. Default behaviour is erase, + # e.g. "My name is Jake." becomes "My name is ." # Corresponds to the JSON property `redactConfig` # @return [Google::Apis::HealthcareV1beta1::RedactConfig] attr_accessor :redact_config @@ -1796,13 +1799,13 @@ module Google end end - # Specifies where to send notifications upon changes to a data store. + # Specifies where notifications should be sent upon changes to a data store. class NotificationConfig include Google::Apis::Core::Hashable # The [Cloud Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that # notifications of changes are published on. Supplied by the client. - # PubsubMessage.Data contains the resource name. + # PubsubMessage.Data will contain the resource name. # PubsubMessage.MessageId is the ID of this message. It is guaranteed to be # unique within the topic. # PubsubMessage.PublishTime is the time at which the message was published. @@ -1811,7 +1814,7 @@ module Google # names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped # to a project. cloud-healthcare@system.gserviceaccount.com must have # publisher permissions on the given Cloud Pub/Sub topic. Not having adequate - # permissions causes the calls that send notifications to fail. + # permissions will cause the calls that send notifications to fail. # Corresponds to the JSON property `pubsubTopic` # @return [String] attr_accessor :pubsub_topic @@ -1958,8 +1961,8 @@ module Google attr_accessor :allow_null_header alias_method :allow_null_header?, :allow_null_header - # Byte(s) to use as the segment terminator. If this is unset, '\r' is - # used as segment terminator. + # Byte(s) to be used as the segment terminator. If this is unset, '\r' will + # be used as segment terminator. # Corresponds to the JSON property `segmentTerminator` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -1980,7 +1983,7 @@ module Google class PatientId include Google::Apis::Core::Hashable - # ID type. For example, MRN or NHS. + # ID type, e.g. MRN or NHS. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -2066,12 +2069,7 @@ module Google # @return [String] attr_accessor :etag - # Specifies the format of the policy. - # Valid values are 0, 1, and 3. Requests specifying an invalid value will be - # rejected. - # Policies with any conditional bindings must specify version 3. Policies - # without any conditional bindings may specify any valid value or leave the - # field unset. + # Deprecated. # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -2120,8 +2118,8 @@ module Google end end - # Define how to redact sensitive values. Default behaviour is erase. - # For example, "My name is Jake." becomes "My name is ." + # Define how to redact sensitive values. Default behaviour is erase, + # e.g. "My name is Jake." becomes "My name is ." class RedactConfig include Google::Apis::Core::Hashable @@ -2211,23 +2209,22 @@ module Google # identify different instances of a repeated field. # Regex for key: (\d+)(\[\d+\])?(.\d+)?(.\d+)? # Examples of (key, value) pairs: - # * (0.1, "hemoglobin") denotes that the first component of Field 0 has the - # value "hemoglobin". - # * (1.1.2, "CBC") denotes that the second sub-component of the first - # component of Field 1 has the value "CBC". - # * (1[0].1, "HbA1c") denotes that the first component of the - # first Instance of Field 1, which is repeated, has the value "HbA1c". + # - (0.1, "foo"): Component 1 of Field 0 has the value "foo". + # - (1.1.2, "bar"): Sub-component 2 of Component 1 of field 1 has the value + # "bar". + # - (1[2].1, "baz"): Component 1 of Instance 2 of Field 1, which is repeated, + # has the value "baz". # Corresponds to the JSON property `fields` # @return [Hash] attr_accessor :fields - # A string that indicates the type of segment. For example, EVN or PID. + # A string that indicates the type of segment, e.g., EVN, PID. # Corresponds to the JSON property `segmentId` # @return [String] attr_accessor :segment_id - # Set ID for segments that can be in a set. This can be empty if it's - # missing or isn't applicable. + # Set ID for segments that can be in a set. This can be empty if it is + # missing or it is not applicable. # Corresponds to the JSON property `setId` # @return [String] attr_accessor :set_id diff --git a/generated/google/apis/healthcare_v1beta1/representations.rb b/generated/google/apis/healthcare_v1beta1/representations.rb index e321ea5a8..54ccd33ba 100644 --- a/generated/google/apis/healthcare_v1beta1/representations.rb +++ b/generated/google/apis/healthcare_v1beta1/representations.rb @@ -536,7 +536,6 @@ module Google class DeidentifySummary # @private class Representation < Google::Apis::Core::JsonRepresentation - property :failure_resource_count, :numeric_string => true, as: 'failureResourceCount' property :success_resource_count, :numeric_string => true, as: 'successResourceCount' property :success_store_count, :numeric_string => true, as: 'successStoreCount' end @@ -622,6 +621,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :disable_referential_integrity, as: 'disableReferentialIntegrity' property :disable_resource_versioning, as: 'disableResourceVersioning' + property :enable_history_import, as: 'enableHistoryImport' property :enable_update_create, as: 'enableUpdateCreate' hash :labels, as: 'labels' property :name, as: 'name' diff --git a/generated/google/apis/healthcare_v1beta1/service.rb b/generated/google/apis/healthcare_v1beta1/service.rb index a1e1b060d..b24982c59 100644 --- a/generated/google/apis/healthcare_v1beta1/service.rb +++ b/generated/google/apis/healthcare_v1beta1/service.rb @@ -124,8 +124,8 @@ module Google # A Google Cloud Platform project can contain up to 500 datasets across all # regions. # @param [String] parent - # The name of the project where the server creates the dataset. For - # example, `projects/`project_id`/locations/`location_id``. + # The name of the project in which the dataset should be created (e.g., + # `projects/`project_id`/locations/`location_id``). # @param [Google::Apis::HealthcareV1beta1::Dataset] dataset_object # @param [String] dataset_id # The ID of the dataset that is being created. @@ -169,11 +169,11 @@ module Google # If errors occur, # details field type is # DeidentifyErrorDetails. - # Errors are also logged to Stackdriver Logging. For more information, - # see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging). + # Errors are also logged to Stackdriver + # (see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging)). # @param [String] source_dataset - # Source dataset resource name. For example, - # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``. + # Source dataset resource name. (e.g., + # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``). # @param [Google::Apis::HealthcareV1beta1::DeidentifyDatasetRequest] deidentify_dataset_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -208,8 +208,8 @@ module Google # Deleting a dataset does not affect the sources from which the dataset was # imported (if any). # @param [String] name - # The name of the dataset to delete. For example, - # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``. + # The name of the dataset to delete (e.g., + # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -239,8 +239,8 @@ module Google # Gets any metadata associated with a dataset. # @param [String] name - # The name of the dataset to read. For example, - # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``. + # The name of the dataset to read (e.g., + # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -276,11 +276,9 @@ module Google # 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. + # Acceptable values are 0, 1, and 3. + # If the value is 0, or the field is omitted, policy format version 1 will be + # returned. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -311,8 +309,8 @@ module Google # Lists the health datasets in the current project. # @param [String] parent - # The name of the project whose datasets should be listed. - # For example, `projects/`project_id`/locations/`location_id``. + # The name of the project whose datasets should be listed (e.g., + # `projects/`project_id`/locations/`location_id``). # @param [Fixnum] page_size # The maximum number of items to return. Capped to 100 if not specified. # May not be larger than 1000. @@ -534,10 +532,9 @@ module Google # The metadata field type is # OperationMetadata. # @param [String] name - # The DICOM store resource name from which to export the data. For - # example, + # The DICOM store resource name from which the data should be exported (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ - # dicomStores/`dicom_store_id``. + # dicomStores/`dicom_store_id``). # @param [Google::Apis::HealthcareV1beta1::ExportDicomDataRequest] export_dicom_data_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -606,11 +603,9 @@ module Google # 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. + # Acceptable values are 0, 1, and 3. + # If the value is 0, or the field is omitted, policy format version 1 will be + # returned. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -640,18 +635,16 @@ module Google end # Imports data into the DICOM store by copying it from the specified source. - # For errors, the Operation is populated with error details (in the form - # of ImportDicomDataErrorDetails in error.details), which hold + # For errors, the Operation will be populated with error details (in the form + # of ImportDicomDataErrorDetails in error.details), which will hold # finer-grained error information. Errors are also logged to Stackdriver - # Logging. For more information, - # see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging). + # (see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging)). # The metadata field type is # OperationMetadata. # @param [String] name - # The name of the DICOM store resource into which the data is imported. - # For example, + # The name of the DICOM store resource into which the data is imported (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ - # dicomStores/`dicom_store_id``. + # dicomStores/`dicom_store_id``). # @param [Google::Apis::HealthcareV1beta1::ImportDicomDataRequest] import_dicom_data_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -688,7 +681,7 @@ module Google # @param [String] filter # Restricts stores returned to those matching a filter. Syntax: # https://cloud.google.com/appengine/docs/standard/python/search/query_strings - # Only filtering on labels is supported. For example, `labels.key=value`. + # Only filtering on labels is supported, for example `labels.key=value`. # @param [Fixnum] page_size # Limit on the number of DICOM stores to return in a single response. # If zero the default page size of 100 is used. @@ -768,11 +761,11 @@ module Google # SearchForInstances returns a list of matching instances. See # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6. # @param [String] parent - # The name of the DICOM store that is being accessed (for example, + # The name of the DICOM store that is being accessed (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # dicomStores/`dicom_store_id``). # @param [String] dicom_web_path - # The path of the SearchForInstancesRequest DICOMweb request (for example, + # The path of the SearchForInstancesRequest DICOMweb request (e.g., # `instances` or `series/`series_uid`/instances` or # `studies/`study_uid`/instances`). # @param [String] fields @@ -806,11 +799,11 @@ module Google # SearchForSeries returns a list of matching series. See # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6. # @param [String] parent - # The name of the DICOM store that is being accessed (for example, + # The name of the DICOM store that is being accessed (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # dicomStores/`dicom_store_id``). # @param [String] dicom_web_path - # The path of the SearchForSeries DICOMweb request(for example, `series` or + # The path of the SearchForSeries DICOMweb request(e.g., `series` or # `studies/`study_uid`/series`). # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -843,11 +836,11 @@ module Google # SearchForStudies returns a list of matching studies. See # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6. # @param [String] parent - # The name of the DICOM store that is being accessed (for example, + # The name of the DICOM store that is being accessed (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # dicomStores/`dicom_store_id``). # @param [String] dicom_web_path - # The path of the SearchForStudies DICOMweb request (for example, `studies`). + # The path of the SearchForStudies DICOMweb request (e.g., `studies`). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -915,12 +908,12 @@ module Google # identifiers (SUID). See # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.5. # @param [String] parent - # The name of the DICOM store that is being accessed (for example, + # The name of the DICOM store that is being accessed (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # dicomStores/`dicom_store_id``). # @param [String] dicom_web_path - # The path of the StoreInstances DICOMweb request (for example, - # `studies/[`study_uid`]`). Note that the `study_uid` is optional. + # The path of the StoreInstances DICOMweb request (e.g., + # `studies/[`study_id`]`). Note that the `study_uid` is optional. # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -994,11 +987,11 @@ module Google # DeleteStudy deletes all instances within the given study. Delete requests # are equivalent to the GET requests specified in the WADO-RS standard. # @param [String] parent - # The name of the DICOM store that is being accessed (for example, + # The name of the DICOM store that is being accessed (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # dicomStores/`dicom_store_id``). # @param [String] dicom_web_path - # The path of the DeleteStudy request (for example, `studies/`study_uid``). + # The path of the DeleteStudy request (e.g., `studies/`study_id``). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1031,12 +1024,12 @@ module Google # presented as metadata with the bulk data removed. See # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4. # @param [String] parent - # The name of the DICOM store that is being accessed (for example, + # The name of the DICOM store that is being accessed (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # dicomStores/`dicom_store_id``). # @param [String] dicom_web_path - # The path of the RetrieveStudyMetadata DICOMweb request (for example, - # `studies/`study_uid`/metadata`). + # The path of the RetrieveStudyMetadata DICOMweb request (e.g., + # `studies/`study_id`/metadata`). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1068,12 +1061,12 @@ module Google # RetrieveStudy returns all instances within the given study. See # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4. # @param [String] parent - # The name of the DICOM store that is being accessed (for example, + # The name of the DICOM store that is being accessed (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # dicomStores/`dicom_store_id``). # @param [String] dicom_web_path - # The path of the RetrieveStudy DICOMweb request (for example, - # `studies/`study_uid``). + # The path of the RetrieveStudy DICOMweb request (e.g., + # `studies/`study_id``). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1105,11 +1098,11 @@ module Google # SearchForInstances returns a list of matching instances. See # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6. # @param [String] parent - # The name of the DICOM store that is being accessed (for example, + # The name of the DICOM store that is being accessed (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # dicomStores/`dicom_store_id``). # @param [String] dicom_web_path - # The path of the SearchForInstancesRequest DICOMweb request (for example, + # The path of the SearchForInstancesRequest DICOMweb request (e.g., # `instances` or `series/`series_uid`/instances` or # `studies/`study_uid`/instances`). # @param [String] fields @@ -1143,11 +1136,11 @@ module Google # SearchForSeries returns a list of matching series. See # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6. # @param [String] parent - # The name of the DICOM store that is being accessed (for example, + # The name of the DICOM store that is being accessed (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # dicomStores/`dicom_store_id``). # @param [String] dicom_web_path - # The path of the SearchForSeries DICOMweb request(for example, `series` or + # The path of the SearchForSeries DICOMweb request(e.g., `series` or # `studies/`study_uid`/series`). # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1181,12 +1174,12 @@ module Google # identifiers (SUID). See # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.5. # @param [String] parent - # The name of the DICOM store that is being accessed (for example, + # The name of the DICOM store that is being accessed (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # dicomStores/`dicom_store_id``). # @param [String] dicom_web_path - # The path of the StoreInstances DICOMweb request (for example, - # `studies/[`study_uid`]`). Note that the `study_uid` is optional. + # The path of the StoreInstances DICOMweb request (e.g., + # `studies/[`study_id`]`). Note that the `study_uid` is optional. # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1222,12 +1215,12 @@ module Google # Delete requests are equivalent to the GET requests specified in the WADO-RS # standard. # @param [String] parent - # The name of the DICOM store that is being accessed (for example, + # The name of the DICOM store that is being accessed (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # dicomStores/`dicom_store_id``). # @param [String] dicom_web_path - # The path of the DeleteSeries request (for example, - # `studies/`study_uid`/series/`series_uid``). + # The path of the DeleteSeries request (e.g., + # `studies/`study_id`/series/`series_id``). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1260,12 +1253,12 @@ module Google # series, presented as metadata with the bulk data removed. See # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4. # @param [String] parent - # The name of the DICOM store that is being accessed (for example, + # The name of the DICOM store that is being accessed (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # dicomStores/`dicom_store_id``). # @param [String] dicom_web_path - # The path of the RetrieveSeriesMetadata DICOMweb request (for example, - # `studies/`study_uid`/series/`series_uid`/metadata`). + # The path of the RetrieveSeriesMetadata DICOMweb request (e.g., + # `studies/`study_id`/series/`series_id`/metadata`). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1297,12 +1290,12 @@ module Google # RetrieveSeries returns all instances within the given study and series. See # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4. # @param [String] parent - # The name of the DICOM store that is being accessed (for example, + # The name of the DICOM store that is being accessed (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # dicomStores/`dicom_store_id``). # @param [String] dicom_web_path - # The path of the RetrieveSeries DICOMweb request (for example, - # `studies/`study_uid`/series/`series_uid``). + # The path of the RetrieveSeries DICOMweb request (e.g., + # `studies/`study_id`/series/`series_id``). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1334,11 +1327,11 @@ module Google # SearchForInstances returns a list of matching instances. See # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6. # @param [String] parent - # The name of the DICOM store that is being accessed (for example, + # The name of the DICOM store that is being accessed (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # dicomStores/`dicom_store_id``). # @param [String] dicom_web_path - # The path of the SearchForInstancesRequest DICOMweb request (for example, + # The path of the SearchForInstancesRequest DICOMweb request (e.g., # `instances` or `series/`series_uid`/instances` or # `studies/`study_uid`/instances`). # @param [String] fields @@ -1373,12 +1366,12 @@ module Google # and SOP Instance UID. Delete requests are equivalent to the GET requests # specified in the WADO-RS standard. # @param [String] parent - # The name of the DICOM store that is being accessed (for example, + # The name of the DICOM store that is being accessed (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # dicomStores/`dicom_store_id``). # @param [String] dicom_web_path - # The path of the DeleteInstance request (for example, - # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid``). + # The path of the DeleteInstance request (e.g., + # `studies/`study_id`/series/`series_id`/instances/`instance_id``). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1411,12 +1404,12 @@ module Google # and SOP Instance UID. See # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4. # @param [String] parent - # The name of the DICOM store that is being accessed (for example, + # The name of the DICOM store that is being accessed (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # dicomStores/`dicom_store_id``). # @param [String] dicom_web_path - # The path of the RetrieveInstance DICOMweb request (for example, - # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid``). + # The path of the RetrieveInstance DICOMweb request (e.g., + # `studies/`study_id`/series/`series_id`/instances/`instance_id``). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1450,12 +1443,12 @@ module Google # removed. See # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4. # @param [String] parent - # The name of the DICOM store that is being accessed (for example, + # The name of the DICOM store that is being accessed (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # dicomStores/`dicom_store_id``). # @param [String] dicom_web_path - # The path of the RetrieveInstanceMetadata DICOMweb request (for example, - # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/metadata`). + # The path of the RetrieveInstanceMetadata DICOMweb request (e.g., + # `studies/`study_id`/series/`series_id`/instances/`instance_id`/metadata`). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1488,12 +1481,12 @@ module Google # series, and SOP Instance UID in an acceptable Rendered Media Type. See # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4. # @param [String] parent - # The name of the DICOM store that is being accessed (for example, + # The name of the DICOM store that is being accessed (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # dicomStores/`dicom_store_id``). # @param [String] dicom_web_path - # The path of the RetrieveRenderedInstance DICOMweb request (for example, - # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/rendered`). + # The path of the RetrieveRenderedInstance DICOMweb request (e.g., + # `studies/`study_id`/series/`series_id`/instances/`instance_id`/rendered`). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1526,12 +1519,12 @@ module Google # SOP Instance UID and frame numbers. See # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4. # @param [String] parent - # The name of the DICOM store that is being accessed (for example, + # The name of the DICOM store that is being accessed (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # dicomStores/`dicom_store_id``). # @param [String] dicom_web_path - # The path of the RetrieveFrames DICOMweb request (for example, - # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/frames/` + # The path of the RetrieveFrames DICOMweb request (e.g., + # `studies/`study_id`/series/`series_id`/instances/`instance_id`/frames/` # frame_list``). # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1566,12 +1559,12 @@ module Google # Type. See # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4. # @param [String] parent - # The name of the DICOM store that is being accessed (for example, + # The name of the DICOM store that is being accessed (e.g., # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/ # dicomStores/`dicom_store_id``). # @param [String] dicom_web_path - # The path of the RetrieveRenderedFrames DICOMweb request (for example, - # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/frames/` + # The path of the RetrieveRenderedFrames DICOMweb request (e.g., + # `studies/`study_id`/series/`series_id`/instances/`instance_id`/frames/` # frame_list`/rendered`). # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1754,11 +1747,9 @@ module Google # 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. + # Acceptable values are 0, 1, and 3. + # If the value is 0, or the field is omitted, policy format version 1 will be + # returned. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1829,7 +1820,7 @@ module Google # The location and format of the input data is specified by the parameters # below. Note that if no format is specified, this method assumes the # `BUNDLE` format. When using the `BUNDLE` format this method ignores the - # `Bundle.type` field, except that `history` bundles are rejected, and does + # `Bundle.type` field, except for the special case of `history`, and does # not apply any of the bundle processing semantics for batch or transaction # bundles. Unlike in ExecuteBundle, transaction bundles are not executed # as a single transaction and bundle-internal references are not rewritten. @@ -1838,6 +1829,16 @@ module Google # an example, this allows the import of `searchset` bundles produced by a # FHIR search or # Patient-everything operation. + # If history imports are enabled by setting + # enable_history_import in the FHIR + # store's configuration, this method can import historical versions + # of a resource by supplying a bundle of type `history` and using the + # `BUNDLE` format. The historical versions in the bundle must have + # `lastUpdated` timestamps, and the resulting resource history on the server + # will appear as if the versions had been created at those timestamps. If a + # current or historical version with the supplied resource ID already + # exists, the bundle is rejected to avoid creating an inconsistent sequence + # of resource versions. # This method returns an Operation that can # be used to track the status of the import by calling # GetOperation. @@ -2947,11 +2948,9 @@ module Google # 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. + # Acceptable values are 0, 1, and 3. + # If the value is 0, or the field is omitted, policy format version 1 will be + # returned. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2986,7 +2985,7 @@ module Google # @param [String] filter # Restricts stores returned to those matching a filter. Syntax: # https://cloud.google.com/appengine/docs/standard/python/search/query_strings - # Only filtering on labels is supported. For example, `labels.key=value`. + # Only filtering on labels is supported, for example `labels.key=value`. # @param [Fixnum] page_size # Limit on the number of HL7v2 stores to return in a single response. # If zero the default page size of 100 is used. @@ -3208,7 +3207,8 @@ module Google # @param [String] name # The resource name of the HL7v2 message to retrieve. # @param [String] view - # Specifies which parts of the Message resource to return in the response. + # Specifies which parts of the Message resource should be returned + # in the response. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3284,30 +3284,29 @@ module Google # Restricts messages returned to those matching a filter. Syntax: # https://cloud.google.com/appengine/docs/standard/python/search/query_strings # Fields/functions available for filtering are: - # * `message_type`, from the MSH-9 segment. For example, - # `NOT message_type = "ADT"`. + # * `message_type`, from the MSH-9 segment; for example + # `NOT message_type = "ADT"` # * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in - # the dataset's time_zone, from the MSH-7 segment. For example, - # `send_date < "2017-01-02"`. + # the dataset's time_zone, from the MSH-7 segment; for example + # `send_date < "2017-01-02"` # * `send_time`, the timestamp when the message was sent, using the - # RFC3339 time format for comparisons, from the MSH-7 segment. For example, - # `send_time < "2017-01-02T00:00:00-05:00"`. + # RFC3339 time format for comparisons, from the MSH-7 segment; for example + # `send_time < "2017-01-02T00:00:00-05:00"` # * `send_facility`, the care center that the message came from, from the - # MSH-4 segment. For example, `send_facility = "ABC"`. + # MSH-4 segment; for example `send_facility = "ABC"` # * `HL7RegExp(expr)`, which does regular expression matching of `expr` - # against the message payload using RE2 syntax - # (https://github.com/google/re2/wiki/Syntax). For example, - # `HL7RegExp("^.*\|.*\|EMERG")`. + # against the message payload using re2 (http://code.google.com/p/re2/) + # syntax; for example `HL7RegExp("^.*\|.*\|EMERG")` # * `PatientId(value, type)`, which matches if the message lists a patient # having an ID of the given value and type in the PID-2, PID-3, or PID-4 - # segments. For example, `PatientId("123456", "MRN")`. + # segments; for example `PatientId("123456", "MRN")` # * `labels.x`, a string value of the label with key `x` as set using the # Message.labels - # map. For example, `labels."priority"="high"`. The operator `:*` can be used - # to assert the existence of a label. For example, `labels."priority":*`. + # map, for example `labels."priority"="high"`. The operator `:*` can be used + # to assert the existence of a label, for example `labels."priority":*`. # Limitations on conjunctions: # * Negation on the patient ID function or the labels field is not - # supported. For example, these queries are invalid: + # supported, for example these queries are invalid: # `NOT PatientId("123456", "MRN")`, `NOT labels."tag1":*`, # `NOT labels."tag2"="val2"`. # * Conjunction of multiple patient ID functions is not supported, for @@ -3316,7 +3315,7 @@ module Google # * Conjunction of multiple labels fields is also not supported, for # example this query is invalid: `labels."tag1":* AND labels."tag2"="val2"`. # * Conjunction of one patient ID function, one labels field and conditions - # on other fields is supported. For example, this query is valid: + # on other fields is supported, for example this query is valid: # `PatientId("123456", "MRN") AND labels."tag1":* AND message_type = "ADT"`. # @param [String] order_by # Orders messages returned by the specified order_by clause. @@ -3372,8 +3371,8 @@ module Google # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf# # fieldmask # Only the `labels` field is allowed to be updated. - # The labels in the request are merged with the existing set of labels. - # Existing labels with the same keys are updated. + # The labels in the request will be merged with the existing set of labels. + # Existing labels with the same keys will be updated. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/iap_v1beta1.rb b/generated/google/apis/iap_v1beta1.rb index f5c412665..5b0c3ebc3 100644 --- a/generated/google/apis/iap_v1beta1.rb +++ b/generated/google/apis/iap_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/iap module IapV1beta1 VERSION = 'V1beta1' - REVISION = '20190906' + REVISION = '20190920' # 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/iap_v1beta1/classes.rb b/generated/google/apis/iap_v1beta1/classes.rb index e487705d3..c7d25c1c4 100644 --- a/generated/google/apis/iap_v1beta1/classes.rb +++ b/generated/google/apis/iap_v1beta1/classes.rb @@ -162,25 +162,34 @@ module Google # Defines an Identity and Access Management (IAM) policy. It is used to # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service accounts. A `role` is a named list of permissions - # defined by IAM. + # 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 (defined by IAM or configured by users). A `binding` can + # optionally specify a `condition`, which is a logic expression that further + # constrains the role binding based on attributes about the request and/or + # target resource. # **JSON Example** # ` # "bindings": [ # ` - # "role": "roles/owner", + # "role": "role/resourcemanager.organizationAdmin", # "members": [ # "user:mike@example.com", # "group:admins@example.com", # "domain:google.com", - # "serviceAccount:my-other-app@appspot.gserviceaccount.com" + # "serviceAccount:my-project-id@appspot.gserviceaccount.com" # ] # `, # ` - # "role": "roles/viewer", - # "members": ["user:sean@example.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')", + # ` # ` # ] # ` @@ -190,17 +199,22 @@ module Google # - user:mike@example.com # - group:admins@example.com # - domain:google.com - # - serviceAccount:my-other-app@appspot.gserviceaccount.com - # role: roles/owner + # - serviceAccount:my-project-id@appspot.gserviceaccount.com + # role: roles/resourcemanager.organizationAdmin # - members: - # - user:sean@example.com - # role: roles/viewer + # - 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') # For a description of IAM and its features, see the # [IAM developer's guide](https://cloud.google.com/iam/docs). class Policy include Google::Apis::Core::Hashable - # Associates a list of `members` to a `role`. + # Associates a list of `members` to a `role`. Optionally may specify a + # `condition` that determines when binding is in effect. # `bindings` with no members will result in an error. # Corresponds to the JSON property `bindings` # @return [Array] @@ -214,7 +228,9 @@ module Google # 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. # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten. + # policy is overwritten. Due to blind-set semantics of an etag-less policy, + # 'setIamPolicy' will not fail even if either of incoming or stored policy + # does not meet the version requirements. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -223,9 +239,13 @@ module Google # Specifies the format of the policy. # Valid values are 0, 1, and 3. Requests specifying an invalid value will be # rejected. - # Policies with any conditional bindings must specify version 3. Policies - # without any conditional bindings may specify any valid value or leave the - # field unset. + # Operations affecting conditional bindings must specify version 3. This can + # be either setting a conditional policy, modifying a conditional binding, + # or removing a conditional binding from the stored conditional policy. + # Operations on non-conditional policies may specify any valid value or + # leave the field unset. + # If no etag is provided in the call to `setIamPolicy`, any version + # compliance checks on the incoming and/or stored policy is skipped. # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -248,25 +268,34 @@ module Google # Defines an Identity and Access Management (IAM) policy. It is used to # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service accounts. A `role` is a named list of permissions - # defined by IAM. + # 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 (defined by IAM or configured by users). A `binding` can + # optionally specify a `condition`, which is a logic expression that further + # constrains the role binding based on attributes about the request and/or + # target resource. # **JSON Example** # ` # "bindings": [ # ` - # "role": "roles/owner", + # "role": "role/resourcemanager.organizationAdmin", # "members": [ # "user:mike@example.com", # "group:admins@example.com", # "domain:google.com", - # "serviceAccount:my-other-app@appspot.gserviceaccount.com" + # "serviceAccount:my-project-id@appspot.gserviceaccount.com" # ] # `, # ` - # "role": "roles/viewer", - # "members": ["user:sean@example.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')", + # ` # ` # ] # ` @@ -276,11 +305,15 @@ module Google # - user:mike@example.com # - group:admins@example.com # - domain:google.com - # - serviceAccount:my-other-app@appspot.gserviceaccount.com - # role: roles/owner + # - serviceAccount:my-project-id@appspot.gserviceaccount.com + # role: roles/resourcemanager.organizationAdmin # - members: - # - user:sean@example.com - # role: roles/viewer + # - 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') # For a description of IAM and its features, see the # [IAM developer's guide](https://cloud.google.com/iam/docs). # Corresponds to the JSON property `policy` diff --git a/generated/google/apis/securitycenter_v1.rb b/generated/google/apis/securitycenter_v1.rb index 966b09e33..bf4ce47d8 100644 --- a/generated/google/apis/securitycenter_v1.rb +++ b/generated/google/apis/securitycenter_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview module SecuritycenterV1 VERSION = 'V1' - REVISION = '20190913' + REVISION = '20190920' # 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/securitycenter_v1/classes.rb b/generated/google/apis/securitycenter_v1/classes.rb index 01fbdc677..07ff1576e 100644 --- a/generated/google/apis/securitycenter_v1/classes.rb +++ b/generated/google/apis/securitycenter_v1/classes.rb @@ -613,7 +613,8 @@ module Google # @return [String] attr_accessor :filter - # Expression that defines what assets fields to use for grouping. The string + # Required. Expression that defines what assets fields to use for grouping. The + # string # value should follow SQL syntax: comma separated list of fields. For # example: # "security_center_properties.resource_project,security_center_properties. @@ -769,7 +770,8 @@ module Google # @return [String] attr_accessor :filter - # Expression that defines what assets fields to use for grouping (including + # Required. Expression that defines what assets fields to use for grouping ( + # including # `state_change`). The string value should follow SQL syntax: comma separated # list of fields. For example: "parent,resource_name". # The following fields are supported: @@ -1197,25 +1199,34 @@ module Google # Defines an Identity and Access Management (IAM) policy. It is used to # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service accounts. A `role` is a named list of permissions - # defined by IAM. + # 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 (defined by IAM or configured by users). A `binding` can + # optionally specify a `condition`, which is a logic expression that further + # constrains the role binding based on attributes about the request and/or + # target resource. # **JSON Example** # ` # "bindings": [ # ` - # "role": "roles/owner", + # "role": "role/resourcemanager.organizationAdmin", # "members": [ # "user:mike@example.com", # "group:admins@example.com", # "domain:google.com", - # "serviceAccount:my-other-app@appspot.gserviceaccount.com" + # "serviceAccount:my-project-id@appspot.gserviceaccount.com" # ] # `, # ` - # "role": "roles/viewer", - # "members": ["user:sean@example.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')", + # ` # ` # ] # ` @@ -1225,11 +1236,15 @@ module Google # - user:mike@example.com # - group:admins@example.com # - domain:google.com - # - serviceAccount:my-other-app@appspot.gserviceaccount.com - # role: roles/owner + # - serviceAccount:my-project-id@appspot.gserviceaccount.com + # role: roles/resourcemanager.organizationAdmin # - members: - # - user:sean@example.com - # role: roles/viewer + # - 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') # For a description of IAM and its features, see the # [IAM developer's guide](https://cloud.google.com/iam/docs). class Policy @@ -1240,7 +1255,8 @@ module Google # @return [Array] attr_accessor :audit_configs - # Associates a list of `members` to a `role`. + # Associates a list of `members` to a `role`. Optionally may specify a + # `condition` that determines when binding is in effect. # `bindings` with no members will result in an error. # Corresponds to the JSON property `bindings` # @return [Array] @@ -1254,7 +1270,9 @@ module Google # 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. # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten. + # policy is overwritten. Due to blind-set semantics of an etag-less policy, + # 'setIamPolicy' will not fail even if either of incoming or stored policy + # does not meet the version requirements. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -1263,9 +1281,13 @@ module Google # Specifies the format of the policy. # Valid values are 0, 1, and 3. Requests specifying an invalid value will be # rejected. - # Policies with any conditional bindings must specify version 3. Policies - # without any conditional bindings may specify any valid value or leave the - # field unset. + # Operations affecting conditional bindings must specify version 3. This can + # be either setting a conditional policy, modifying a conditional binding, + # or removing a conditional binding from the stored conditional policy. + # Operations on non-conditional policies may specify any valid value or + # leave the field unset. + # If no etag is provided in the call to `setIamPolicy`, any version + # compliance checks on the incoming and/or stored policy is skipped. # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -1389,12 +1411,12 @@ module Google class SetFindingStateRequest include Google::Apis::Core::Hashable - # The time at which the updated state takes effect. + # Required. The time at which the updated state takes effect. # Corresponds to the JSON property `startTime` # @return [String] attr_accessor :start_time - # The desired State of the finding. + # Required. The desired State of the finding. # Corresponds to the JSON property `state` # @return [String] attr_accessor :state @@ -1416,25 +1438,34 @@ module Google # Defines an Identity and Access Management (IAM) policy. It is used to # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service accounts. A `role` is a named list of permissions - # defined by IAM. + # 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 (defined by IAM or configured by users). A `binding` can + # optionally specify a `condition`, which is a logic expression that further + # constrains the role binding based on attributes about the request and/or + # target resource. # **JSON Example** # ` # "bindings": [ # ` - # "role": "roles/owner", + # "role": "role/resourcemanager.organizationAdmin", # "members": [ # "user:mike@example.com", # "group:admins@example.com", # "domain:google.com", - # "serviceAccount:my-other-app@appspot.gserviceaccount.com" + # "serviceAccount:my-project-id@appspot.gserviceaccount.com" # ] # `, # ` - # "role": "roles/viewer", - # "members": ["user:sean@example.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')", + # ` # ` # ] # ` @@ -1444,11 +1475,15 @@ module Google # - user:mike@example.com # - group:admins@example.com # - domain:google.com - # - serviceAccount:my-other-app@appspot.gserviceaccount.com - # role: roles/owner + # - serviceAccount:my-project-id@appspot.gserviceaccount.com + # role: roles/resourcemanager.organizationAdmin # - members: - # - user:sean@example.com - # role: roles/viewer + # - 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') # For a description of IAM and its features, see the # [IAM developer's guide](https://cloud.google.com/iam/docs). # Corresponds to the JSON property `policy` diff --git a/generated/google/apis/securitycenter_v1/service.rb b/generated/google/apis/securitycenter_v1/service.rb index 01ac7089c..6e49d1e2a 100644 --- a/generated/google/apis/securitycenter_v1/service.rb +++ b/generated/google/apis/securitycenter_v1/service.rb @@ -50,7 +50,8 @@ module Google # Gets the settings for an organization. # @param [String] name - # Name of the organization to get organization settings for. Its format is + # Required. Name of the organization to get organization settings for. Its + # format is # "organizations/[organization_id]/organizationSettings". # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -122,7 +123,7 @@ module Google # Filters an organization's assets and groups them by their specified # properties. # @param [String] parent - # Name of the organization to groupBy. Its format is + # Required. Name of the organization to groupBy. Its format is # "organizations/[organization_id]". # @param [Google::Apis::SecuritycenterV1::GroupAssetsRequest] group_assets_request_object # @param [String] fields @@ -156,7 +157,7 @@ module Google # Lists an organization's assets. # @param [String] parent - # Name of the organization assets should belong to. Its format is + # Required. Name of the organization assets should belong to. Its format is # "organizations/[organization_id]". # @param [String] compare_duration # When compare_duration is set, the ListAssetsResult's "state_change" @@ -295,7 +296,7 @@ module Google # it is called too frequently the caller will receive a TOO_MANY_REQUESTS # error. # @param [String] parent - # Name of the organization to run asset discovery for. Its format is + # Required. Name of the organization to run asset discovery for. Its format is # "organizations/[organization_id]". # @param [Google::Apis::SecuritycenterV1::RunAssetDiscoveryRequest] run_asset_discovery_request_object # @param [String] fields @@ -528,7 +529,7 @@ module Google # Creates a source. # @param [String] parent - # Resource name of the new source's parent. Its format should be + # Required. Resource name of the new source's parent. Its format should be # "organizations/[organization_id]". # @param [Google::Apis::SecuritycenterV1::Source] source_object # @param [String] fields @@ -562,7 +563,7 @@ module Google # Gets a source. # @param [String] name - # Relative resource name of the source. Its format is + # Required. Relative resource name of the source. Its format is # "organizations/[organization_id]/source/[source_id]". # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -627,7 +628,7 @@ module Google # Lists all sources belonging to an organization. # @param [String] parent - # Resource name of the parent of sources to list. Its format should be + # Required. Resource name of the parent of sources to list. Its format should be # "organizations/[organization_id]". # @param [Fixnum] page_size # The maximum number of results to return in a single response. Default is @@ -776,11 +777,11 @@ module Google # Creates a finding. The corresponding source must exist for finding creation # to succeed. # @param [String] parent - # Resource name of the new finding's parent. Its format should be + # Required. Resource name of the new finding's parent. Its format should be # "organizations/[organization_id]/sources/[source_id]". # @param [Google::Apis::SecuritycenterV1::Finding] finding_object # @param [String] finding_id - # Unique identifier provided by the client within the parent scope. + # Required. Unique identifier provided by the client within the parent scope. # It must be alphanumeric and less than or equal to 32 characters and # greater than 0 characters in length. # @param [String] fields @@ -818,7 +819,7 @@ module Google # To group across all sources provide a `-` as the source id. # Example: /v1/organizations/123/sources/-/findings # @param [String] parent - # Name of the source to groupBy. Its format is + # Required. Name of the source to groupBy. Its format is # "organizations/[organization_id]/sources/[source_id]". To groupBy across # all sources provide a source_id of `-`. For example: # organizations/123/sources/- @@ -856,7 +857,7 @@ module Google # To list across all sources provide a `-` as the source id. # Example: /v1/organizations/123/sources/-/findings # @param [String] parent - # Name of the source the findings belong to. Its format is + # Required. Name of the source the findings belong to. Its format is # "organizations/[organization_id]/sources/[source_id]". To list across all # sources provide a source_id of `-`. For example: # organizations/123/sources/- @@ -1029,7 +1030,7 @@ module Google # Updates the state of a finding. # @param [String] name - # The relative resource name of the finding. See: + # Required. The relative resource name of the finding. See: # https://cloud.google.com/apis/design/resource_names#relative_resource_name # Example: # "organizations/123/sources/456/finding/789". diff --git a/generated/google/apis/toolresults_v1beta3.rb b/generated/google/apis/toolresults_v1beta3.rb index 2bebe3248..f7500bce7 100644 --- a/generated/google/apis/toolresults_v1beta3.rb +++ b/generated/google/apis/toolresults_v1beta3.rb @@ -25,7 +25,7 @@ module Google # @see https://firebase.google.com/docs/test-lab/ module ToolresultsV1beta3 VERSION = 'V1beta3' - REVISION = '20190826' + REVISION = '20190923' # 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/toolresults_v1beta3/classes.rb b/generated/google/apis/toolresults_v1beta3/classes.rb index 8e84f475b..f9edb1201 100644 --- a/generated/google/apis/toolresults_v1beta3/classes.rb +++ b/generated/google/apis/toolresults_v1beta3/classes.rb @@ -1893,7 +1893,7 @@ module Google # 100 to COMPLETE # A Step can be updated until its state is set to COMPLETE at which points it # becomes immutable. - # Next tag: 23 + # Next tag: 25 class Step include Google::Apis::Core::Hashable