2.17.0 (latest) 2.15.0 2.10.0 2.2.0

    public sealed class Publishing : IMessage<Publishing>, IEquatable<Publishing>, IDeepCloneable<Publishing>, IBufferMessage, IMessage

This message configures the settings for publishing [Google Cloud Client
libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
generated from the service config.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Publishing

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Publishing](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Publishing.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Publishing](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Publishing.md.txt), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Publishing](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Publishing.md.txt), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals)

## Namespace

[Google.Api](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.md.txt)

## Assembly

Google.Api.CommonProtos.dll

## Constructors

### Publishing()

    public Publishing()

### Publishing(Publishing)

    public Publishing(Publishing other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `Publishing` |

## Fields

### ApiShortNameFieldNumber

    public const int ApiShortNameFieldNumber = 103

Field number for the "api_short_name" field.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### CodeownerGithubTeamsFieldNumber

    public const int CodeownerGithubTeamsFieldNumber = 105

Field number for the "codeowner_github_teams" field.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### DocTagPrefixFieldNumber

    public const int DocTagPrefixFieldNumber = 106

Field number for the "doc_tag_prefix" field.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### DocumentationUriFieldNumber

    public const int DocumentationUriFieldNumber = 102

Field number for the "documentation_uri" field.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### GithubLabelFieldNumber

    public const int GithubLabelFieldNumber = 104

Field number for the "github_label" field.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### LibrarySettingsFieldNumber

    public const int LibrarySettingsFieldNumber = 109

Field number for the "library_settings" field.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### MethodSettingsFieldNumber

    public const int MethodSettingsFieldNumber = 2

Field number for the "method_settings" field.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### NewIssueUriFieldNumber

    public const int NewIssueUriFieldNumber = 101

Field number for the "new_issue_uri" field.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### OrganizationFieldNumber

    public const int OrganizationFieldNumber = 107

Field number for the "organization" field.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### ProtoReferenceDocumentationUriFieldNumber

    public const int ProtoReferenceDocumentationUriFieldNumber = 110

Field number for the "proto_reference_documentation_uri" field.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### RestReferenceDocumentationUriFieldNumber

    public const int RestReferenceDocumentationUriFieldNumber = 111

Field number for the "rest_reference_documentation_uri" field.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

## Properties

### ApiShortName

    public string ApiShortName { get; set; }

Used as a tracking tag when collecting data about the APIs developer
relations artifacts like docs, packages delivered to package managers,
etc. Example: "speech".

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### CodeownerGithubTeams

    public RepeatedField<string> CodeownerGithubTeams { get; }

GitHub teams to be added to CODEOWNERS in the directory in GitHub
containing source code for the client libraries for this API.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |

### Descriptor

    public static MessageDescriptor Descriptor { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MessageDescriptor` |   |

### DocTagPrefix

    public string DocTagPrefix { get; set; }

A prefix used in sample code when demarking regions to be included in
documentation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### DocumentationUri

    public string DocumentationUri { get; set; }

Link to product home page. Example:
<https://cloud.google.com/asset-inventory/docs/overview>

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### GithubLabel

    public string GithubLabel { get; set; }

GitHub label to apply to issues and pull requests opened for this API.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### LibrarySettings

    public RepeatedField<ClientLibrarySettings> LibrarySettings { get; }

Client library settings. If the same version string appears multiple
times in this list, then the last one wins. Settings from earlier
settings with the same version string are discarded.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldClientLibrarySettings` |   |

### MethodSettings

    public RepeatedField<MethodSettings> MethodSettings { get; }

A list of API method settings, e.g. the behavior for methods that use the
long-running operation pattern.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldMethodSettings` |   |

### NewIssueUri

    public string NewIssueUri { get; set; }

Link to a *public* URI where users can report issues. Example:
[https://issuetracker.google.com/issues/new?component=190865\&template=1161103](https://issuetracker.google.com/issues/new?component=190865&template=1161103)

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Organization

    public ClientLibraryOrganization Organization { get; set; }

For whom the client library is being published.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ClientLibraryOrganization` |   |

### Parser

    public static MessageParser<Publishing> Parser { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MessageParserPublishing` |   |

### ProtoReferenceDocumentationUri

    public string ProtoReferenceDocumentationUri { get; set; }

Optional link to proto reference documentation. Example:
<https://cloud.google.com/pubsub/lite/docs/reference/rpc>

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### RestReferenceDocumentationUri

    public string RestReferenceDocumentationUri { get; set; }

Optional link to REST reference documentation. Example:
<https://cloud.google.com/pubsub/lite/docs/reference/rest>

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

## Methods

### CalculateSize()

    public int CalculateSize()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### Clone()

    public Publishing Clone()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Publishing` |   |

### Equals(Publishing)

    public bool Equals(Publishing other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `Publishing` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### Equals(object)

    public override bool Equals(object other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `object` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

**Overrides** [object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object))

### GetHashCode()

    public override int GetHashCode()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

**Overrides** [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)

### MergeFrom(Publishing)

    public void MergeFrom(Publishing other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `Publishing` |

### MergeFrom(CodedInputStream)

    public void MergeFrom(CodedInputStream input)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `input` | `CodedInputStream` |

### ToString()

    public override string ToString()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

**Overrides** [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

### WriteTo(CodedOutputStream)

    public void WriteTo(CodedOutputStream output)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `output` | `CodedOutputStream` |